Consul datastore 🔗
Description 🔗
The Splunk Distribution of OpenTelemetry Collector provides this integration as the Consul datastore monitor with the SignalFx Smart Agent receiver.
Consul 0.7.0+ is supported.
Note
This monitor is not available on Windows as collectd plugins are only supported in Linux and Kubernetes.
The integration monitors Consul datastores, and collects metrics from the following endpoints:
Installation 🔗
The Splunk Distribution of OpenTelemetry Collector allows embedding a Smart Agent monitor configuration in an associated Smart Agent Receiver instance.
This monitor is available in the Smart Agent Receiver, which is part of the Splunk Distribution of OpenTelemetry Collector.
Follow these steps to deploy the integration:
Deploy the Splunk Distribution of OpenTelemetry Collector to your host or container platform.
Complete the configuration.
Configuration 🔗
The Splunk Distribution of OpenTelemetry Collector allows embedding a Smart Agent monitor configuration in an associated Smart Agent Receiver instance.
Note: Providing a Consul datastore monitor entry in your Collector or Smart Agent (deprecated) configuration is required for its use. Use the appropriate form for your agent type.
Splunk Distribution of OpenTelemetry Collector 🔗
To activate this monitor in the OpenTelemetry Collector, add the following to your agent configuration:
receivers:
smartagent/consul:
type: collectd/consul
... # Additional config
To complete the monitor activation, you must also include the smartagent/consul
receiver item in a metrics
pipeline. To do this, add the receiver item to the service
> pipelines
> metrics
> receivers
section of your configuration file.
See configuration examples for specific use cases that show how the Splunk Distribution of OpenTelemetry Collector can integrate and complement existing environments.
If you are running a version of Consul earlier than 0.9.1, configure each Consul agent you want to monitor to send metrics to the OpenTelemetry Collector. To do so, add the following configuration to each Consul agent configuration file:
{"telemetry":
{"statsd_address": "<agent host>:<agent port, default 8125>"}
}
Smart Agent 🔗
To activate this monitor in the Smart Agent, add the following to your agent configuration:
monitors: # All monitor config goes under this key
- type: collectd/consul
... # Additional config
If you are running a version of Consul earlier than 0.9.1, set the telemetryServer
option to your agent configuration. This starts a UDP server listening on 0.0.0.0:8125 by default.
monitors: # All monitor config goes under this key
- type: collectd/consul
telemetryServer: true
... # Additional config
See Smart Agent example configuration for an autogenerated example of a YAML configuration file, with default values where applicable.
Configuration settings 🔗
The following table shows the configuration options for this monitor:
Option |
Required |
Type |
Description |
---|---|---|---|
|
no |
|
Path to a python binary that should be used to execute the Python code. If not set, a built-in runtime will be used. Can include arguments to the binary as well. |
|
yes |
|
|
|
yes |
|
|
|
no |
|
Consul ACL token |
|
no |
|
Set to |
|
no |
|
(default: |
|
no |
|
IP address or DNS to which Consul is configured to send telemetry UDP packets. Relevant only if |
|
no |
|
Port to which Consul is configured to send telemetry UDP packets. Relevant only if |
|
no |
|
Set to |
|
no |
|
If Consul server has HTTPS activated for the API, specifies the path to the CA Certificate. |
|
no |
|
If client-side authentication is activated, specifies the path to the certificate file. |
|
no |
|
If client-side authentication is activated, specifies the path to the key file. |
|
no |
|
Metrics 🔗
These metrics are available for this integration.
Get help 🔗
If you are not able to see your data in Splunk Observability Cloud, try these tips:
Submit a case in the Splunk Support Portal
Available to Splunk Observability Cloud customers
-
Available to Splunk Observability Cloud customers
Ask a question and get answers through community support at Splunk Answers
Available to Splunk Observability Cloud customers and free trial users
Join the Splunk #observability user group Slack channel to communicate with customers, partners, and Splunk employees worldwide
Available to Splunk Observability Cloud customers and free trial users
To learn how to join, see Get Started with Splunk Community - Chat groups
To learn about even more support options, see Splunk Customer Success.