Skip to content

Commit

Permalink
add Elastic OpenTelemetry Node.js distribution (#21)
Browse files Browse the repository at this point in the history
* feat: add Elastic OpenTelemetry Node.js distribution

The payment service has been modified to use the Elastic's OpenTelemetry
Distribution for Node.js instead of the upstream version.

* remove opentelemetry.js file and dependencies

* remove auto instrumentation dependency
  • Loading branch information
rogercoll authored Jun 19, 2024
1 parent 583f381 commit d0f2803
Show file tree
Hide file tree
Showing 4 changed files with 1,089 additions and 893 deletions.
1 change: 1 addition & 0 deletions .github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ The following guide describes how to setup the OpenTelemetry demo with Elastic O

- The Java agent within the [Ad](../src/adservice/Dockerfile.elastic) and [Fraud Detection](../src/frauddetectionservice/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).

## Docker compose

Expand Down
41 changes: 0 additions & 41 deletions src/paymentservice/opentelemetry.js

This file was deleted.

Loading

0 comments on commit d0f2803

Please sign in to comment.