Skip to content

Commit 24a9127

Browse files
fix doc "collect/metamonitoring": the instruction of replace prometheus.exporter.self <SELF_LABEL> to correct location (#2997) (#3003)
(cherry picked from commit f161963) Co-authored-by: Edwin S <[email protected]>
1 parent 22a8b98 commit 24a9127

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/sources/collect/metamonitoring.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,9 @@ In this task, you use the [`prometheus.exporter.self`][prometheus.exporter.self]
3939
}
4040
```
4141

42+
Replace the following:
43+
* _`<SELF_LABEL>`_: The label for the component such as `default` or `metamonitoring`. The label must be unique across all `prometheus.exporter.self` components in the same configuration file.
44+
4245
1. Add the following `prometheus.scrape` component to your configuration file.
4346

4447
```alloy
@@ -49,7 +52,6 @@ In this task, you use the [`prometheus.exporter.self`][prometheus.exporter.self]
4952
```
5053

5154
Replace the following:
52-
* _`<SELF_LABEL>`_: The label for the component such as `default` or `metamonitoring`. The label must be unique across all `prometheus.exporter.self` components in the same configuration file.
5355
* _`<SCRAPE_LABEL>`_: The label for the scrape component such as `default`. The label must be unique across all `prometheus.scrape` components in the same configuration file.
5456
* _`<METRICS_RECEIVER_LIST>`_: A comma-delimited list of component receivers to forward metrics to.
5557
For example, to send to a remote write component, use `prometheus.remote_write.WRITE_LABEL.receiver`.

0 commit comments

Comments
 (0)