Dynatrace Quickstart Guide
This quickstart guide will help you get Causely up and running with Dynatrace. This setup allows Causely to ingest service dependencies and traces from both Kubernetes and ECS environments, creating a unified causal model.
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 Disable eBPF
Since you'll be using Dynatrace for instrumentation, create a causely-values.yaml file to disable eBPF instrumentation:
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 Dynatrace Integration
Now you need to configure Causely to scrape data from your Dynatrace account.
Step 6a: Create a Kubernetes Secret
Create a Kubernetes secret with your Dynatrace URL and API token:
kubectl create secret generic \
--namespace causely dynatrace-credentials \
--from-literal=url="<your_dynatrace_url>" \
--from-literal=api-token="<your_dynatrace_api_token>"
Step 6b: Update Causely Configuration
Update your causely-values.yaml to enable Dynatrace scraping:
global:
cluster_name: <your_cluster_name>
mediator:
gateway:
token: <your_token>
scrapers:
bpf:
enabled: false
dynatrace:
enabled: true
accounts:
- secretName: dynatrace-credentials
Then upgrade your Causely installation:
helm upgrade --install causely \\
--namespace=causely \\
--values causely-values.yaml \\
oci://us-docker.pkg.dev/public-causely/public/causely \\
--version "${CAUSELY_VERSION}"
You can also use credentials autodiscovery by labeling the secret:
kubectl --namespace causely label secret dynatrace-credentials "causely.ai/scraper=Dynatrace"
This allows you to add new accounts without editing the configuration. See the Dynatrace integration documentation for more details.
What to Expect
Once configured, Causely will:
- Ingest Dynatrace topology and telemetry: Causely will scrape service dependencies and traces from your Dynatrace account.
- Unified view across platforms: If you have both Kubernetes and ECS services, Causely will automatically discover and model dependencies between them, creating a unified causal view.
- Show data in the UI: Within a few minutes, you should start seeing services from both Kubernetes and ECS appearing in the Causely UI at https://portal.causely.app.
For more details on how Causely unifies data across platforms, see the Dynatrace 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.