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

feat(msd): adding timestamp of last successful sync #496

Merged
merged 3 commits into from
Jun 17, 2024

Conversation

NikolaMilosa
Copy link
Contributor

Example of the metric:

# HELP http_server_active_requests The number of active HTTP requests.
# TYPE http_server_active_requests gauge
http_server_active_requests{http_request_method="GET",url_scheme="http",otel_scope_name="axum-app"} 1
# HELP msd_definitions_load_errors Total number of errors while loading new targets per definition
# TYPE msd_definitions_load_errors gauge
msd_definitions_load_errors{network="mercury",otel_scope_name="axum-app"} 0
# HELP msd_definitions_load_successful Status of last load of the registry per definition
# TYPE msd_definitions_load_successful gauge
msd_definitions_load_successful{network="mercury",otel_scope_name="axum-app"} 1
# HELP msd_definitions_sync_errors Total number of errors while syncing the registry per definition
# TYPE msd_definitions_sync_errors gauge
msd_definitions_sync_errors{network="mercury",otel_scope_name="axum-app"} 0
# HELP msd_definitions_sync_successful Status of last sync of the registry with NNS of definition
# TYPE msd_definitions_sync_successful gauge
msd_definitions_sync_successful{network="mercury",otel_scope_name="axum-app"} 1
# HELP msd_definitions_sync_ts Timestamp of last successful sync
# TYPE msd_definitions_sync_ts gauge
msd_definitions_sync_ts{network="mercury",otel_scope_name="axum-app"} 1718637276
# HELP target_info Target metadata
# TYPE target_info gauge
target_info{service_name="unknown_service",telemetry_sdk_language="rust",telemetry_sdk_name="opentelemetry",telemetry_sdk_version="0.22.1"} 1

@NikolaMilosa NikolaMilosa requested a review from a team as a code owner June 17, 2024 15:16
Copy link
Member

@sasa-tomic sasa-tomic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀 TY!

@NikolaMilosa NikolaMilosa merged commit f029720 into main Jun 17, 2024
5 checks passed
@NikolaMilosa NikolaMilosa deleted the nm-adding-metric-for-last-ts-of-successful-scrape branch June 17, 2024 15:36
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

Successfully merging this pull request may close these issues.

2 participants