Was this page helpful?
Caution
You're viewing documentation for a previous version of ScyllaDB Monitoring. Switch to the latest stable version.
The safest way to use Datadog with Scylla is to load the metrics, using a Datadog Agent, from a Prometheus server and not directly from Scylla nodes. The integration consists of:
Installing and configuring the Datadog Agent.
Add Datadog recording rules.
Loading Scylla dashboard to Datadog.
Optionally load Monitor (Alerts).
Note
Scylla Cloud users, use and update the proper configuration file.
Start by following Installation guide. The datadog agent should run on a machine that can reach the Prometheus server.
Once the Datadog agent is working, download the configuration file and place it under /etc/datadog-agent/conf.d/prometheus.d/conf.yaml
Scylla Cloud users, download the configuration file conf.yaml
move it to: /etc/datadog-agent/conf.d/prometheus.d/conf.yaml
Edit the file. You must replace the cluster id (CLUSTER_ID) and the token (TOKEN).
Other Scylla users, download the configuration file conf.yaml
and replace the ip address of the Prometheus server.
Restart the agent based on your installation. Scylla metrics should be visible in Datadog.
Note
By default, Datadog will not scrap per-shard metrics. To enable per-shard metrics, edit the conf.yaml file and replace dd=~”1” with dd=~”1|2”
Non Scylla Cloud users, download the rules configuration file datadog.rules.yml
if you need per-shard metrics, download datadog.rules-with-shards.yml
and place it under prometheus/prom_rules/.
Per-shards metrics adds load and cost to both the Prometheus server and Datadog agent and server, so only use it if needed.
Cloud users, skip this step, it’s been take care for by the cloud.
Download the dashboard file dashboard.json
.
Create a new dashboard in Datadog and import the json file you downloaded.
We created a Datadog dashboard that resembles the Grafana dashboards available to Scylla and Scylla-Cloud users.
The dashboard contains some specific filtering and perspectives: First, you can choose between shard, instance, dc, or cluster view. This will aggregate the metrics in the graphs accordingly. Second, you can filter to see specific shards, nodes, or DCs.
Note
Pay attention that some of the combinations are conflicting. For example, you cannot filter by DC when looking at a cluster view. If no data displayed, remove the filters first.
Alerts in Datadog called Monitor. Download the monitor file monitor.json
. Go to the Monitor section in datadog and import the json.
Was this page helpful?