Add GraphQL metrics dashboard (#12687)

This commit is contained in:
kezhenxu94 2024-10-09 22:54:31 +08:00 committed by GitHub
parent 44e3c34c9c
commit 97d4a59588
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 29 additions and 0 deletions

View File

@ -114,3 +114,5 @@ metricsRules:
exp: otel_logs_latency.sum(['le', 'service', 'host_name']).increase('PT1M').histogram().histogram_percentile([50,70,90,99])
- name: otel_spans_latency_percentile
exp: otel_spans_latency.sum(['le', 'service', 'host_name']).increase('PT1M').histogram().histogram_percentile([50,70,90,99])
- name: graphql_query_latency_percentile
exp: graphql_query_latency.sum(['le', 'service', 'host_name']).increase('PT5M').histogram().histogram_percentile([50,70,90,99])

View File

@ -315,6 +315,33 @@
"meter_oap_jvm_class_total_unloaded_count",
"meter_oap_jvm_class_total_loaded_count"
]
},
{
"x": 0,
"y": 39,
"w": 6,
"h": 11,
"i": "16",
"type": "Widget",
"expressions": [
"relabels(meter_oap_graphql_query_latency_percentile{p='50,75,90,95,99'},p='50,75,90,95,99',percentile='50,75,90,95,99')"
],
"graph": {
"type": "Line",
"step": false,
"smooth": false,
"showSymbol": true,
"showXAxis": true,
"showYAxis": true
},
"widget": {
"title": "GraphQL Query Latency (ms)"
},
"metricConfig": [
{
"unit": "ns"
}
]
}
]
},