Skip to content

Commit

Permalink
feat: Support runtime-metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
adebayor123 authored and bjrara committed Oct 24, 2024
1 parent f7bc8a7 commit 2ad7472
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
containers:
- image: {{ template "cloudwatch-agent-operator.image" . }}
args:
- {{ printf "--auto-instrumentation-config=%s" (dict "java" (.Values.manager.autoInstrumentationResources.java) "python" (.Values.manager.autoInstrumentationResources.python) "dotnet" (.Values.manager.autoInstrumentationResources.dotnet) "nodejs" (.Values.manager.autoInstrumentationResources.nodejs) | toJson) | quote }}
- {{ printf "--auto-instrumentation-config=%s" (dict "java" (merge .Values.manager.autoInstrumentationResources.java .Values.manager.autoInstrumentationConfiguration.java) "python" (merge .Values.manager.autoInstrumentationResources.python .Values.manager.autoInstrumentationConfiguration.python) "dotnet" (.Values.manager.autoInstrumentationResources.dotnet) "nodejs" (.Values.manager.autoInstrumentationResources.nodejs) | toJson) | quote }}
- {{ printf "--auto-annotation-config=%s" (.Values.manager.autoAnnotateAutoInstrumentation | toJson) | quote }}
- "--auto-instrumentation-java-image={{ template "auto-instrumentation-java.image" . }}"
- "--auto-instrumentation-python-image={{ template "auto-instrumentation-python.image" . }}"
Expand Down Expand Up @@ -56,4 +56,4 @@ spec:
kubernetes.io/os: linux
{{- with .Values.tolerations }}
tolerations: {{- toYaml . | nindent 6}}
{{- end }}
{{- end }}
7 changes: 7 additions & 0 deletions charts/amazon-cloudwatch-observability/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,13 @@ manager:
repositoryDomain: public.ecr.aws/aws-observability
repository: adot-autoinstrumentation-node
tag: v0.2.0
autoInstrumentationConfiguration:
java:
runtime_metrics:
enabled: "true"
python:
runtime_metrics:
enabled: "true"
autoInstrumentationResources:
java:
limits:
Expand Down

0 comments on commit 2ad7472

Please sign in to comment.