Complete Guide to Instrumentation and Monitoring in Kubernetes
Repository Content
stack-observability/
├── opentelemetry-operator/
│ ├── instrumentation.yaml
│ ├── values.yaml
│ ├── README.md
├── otel-collector/
│ ├── collector-config.yaml
│ ├── collector-deploy.yaml
│ ├── collector-service.yaml
│ ├── kustomization.yaml
│ ├── secrets.env
│ ├── README.md
├── prometheus/
│ ├── values-prometheus.yaml
├── promtail/
│ ├── values-promtail.yaml
├── helmfile.yaml
└── README.mdPrerequisites
Make sure you have the following configured in your environment:
Install Helmfile:
Installation: Step by Step
Clone the Repository
Via SSH
Via HTTPS
Configure Namespace and Credentials
Create the monitoring namespace
Configure Prometheus
Edit the file prometheus/values-prometheus.yaml:
prometheus/values-prometheus.yaml:Promtail Configuration: Filters by Namespace or Annotation
In the promtail/values-promtail.yaml, edit:
promtail/values-promtail.yaml, edit:Configure the OpenTelemetry Operator
Edit opentelemetry-operator/instrumentation.yaml:
opentelemetry-operator/instrumentation.yaml:Install the Components with Helmfile
Access to Grafana
Installed Resources
Examples and Best Practices
Tips and Optimizations
Troubleshooting (Problem Solving)
Problem
Common Cause
Solution
Official Documentation
Support
Last updated
Was this helpful?

