Skip to content

feat(metrics): add delegated routing client metrics to prometheus #113

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

Merged
merged 2 commits into from
May 16, 2025

Conversation

hsanjuan
Copy link
Contributor

@hsanjuan hsanjuan commented May 14, 2025

Added exporting of routing http client metrics: the endpoint will now include someguy_routing_http_client_* metrics when delegated routing clients are used:

  • Histogram: the latency of operations by the routing HTTP client:
    • someguy_routing_http_client_latency_bucket{code,error,host,operation,le}
    • someguy_routing_http_client_latency_sum{code,error,host,operation}
    • someguy_routing_http_client_latency_count{code,error,host,operation}
  • Histogram: the number of elements in a response collection
    • someguy_routing_http_client_length_bucket{host,operation,le}
    • someguy_routing_http_client_length_sum{host,operation}
    • someguy_routing_http_client_length_count{host,operation}

@hsanjuan hsanjuan self-assigned this May 14, 2025
@hsanjuan hsanjuan requested a review from a team May 16, 2025 09:51
@lidel lidel changed the title Add delegated routing client metrics to prometheus feat(metrics): add delegated routing client metrics to prometheus May 16, 2025
@lidel lidel merged commit 2bfd40f into main May 16, 2025
5 checks passed
@lidel lidel deleted the drc-metrics branch May 16, 2025 17:52
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