Skip to content
This repository was archived by the owner on Dec 9, 2024. It is now read-only.

Commit 2dfd936

Browse files
authored
Update metrics names in the docs (#490)
1 parent 7944f7a commit 2dfd936

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

docs/prometheus-metrics.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ Both Events and Configuration API exposes Prometheus metrics. The metrics are ac
44

55
## Events API Metrics
66

7-
| Metric Name | Description | Type | Labels |
8-
| --------------------------------- | ------------------------------------------------------------ | ------- | ---------------- |
9-
| `gateway_events_received_total` | Total of events received. | Counter | `space`, `type` |
10-
| `gateway_events_processed_total` | Total of processed events. | Counter | `space`, `type` |
11-
| `gateway_events_dropped_total` | Total of events dropped due to insufficient processing power. | Counter | `space`, `type` |
12-
| `gateway_events_backlog` | Gauge of asynchronous events count waiting to be processed. | Gauge | |
13-
| `gateway_events_custom_processing_seconds` | Bucketed histogram of processing duration of an event. From receiving the asynchronous custom event to calling a function. | Histogram | |
7+
| Metric Name | Description | Type | Labels |
8+
| ------------------------------------- | ------------------------------------------------------------- | ------- | ---------------- |
9+
| `eventgateway_events_received_total` | Total of events received. | Counter | `space`, `type` |
10+
| `eventgateway_events_processed_total` | Total of processed events. | Counter | `space`, `type` |
11+
| `eventgateway_events_dropped_total` | Total of events dropped due to insufficient processing power. | Counter | `space`, `type` |
12+
| `eventgateway_events_backlog` | Gauge of asynchronous events count waiting to be processed. | Gauge | |
13+
| `eventgateway_events_custom_processing_seconds` | Bucketed histogram of processing duration of an event. From receiving the asynchronous custom event to calling a function. | Histogram | |
1414

1515
### Labels
1616

@@ -21,11 +21,11 @@ Both Events and Configuration API exposes Prometheus metrics. The metrics are ac
2121

2222
| Metric Name | Description | Type | Labels |
2323
| ----------------------------------------- | ------------------------------------------------------------ | --------- | --------------------------------- |
24-
| `gateway_eventtypes_total` | Gauge of registered event types count. | Gauge | `space` |
25-
| `gateway_functions_total` | Gauge of registered functions count. | Gauge | `space` |
26-
| `gateway_subscriptions_total` | Gauge of created subscriptions count. | Gauge | `space` |
27-
| `gateway_config_requests_total` | Total of Config API requests. | Counter | `space`, `resource`, `operation` |
28-
| `gateway_config_request_duration_seconds` | Bucketed histogram of request duration of Config API requests. | Histogram | |
24+
| `eventgateway_eventtypes_total` | Gauge of registered event types count. | Gauge | `space` |
25+
| `eventgateway_functions_total` | Gauge of registered functions count. | Gauge | `space` |
26+
| `eventgateway_subscriptions_total` | Gauge of created subscriptions count. | Gauge | `space` |
27+
| `eventgateway_config_requests_total` | Total of Config API requests. | Counter | `space`, `resource`, `operation` |
28+
| `eventgateway_config_request_duration_seconds` | Bucketed histogram of request duration of Config API requests. | Histogram | |
2929
### Labels
3030

3131
- `space` - space name

0 commit comments

Comments
 (0)