diff --git a/otel-integration/CHANGELOG.md b/otel-integration/CHANGELOG.md index d813ab19..d8502112 100644 --- a/otel-integration/CHANGELOG.md +++ b/otel-integration/CHANGELOG.md @@ -2,6 +2,9 @@ ## OpenTelemtry-Integration +### v0.0.84 / 2024-06-26 +- [Fix] Add azure to resource detection processor + ### v0.0.83 / 2024-06-26 - [Fix] Add cluster.name and resource detection processors to gateway-collector metrics diff --git a/otel-integration/k8s-helm/Chart.yaml b/otel-integration/k8s-helm/Chart.yaml index e749be5a..0b6f8f38 100644 --- a/otel-integration/k8s-helm/Chart.yaml +++ b/otel-integration/k8s-helm/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 name: otel-integration description: OpenTelemetry Integration -version: 0.0.83 +version: 0.0.84 keywords: - OpenTelemetry Collector - OpenTelemetry Agent diff --git a/otel-integration/k8s-helm/e2e-test/expected_test.go b/otel-integration/k8s-helm/e2e-test/expected_test.go index e7b2b0aa..231d696b 100644 --- a/otel-integration/k8s-helm/e2e-test/expected_test.go +++ b/otel-integration/k8s-helm/e2e-test/expected_test.go @@ -28,18 +28,22 @@ var expectedResourceAttributesKubeletstatreceiver = map[string]string{ "cx.otel_integration.name": "coralogix-integration-helm", "k8s.cluster.name": "otel-integration-agent-e2e", "k8s.node.name": "otel-integration-agent-e2e-control-plane", - "host.name": "otel-integration-agent-e2e-control-plane", + "host.name": "", "host.id": "", "os.type": "linux", + "cloud.provider": "azure", + "cloud.platform": "", } var expectedResourceAttributesHostmetricsreceiver = map[string]string{ "cx.otel_integration.name": "coralogix-integration-helm", "k8s.cluster.name": "otel-integration-agent-e2e", "k8s.node.name": "otel-integration-agent-e2e-control-plane", - "host.name": "otel-integration-agent-e2e-control-plane", + "host.name": "", "host.id": "", "os.type": "linux", + "cloud.provider": "azure", + "cloud.platform": "", } var expectedResourceAttributesPrometheusreceiver = map[string]string{ @@ -52,7 +56,7 @@ var expectedResourceAttributesPrometheusreceiver = map[string]string{ "cx.otel_integration.name": "coralogix-integration-helm", "k8s.cluster.name": "otel-integration-agent-e2e", "k8s.node.name": "otel-integration-agent-e2e-control-plane", - "host.name": "otel-integration-agent-e2e-control-plane", + "host.name": "", "host.id": "", "k8s.pod.ip": "", "k8s.pod.name": "", @@ -60,6 +64,8 @@ var expectedResourceAttributesPrometheusreceiver = map[string]string{ "k8s.namespace.name": "", "k8s.daemonset.name": "", "os.type": "linux", + "cloud.provider": "azure", + "cloud.platform": "", } var expectedMetrics map[string]bool = map[string]bool{ diff --git a/otel-integration/k8s-helm/values.yaml b/otel-integration/k8s-helm/values.yaml index 73613cb9..b67bb8de 100644 --- a/otel-integration/k8s-helm/values.yaml +++ b/otel-integration/k8s-helm/values.yaml @@ -5,7 +5,7 @@ global: defaultSubsystemName: "integration" logLevel: "warn" collectionInterval: "30s" - version: "0.0.83" + version: "0.0.84" extensions: kubernetesDashboard: @@ -205,7 +205,7 @@ opentelemetry-agent: host.id: enabled: true resourcedetection/region: - detectors: ["gcp", "ec2"] + detectors: ["gcp", "ec2", "azure"] timeout: 2s override: true transform/prometheus: @@ -535,7 +535,7 @@ opentelemetry-cluster-collector: timeout: 2s override: false resourcedetection/region: - detectors: ["gcp", "ec2"] + detectors: ["gcp", "ec2", "azure"] timeout: 2s override: true # Will get the k8s resource limits @@ -728,7 +728,7 @@ opentelemetry-gateway: host.id: enabled: true resourcedetection/region: - detectors: ["gcp", "ec2"] + detectors: ["gcp", "ec2", "azure"] timeout: 2s override: true batch: