Skip to content

Commit

Permalink
[otel-integration] Add azure to resource detection cloud list
Browse files Browse the repository at this point in the history
  • Loading branch information
povilasv committed Jun 26, 2024
1 parent 8f9ad28 commit 13b7263
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
3 changes: 3 additions & 0 deletions otel-integration/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion otel-integration/k8s-helm/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
7 changes: 4 additions & 3 deletions otel-integration/k8s-helm/e2e-test/expected_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,17 @@ 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",
}

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",
}
Expand All @@ -52,7 +53,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": "",
Expand Down
8 changes: 4 additions & 4 deletions otel-integration/k8s-helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ global:
defaultSubsystemName: "integration"
logLevel: "warn"
collectionInterval: "30s"
version: "0.0.83"
version: "0.0.84"

extensions:
kubernetesDashboard:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -728,7 +728,7 @@ opentelemetry-gateway:
host.id:
enabled: true
resourcedetection/region:
detectors: ["gcp", "ec2"]
detectors: ["gcp", "ec2", "azure"]
timeout: 2s
override: true
batch:
Expand Down

0 comments on commit 13b7263

Please sign in to comment.