Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Datadog update env clobbering behavior #3851

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update exporter/datadogexporter/translate_traces_test.go
Co-authored-by: Pablo Baeyens <pablo.baeyens@datadoghq.com>
  • Loading branch information
ericmustin and mx-psi authored Jun 22, 2021
commit 9ef9866741808ed36da3a26e998963b544c4d308
2 changes: 1 addition & 1 deletion exporter/datadogexporter/translate_traces_test.go
Original file line number Diff line number Diff line change
@@ -1420,7 +1420,7 @@ func TestSpanEnvClobbering(t *testing.T) {
rs := traces.ResourceSpans().At(0)
resource := rs.Resource()
resource.Attributes().InitFromMap(map[string]pdata.AttributeValue{
"deployment.environment": pdata.NewAttributeValueString("correctenv"),
conventions.AttributeDeploymentEnvironment: pdata.NewAttributeValueString("correctenv"),
"env": pdata.NewAttributeValueString("incorrectenv"),
})