Skip to content

Commit c22774d

Browse files
authored
Merge pull request #26 from digma-ai/fix-digma.environment.type
fix digma.environment.type
2 parents 15b2719 + 5148e53 commit c22774d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/OpenTelemetry.Instrumentation.Digma/DigmaInstrumentationHelperExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ private static void SetEnvironmentType(DigmaConfigurationOptions options, Resour
9797
}
9898
if (options.EnvironmentType != null)
9999
{
100-
builder.AddAttributes(new[] {new KeyValuePair<string, object>("digma.environment.type", options.EnvironmentType)});
100+
builder.AddAttributes(new[] {new KeyValuePair<string, object>("digma.environment.type", options.EnvironmentType.ToString())});
101101
}
102102
}
103103

0 commit comments

Comments
 (0)