hypertrace / javaagent

Hypertrace OpenTelemetry Java agent with payload/body and headers data capture.
Apache License 2.0
34 stars 15 forks source link

Add endpoint sampler #299

Closed pavolloffay closed 3 years ago

pavolloffay commented 3 years ago

TODOs:

This PR updates only servlet instrumentation to respect capture mode in the tracestate

Depends on OTEL 1.1.0 release that adds sampler SPI and passes URLs to sampler.

pavolloffay commented 3 years ago

The smoke test fails bc the endoint sampler is not initialized in the final java agent distribution.