Skip to content

Commit 85afb82

Browse files
committed
fix(auto-instrumentation e2e): remove incorrect go sidecar container from multi-instrumentation test
Signed-off-by: Praful Khanduri <[email protected]>
1 parent 577415a commit 85afb82

File tree

1 file changed

+6
-55
lines changed
  • tests/e2e-multi-instrumentation/instrumentation-multi-multicontainer-go

1 file changed

+6
-55
lines changed

tests/e2e-multi-instrumentation/instrumentation-multi-multicontainer-go/02-assert.yaml

Lines changed: 6 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,8 @@ spec:
3737
value: http://deployment-collector:4318
3838
- name: PYTHONPATH
3939
value: /otel-auto-instrumentation-python/opentelemetry/instrumentation/auto_instrumentation:/otel-auto-instrumentation-python
40-
- name: OTEL_EXPORTER_OTLP_PROTOCOL
41-
value: http/protobuf
4240
- name: OTEL_TRACES_EXPORTER
4341
value: otlp
44-
- name: OTEL_METRICS_EXPORTER
45-
value: otlp
46-
- name: OTEL_LOGS_EXPORTER
47-
value: otlp
4842
- name: OTEL_EXPORTER_OTLP_TIMEOUT
4943
value: "20"
5044
- name: OTEL_TRACES_SAMPLER
@@ -53,6 +47,12 @@ spec:
5347
value: "0.85"
5448
- name: SPLUNK_TRACE_RESPONSE_HEADER_ENABLED
5549
value: "true"
50+
- name: OTEL_EXPORTER_OTLP_PROTOCOL
51+
value: http/protobuf
52+
- name: OTEL_METRICS_EXPORTER
53+
value: otlp
54+
- name: OTEL_LOGS_EXPORTER
55+
value: otlp
5656
- name: OTEL_RESOURCE_ATTRIBUTES_POD_NAME
5757
valueFrom:
5858
fieldRef:
@@ -72,52 +72,6 @@ spec:
7272
readOnly: true
7373
- mountPath: /otel-auto-instrumentation-python
7474
name: opentelemetry-auto-instrumentation-python
75-
- env:
76-
- name: OTEL_NODE_IP
77-
valueFrom:
78-
fieldRef:
79-
apiVersion: v1
80-
fieldPath: status.hostIP
81-
- name: OTEL_POD_IP
82-
valueFrom:
83-
fieldRef:
84-
apiVersion: v1
85-
fieldPath: status.podIP
86-
- name: OTEL_GO_AUTO_TARGET_EXE
87-
value: /usr/src/app/productcatalogservice
88-
- name: OTEL_SERVICE_NAME
89-
value: goapp
90-
- name: OTEL_TRACES_EXPORTER
91-
value: otlp
92-
- name: OTEL_EXPORTER_OTLP_ENDPOINT
93-
value: http://deployment-collector:4317
94-
- name: OTEL_EXPORTER_OTLP_TIMEOUT
95-
value: "20"
96-
- name: OTEL_TRACES_SAMPLER
97-
value: parentbased_traceidratio
98-
- name: OTEL_TRACES_SAMPLER_ARG
99-
value: "0.85"
100-
- name: SPLUNK_TRACE_RESPONSE_HEADER_ENABLED
101-
value: "true"
102-
- name: OTEL_RESOURCE_ATTRIBUTES_POD_NAME
103-
valueFrom:
104-
fieldRef:
105-
apiVersion: v1
106-
fieldPath: metadata.name
107-
- name: OTEL_RESOURCE_ATTRIBUTES_NODE_NAME
108-
valueFrom:
109-
fieldRef:
110-
apiVersion: v1
111-
fieldPath: spec.nodeName
112-
- name: OTEL_PROPAGATORS
113-
value: jaeger,b3
114-
- name: OTEL_RESOURCE_ATTRIBUTES
115-
name: opentelemetry-auto-instrumentation
116-
volumeMounts:
117-
- mountPath: /sys/kernel/debug
118-
name: kernel-debug
119-
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
120-
readOnly: true
12175
initContainers:
12276
- command:
12377
- cp
@@ -135,9 +89,6 @@ status:
13589
- name: goapp
13690
ready: true
13791
started: true
138-
- name: opentelemetry-auto-instrumentation
139-
ready: true
140-
started: true
14192
- name: pythonapp
14293
ready: true
14394
started: true

0 commit comments

Comments
 (0)