[Observability] There is no way to tell if the upstream is slow or other space is slow
Component(s)
router
Is your feature request related to a problem? Please describe.
From the doc https://cosmo-docs.wundergraph.com/router/metrics-and-monitoring#list-of-synchronous-instruments
There is metrics provider:
- router.http.request.duration_milliseconds
- router.graphql.operation.planning_time
There is no way to tell if the upstream is slow or other space is slow
Describe the solution you'd like
I suggest adding Metrics about the latency upstream, like
- router.http.upstream.duration_milliseconds
Describe alternatives you've considered
No response
Additional context
No response
WunderGraph commits fully to Open Source and we want to make sure that we can help you as fast as possible. The roadmap is driven by our customers and we have to prioritize issues that are important to them. You can influence the priority by becoming a customer. Please contact us here.
Thanks @chensunny for your suggestions! We will take a look at this.
HI @chensunny, many metrics including duration are annotated with the subgraph name and id. This allows you to filter for upstream metrics. Let me know, if this works for you.