Could you implement a drill-down feature for service or API traces? When the error rate for a specific service or API is high, clicking on the trend chart should allow users to directly drill down into the list of traces for that time period. #13934
Replies: 7 comments 28 replies
|
I would also like to ask: currently, configuring alert rules relies on YAML files. Are there any plans to allow defining alert rules via the web interface? Additionally, which metrics are currently supported for alerts, and is there any documentation available? |
I am not sure how well I can do this. Because only a few metrics and only from the General Service Layer, they are related to native traces. |
|
Implemented — this is up as apache/skywalking-horizon-ui#90. The key design point (and why it turned out simpler than a general "link metrics to traces" mechanism): only latency and success/error metrics have a natural trace criterion, so the drill is driven by a per-widget mode rather than any metric↔trace mapping table. How it works — on the General service layer, drill-capable line widgets show a small traces flag in their header and their datapoints are clickable. Click a point and it opens the native Traces list in a new browser tab, pre-filtered to that service (and the selected instance / endpoint) and centered on the clicked bucket's time window:
Throughput (cpm) and CPU / memory / GC gauges have no meaningful "which traces" answer, so they offer no drill. Scope / conditions — a widget gets the drill only when it's a line widget, its metric is latency- or success/error-related, and it's on a layer that serves SkyWalking-native traces (today: the General service layer; Mesh/Zipkin and browser / mini-program use different trace stores). It's a per-widget config field ( Widgets enabled out of the box:
No backend change was needed — |
It seems like the tag filtering isn't working; could you please take a look and see what the issue is? Packet capture shows that the tag parameter isn't being passed. @wu-sheng |
The service metrics in this panel are specific to a particular service rather than the entire system, correct? Was this designed intentionally? @wu-sheng |
|
@blanche789 As this discussion has been very long and has crossed many topics, I am closing this. If you have further questions or bug report, please open an issue or another discussion. BTW, I will be on family summer vacation, so, away from my laptop until the 29th. I can't fix anything, but available to talk. |










Implemented — this is up as apache/skywalking-horizon-ui#90.
The key design point (and why it turned out simpler than a general "link metrics to traces" mechanism): only latency and success/error metrics have a natural trace criterion, so the drill is driven by a per-widget mode rather than any metric↔trace mapping table.
How it works — on the General service layer, drill-capable line widgets show a small traces flag in their header and their datapoints are clickable. Click a point and it opens the native Traces list in a new browser tab, pre-filtered to that service (and the selected instance / endpoint) and centered on the clicked bucket's time window: