Skip to content

Commit

Permalink
Ensure correct attributes and order of processors for `k8s.deployment…
Browse files Browse the repository at this point in the history
….name` workaround (#325)

* Adjust values

Signed-off-by: Matej Gera <[email protected]>

* Bump chart and update CHANGELOG

Signed-off-by: Matej Gera <[email protected]>

---------

Signed-off-by: Matej Gera <[email protected]>
  • Loading branch information
matej-g authored Nov 6, 2023
1 parent ee2d380 commit a990636
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
4 changes: 3 additions & 1 deletion otel-integration/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

## OpenTelemtry-Integration

### v0.0.31 / 2023-11-03
### v0.0.32 / 2023-11-03
* [FIX] Ensure correct order of processors for k8s deployment attributes.

### v0.0.31 / 2023-11-03
* [FIX] Fix scraping Kube State Metrics
* [CHORE] Update Collector to 0.88.0 (v0.76.0)
* [FIX] Fix consistent k8s.deployment.name attribute
Expand Down
8 changes: 4 additions & 4 deletions 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.31
version: 0.0.32
keywords:
- OpenTelemetry Collector
- OpenTelemetry Agent
Expand All @@ -11,17 +11,17 @@ keywords:
dependencies:
- name: opentelemetry-collector
alias: opentelemetry-agent
version: "0.76.2"
version: "0.76.3"
repository: https://cgx.jfrog.io/artifactory/coralogix-charts-virtual
condition: opentelemetry-agent.enabled
- name: opentelemetry-collector
alias: opentelemetry-agent-windows
version: "0.76.2"
version: "0.76.3"
repository: https://cgx.jfrog.io/artifactory/coralogix-charts-virtual
condition: opentelemetry-agent-windows.enabled
- name: opentelemetry-collector
alias: opentelemetry-cluster-collector
version: "0.76.2"
version: "0.76.3"
repository: https://cgx.jfrog.io/artifactory/coralogix-charts-virtual
condition: opentelemetry-cluster-collector.enabled
- name: kube-state-metrics
Expand Down
9 changes: 6 additions & 3 deletions otel-integration/k8s-helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ opentelemetry-agent:
extract:
metadata:
- "k8s.namespace.name"
- "k8s.deployment.name"
# replace the below by `k8s.deployment.name` after https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/23067
- "k8s.replicaset.name"
- "k8s.statefulset.name"
- "k8s.daemonset.name"
- "k8s.cronjob.name"
Expand All @@ -153,7 +154,8 @@ opentelemetry-agent:
spanmetrics:
metrics_exporter: coralogix
dimensions:
- name: "k8s.deployment.name"
# replace the below by `k8s.deployment.name` after https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/23067
- name: "k8s.replicaset.name"
- name: "k8s.statefulset.name"
- name: "k8s.daemonset.name"
- name: "k8s.cronjob.name"
Expand Down Expand Up @@ -342,7 +344,8 @@ opentelemetry-cluster-collector:
extract:
metadata:
- "k8s.namespace.name"
- "k8s.deployment.name"
# replace the below by `k8s.deployment.name` after https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/23067
- "k8s.replicaset.name"
- "k8s.statefulset.name"
- "k8s.daemonset.name"
- "k8s.cronjob.name"
Expand Down

0 comments on commit a990636

Please sign in to comment.