opensearch-project / opentelemetry-demo

This repository contains the OpenSearch adaptation for the OpenTelemetry Astronomy Shop, a microservice-based distributed system intended to illustrate the implementation of OpenTelemetry in a near real-world environment.
https://opentelemetry.io/docs/demo/
Apache License 2.0
16 stars 17 forks source link

incorrectly mapped data-prepper service volume for trace analysis #102

Closed besha100 closed 11 months ago

besha100 commented 11 months ago

Bug Report

Which version of the demo you are using? (please provide either a specific 59ec0e9

Symptom

In the docker-compose, data-prepper service is using the default pipelines.yml volume for the otel_logs_source. This is mismapped to trace_analytics_no_ssl_2x.yml file in the pod here.

volumes:
  - ./src/dataprepper/pipelines.yaml:/usr/share/data-prepper/pipelines/trace_analytics_no_ssl_2x.yml

This needs to be fixed with the below volume instead volumes:

What is the expected behavior?

The expected behavior is to have traces also shown up in data-prepper data source with service-map, trace error, high latency, etc

What is the actual behavior?

Only Traces via Jeager is available.

Reproduce

git clone https://github.com/opensearch-project/opentelemetry-demo.git
cd opentelemetry-demo
docker compose up -d

Then check traces observability plugin > Data prepper data source

Additional Context

Add any other context about the problem here.

YANG-DB commented 11 months ago

thanks for your help