|
| 1 | +apiVersion: v1 |
| 2 | +kind: Pod |
| 3 | +metadata: |
| 4 | + namespace: my-other-dotnet-ns |
| 5 | + annotations: |
| 6 | + instrumentation.opentelemetry.io/inject-dotnet: "true" |
| 7 | + sidecar.opentelemetry.io/inject: "true" |
| 8 | + labels: |
| 9 | + app: my-dotnet |
| 10 | +spec: |
| 11 | + containers: |
| 12 | + - env: |
| 13 | + - name: OTEL_NODE_IP |
| 14 | + valueFrom: |
| 15 | + fieldRef: |
| 16 | + fieldPath: status.hostIP |
| 17 | + - name: OTEL_POD_IP |
| 18 | + valueFrom: |
| 19 | + fieldRef: |
| 20 | + fieldPath: status.podIP |
| 21 | + - name: ASPNETCORE_URLS |
| 22 | + value: http://+:8080 |
| 23 | + - name: CORECLR_ENABLE_PROFILING |
| 24 | + value: "1" |
| 25 | + - name: CORECLR_PROFILER |
| 26 | + value: '{918728DD-259F-4A6A-AC2B-B85E1B658318}' |
| 27 | + - name: CORECLR_PROFILER_PATH |
| 28 | + value: /otel-auto-instrumentation-dotnet/linux-x64/OpenTelemetry.AutoInstrumentation.Native.so |
| 29 | + - name: DOTNET_STARTUP_HOOKS |
| 30 | + value: /otel-auto-instrumentation-dotnet/net/OpenTelemetry.AutoInstrumentation.StartupHook.dll |
| 31 | + - name: DOTNET_ADDITIONAL_DEPS |
| 32 | + value: /otel-auto-instrumentation-dotnet/AdditionalDeps |
| 33 | + - name: OTEL_DOTNET_AUTO_HOME |
| 34 | + value: /otel-auto-instrumentation-dotnet |
| 35 | + - name: DOTNET_SHARED_STORE |
| 36 | + value: /otel-auto-instrumentation-dotnet/store |
| 37 | + - name: OTEL_TRACES_EXPORTER |
| 38 | + value: otlp |
| 39 | + - name: OTEL_EXPORTER_OTLP_ENDPOINT |
| 40 | + value: http://localhost:4317 |
| 41 | + - name: OTEL_EXPORTER_OTLP_TIMEOUT |
| 42 | + value: "20" |
| 43 | + - name: OTEL_TRACES_SAMPLER |
| 44 | + value: parentbased_traceidratio |
| 45 | + - name: OTEL_TRACES_SAMPLER_ARG |
| 46 | + value: "0.85" |
| 47 | + - name: SPLUNK_TRACE_RESPONSE_HEADER_ENABLED |
| 48 | + value: "true" |
| 49 | + - name: OTEL_SERVICE_NAME |
| 50 | + value: my-dotnet |
| 51 | + - name: OTEL_RESOURCE_ATTRIBUTES_POD_NAME |
| 52 | + valueFrom: |
| 53 | + fieldRef: |
| 54 | + apiVersion: v1 |
| 55 | + fieldPath: metadata.name |
| 56 | + - name: OTEL_RESOURCE_ATTRIBUTES_NODE_NAME |
| 57 | + valueFrom: |
| 58 | + fieldRef: |
| 59 | + apiVersion: v1 |
| 60 | + fieldPath: spec.nodeName |
| 61 | + - name: OTEL_PROPAGATORS |
| 62 | + value: jaeger,b3multi |
| 63 | + - name: OTEL_RESOURCE_ATTRIBUTES |
| 64 | + name: myapp |
| 65 | + volumeMounts: |
| 66 | + - mountPath: /var/run/secrets/kubernetes.io/serviceaccount |
| 67 | + readOnly: true |
| 68 | + - mountPath: /otel-auto-instrumentation-dotnet |
| 69 | + name: opentelemetry-auto-instrumentation-dotnet |
| 70 | + - args: |
| 71 | + - --config=env:OTEL_CONFIG |
| 72 | + name: otc-container |
| 73 | + initContainers: |
| 74 | + - name: opentelemetry-auto-instrumentation-dotnet |
| 75 | +status: |
| 76 | + containerStatuses: |
| 77 | + - name: myapp |
| 78 | + ready: true |
| 79 | + started: true |
| 80 | + - name: otc-container |
| 81 | + ready: true |
| 82 | + started: true |
| 83 | + initContainerStatuses: |
| 84 | + - name: opentelemetry-auto-instrumentation-dotnet |
| 85 | + ready: true |
| 86 | + phase: Running |
0 commit comments