Skip to content

Add support for OTEL_INSTRUMENTATION_HTTP_KNOWN_METHODS #959

Add support for OTEL_INSTRUMENTATION_HTTP_KNOWN_METHODS

Add support for OTEL_INSTRUMENTATION_HTTP_KNOWN_METHODS #959

Triggered via pull request December 21, 2023 19:01
Status Failure
Total duration 4m 24s
Artifacts

package-validation.yml

on: pull_request
build-test-stable
4m 0s
build-test-stable
build-test-experimental
4m 9s
build-test-experimental
Fit to window
Zoom out
Zoom in

Annotations

20 errors
build-test-stable: src/OpenTelemetry.Instrumentation.AspNetCore/AspNetCoreTraceInstrumentationOptions.cs#L5
Using directive is unnecessary. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0005)
build-test-stable: src/OpenTelemetry.Instrumentation.Http/Implementation/HttpHandlerMetricsDiagnosticListener.cs#L49
An object reference is required for the non-static field, method, or property 'RequestMethodHelper.GetNormalizedHttpMethod(string, Dictionary<string, string>)'
build-test-stable: src/OpenTelemetry.Instrumentation.Http/Implementation/HttpWebRequestActivitySource.netfx.cs#L98
An object reference is required for the non-static field, method, or property 'RequestMethodHelper.SetHttpClientActivityDisplayName(Activity, string, Dictionary<string, string>)'
build-test-stable: src/OpenTelemetry.Instrumentation.Http/Implementation/HttpWebRequestActivitySource.netfx.cs#L103
No overload for method 'SetHttpMethodTag' takes 3 arguments
build-test-stable: src/OpenTelemetry.Instrumentation.Http/Implementation/HttpWebRequestActivitySource.netfx.cs#L428
An object reference is required for the non-static field, method, or property 'RequestMethodHelper.GetNormalizedHttpMethod(string, Dictionary<string, string>)'
build-test-stable: src/OpenTelemetry.Instrumentation.Http/Implementation/HttpHandlerMetricsDiagnosticListener.cs#L49
An object reference is required for the non-static field, method, or property 'RequestMethodHelper.GetNormalizedHttpMethod(string, Dictionary<string, string>)'
build-test-stable: src/OpenTelemetry.Instrumentation.Http/Implementation/HttpHandlerDiagnosticListener.cs#L132
An object reference is required for the non-static field, method, or property 'RequestMethodHelper.SetHttpClientActivityDisplayName(Activity, string, Dictionary<string, string>)'
build-test-stable: src/OpenTelemetry.Instrumentation.Http/Implementation/HttpHandlerDiagnosticListener.cs#L141
No overload for method 'SetHttpMethodTag' takes 3 arguments
build-test-stable: src/OpenTelemetry.Instrumentation.Http/HttpClientTraceInstrumentationOptions.cs#L135
'RequestMethodHelper.GetKnownMethods(string)' is inaccessible due to its protection level
build-test-stable: src/OpenTelemetry.Instrumentation.Http/Implementation/HttpHandlerDiagnosticListener.cs#L132
An object reference is required for the non-static field, method, or property 'RequestMethodHelper.SetHttpClientActivityDisplayName(Activity, string, Dictionary<string, string>)'
build-test-experimental: src/OpenTelemetry.Instrumentation.AspNetCore/AspNetCoreTraceInstrumentationOptions.cs#L5
Using directive is unnecessary. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0005)
build-test-experimental: src/OpenTelemetry.Instrumentation.Http/Implementation/HttpHandlerMetricsDiagnosticListener.cs#L49
An object reference is required for the non-static field, method, or property 'RequestMethodHelper.GetNormalizedHttpMethod(string, Dictionary<string, string>)'
build-test-experimental: src/OpenTelemetry.Instrumentation.Http/Implementation/HttpHandlerDiagnosticListener.cs#L132
An object reference is required for the non-static field, method, or property 'RequestMethodHelper.SetHttpClientActivityDisplayName(Activity, string, Dictionary<string, string>)'
build-test-experimental: src/OpenTelemetry.Instrumentation.Http/Implementation/HttpHandlerDiagnosticListener.cs#L141
No overload for method 'SetHttpMethodTag' takes 3 arguments
build-test-experimental: src/OpenTelemetry.Instrumentation.Http/HttpClientTraceInstrumentationOptions.cs#L135
'RequestMethodHelper.GetKnownMethods(string)' is inaccessible due to its protection level
build-test-experimental: src/OpenTelemetry.Instrumentation.Http/Implementation/HttpWebRequestActivitySource.netfx.cs#L98
An object reference is required for the non-static field, method, or property 'RequestMethodHelper.SetHttpClientActivityDisplayName(Activity, string, Dictionary<string, string>)'
build-test-experimental: src/OpenTelemetry.Instrumentation.Http/Implementation/HttpWebRequestActivitySource.netfx.cs#L428
An object reference is required for the non-static field, method, or property 'RequestMethodHelper.GetNormalizedHttpMethod(string, Dictionary<string, string>)'
build-test-experimental: src/OpenTelemetry.Instrumentation.Http/Implementation/HttpHandlerMetricsDiagnosticListener.cs#L49
An object reference is required for the non-static field, method, or property 'RequestMethodHelper.GetNormalizedHttpMethod(string, Dictionary<string, string>)'
build-test-experimental: src/OpenTelemetry.Instrumentation.Http/Implementation/HttpHandlerDiagnosticListener.cs#L132
An object reference is required for the non-static field, method, or property 'RequestMethodHelper.SetHttpClientActivityDisplayName(Activity, string, Dictionary<string, string>)'