Skip to content

Comments

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

Merged
lidel merged 2 commits intomainfrom
drc-metrics
May 16, 2025
Merged

feat(metrics): add delegated routing client metrics to prometheus#113
lidel merged 2 commits intomainfrom
drc-metrics

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