cosmo icon indicating copy to clipboard operation
cosmo copied to clipboard

[Observability] There is no way to tell if the upstream is slow or other space is slow

Open chensunny opened this issue 9 months ago • 3 comments

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

chensunny avatar Mar 12 '25 03:03 chensunny

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.

github-actions[bot] avatar Mar 12 '25 03:03 github-actions[bot]

Thanks @chensunny for your suggestions! We will take a look at this.

alepane21 avatar Apr 01 '25 09:04 alepane21

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.

StarpTech avatar Apr 01 '25 10:04 StarpTech