Skip to content

Commit

Permalink
Updating the app monitoring parameters for ama-metrics charts
Browse files Browse the repository at this point in the history
  • Loading branch information
Janvi Jatakia (from Dev Box) committed Mar 5, 2024
1 parent a747f79 commit 7277035
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,12 @@ spec:
value: "advanced" # WINDOWS: only supported mode is 'advanced', any other value will be the default/non-advance mode
- name: MINIMAL_INGESTION_PROFILE
value: "true" # only supported value is the string "true"
- name: APPMONITORING_AUTOINSTRUMENTATION_ENABLED
value: "{{ .Values.AzureMonitorMetrics.IsAppMonitoringAutoInstrumentationEnabled }}"
- name: APPMONITORING_OPENTELEMETRYMETRICS_ENABLED
value: "{{ .Values.AzureMonitorMetrics.IsAppMonitoringOpenTelemetryMetricsEnabled }}"
- name: APPMONITORING_OPENTELEMETRYMETRICS_PORT
value: "{{ .Values.AzureMonitorMetrics.OpenTelemetryMetricsPort }}"
securityContext:
privileged: false
volumeMounts:
Expand Down Expand Up @@ -398,6 +404,12 @@ spec:
value: "advanced" # WINDOWS: only supported mode is 'advanced', any other value will be the default/non-advance mode
- name: MINIMAL_INGESTION_PROFILE
value: "true" # only supported value is the string "true"
- name: APPMONITORING_AUTOINSTRUMENTATION_ENABLED
value: "{{ .Values.AzureMonitorMetrics.IsAppMonitoringAutoInstrumentationEnabled }}"
- name: APPMONITORING_OPENTELEMETRYMETRICS_ENABLED
value: "{{ .Values.AzureMonitorMetrics.IsAppMonitoringOpenTelemetryMetricsEnabled }}"
- name: APPMONITORING_OPENTELEMETRYMETRICS_PORT
value: "{{ .Values.AzureMonitorMetrics.OpenTelemetryMetricsPort }}"
securityContext:
privileged: false
volumeMounts:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ AzureMonitorMetrics:
TargetAllocatorMemoryLimit: 8Gi
TargetAllocatorCPURequest: 10m
TargetAllocatorMemoryRequest: 50Mi
IsAppMonitoringAutoInstrumentationEnabled: false
IsAppMonitoringOpenTelemetryMetricsEnabled: false
OpenTelemetryMetricsPort: "28333"
# The below 2 settings are not Azure Monitor Metrics adapter chart. They are substituted in a different manner.
# Please update these with the latest ones from here so that you get the image that is currently deployed by the AKS RP -
# Repository: https://msazure.visualstudio.com/CloudNativeCompute/_git/aks-rp?path=/ccp/charts/addon-charts/azure-monitor-metrics-addon/templates/ama-metrics-daemonset.yaml&version=GBrashmi/prom-addon-arm64&line=136&lineEnd=136&lineStartColumn=56&lineEndColumn=85&lineStyle=plain&_a=contents
Expand Down

0 comments on commit 7277035

Please sign in to comment.