Skip to content

Commit

Permalink
[otel-integration] add upgrading docs (#331)
Browse files Browse the repository at this point in the history
* [otel-integration] add upgrading docs

* Apply suggestions from code review

Co-authored-by: Matej Gera <[email protected]>

---------

Co-authored-by: Matej Gera <[email protected]>
  • Loading branch information
povilasv and matej-g authored Nov 21, 2023
1 parent 6b46b18 commit 1386e98
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
4 changes: 4 additions & 0 deletions otel-integration/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# OpenTelemetry Integration

The OpenTelemetry integration projects offers a full-fledged integration to collect and export telemetry signals from your infrastructure and applications. Currently this integration is available for Kubernetes on Linux platforms, please see the [`k8s-helm`](./k8s-helm) subdirectory for installation instructions.

## Upgrading

See [UPGRADING.md](UPGRADING.md).
52 changes: 52 additions & 0 deletions otel-integration/UPGRADING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Upgrade guidelines

These upgrade guidelines only contain instructions for version upgrades which require manual modifications on the user's side.
If the version you want to upgrade to is not listed here, then there is nothing to do for you.
Just upgrade and enjoy.

## 0.0.32 to 0.0.33

Opentelemetry Integration v0.33 has removed Kube State Metrics deployment, as the needed resource attributes and metrics are now part of OpenTelemetry Kubernetes Cluster Receiver.

We removed `metricstransform/kube-extra-metrics` processor, as it was transforming `kube-state-metrics` metrics. And added two processors `metricstransform/k8s-dashboard` and `transform/k8s-dashboard` which transforms OTEL format into the format which Coralogix Kubernetes Dashboard uses.

If you manually configured the opentelemetry-cluster-collectors metrics pipeline, you will need to add `metricstransform/k8s-dashboard` and `transform/k8s-dashboard` processors to your pipeline.

Previously, we had cluster collector's metrics pipeline that looked like this:

```
opentelemetry-cluster-collector:
...
metrics:
exporters:
- coralogix
processors:
- k8sattributes
- metricstransform/kube-extra-metrics
- resourcedetection/env
- resourcedetection/region
- memory_limiter
- batch
```

Now, the new cluster collector's metrics pipeline should look like this:

```
opentelemetry-cluster-collector:
...
metrics:
exporters:
- coralogix
processors:
- k8sattributes
- metricstransform/k8s-dashboard
- transform/k8s-dashboard
- resourcedetection/env
- resourcedetection/region
- memory_limiter
- batch
```

If you didn't configure the metrics pipeline for opentelemetry-cluster-collector, this is not a breaking change.

0 comments on commit 1386e98

Please sign in to comment.