You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pipeline/inputs/prometheus-scrape-metrics.md
+4-6Lines changed: 4 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,7 @@ The initial release of the Prometheus Scrape metric allows you to collect metric
12
12
| port | The port of the prometheus metric endpoint that you want to scrape ||
13
13
| scrape\_interval | The interval to scrape metrics | 10s |
14
14
| metrics\_path | <p>The metrics URI endpoint, that must start with a forward slash.<br><br>Note: Parameters can also be added to the path by using <code>?</code></p> | /metrics |
15
+
| threaded | Indicates whether to run this input in its own [thread](../../administration/multithreading.md#inputs). | false |
15
16
16
17
## Example
17
18
@@ -20,10 +21,10 @@ If an endpoint exposes Prometheus Metrics we can specify the configuration to sc
20
21
```
21
22
[INPUT]
22
23
name prometheus_scrape
23
-
host 0.0.0.0
24
+
host 0.0.0.0
24
25
port 8201
25
-
tag vault
26
-
metrics_path /v1/sys/metrics?format=prometheus
26
+
tag vault
27
+
metrics_path /v1/sys/metrics?format=prometheus
27
28
scrape_interval 10s
28
29
29
30
[OUTPUT]
@@ -78,6 +79,3 @@ If an endpoint exposes Prometheus Metrics we can specify the configuration to sc
0 commit comments