They set by propagator. Other clients must implement TextMapCarrier
interface and use it with public propagator.
For example, http-gw has TextMapCarrier
implementation that reads/write…
propagator
implements OTEL's TextMapPropagator
interface. It requires TextMapCarrier
instance. So grpcMetadataCarrier
implements TextMapCarrier
interface.
It's our. Here is Open Telemetry semantic conventions: https://pkg.go.dev/go.opentelemetry.io/otel@v1.14.0/semconv/v1.14.0
The convention has http.target
key and rpc.grpc.status_code
.
…
testify was updated with otel dependency:
go get go.opentelemetry.io/otel@v1.14.0
...
go: upgraded github.com/stretchr/testify v1.7.0 => v1.8.2
...
separate commit added.
- source code looks simpler when variable initialization is near variable usage.
getExpiredObjectsParameters()
doesn't look hard to run. - it will be easier to support sighup for gc…
removerBatchSize
is batch size for removing objects.
expiredCollectorBatchSize
is batch size for marking objects expired.
These parameters relate to different processes. In the…
If s.getExpiredObjects
fails with an error then all other goroutines executing s.handleExpiredObjects
will be cancelled by egCtx
, and vice versa. It is possible to write code…