Skip to content

Commit c8ef871

Browse files
committed
docs: improve example config
1 parent 293d537 commit c8ef871

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docs/prometheus/exporter.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,12 @@ A simple http exporter module file could look like:
4242

4343
exporter_modules/http.yaml:
4444

45-
method: http
46-
http:
47-
port: 9100
48-
path: '/metrics'
45+
```yml
46+
method: http
47+
http:
48+
port: 9100
49+
path: '/metrics'
50+
```
4951
5052
## Incompatibilities
5153

0 commit comments

Comments
 (0)