Skip to content

Commit

Permalink
Minor updates from review
Browse files Browse the repository at this point in the history
  • Loading branch information
clayton-cornell committed Jan 17, 2025
1 parent 221a537 commit e56dfd0
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ title: discovery.digitalocean
## Usage

```alloy
discovery.digitalocean "LABEL" {
discovery.digitalocean "<LABEL>" {
// Use one of:
// bearer_token = BEARER_TOKEN
// bearer_token_file = PATH_TO_BEARER_TOKEN_FILE
// bearer_token = <BEARER_TOKEN>
// bearer_token_file = <PATH_TO_BEARER_TOKEN_FILE>
}
```

Expand Down
4 changes: 2 additions & 2 deletions docs/sources/reference/components/discovery/discovery.dns.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ title: discovery.dns
## Usage

```alloy
discovery.dns "LABEL" {
names = [NAME_1, NAME_2, ...]
discovery.dns "<LABEL>" {
names = [<NAME_1>, <NAME_2>, ...]
}
```

Expand Down
16 changes: 8 additions & 8 deletions docs/sources/reference/components/discovery/discovery.docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,13 +174,17 @@ prometheus.remote_write "demo" {
Replace the following:

* _`<PROMETHEUS_REMOTE_WRITE_URL>`_: The URL of the Prometheus remote_write-compatible server to send metrics to.
* _`<USERNAME>`_: The username to use for authentication to the remote_write API.
* _`<PASSWORD>`_: The password to use for authentication to the remote_write API.
* _`<USERNAME>`_: The username to use for authentication to the `remote_write` API.
* _`<PASSWORD>`_: The password to use for authentication to the `remote_write` API.

### Windows hosts

This example discovers Docker containers when the host machine is Windows:

{{< admonition type="note" >}}
This example requires the "Expose daemon on tcp://localhost:2375 without TLS" setting to be enabled in the Docker Engine settings.
{{< /admonition >}}

```alloy
discovery.docker "containers" {
host = "tcp://localhost:2375"
Expand All @@ -206,12 +210,8 @@ prometheus.remote_write "demo" {
Replace the following:

* _`<PROMETHEUS_REMOTE_WRITE_URL>`_: The URL of the Prometheus remote_write-compatible server to send metrics to.
* _`<USERNAME>`_: The username to use for authentication to the remote_write API.
* _`<PASSWORD>`_: The password to use for authentication to the remote_write API.

{{< admonition type="note" >}}
This example requires the "Expose daemon on tcp://localhost:2375 without TLS" setting to be enabled in the Docker Engine settings.
{{< /admonition >}}
* _`<USERNAME>`_: The username to use for authentication to the `remote_write` API.
* _`<PASSWORD>`_: The password to use for authentication to the `remote_write` API.

<!-- START GENERATED COMPATIBLE COMPONENTS -->

Expand Down

0 comments on commit e56dfd0

Please sign in to comment.