Skip to content

Commit

Permalink
Add GraphQL metrics dashboard (#12687)
Browse files Browse the repository at this point in the history
  • Loading branch information
kezhenxu94 authored Oct 9, 2024
1 parent 44e3c34 commit 97d4a59
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
]
}
]
},
Expand Down

0 comments on commit 97d4a59

Please sign in to comment.