You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/monitoring/metricsdashboards/querysyntax.md
+3-4
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# AxonOps Query Language Documentation
2
2
3
-
AxonOps uses a powerful query language for dashboarding performance metrics collected from the AxonOps agent. This language is largely based on the Prometheus query language, allowing users familiar with Prometheus to quickly adapt to AxonOps. For a comprehensive guide on the Prometheus query language, please refer to the [Prometheus Query Language documentation](https://prometheus.io/docs/prometheus/latest/querying/basics/).
3
+
AxonOps uses a powerful query language for dashboarding performance metrics collected from the AxonOps agent. This language is largely based on the Prometheus query language, allowing users familiar with Prometheus to quickly adapt to AxonOps. For a comprehensive guide on the Prometheus query language, please refer to the [Prometheus Query Language documentation](https://prometheus.io/docs/prometheus/latest/querying/basics/){target="_blank"}
4
4
5
5
## Key Difference in AxonOps Query Language
6
6
@@ -13,18 +13,17 @@ To query rated metrics in AxonOps, you need to use a specific syntax that includ
-`cas_ClientRequest_Latency`: The specific metric being queried.
22
22
-`{axonfunction='rate', ...}`: The label set that includes `axonfunction='rate'`, which instructs the AxonOps agent to generate the rated values.
23
23
-`axonfunction='rate'`: This label indicates that the agent should compute rate values.
24
-
-`scope='Write.*$consistency'`: A scope pattern that matches the relevant metrics.
24
+
-`scope='Write_*$consistency'`: A scope pattern that matches the relevant metrics.
25
25
-`function='Count'`: Specifies that the metric type is Count.
26
26
-`dc=~'$dc'`, `rack=~'$rack'`, `host_id=~'$host_id'`: Additional labels that allow filtering by data center, rack, and host ID using regular expressions.
27
-
-`by (dc,host_id)`: Groups the results by data center and host ID.
0 commit comments