Creating GraphQL Query Traces Graph
TLDR Romario requested help with a graph for GraphQL queries. vishal-signoz provided a sample query and additional resources, while Ankit suggested potential improvements to the documentation and integrations.
Apr 21, 2023 (5 months ago)
Apr 22, 2023 (5 months ago)
1. Add the gap in docs https://signoz.io/docs/tutorial/writing-clickhouse-queries-in-dashboard/
2. If graphql has a few other charts too that are relevant, should we enable out of box as an integration? Please get in touch with Romario if he thinks there are a few other graphql charts that he would like to monitor
Apr 24, 2023 (5 months ago)
You can replace
http.methodwith any other attribute.
Also remember to use legend and y axis units as shared in screenshot.
SELECT toStartOfInterval(timestamp, INTERVAL 60 SECOND) AS ts, stringTagMap['http.method'] as `http.method`, avg(durationNano) as value from signoz_traces.distributed_signoz_index_v2 where timestamp > now() - INTERVAL 30 MINUTE AND has(stringTagMap, 'http.method') group by http.method,ts order by http.method ASC,ts
Indexed 825 threads (61% resolved)
Creating Signoz Dashboard for GC Metrics
Div wanted to create a dashboard for GC events and metrics. Ankit and vishal-signoz provided help with Clickhouse queries and template variables.
Debugging and Optimizing Slow Signoz Dashboard
Div reported slow Signoz dashboard and errors. Srikanth suggested creating a materialized column and adding filters to speed up queries. vishal-signoz confirmed the suggested approach.
Grouping Fields in Clickhouse Query for Graph
Romario had difficulty displaying `http_status` in a graph using a clickhouse query. Srikanth suggested using `toString` to resolve the issue.