Skip to content

fix digma.environment.type #119

fix digma.environment.type

fix digma.environment.type #119

Triggered via pull request May 16, 2024 10:54
Status Success
Total duration 33s
Artifacts

dotnet.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build: src/OpenTelemetry.Instrumentation.Digma/Diagnostic/HttpEndpointDiagnosticObserver.cs#L33
Converting null literal or possible null value to non-nullable type.
build: src/OpenTelemetry.Instrumentation.Digma/DigmaInstrumentationHelperExtensions.cs#L72
Possible null reference argument for parameter 'value' in 'KeyValuePair<string, object>.KeyValuePair(string key, object value)'.
build: src/OpenTelemetry.Instrumentation.Digma/DigmaInstrumentationHelperExtensions.cs#L73
Possible null reference argument for parameter 'value' in 'KeyValuePair<string, object>.KeyValuePair(string key, object value)'.
build: src/OpenTelemetry.Instrumentation.Digma/DigmaInstrumentationHelperExtensions.cs#L124
'DigmaConfigurationOptions.EnvironmentEnvVariable' is obsolete: 'Please use DigmaEnvironmentEnvVariable'
build: src/OpenTelemetry.Instrumentation.Digma/Helpers/TracingDecorator.cs#L48
Dereference of a possibly null reference.
build: src/OpenTelemetry.Instrumentation.Digma/Helpers/TracingDecorator.cs#L87
Possible null reference argument for parameter 'method' in 'string IActivityNamingSchema.GetSpanName(Type classType, MethodInfo method)'.
build: src/OpenTelemetry.Instrumentation.Digma/Helpers/TracingDecorator.cs#L110
Dereference of a possibly null reference.
build: src/OpenTelemetry.Instrumentation.Digma/Helpers/TracingDecorator.cs#L118
Dereference of a possibly null reference.
build: src/OpenTelemetry.Instrumentation.Digma/Helpers/TracingDecorator.cs#L118
Dereference of a possibly null reference.
build: src/OpenTelemetry.Instrumentation.Digma/Helpers/TracingDecorator.cs#L9
Non-nullable field '_activity' must contain a non-null value when exiting constructor. Consider declaring the field as nullable.