Updating the OpenTelemetry demo application
First, let’s improve the logging for our demo application. For this chapter, we have provided an updated OTEL-Collector.yaml
file with additional Loki log labels in the chapter4
folder in the GitHub repository. These instructions assume you have already completed the demo project setup in Chapter 3. Full details on this process are available in the GitHub repository in the Chapter 4 section of the README.md
file.
To upgrade the OpenTelemetry Collector, follow these steps:
- Upgrade the collector with Helm:
$ helm upgrade --version '0.73.1' --values chapter4/OTEL-Collector.yaml --values OTEL-Creds.yaml owg open-telemetry/opentelemetry-collector NAME: owg-otel-collector LAST DEPLOYED: Sun Apr 25 12:15:03 2023 NAMESPACE: default STATUS: deployed REVISION: 2 …
- You can validate that the upgrade was successful with this command:
$ kubectl get pods --selector=app.kubernetes.io/instance=owg NAME READY...