Skip to content

Commit

Permalink
Supporting dotnet instrumentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mitali-salvi committed May 8, 2024
1 parent b250694 commit 6d463b3
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
7 changes: 7 additions & 0 deletions charts/amazon-cloudwatch-observability/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,13 @@ Get the current recommended auto instrumentation python image
{{- printf "%s/%s:%s" .Values.manager.autoInstrumentationImage.python.repositoryDomain .Values.manager.autoInstrumentationImage.python.repository .Values.manager.autoInstrumentationImage.python.tag -}}
{{- end -}}

{{/*
Get the current recommended auto instrumentation dotnet image
*/}}
{{- define "auto-instrumentation-dotnet.image" -}}
{{- printf "%s/%s:%s" .Values.manager.autoInstrumentationImage.dotnet.repositoryDomain .Values.manager.autoInstrumentationImage.dotnet.repository .Values.manager.autoInstrumentationImage.dotnet.tag -}}
{{- end -}}

{{/*
Common labels
*/}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ spec:
- {{ 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" . }}"
- "--auto-instrumentation-dotnet-image={{ template "auto-instrumentation-dotnet.image" . }}"
- "--feature-gates=operator.autoinstrumentation.multi-instrumentation,operator.autoinstrumentation.multi-instrumentation.skip-container-validation"
command:
- /manager
Expand Down
15 changes: 12 additions & 3 deletions charts/amazon-cloudwatch-observability/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,10 @@ containerLogs:
manager:
name:
image:
repository: cloudwatch-agent-operator
tag: 1.3.1
repository: amazon-cloudwatch-agent-operator
tag: 1.3.2
repositoryDomainMap:
public: public.ecr.aws/cloudwatch-agent
public: 576881538829.dkr.ecr.us-east-1.amazonaws.com
cn-north-1: 934860584483.dkr.ecr.cn-north-1.amazonaws.com.cn
cn-northwest-1: 934860584483.dkr.ecr.cn-northwest-1.amazonaws.com.cn
us-gov-east-1: 743662458514.dkr.ecr.us-gov-east-1.amazonaws.com
Expand All @@ -60,6 +60,10 @@ manager:
repositoryDomain: public.ecr.aws/aws-observability
repository: adot-autoinstrumentation-python
tag: v0.1.1
dotnet:
repositoryDomain: ghcr.io/open-telemetry/opentelemetry-operator
repository: autoinstrumentation-dotnet
tag: 1.6.0
autoAnnotateAutoInstrumentation:
java:
namespaces: [ ]
Expand All @@ -71,6 +75,11 @@ manager:
deployments: [ ]
daemonsets: [ ]
statefulsets: [ ]
dotnet:
namespaces: [ ]
deployments: [ ]
daemonsets: [ ]
statefulsets: [ ]
ports:
containerPort: 9443
metricsPort: 8080
Expand Down

0 comments on commit 6d463b3

Please sign in to comment.