Skip to content

Commit 87a9e4b

Browse files
authored
Update prometheus.md
1 parent 2b1c714 commit 87a9e4b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/docs/en/getting-started/observability/prometheus.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ When running `FastStream` with multiple worker processes, you need to configure
134134
1. Set the `PROMETHEUS_MULTIPROC_DIR` environment variable to a writable directory
135135
2. Initialize your collector registry with multiprocess support:
136136
137-
```python linenums="1" hl_lines="8 10"
137+
```python linenums="1" hl_lines="8"
138138
from prometheus_client import CollectorRegistry, multiprocess
139139
import os
140140
@@ -145,7 +145,6 @@ When running `FastStream` with multiple worker processes, you need to configure
145145
multiprocess.MultiProcessCollector(registry, path=multiprocess_dir)
146146
147147
broker = KafkaBroker(
148-
"...",
149148
middlewares=[
150149
KafkaPrometheusMiddleware(
151150
registry=registry,

0 commit comments

Comments
 (0)