cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Enabling Remote StatsD Monitoring via ActiveGate in Kubernetes Cluster via Helm charts

apaliavy
Newcomer

Hello everyone. 

I am currently working on sending application metrics from a Kubernetes-based application to Dynatrace, and I have decided to use StatsD as the transport protocol for those metrics.

Upon reviewing the documentation, I found that StatsD daemon is only available on a OneAgent installed on a VM or host, and OneAgent deployed via Dynatrace Operator in Kubernetes is not supported for StatsD ingestion. Thus, I am following the remote StatsD monitoring approach as recommended. Here are the relevant documentation references:

  1. StatsD with OneAgent: https://docs.dynatrace.com/docs/extend-dynatrace/extend-metrics/ingestion-methods/statsd
  2. DynatraceStatsD Metric Ingestion: https://docs.dynatrace.com/docs/shortlink/statsd-metric-ingestion#enable-dynatracestatsd

According to the documentation, DynatraceStatsD metric ingestion is disabled by default on an ActiveGate, and I need to enable it. However, the provided documentation focuses on how to enable this feature for Linux/Windows environments.

My current setup:

  • Application is running in a Kubernetes cluster.
  • Metrics are planned to be sent using StatsD and forwarded to ActiveGate.

My question is:

  1. How can I enable DynatraceStatsD metric ingestion on an ActiveGate deployed in a Kubernetes environment?
  2. Is there a way to configure this setting through Helm charts or any other method specific to Kubernetes?
  3. Could you provide guidance or point to any documentation that addresses configuring ActiveGate in Kubernetes for remote StatsD ingestion?

Thank you for your assistance! 

1 REPLY 1

Julius_Loman
DynaMight Legend
DynaMight Legend

Unfortunately, enabling it for ActiveGates running in Kubernetes is impossible. Remote statsd uses the extension module which is not available in the container ActiveGates setup. See docs for feature comparison. Until this becomes available, I'd recommend ingesting the metrics through an ActiveGate on a VM or consider using a different method of metric ingestion which are natively available in k8s such as Prometheus exporters or OpenTelemetry.

Certified Dynatrace Master | Alanata a.s., Slovakia, Dynatrace Master Partner

Featured Posts