profile
viewpoint

Ask questionsMissing monitoring for GraphQL requests in general

Defined performance warnings by common routes

sourcegraph/sourcegraph

Answer questions bobheadxi

@slimsag I'd like to take a stab at this - it seems like I can pull up request durations for all graphql routes with the following query:

route:src_http_request_duration_seconds_bucket:rate5m{route=~"graphql:.*"}

Presumably I'd set a alert on when this value is too high? I'm poking around to see what else could be used here as well (there's also src_graphql_field_seconds_ which seems to offer better granularity)

useful!

Related questions

Add loki to sourcegraph.com hot 1
Unable to clone GitLab repositories with self signed certificate hot 1
Github User Rank List