Anton Manakin

Results 7 issues of Anton Manakin

### Problem Statement Now grpc interceptor sets span _error_ if handler returned one of codes `Unknown`, `DeadlineExceeded`, `Unimplemented`, etc. But on `NotFound` code span status won't be [set](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/instrumentation/google.golang.org/grpc/otelgrpc/v0.46.1/instrumentation/google.golang.org/grpc/otelgrpc/interceptor.go#L528), which is...

Fix flaky test issued in #5342 Run of `go test -v -timeout 10s -short -count=10000 ./... -run='TestBatchProcessor/ForceFlush/ErrorPartialFlush'` **Before**: Failed with `panic: test timed out after 10s` **After**: Passed Problem was...

Skip Changelog

Now it is possible to understand that processor dropped spans only by Debug log: https://github.com/open-telemetry/opentelemetry-go/blob/main/sdk/trace/batch_span_processor.go#L276 Which in itself is very doubtful, for example, count of dropped logs is written to...

enhancement

**MRE:** ```proto syntax = "proto3"; package example; message ExampleMessage { /* ? */repeated/* ? */ bool boolean = 1; } ``` **Command:** `./protolint --fix ./example.proto` **Result:** ``` panic: runtime error:...

Hi there! I see, that doh client is cached via sync.Once. But custom dns client is created on every dns request. WDYT if we will cache dns client too? https://github.com/xvzc/SpoofDPI/blob/ab4d6819c7f8f82fb3f58cbc2ec2ff34af853948/dns/dns.go#L58...

In this commit I add OTEL_EXPORTER_OTLP_LOGS_INSECURE and OTEL_EXPORTER_OTLP_INSECURE env options to `otlploggrpc.Exporter`. Now insecure option is fetched from env endpoint value (OTEL_EXPORTER_OTLP_LOGS_ENDPOINT/OTEL_EXPORTER_OTLP_ENDPOINT). According to [spec](https://opentelemetry.io/docs/specs/otel/protocol/exporter/): > Insecure: Whether to enable...

Closes https://github.com/open-telemetry/opentelemetry-go/issues/1677 In this commit I add `WithErrorStatus` as `SpanEndOption` and `EventOption`. With this option we could: - Call `span.RecordError(err, trace.WithStatus())` and error span status will be set. - Call...