apiVersion: apps/v1 kind: Deployment metadata: name: redis spec: template: metadata: annotations: instrumentation.opentelemetry.io/inject-python: monitoring/otel-instrumentation spec: containers: - name: redis env: - name: OTEL_SERVICE_NAME value: redis - name: OTEL_EXPORTER_OTLP_ENDPOINT value: http://otel-collector.monitoring.svc.cluster.local:4317 - name: OTEL_RESOURCE_ATTRIBUTES value: app=vote --- apiVersion: apps/v1 kind: Deployment metadata: name: result spec: template: metadata: annotations: instrumentation.opentelemetry.io/inject-nodejs: monitoring/otel-instrumentation spec: containers: - name: result env: - name: OTEL_SERVICE_NAME value: result - name: OTEL_EXPORTER_OTLP_ENDPOINT value: http://otel-collector.monitoring.svc.cluster.local:4317 - name: OTEL_RESOURCE_ATTRIBUTES value: app=vote --- apiVersion: apps/v1 kind: Deployment metadata: name: vote spec: template: metadata: annotations: instrumentation.opentelemetry.io/inject-python: monitoring/otel-instrumentation spec: containers: - name: vote env: - name: OTEL_SERVICE_NAME value: vote - name: OTEL_EXPORTER_OTLP_ENDPOINT value: http://otel-collector.monitoring.svc.cluster.local:4317 - name: OTEL_RESOURCE_ATTRIBUTES value: app=vote --- apiVersion: apps/v1 kind: Deployment metadata: name: worker spec: template: metadata: annotations: instrumentation.opentelemetry.io/inject-dotnet: monitoring/otel-instrumentation spec: containers: - name: worker env: - name: OTEL_SERVICE_NAME value: worker - name: OTEL_EXPORTER_OTLP_ENDPOINT value: http://otel-collector.monitoring.svc.cluster.local:4317 - name: OTEL_RESOURCE_ATTRIBUTES value: app=vote