Getting Started

Configuring Destination Fields

  • ELASTIC_APM_SERVER_ENDPOINT string : elastic APM server endpoint.
    • This field is required
  • ELASTIC_APM_SECRET_TOKEN string : elastic APM server token.
    • 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 Elastic APM and follow the on-screen instructions

Using Kubernetes manifests
1

Save the YAML below to a file (e.g. elasticapm.yaml)

apiVersion: odigos.io/v1alpha1
kind: Destination
metadata:
  name: elasticapm-example
  namespace: odigos-system
spec:
  data:
    ELASTIC_APM_SERVER_ENDPOINT: <elastic APM server endpoint>
  destinationName: elasticapm
  secretRef:
    name: elasticapm-secret
  signals:
  - TRACES
  - METRICS
  - LOGS
  type: elasticapm

---

apiVersion: v1
data:
  ELASTIC_APM_SECRET_TOKEN: <Base64 elastic APM server token>
kind: Secret
metadata:
  name: elasticapm-secret
  namespace: odigos-system
type: Opaque
2

Apply the YAML using kubectl

kubectl apply -f elasticapm.yaml