Skip to content

Commit a300762

Browse files
committed
Update docs regarding metric reset.
1 parent d4960c7 commit a300762

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docs/sources/send-data/promtail/configuration.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,8 @@ The metrics stage allows for defining metrics from the extracted data.
681681

682682
Created metrics are not pushed to Loki and are instead exposed via Promtail's
683683
`/metrics` endpoint. Prometheus should be configured to scrape Promtail to be
684-
able to retrieve the metrics configured by this stage.
684+
able to retrieve the metrics configured by this stage.
685+
If Promtail's configuration is reloaded, all metrics will be reset.
685686

686687

687688
```yaml

docs/sources/send-data/promtail/stages/metrics.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ The `metrics` stage is an action stage that allows for defining and updating
1313
metrics based on data from the extracted map. Note that created metrics are not
1414
pushed to Loki and are instead exposed via Promtail's `/metrics` endpoint.
1515
Prometheus should be configured to scrape Promtail to be able to retrieve the
16-
metrics configured by this stage.
16+
metrics configured by this stage. If Promtail's configuration is reloaded,
17+
all metrics will be reset.
1718

1819
## Schema
1920

0 commit comments

Comments
 (0)