File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,6 @@ It's recommended to use a local [OTEL Collector](https://opentelemetry.io/docs/c
1414
1515Example configuration: https://github.com/andreasohlund/Docker/tree/main/otel-monitoring
1616
17- The following metrics are available:
18-
19- ### Ingestion
20-
2117The following ingestion metrics with their corresponding dimensions are available:
2218
2319- ` sc.audit.ingestion.batch_duration_seconds ` - Message batch processing duration in seconds
@@ -30,6 +26,12 @@ The following ingestion metrics with their corresponding dimensions are availabl
3026 - ` result ` - Indicates how the failure was resolved: ` retry ` or ` stored-poision `
3127- ` sc.audit.ingestion.consecutive_batch_failure_total ` - Consecutive batch failures
3228
29+ Example queries in PromQL for use in Grafana:
30+
31+ - Ingestion rate: ` sum (rate(sc_audit_ingestion_message_duration_seconds_count[$__rate_interval])) by (exported_job) `
32+ - Failure rate: ` sum(rate(sc_audit_ingestion_failures_total[$__rate_interval])) by (exported_job,result) `
33+ - Message duration: ` histogram_quantile(0.9,sum(rate(sc_audit_ingestion_message_duration_seconds_bucket[$__rate_interval])) by (le,exported_job)) `
34+
3335## Monitoring
3436
3537No telemetry is currently available.
You can’t perform that action at this time.
0 commit comments