You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would suggest our instrumentation config to achieve it in a better way.
I think you should keep using the provided http.server.request.duration and configure it:
telemetry:
instrumentation:
instruments:
router:
http.server.request.duration:
attributes:
http.response.status_code: truegraphql.operation.name: # Will set this attribute with the operation nameoperation_name: stringgraphql.errors: # Will set this attribute to true if it contains graphql erroron_graphql_error: true
Is your feature request related to a problem? Please describe.
We use apollo.router.graphql_error count for SLOs and monitors, but need to filter by subgraph name and operation name
Describe the solution you'd like
Add subgraph name and operation name tags to apollo.router.graphql_error
Describe alternatives you've considered
Building our own separate metric emanated from our coprocessor, but that would be inconsistent/emanated from a different service.
The text was updated successfully, but these errors were encountered: