mirror of
https://github.com/imgproxy/imgproxy.git
synced 2025-01-23 11:14:48 +02:00
Use parent-based OTel sampler by default
This commit is contained in:
parent
0e62ebc614
commit
d96a84221b
@ -3,9 +3,12 @@
|
|||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
### Add
|
### Add
|
||||||
- Add `IMGPROXY_OPEN_TELEMETRY_GRPC_INSECURE` config.
|
- Add `IMGPROXY_OPEN_TELEMETRY_GRPC_INSECURE` config.
|
||||||
- Better XMP data stripping.
|
|
||||||
- (pro) Add XMP data to the `/info` response.
|
- (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
|
## [3.10.0] - 2022-11-04
|
||||||
### Add
|
### Add
|
||||||
- Add `IMGPROXY_CLIENT_KEEP_ALIVE_TIMEOUT` config.
|
- Add `IMGPROXY_CLIENT_KEEP_ALIVE_TIMEOUT` config.
|
||||||
|
@ -105,7 +105,6 @@ func Init() error {
|
|||||||
|
|
||||||
tracerProvider = sdktrace.NewTracerProvider(
|
tracerProvider = sdktrace.NewTracerProvider(
|
||||||
sdktrace.WithResource(res),
|
sdktrace.WithResource(res),
|
||||||
sdktrace.WithSampler(sdktrace.AlwaysSample()),
|
|
||||||
sdktrace.WithBatcher(traceExporter),
|
sdktrace.WithBatcher(traceExporter),
|
||||||
sdktrace.WithIDGenerator(idg),
|
sdktrace.WithIDGenerator(idg),
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user