Skip to content

Commit

Permalink
Export Additional Upsert Metrics to Prom (#11660)
Browse files Browse the repository at this point in the history
  • Loading branch information
suddendust authored Sep 22, 2023
1 parent 3501b86 commit a433cbb
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,20 @@ rules:
cache: true
labels:
version: "$2"
- pattern: "\"org.apache.pinot.common.metrics\"<type=\"ServerMetrics\", name=\"pinot.server.upsertValidDocSnapshotCount.([^\\.]*?)_(OFFLINE|REALTIME).(\\w+)\"><>(\\w+)"
name: "pinot_server_upsertValidDocSnapshotCount_$4"
cache: true
labels:
table: "$1"
tableType: "$2"
partition: "$3"
- pattern: "\"org.apache.pinot.common.metrics\"<type=\"ServerMetrics\", name=\"pinot.server.upsertPrimaryKeysInSnapshotCount.([^\\.]*?)_(OFFLINE|REALTIME).(\\w+)\"><>(\\w+)"
name: "pinot_server_upsertPrimaryKeysInSnapshotCount_$4"
cache: true
labels:
table: "$1"
tableType: "$2"
partition: "$3"

## Metrics that fit the catch-all patterns above should not be added to this file.
## In case a metric does not fit the catch-all patterns, add them before this comment
Expand Down

0 comments on commit a433cbb

Please sign in to comment.