Getting Started

Configuring Destination Fields

  • MW_TARGET string : Endpoint.
    • This field is required
  • MW_API_KEY string : API Key.
    • This field is required

Adding Destination to Odigos

There are two primary methods for configuring destinations in Odigos:

Using the UI
1

Use the Odigos CLI to access the UI

odigos ui
2

Click on Add Destination, select Middleware and follow the on-screen instructions

Using Kubernetes manifests
1

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
2

Apply the YAML using kubectl

kubectl apply -f middleware.yaml