Skip to content

Commit b20fbe2

Browse files
pipeline: inputs: prometheus-scrape-metrics: Add threading info
Signed-off-by: Alexa Kreizinger <alexakreizinger@gmail.com>
1 parent 7dea5a8 commit b20fbe2

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

pipeline/inputs/prometheus-scrape-metrics.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ The initial release of the Prometheus Scrape metric allows you to collect metric
1212
| port | The port of the prometheus metric endpoint that you want to scrape | |
1313
| scrape\_interval | The interval to scrape metrics | 10s |
1414
| 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 |
1516

1617
## Example
1718

@@ -20,10 +21,10 @@ If an endpoint exposes Prometheus Metrics we can specify the configuration to sc
2021
```
2122
[INPUT]
2223
name prometheus_scrape
23-
host 0.0.0.0
24+
host 0.0.0.0
2425
port 8201
25-
tag vault
26-
metrics_path /v1/sys/metrics?format=prometheus
26+
tag vault
27+
metrics_path /v1/sys/metrics?format=prometheus
2728
scrape_interval 10s
2829
2930
[OUTPUT]
@@ -78,6 +79,3 @@ If an endpoint exposes Prometheus Metrics we can specify the configuration to sc
7879
2022-03-26T23:01:29.836663788Z vault_runtime_total_gc_pause_ns = 1917611
7980
2022-03-26T23:01:29.836663788Z vault_runtime_total_gc_runs = 19
8081
```
81-
82-
83-

0 commit comments

Comments
 (0)