Updating the OpenTelemetry demo application
For this chapter, we have prepared an updated version of OTEL-Collector.yaml
, which will add additional labels to metrics for you to explore. Full details on this process are available from the Git repository in the README.md
file. This process will apply the new version of the collector configuration to your demo application:
- Using Helm, we will apply the updated configuration file to our Kubernetes cluster:
$ helm upgrade --version '0.73.1' --values chapter5/OTEL-Collector.yaml --values OTEL-Creds.yaml owg open-telemetry/opentelemetry-collector NAME: owg-otel-collector LAST DEPLOYED: Sun Mon 19 12:42:36 2023 NAMESPACE: default STATUS: deployed REVISION: 2 …
- Validate upgrade was successful:
$ kubectl get pods --selector=component=standalone-collector NAME READY STATUS RESTARTS AGE owg-otel-collector-594fddd656-tfstk 1/1 ...