Pipeline Configuration
Odigos sets up an observability pipeline in your Kubernetes cluster to collect, process and export OpenTelemetry data.
User can configure the following components:
- Cluster Gateway Collector - a collector that runs as a k8s Deployment. It receives the OpenTelemetry data from the Node Collectors, processes it, and exports it to the configured destinations.
- Node Data Collection Collector - a collector that runs as a k8s DaemonSet. It collects / scrape the OpenTelemetry data from the applications running on the nodes and forwards it to the Cluster Gateway Collector.
Configuring the Pipeline
Odigos offers two main options for configuring the pipeline:
When configuring the pipeline, you must use only one of the two methods—either profiles or directly editing the odigos-config
ConfigMap. Using both methods will result in configurations overwriting each other, potentially leading to unexpected behavior.
1. Using Profiles
Sizing Profiles size_s
, size_m
, size_l
are pre-defined configurations designed to simplify pipeline configurations. Each profile specifies the following parameters:
Cluster Gateway Collector:
Profile | Minimum Replicas | HPA Maximum Replicas | Request CPU (m) | Limit CPU (m) | Request Memory (Mi) | Limit Memory (Mi) |
---|---|---|---|---|---|---|
size_s | 1 | 5 | 150m | 300m | 300Mi | 300Mi |
size_m | 2 | 8 | 500m | 1000m | 500Mi | 600Mi |
size_l | 3 | 12 | 750m | 1250m | 750Mi | 850Mi |
Node Data Collection Collector:
Profile | Request Memory (Mi) | Limit Memory (Mi) | Request CPU (m) | Limit CPU (m) |
---|---|---|---|---|
size_s | 150Mi | 300Mi | 150m | 300m |
size_m | 250Mi | 500Mi | 250m | 500m |
size_l | 500Mi | 750Mi | 500m | 750m |
To use profiles, you need to use the Odigos CLI Command for Profiles.
This simplifies the setup process and ensures optimized settings for typical use cases.
2. Directly Editing the odigos-config
ConfigMap
For more advanced control over the pipeline, you can directly edit the odigos-config
ConfigMap. This method allows you to configure additional collectorGateway
settings.
Below is an example of how to configure the collectorGateway
parameters:
Editing the ConfigMap allows you to fine-tune every aspect of the pipeline to meet custom requirements.
If you need any help fine-tuning the configurations, you can reach out to the Odigos team for support.