StreamNative Platform integrates with Datadog, which you can use to collect metrics for the following components and send the metrics to Datadog.
By default, Datadog collection annotation is disabled on StreamNative Platform. To enable it, you can set monitoring.datadog
to true
in the values.yaml
YAML file. StreamNative Platform allows you to configure Datadog for the components that it deploys. You can enable or disable Datadog collection annotation for components in the values.yaml
YAML file.
datadog
: enable or disable Datadog collection annotation on StreamNative Platform. By default, Datadog collection annotation is disabled.namespace
: specify the Datadog <METRICS_NAMESPACE_PREFIX_FOR_DATADOG>
configuration. You can set the namespace to be prefixed to every metric when viewed in Datadog. By default, it is set to the namespace where the sn-platform
chart is installed.<component>
: specify the component that you want Datadog to collect metrics for. Currently, you can use Datadog to collect metrics for the ZooKeeper, BookKeeper, Pulsar broker, Pulsar proxy, Vault, and Prometheus.enabled
: enable or disable Datadog collection annotation for the specific component. If enabled, you can use Datadog to collect metrics for the specific component.metrics
: specify the metrics to be collected. By default, all metrics ("\"_*\""
) are collected. For a list of supported metrics, see Pulsar metrics and Vault metrics.This section describes how to enable Datadog collection annotation on StreamNative Platform to collect metrics.
This prerequisite only applies to enabling Datadog collection annotation for the Pulsar proxy.
Get the token that is used to access your Pulsar proxy.
Configure the PROXY_TOKEN
as an environment variable on your Datadog Agent.
This section describes how to enable Datadog collection annotation on StreamNative Platform.
This section describes how to enable Datadog collection annotation on StreamNative Platform to collect metrics for Pulsar components.
Enable Datadog collection annotation.
This example shows how to enable Datadog collection annotation to collect metrics for the ZooKeeper cluster.
Apply the new configuration.
This section describes how to enable Datadog collection annotation on StreamNative Platform to collect metrics for Pulsar components.
Enable Datadog collection annotation.
This example shows how to enable Datadog collection annotation to collect metrics for the ZooKeeper cluster.
Apply the new configuration.
This section describes how to enable Datadog collection annotation to collect the Vault performance data.
Enable Datadog collection annotation for the Vault cluster.
To ensure Vault check work properly, you need to either enable unauthenticated access to Vault metrics or provide a Vault token:
- To enable unauthenticated access, set
datadog.components.vault.auth.enabled
tofalse
.- To use a Vault token, set
datadog.components.vault.auth.enabled
totrue
and provide the Vault token. For details about how to get a Vault token, see the prepare to connect to a Pulsar cluster user guide.
Apply the new configuration.
StreamNative Platform integrates with Datadog, which you can use to collect metrics for the following components and send the metrics to Datadog.
By default, Datadog collection annotation is disabled on StreamNative Platform. To enable it, you can set monitoring.datadog
to true
in the values.yaml
YAML file. StreamNative Platform allows you to configure Datadog for the components that it deploys. You can enable or disable Datadog collection annotation for components in the values.yaml
YAML file.
datadog
: enable or disable Datadog collection annotation on StreamNative Platform. By default, Datadog collection annotation is disabled.namespace
: specify the Datadog <METRICS_NAMESPACE_PREFIX_FOR_DATADOG>
configuration. You can set the namespace to be prefixed to every metric when viewed in Datadog. By default, it is set to the namespace where the sn-platform
chart is installed.<component>
: specify the component that you want Datadog to collect metrics for. Currently, you can use Datadog to collect metrics for the ZooKeeper, BookKeeper, Pulsar broker, Pulsar proxy, Vault, and Prometheus.enabled
: enable or disable Datadog collection annotation for the specific component. If enabled, you can use Datadog to collect metrics for the specific component.metrics
: specify the metrics to be collected. By default, all metrics ("\"_*\""
) are collected. For a list of supported metrics, see Pulsar metrics and Vault metrics.This section describes how to enable Datadog collection annotation on StreamNative Platform to collect metrics.
This prerequisite only applies to enabling Datadog collection annotation for the Pulsar proxy.
Get the token that is used to access your Pulsar proxy.
Configure the PROXY_TOKEN
as an environment variable on your Datadog Agent.
This section describes how to enable Datadog collection annotation on StreamNative Platform.
This section describes how to enable Datadog collection annotation on StreamNative Platform to collect metrics for Pulsar components.
Enable Datadog collection annotation.
This example shows how to enable Datadog collection annotation to collect metrics for the ZooKeeper cluster.
Apply the new configuration.
This section describes how to enable Datadog collection annotation on StreamNative Platform to collect metrics for Pulsar components.
Enable Datadog collection annotation.
This example shows how to enable Datadog collection annotation to collect metrics for the ZooKeeper cluster.
Apply the new configuration.
This section describes how to enable Datadog collection annotation to collect the Vault performance data.
Enable Datadog collection annotation for the Vault cluster.
To ensure Vault check work properly, you need to either enable unauthenticated access to Vault metrics or provide a Vault token:
- To enable unauthenticated access, set
datadog.components.vault.auth.enabled
tofalse
.- To use a Vault token, set
datadog.components.vault.auth.enabled
totrue
and provide the Vault token. For details about how to get a Vault token, see the prepare to connect to a Pulsar cluster user guide.
Apply the new configuration.