8000 Merge branch 'master' into datadog-api-spec/generated/3867 · DataDog/documentation@bc0972f · GitHub
[go: up one dir, main page]

Skip to content

Commit bc0972f

Browse files
Merge branch 'master' into datadog-api-spec/generated/3867
2 parents 6421661 + f03f4b1 commit bc0972f

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

content/en/observability_pipelines/advanced_configurations.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,16 @@ To set bootstrap options, do one of the following:
4848

4949
The following is a list of bootstrap options, their related pipeline environment variables, and which variables have a higher precedence (priority).
5050

51+
`api`
52+
: **Pipeline environment variable**: `DD_OP_API_ENABLED`
53+
: **Priority**: `DD_OP_API_ENABLED`
54+
: An example configuration:
55+
: &nbsp;&nbsp;&nbsp;&nbsp;`api`:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`enabled`: `true`<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;`address`: `"127.0.0.1:8686" # optional`
56+
: Note: Setting `address` is optional. It is the network address to which the API should bind. If you're running the Worker in a Docker container, bind to `0.0.0.0`. Otherwise, the API is not exposed outside of the container.
57+
: **Description**: Enable the Observability Pipelines Worker API so you can see the Worker's processes with the `tap` or `top` command. See [Run, tap, or top the Worker][8] for more information. If you are using the Helm charts provided when you [set up a pipeline][7], then the API has already been enabled. Otherwise, make sure the environment variable `DD_OP_API_ENABLED` is set to `true` in `/etc/observability-pipelines-worker/bootstrap.yaml`, which:
58+
: - Sets up the API to listen on `localhost` and port `8686`, which is what the CLI for `tap` is expecting.
59+
: - Exposes the `/health` endpoint. Configure a load balancer's health check with the `/health` endpoint to check that the Worker is up and running.
60+
5161
`api_key`
5262
: **Pipeline environment variable**: `DD_API_KEY`
5363
: **Priority**: `DD_API_KEY`
@@ -105,3 +115,5 @@ The following is a list of bootstrap options, their related pipeline environment
105115
[4]: /agent/configuration/proxy/?tab=linux#environment-variables
106116
[5]: https://en.wikipedia.org/wiki/HTTP_tunnel
107117
[6]: /agent/remote_config/
118+
[7]: /observability_pipelines/set_up_pipelines/
119+
[8]: /observability_pipelines/install_the_worker/worker_commands/#run-tap-or-top-the-worker

content/en/observability_pipelines/troubleshooting.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ If you can access your Observability Pipelines Workers locally, use the `tap` co
2323

2424
### Enable the Observability Pipelines Worker API
2525

26-
The Observability Pipelines Worker API allows you to interact with the Worker's processes with the `tap` command. If you are using the Helm charts provided when you [set up a pipeline][4], then the API has already been enabled. Otherwise, make sure the environment variable `DD_OP_API_ENABLED` is set to `true` in `/etc/observability-pipelines-worker/bootstrap.yaml`. See [Bootstrap options][5] for more information. This sets up the API to listen on `localhost` and port `8686`, which is what the CLI for `tap` is expecting.
26+
The Observability Pipelines Worker API allows you to interact with the Worker's processes with the `tap` and `top` command. If you are using the Helm charts provided when you [set up a pipeline][4], then the API has already been enabled. Otherwise, make sure the environment variable `DD_OP_API_ENABLED` is set to `true` in `/etc/observability-pipelines-worker/bootstrap.yaml`. See [Bootstrap options][5] for more information. This sets up the API to listen on `localhost` and port `8686`, which is what the CLI for `tap` is expecting.
27+
28+
**Note**: When `DD_OP_API_ENABLED` is set to `true`, the `/health` endpoint is also exposed. Configure load balancers to use the `/health` API endpoint to check that the Worker is up and running.
2729

2830
### Use `top` to find the component ID
2931

0 commit comments

Comments
 (0)
0