External Service Metrics
If your application depends on other services on the web, and it uses Net::HTTP
to do so, you can find out how often you are communicating with those other services and how long it takes.
Configuration
Metrician has 2 configuration options for external service metric collection, set in metrician.yaml
. External service reporting is enabled by default.
:external_service: :enabled: true :request: :enabled: true
Metrics
app.service.request |
average external service request time |
---|
Service Metrics Query Language Expressions
Use the following expression to see how many requests to external services are made in a period. You can use this graph to learn when your highest traffic times are to other sites, and possibly detect your service dependency downtimes more quickly.
gauge_count(app.service.request)