opensearch-project / data-prepper

Data Prepper is a component of the OpenSearch project that accepts, filters, transforms, enriches, and routes data at scale.
https://opensearch.org/docs/latest/clients/data-prepper/index/
Apache License 2.0
259 stars 190 forks source link

[BUG] examples/dev/trace-analytics-sample-app data-prepper failed to receive trace data #2039

Open chenqi0805 opened 1 year ago

chenqi0805 commented 1 year ago

Describe the bug Screen Shot 2022-11-28 at 4 13 19 PM

To Reproduce Steps to reproduce the behavior:

  1. Go to 'examples/dev/trace-analytics-sample-app', run docker-compose up -d
  2. Open localhost:8089 in the browser, Click on 'buttons'
  3. Go to Trace Analytics Dashboard, wait for a few minutes
  4. No data showed up

Expected behavior verified that examples/trace-analytics-sample-app still works.

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

Additional context Add any other context about the problem here.

oeyh commented 1 year ago

This was still working for Data Prepper 2.0.1. I remember digging into the issue and narrowed down the offending change to #1335. My guess is that it has something to do with the OTEL java version change in that PR.

1963 also mentions that the OTEL version change might break things.