Skip to content

Commit 42fa3d8

Browse files
weltekialexellis
authored andcommitted
Add kafka and rabbitmq connector metrics
Signed-off-by: Han Verstraete (OpenFaaS Ltd) <[email protected]>
1 parent b4c1926 commit 42fa3d8

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/architecture/metrics.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,21 @@ The [FaaS Provider](/architecture/faas-provider) is the back-end API used by oth
103103

104104
The `http_request*` metrics record the latency and statistics of `/system/*` routes. Part of this information is also recorded in the metrics for the Gateway component. The purpose of exposing separate metrics on the provider component is to show the count of calls, to show efficiency, and to show the duration for performance testing, along with errors to flag unseen issues.
105105

106+
## Kafka connector
107+
108+
| Metric | Type | Description | Labels | Edition |
109+
| ----------------------------------- | ---------- | ----------------------------------- | ---------------------------|--------------------|
110+
| `kafka_connector_consumer_group_connect"` | counter | Total times the consumer group has attempted to connect to the broker | `group` | Pro Edition |
111+
| `kafka_connector_messages_consumed` | counter | Total messages received from the broker | `group`, `topic`, `partition`, `member_id` | Pro Edition |
112+
| `kafka_connector_messages_offset` | gauge | Offset committed | `group`, `topic`, `partition`, `member_id` | Pro Edition |
113+
114+
## RabbitMQ connector
115+
116+
| Metric | Type | Description | Labels | Edition |
117+
| ----------------------------------- | ---------- | ----------------------------------- | ---------------------------|--------------------|
118+
| `rabbitmq_connector_messages_processed_total` | counter | Total number of messages processed | `queue` | Pro Edition |
119+
| `rabbitmq_connector_queue_depth` | gauge | The total number of HTTP requests | `queue` | Pro Edition |
120+
106121
## Example queries for dashboarding
107122

108123
OpenFaaS Pro customers have access to 4 different dashboards which we've co-designed with our users, you can find out more in the [comparison page of OpenFaaS CE vs Pro](/openfaas-pro/introduction)

0 commit comments

Comments
 (0)