-
Notifications
You must be signed in to change notification settings - Fork 0
PM-9762: default otel config #38
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -211,6 +211,22 @@ spec: | |
| valueFrom: | ||
| fieldRef: | ||
| fieldPath: metadata.labels['tags.datadoghq.com/version'] | ||
| {{- if .Values.otel.enabled }} | ||
| - name: OTEL_LOGS_EXPORTER | ||
| value: 'none' | ||
| - name: OTEL_METRICS_EXPORTER | ||
| value: 'none' | ||
| - name: NODE_IP | ||
| valueFrom: | ||
| fieldRef: | ||
| fieldPath: status.hostIP # Kubernetes downward API | ||
| - name: OTEL_EXPORTER_OTLP_ENDPOINT | ||
| value: 'http://$(NODE_IP):4318' | ||
| - name: OTEL_EXPORTER_OTLP_PROTOCOL | ||
| value: 'http/protobuf' | ||
| - name: OTEL_TRACES_SAMPLER | ||
| value: 'always_on' | ||
| {{- end }} | ||
|
Comment on lines
+214
to
+229
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. OTEL env var injection looks correct; one operational concern with The However, 🤖 Prompt for AI Agents |
||
| - name: SERVER_SERVLET_CONTEXT_PATH | ||
| value: '/{{ .Values.service.path }}' | ||
| {{- if kindIs "map" .Values.env }} | ||
|
|
@@ -274,4 +290,4 @@ spec: | |
| persistentVolumeClaim: | ||
| claimName: {{ .Values.efs.claimName }} | ||
| {{- end }} | ||
| {{- end }} | ||
| {{- end }} | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -238,4 +238,7 @@ sqsd: | |
| memory: 128Mi | ||
| requests: | ||
| cpu: 125m | ||
| memory: 64Mi | ||
| memory: 64Mi | ||
|
|
||
| otel: | ||
| enabled: false | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Version bump should be minor (1.2.0), not patch (1.1.1).
Adding optional OpenTelemetry support is new functionality. Per SemVer, new backward-compatible features warrant a minor version bump. Also, the commit message references
1.2.0while the file has1.1.1— this inconsistency suggests the intended version was1.2.0.📝 Committable suggestion
🤖 Prompt for AI Agents