Configure Monitoring with Datadog
On this page
You can integrate SingleStore with Datadog and collect metrics used to monitor a cluster.
Note
The SingleStore integration does not include any Datadog events.
Prerequisites
Install the Datadog Agent.
For containerized environments, enable Autodiscovery.
Configure Datadog
You can configure Datadog to collect metrics and logs.
Note
To verify if the Datadog Agent is collecting metrics/logs from SingleStore, run the Agent’s status subcommand, and find singlestore
under the Checks section.
Host Environment
Configure Metric Collection
To collect SingleStore performance metrics:
-
Configure the
conf.
file at the root of the Agent’s configuration directory.d/singlestore. d/conf. yaml Here’s a sample conf. yaml file. -
Restart the Agent.
Note
By default, the SingleStore integration collects metrics from the following tables: MV_
, AGGREGATORS
, and LEAVES
.collect_
as true
in singlestore.
file.
Configure Log Collection
Log collection is disabled by default in the Datadog Agent.
-
Set
logs_
asenabled true
in thedatadog.
file.yaml -
Add the log files in
singlestore.
to start collecting SingleStore logs.d/conf. yaml For example, logs:- type: filepath: /var/lib/memsql/<NODE_ID>/tracelogs/memsql.logsource: singlestoreservice: "<SERVICE_NAME>" -
Restart the Agent.
Containerized Environment
Configure Metric Collection
To collect SingleStore performance metrics in a containerized environment, update the following parameters in the configuration file:
Parameter |
Value |
---|---|
|
|
|
blank or |
|
|
See Autodiscovery Integration Templates for information on updating these parameters.
Note
By default, the SingleStore integration collects metrics from the following tables: MV_
, AGGREGATORS
, and LEAVES
.collect_
as true
in singlestore.
file.
Configure Log Collection
Log collection is disabled by default in the Datadog Agent.
Parameter |
Value |
---|---|
|
|
See Kubernetes Log collection for more information.
Service Checks
The SingleStore integration supports the following service checks:
Service Check |
Description |
---|---|
|
Returns |
List of Metrics
Refer to SingleStore Datadog Integration for a complete list of all the metrics that the Datadog Agent collects from the connected SingleStore cluster.
Last modified: July 5, 2023