Skip to content

Commit

Permalink
Switch Python services to Elastic OTel distribution (#41)
Browse files Browse the repository at this point in the history
* recommendationservice: switch to elastic OTel distribution

* Update README

* loadgenerator: switch to elastic OTel distribution
  • Loading branch information
xrmx authored Aug 20, 2024
1 parent ff6f2e9 commit 7bc364f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ The following guide describes how to setup the OpenTelemetry demo with Elastic O
- The Java agent within the [Ad](../src/adservice/Dockerfile.elastic), the [Fraud Detection](../src/frauddetectionservice/Dockerfile.elastic) and the [Kafka](../src/kafka/Dockerfile.elastic) services have been replaced with the Elastic distribution of the OpenTelemetry Java Agent. You can find more information about the Elastic distribution in [this blog post](https://www.elastic.co/observability-labs/blog/elastic-distribution-opentelemetry-java-agent).
- The .NET agent within the [Cart service](../src/cartservice/src/Directory.Build.props) has been replaced with the Elastic distribution of the OpenTelemetry .NET Agent. You can find more information about the Elastic distribution in [this blog post](https://www.elastic.co/observability-labs/blog/elastic-opentelemetry-distribution-dotnet-applications).
- The Elastic distribution of the OpenTelemetry Node.js Agent has replaced the OpenTelemetry Node.js agent in the [Payment service](../src/paymentservice/package.json). Additional details about the Elastic distribution are available in [this blog post](https://www.elastic.co/observability-labs/blog/elastic-opentelemetry-distribution-node-js).
- The Elastic distribution for OpenTelemetry Python has replaced the OpenTelemetry Python agent in the [Recommendation service](..src/recommendationservice/requirements.txt). Additional details about the Elastic distribution are available in [this blog post](https://www.elastic.co/observability-labs/blog/elastic-opentelemetry-distribution-python).

Additionally, the OpenTelemetry Contrib collector has also been changed to the [Elastic OpenTelemetry Collector distribution](https://github.com/elastic/elastic-agent/blob/main/internal/pkg/otel/README.md). This ensures a more integrated and optimized experience with Elastic Observability.

Expand Down
4 changes: 4 additions & 0 deletions src/loadgenerator/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ charset-normalizer==3.3.2
click==8.1.7
configargparse==1.7
deprecated==1.2.14
elastic-opentelemetry==0.1.0
flask==3.0.0
flask-basicauth==0.2.0
flask-cors==4.0.0
Expand All @@ -20,7 +21,10 @@ locust_plugins==3.4.0
markupsafe==2.1.3
msgpack==1.0.7
opentelemetry-api==1.25.0
opentelemetry-exporter-otlp==1.25.0
opentelemetry-exporter-otlp-proto-common==1.25.0
opentelemetry-exporter-otlp-proto-grpc==1.25.0
opentelemetry-exporter-otlp-proto-http==1.25.0
opentelemetry-instrumentation==0.46b0
opentelemetry-instrumentation-jinja2==0.46b0
opentelemetry-instrumentation-requests==0.46b0
Expand Down
3 changes: 1 addition & 2 deletions src/recommendationservice/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
grpcio-health-checking==1.60.0
grpcio==1.60.0
opentelemetry-distro==0.46b0
opentelemetry-exporter-otlp-proto-grpc==1.25.0
elastic-opentelemetry==0.1.0
python-dotenv==1.0.0
python-json-logger==2.0.7
openfeature-sdk==0.7.0
Expand Down

0 comments on commit 7bc364f

Please sign in to comment.