Skip to content

Commit d0904ab

Browse files
committed
chnages following review
1 parent febd253 commit d0904ab

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

charts/logzio-apm-collector/templates/_config.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,10 @@ resourcedetection/distribution:
110110
detectors: ["eks", "ec2"]
111111
{{- else if eq . "aks" }}
112112
resourcedetection/distribution:
113-
detectors: ["env", "aks"]
113+
detectors: ["aks", "azure"]
114114
{{- else if eq . "gke" }}
115115
resourcedetection/distribution:
116-
detectors: ["env", "gcp"]
116+
detectors: ["gcp"]
117117
{{- else }}
118118
resourcedetection/all:
119119
detectors: [ec2, azure, gcp]

charts/logzio-apm-collector/values.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,12 @@ global:
3737
distribution: ""
3838
# Optional - Control enabling of the OpenTelemetry Collector's resource detection feature. Dependent on `distribution` value.
3939
resourceDetection:
40-
enabled: true
40+
enabled: false
41+
42+
# Optional - Overrides `global.resourceDetection.enabled`.
43+
# Control whether the OpenTelemetry Collector's resource detection feature is enabled. Dependent on `distribution` value.
44+
resourceDetection:
45+
enabled: true
4146

4247
# Allows changing the OpenTelemetry Collector log level
4348
otelLogLevel: "info"

0 commit comments

Comments
 (0)