1
0
mirror of https://github.com/imgproxy/imgproxy.git synced 2025-01-08 10:45:04 +02:00

Use parent-based OTel sampler by default

This commit is contained in:
DarthSim 2022-11-10 21:22:35 +06:00
parent 0e62ebc614
commit d96a84221b
2 changed files with 4 additions and 2 deletions

View File

@ -3,9 +3,12 @@
## [Unreleased]
### Add
- Add `IMGPROXY_OPEN_TELEMETRY_GRPC_INSECURE` config.
- Better XMP data stripping.
- (pro) Add XMP data to the `/info` response.
### Change
- Better XMP data stripping.
- Use parent-based OpenTelemetry sampler by default.
## [3.10.0] - 2022-11-04
### Add
- Add `IMGPROXY_CLIENT_KEEP_ALIVE_TIMEOUT` config.

View File

@ -105,7 +105,6 @@ func Init() error {
tracerProvider = sdktrace.NewTracerProvider(
sdktrace.WithResource(res),
sdktrace.WithSampler(sdktrace.AlwaysSample()),
sdktrace.WithBatcher(traceExporter),
sdktrace.WithIDGenerator(idg),
)