opensearch-project / opensearch-project/data-prepper
Removes Jaeger Agent from Jaeger Hotrod Demo
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 374
- Forks
- 354
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 8
Description
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. It would be nice to have [...]
- See https://github.com/opensearch-project/data-prepper/issues/2273#issuecomment-1464092972 .
- Starting from https://github.com/jaegertracing/jaeger/pull/4187, Jaeger HotROD no longer uses
jaegertracing/jaeger-agentto receivejaegertracing/example-hotroddata, but directly usesotel/opentelemetry-collector-contrib. According to https://www.jaegertracing.io/docs/1.60/deployment/#agent ,jaegertracing/jaeger-agentis considered a deprecated component. It does not make any sense. - According to https://opentelemetry.io/docs/collector/installation/ and https://opentelemetry.io/docs/collector/deployment/agent/ , removing the use of the Jaeger Agent is very simple.
services:
opensearch-node1:
hostname: node-0.example.com
image: opensearchproject/opensearch:2.16.0
environment:
discovery.type: single-node
OPENSEARCH_INITIAL_ADMIN_PASSWORD: opensearchNode1Test
volumes:
- opensearch-config1:/usr/share/opensearch/config/
expose:
- 9200
- 9600
opensearch-dashboards:
image: opensearchproject/opensearch-dashboards:2.16.0
ports:
- "14321:5601"
environment:
OPENSEARCH_HOSTS: '["https://opensearch-node1:9200"]'
depends_on:
- opensearch-node1
data-prepper:
restart: always
image: opensearchproject/data-prepper:2.9.0
volumes:
- ./pipelines.yaml:/usr/share/data-prepper/pipelines/pipelines.yaml
- ./data-prepper-config.yaml:/usr/share/data-prepper/config/data-prepper-config.yaml
- opensearch-config1:/usr/share/opensearch-test/:ro
expose:
- 21890
depends_on:
- opensearch-node1
otel-collector:
image: otel/opentelemetry-collector-contrib:0.108.0
volumes:
- ./otel-collector-config.yaml:/etc/otelcol-contrib/config.yaml
expose:
- 1888
- 8888
- 8889
- 13133
- 4317
- 4318
- 55679
depends_on:
- data-prepper
jaeger-hot-rod:
image: jaegertracing/example-hotrod:1.60.0
command: [ "all" ]
environment:
- OTEL_EXPORTER_OTLP_ENDPOINT=http://otel-collector:4318
ports:
- "8080:8080"
expose:
- 8083
depends_on:
- otel-collector
volumes:
opensearch-config1:
Describe the solution you'd like
A clear and concise description of what you want to happen.
- Removes Jaeger Agent from Jaeger Hotrod Demo.
Describe alternatives you've considered (Optional)
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
- Null.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Search the repository for the Jaeger HotROD demo and references to the Jaeger Agent, then inspect its Docker Compose and collector configuration. Remove the agent from the demo path, keep HotROD sending data directly to the OpenTelemetry Collector, and run the demo or its relevant validation to confirm traces still flow through Data Prepper.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- observability
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100