Skip to content

Commit

Permalink
Update index.md (#918)
Browse files Browse the repository at this point in the history
  • Loading branch information
ahuret authored May 23, 2024
1 parent bb508af commit ae92ce1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ Each component has a link to its documentation, which contains a description of
{{< /admonition >}}

This pipeline has two components: `local.file` and `prometheus.remote_write`.
The `local.file` component is configured with a single argument, `path`, which is set by calling the [env][] standard library function to retrieve the value of the `HOME` environment variable and concatenating it with the string `"file.txt"`.
The `local.file` component is configured with a single argument, `filename`, which is set by calling the [env][] standard library function to retrieve the value of the `HOME` environment variable and concatenating it with the string `"file.txt"`.
The `local.file` component has a single export, `content`, which contains the contents of the file.

The `prometheus.remote_write` component is configured with an `endpoint` block, containing the `url` attribute and a `basic_auth` block.
Expand Down

0 comments on commit ae92ce1

Please sign in to comment.