OpenTelemetry Quickstart Guide
This quickstart guide will help you get Causely up and running with OpenTelemetry. This setup is ideal if you're already using OpenTelemetry instrumentation or want to use your existing OpenTelemetry Collector.
Get Your Installation Command
- Log in to the Causely portal.
- Visit the mediators page.
- Click the "Add new" button (or "Add ➕" button) on the mediators page.
- In the instructions panel, you'll see the Helm installation command with your access token pre-filled.
- Copy the complete Helm command. It will look similar to the example below.
The command you copy will include your specific access token and cluster name. Here's what it typically looks like:
export CAUSELY_TOKEN=<your_token>
export CAUSELY_CLUSTER_NAME=<your_cluster_name>
export CAUSELY_VERSION=<version>
helm upgrade --install causely \\
--create-namespace oci://us-docker.pkg.dev/public-causely/public/causely \\
--version "${CAUSELY_VERSION}" \\
--namespace=causely \\
--set image.tag="${CAUSELY_VERSION}" \\
--set global.cluster_name="\${CAUSELY_CLUSTER_NAME}" \\
--set mediator.gateway.token="\${CAUSELY_TOKEN}"
Screenshots of the mediators page, "Add new" button, and instructions panel will be added here.
Create a Values File to Configure OpenTelemetry
Create a causely-values.yaml file with the following configuration to disable eBPF instrumentation and configure OpenTelemetry:
global:
cluster_name: <your_cluster_name>
mediator:
gateway:
token: <your_token>
scrapers:
bpf:
enabled: false
Replace <your_cluster_name> and <your_token> with your actual values from the portal.
Run the Installation Command
- Open a terminal with
kubectlconfigured to access your cluster. - Run the Helm command with your values file:
export CAUSELY_VERSION=<version>
helm upgrade --install causely \\
--create-namespace oci://us-docker.pkg.dev/public-causely/public/causely \\
--version "${CAUSELY_VERSION}" \\
--namespace=causely \\
--set image.tag="${CAUSELY_VERSION}" \\
--set global.cluster_name="<your_cluster_name>" \\
--set mediator.gateway.token="<your_token>" \\
--values causely-values.yaml
- Wait for the installation to complete:
kubectl wait --for=condition=Ready pod -l app.kubernetes.io/part-of=causely -n causely --timeout=300s
Configure Your OpenTelemetry Collector
Now you need to configure your OpenTelemetry Collector to send traces and metrics to Causely's mediator. The mediator listens for OpenTelemetry Protocol (OTLP) data on port 4317.
If you don't have an OpenTelemetry Collector running, you can install one using the OpenTelemetry Operator. For detailed configuration instructions, see the OpenTelemetry integration guide.
The key configuration you'll need is to add an exporter that points to the Causely mediator:
exporters:
otlp/causely:
endpoint: mediator.causely:4317
compression: none
tls:
insecure: true
What to Expect
Once configured, Causely will:
- Receive OpenTelemetry data: Your OpenTelemetry Collector will send traces and metrics to the Causely mediator.
- Discover service dependencies: Causely will automatically discover service dependencies from your OpenTelemetry traces.
- Show data in the UI: Within a few minutes, you should start seeing services and their relationships appearing in the Causely UI at https://portal.causely.app.
For complete OpenTelemetry configuration examples, including Kubernetes attributes processing and filtering, see the OpenTelemetry integration documentation.
Add More Telemetry Sources
To help Causely identify root causes more effectively, connect additional telemetry sources. Visit the Telemetry Sources page to learn about the data sources that Causely supports, including:
- Prometheus
- OpenTelemetry
- Grafana
- Alertmanager
- And many more
Add Workflow Integrations
Push insights into your existing workflows and notification tools. Visit the Workflow Integrations page to set up integrations with:
What's Your Goal?
What's your goal?
Accelerate resolution
Get precise root cause insights during incidents to resolve issues faster.
Proactively prevent incidents
Identify emerging risks before they impact your services and SLOs.
Understand system behavior
Gain deep insights into why your systems behave the way they do.
Scale reliability
Maintain reliability across complex, fast-changing systems at scale.
Optimize performance
Continuously improve system performance with actionable insights.
While this quickstart guide focuses on Kubernetes, Causely also supports:
- Container Orchestration: Nomad, Docker, ECS
- GitOps: Argo CD, Flux
- Virtual Machines: Direct installation on VMs
For detailed installation instructions for these platforms, visit the Installation Overview page.