Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement system performance and resource utilization metrics #372

Open
mpetrun5 opened this issue Oct 8, 2024 · 0 comments
Open

Implement system performance and resource utilization metrics #372

mpetrun5 opened this issue Oct 8, 2024 · 0 comments

Comments

@mpetrun5
Copy link
Collaborator

mpetrun5 commented Oct 8, 2024

Implement metrics that track resource and performance usage.

Implementation details

Reference document: https://docs.google.com/document/d/14zTwqI9upFo-TcBA-1avXpGLAKdONDWsQ9IK9CPDwvU/edit

These metrics monitor the relayer's resource usage and performance.

CPU Usage (sygma_relayer_cpu_usage_percent):
  • Description: CPU usage percentage.
  • Type: Gauge
Memory Usage (sygma_relayer_memory_usage_bytes):
  • Description: Memory usage in bytes.
  • Type: Gauge
Disk Usage (sygma_relayer_disk_usage_bytes):
  • Description: Disk space used by the relayer.
  • Type: Gauge
Network I/O (sygma_relayer_network_io_bytes_total):

Description: Total network input/output in bytes.
Type: Counter

Open File Descriptors (sygma_relayer_open_file_descriptors):

Description: Number of open file descriptors.
Type: Gauge

Go Routines (sygma_relayer_go_routines):

Description: Number of Go routines running.
Type: Gauge

Garbage Collection (sygma_relayer_gc_duration_seconds):

Description: Duration of garbage collection cycles.
Type: Histogram

Create a cronjob service that periodically updates runtime metrics.
https://pkg.go.dev/runtime for metrics.

Testing details

  • check Prometheus metrics when running e2e tests

Acceptance Criteria

  • message processing metrics exported though Opentelemetry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant