Skip to content

Commit

Permalink
Drift
Browse files Browse the repository at this point in the history
  • Loading branch information
Anuraag Agrawal committed Nov 9, 2021
1 parent fb23588 commit a302e31
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/instrumentation/podmutator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,10 @@ func TestMutatePod(t *testing.T) {
Name: "OTEL_EXPORTER_OTLP_ENDPOINT",
Value: "http://collector:12345",
},
{
Name: "OTEL_RESOURCE_ATTRIBUTES",
Value: "k8s.container.name=app,k8s.namespace.name=nodejs",
},
{
Name: "NODE_OPTIONS",
Value: nodeRequireArgument,
Expand Down
4 changes: 4 additions & 0 deletions pkg/instrumentation/sdk_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,10 @@ func TestInjectNodeJS(t *testing.T) {
Name: "OTEL_EXPORTER_OTLP_ENDPOINT",
Value: "https://collector:4318",
},
{
Name: "OTEL_RESOURCE_ATTRIBUTES",
Value: "k8s.container.name=app,k8s.namespace.name=",
},
{
Name: "NODE_OPTIONS",
Value: nodeRequireArgument,
Expand Down

0 comments on commit a302e31

Please sign in to comment.