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 uptime and process metrics #373

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

Implement system uptime and process metrics #373

mpetrun5 opened this issue Oct 8, 2024 · 0 comments

Comments

@mpetrun5
Copy link
Collaborator

mpetrun5 commented Oct 8, 2024

[

Implementation details

System Uptime and Process Metrics

Metrics related to the relayer's operational time and host information.

Uptime (sygma_relayer_uptime_seconds):
Description: Total operational time of the relayer.
Type: Counter

Process Start Time (sygma_relayer_process_start_time_seconds):

Description: Start time of the relayer process.
Type: Gauge

Host Name (sygma_relayer_host_name):

Description: The name of the host machine running the relayer.
Type: Gauge with label (e.g., host_name)

Relayer Version (sygma_relayer_version):

Description: The current version of the relayer software.
Type: Gauge with label (e.g., version)

Implement update on startup

Testing details

Check metrics in docker-compose Prometheus

Acceptance Criteria

](https://pkg.go.dev/runtime)
  • system metrics exposed through 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