aws-observability / aws-otel-java-instrumentation

AWS Distro for OpenTelemetry Java Instrumentation Library
https://aws-otel.github.io/
Apache License 2.0
76 stars 56 forks source link

Adding UdpExporter for Otlp spans #944

Closed srprash closed 3 weeks ago

srprash commented 3 weeks ago

Description of changes:

Adding a new SpanExporter that can export spans to a configurable endpoint over UDP.

Testing:

Wrote a test to create and export a real span via X-Ray Daemon running locally.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

srprash commented 3 weeks ago

The trivy image scan failure causing CI to fail is due to this issue: https://github.com/aquasecurity/trivy-action/issues/389 No fix from trivy yet. A suggested workaround is to pull the db image from AWS ECR but I haven't tried it.

srprash commented 3 weeks ago

Had to override the checks and merge due to trivy scan issue mentioned above.