Benefits of Tracing
- Enhanced Visibility: Tracing illuminates the path of requests across service boundaries, helping identify bottlenecks and inefficiencies in microservices architectures.
- Improved Debugging: By providing a granular view of requests, tracing simplifies debugging, allowing developers to pinpoint the source of errors and latency issues.
- Performance Optimization: Tracing data helps in identifying slow operations and performance anomalies, guiding optimization efforts for better resource utilization and response times.
- Security and Compliance: Tracing can be used to monitor and audit access to sensitive data, ensuring compliance with security policies and regulations.
Advantages of the KoalaOps Tracing Architecture
Our setup includes ArgoCD, Grafana, Grafana Tempo, and an OpenTelemetry Collector. Each tool offers unique benefits for a comprehensive tracing and observability solution:- ArgoCD for GitOps: Manages clusters and applications through GitOps, ensuring Kubernetes clusters’ state matches Git configurations for automated deployments.
- Grafana: Offers data visualization in dashboards with customizable views, alerting, and community plugins for enhanced functionality.
- Grafana Tempo: Provides high-volume trace storage with cost-effective scalability and simplified troubleshooting by integrating with Grafana.
- Otel Collector: Collects and exports telemetry data in a vendor-agnostic manner, offering flexible data handling and resource efficiency.
Installation Guide
This guide outlines the prerequisites and steps required to set up our recommended tracing tools on your platform, utilizing ArgoCD and several open-source addons including Grafana, Grafana Tempo, and the Otel Collector.Prerequisites
Ensure you have ArgoCD installed on your cluster. If not, please refer to the Control Plane GitOps section on the KoalaOps platform which will guide you through the installation.Grafana Tempo Addon Installation
The recommended practice is to run Grafana from a management cluster that displays data from all other workload clusters.Configuration for the Management Cluster
- Select the Grafana Tempo addon from the KoalaOps GitOps section.
- Enable the addon specifically for the management cluster.
- Input the following custom YAML configuration to set up the primary management cluster instance:
Configuration for all other workload clusters
- Enable the Grafana Tempo addon for each cluster intended to act as a client.
- Use a simplified YAML configuration for the workload clusters:
Grafana Addon
- Choose the Grafana addon on the KoalaOps GitOps section.
- Locate the management cluster row and use the ticket on the left to enable the addon for it.
- Edit the custom values YAML and add the following configuration:
OtelCollector Addon
This addon needs to be installed on all clusters.- Choose the OtelCollector addon on the KoalaOps GitOps section.
- Use the tickers on the left to enable the addon for all clusters.
- Edit the custom values YAML and add the following configuration for each of the workload clusters:
- Edit the custom values YAML and add the following configuration for the management cluster:
Accessing Grafana
To log in to Grafana, use the host name that was defined in the “Grafana Tempo” addon:- Username: admin
- Password Retrieval: