Getting Started
Configuring Destination Fields
✅ Traces
✅ Metrics
✅ Logs
- MW_TARGET
string : Endpoint.
- MW_API_KEY
string : API Key.
Adding Destination to Odigos
There are two primary methods for configuring destinations in Odigos:
Using the UI
Click on Add Destination, select Middleware and follow the on-screen instructions
Using Kubernetes manifests
Save the YAML below to a file (e.g. middleware.yaml)apiVersion: odigos.io/v1alpha1
kind: Destination
metadata:
name: middleware-example
namespace: odigos-system
spec:
data:
MW_TARGET: <Endpoint>
destinationName: middleware
secretRef:
name: middleware-secret
signals:
- TRACES
- METRICS
- LOGS
type: middleware
---
apiVersion: v1
data:
MW_API_KEY: <Base64 API Key>
kind: Secret
metadata:
name: middleware-secret
namespace: odigos-system
type: Opaque
Apply the YAML using kubectlkubectl apply -f middleware.yaml