Skip to content

Commit bddf66b

Browse files
Update instructions to match the demo repo (#29445)
* Update name of docker-compose file and instructions to match the demo repo * Renamed all references of docker-compose-otel.yaml to docker-compose-otelcol.yaml
1 parent 2c6129a commit bddf66b

File tree

1 file changed

+5
-6
lines changed
  • content/en/getting_started/opentelemetry

1 file changed

+5
-6
lines changed

content/en/getting_started/opentelemetry/_index.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -223,20 +223,19 @@ The Calendar application uses the OpenTelemetry logging exporter in its Logback
223223

224224
Additionally, environment variables configure the OpenTelemetry environment to export logs, metrics, and traces:
225225

226-
1. Go to the Calendar application's Docker Compose file at `./deploys/docker/docker-compose-otel.yml`.
227-
2. The `OTEL_LOGS_EXPORTER=otlp` configuration allows the logs to be sent with OTLP.
228-
3. The `OTEL_EXPORTER_OTLP_ENDPOINT=http://otelcol:4317` configuration allows the metrics and traces to be sent with OTLP.
226+
1. Go to the Calendar application's Docker Compose file at `./deploys/docker/docker-compose-otelcol.yml`.
227+
2. The `OTEL_EXPORTER_OTLP_ENDPOINT=http://otelcol:4317` configuration allows the metrics, traces, and logs to be sent with OTLP.
229228

230229
## Correlating observability data
231230

232231
[Unified service tagging][6] ties observability data together in Datadog so you can navigate across metrics, traces, and logs with consistent tags.
233232

234233
The Calendar application is already configured with unified service tagging:
235234

236-
1. Go to the Calendar application's Docker Compose file at `./deploys/docker/docker-compose-otel.yml`.
235+
1. Go to the Calendar application's Docker Compose file at `./deploys/docker/docker-compose-otelcol.yml`.
237236
2. The following lines enable the correlation between application traces and other observability data:
238237

239-
{{< code-block lang="yaml" filename="docker-compose-otel.yml" collapsible="true" disable_copy="true" >}}
238+
{{< code-block lang="yaml" filename="docker-compose-otelcol.yml" collapsible="true" disable_copy="true" >}}
240239
environment:
241240
- OTEL_SERVICE_NAME=calendar-otel
242241
- OTEL_RESOURCE_ATTRIBUTES=deployment.environment=docker,host.name=otelcol-docker,service.version=<IMAGE_TAG>
@@ -249,7 +248,7 @@ To start generating and forwarding observability data to Datadog, you need to ru
249248
1. Run the application from the `calendar/` folder:
250249

251250
{{< code-block lang="sh" >}}
252-
docker compose -f deploys/docker/docker-compose-otel.yml up
251+
docker compose -f deploys/docker/docker-compose-otelcol.yml up
253252
{{< /code-block >}}
254253
This command creates a Docker container with the OpenTelemetry Collector and the Calendar service.
255254

0 commit comments

Comments
 (0)