title: "Datadog"
sidebar_label: "Datadog"
description: 'Monitoring Spice with Datadog'
pagination_prev: 'clients/index'
sidebar_position: 3
pagination_next: null
Spice can be monitored with Datadog (opens in a new tab) using the Spice Metrics Endpoint (opens in a new tab) and pre-built dashboards available in the Spice repository (opens in a new tab).
Datadog Agent Configuration
Prerequisite: Datadog Agent version 6.5.0 or later is installed (opens in a new tab).
Configure the Datadog Agent to scrape the Spice metrics endpoint:
- Edit the
openmetrics.d/conf.yaml file in the conf.d/ folder at the root of your Agent’s configuration directory (opens in a new tab):
init_config:
instances:
- prometheus_url: SPICE-METRICS-ENDPOINT>/metrics # for example http://localhost:9090/metrics
namespace: spice
metrics:
- '*'
init_config:
instances:
- prometheus_url: SPICE-METRICS-ENDPOINT>/metrics # for example http://localhost:9090/metrics
namespace: spice
metrics:
- '*'
- Restart the Agent (opens in a new tab) to start collecting Spice metrics.
- Refer to Prometheus and OpenMetrics metrics collection from a host (opens in a new tab) for all available configuration options and supported parameters.
- Open Datadog Metrics Explorer and type
spice to confirm Spice telemetry information is successfully collected.
Import the Spice Datadog Dashboard
- Create New Datadog Dashboard (opens in a new tab)
- Click Import dashboard JSON and drag and drop monitoring/datadog-dashboard.json (opens in a new tab) file
- Dashboard is now configured to display Spice.ai OSS key performance metrics