juspay/hyperswitch

feat(metrics): add Vector Throughput & health (via prometheus)

Open

#5.030 geöffnet am 18. Juni 2024

Auf GitHub ansehen
 (4 Kommentare) (0 Reaktionen) (2 zugewiesene Personen)Rust (4.676 Forks)batch import
A-infraC-featuregood first issue

Repository-Metriken

Stars
 (42.690 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 6T 22h) (213 gemergte PRs in 30 T)

Beschreibung

Add a dashboard to monitor vector throughput usage and log loss. The dashboard should show throughput for the following pipes

Throughput

  1. stdout -> loki
  2. stdout -> opensearch
  3. kafka -> loki
  4. Kafka -> transform -> opensearch These flows should include incoming events / outgoing events & dropped events as a time series chart

kafka source should contain consumer lag metrics as well

Health (this would be primarily powered by these metrics)

  • CPU usage of vector
  • Memory usage of vector
  • buffer size
  • errors happening in transforms
  • utilization of each component

Ideally we can take most of the components from a openly available data source by modifying some components to make it geared towards our setup

Contributor Guide