diff --git a/docs/sources/collect/metamonitoring.md b/docs/sources/collect/metamonitoring.md index 9bb30dce19..5bd0d4b2e8 100644 --- a/docs/sources/collect/metamonitoring.md +++ b/docs/sources/collect/metamonitoring.md @@ -39,6 +39,9 @@ In this task, you use the [`prometheus.exporter.self`][prometheus.exporter.self] } ``` + Replace the following: + * _``_: 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. + 1. Add the following `prometheus.scrape` component to your configuration file. ```alloy @@ -49,7 +52,6 @@ In this task, you use the [`prometheus.exporter.self`][prometheus.exporter.self] ``` Replace the following: - * _``_: 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. * _``_: The label for the scrape component such as `default`. The label must be unique across all `prometheus.scrape` components in the same configuration file. * _``_: A comma-delimited list of component receivers to forward metrics to. For example, to send to a remote write component, use `prometheus.remote_write.WRITE_LABEL.receiver`.