Skip to content

Commit d43c619

Browse files
authored
docs: note that same-system FastStream brokers share a Prometheus broker label (#301)
1 parent 0a7ffc5 commit d43c619

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

‎docs/integrations/faststream.md‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,9 @@ bootstrapper_config = FastStreamConfig(
8888
```
8989

9090
A broker whose type has no middleware class is left uninstrumented, and `bootstrap()` warns with its
91-
type name. All brokers share one Prometheus registry; each metric's `broker` label tells them apart.
91+
type name.
92+
93+
All brokers share one Prometheus registry. Each metric's `broker` label holds the messaging system,
94+
such as `kafka` or `redis`, so it separates a Kafka broker from a Redis broker. Two brokers on the same
95+
system get the same label, and if both have a handler with the same name, their counts merge into
96+
one series.

0 commit comments

Comments
 (0)