- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
Supported OS
This check monitors the availability and uptime of non-Datadog StatsD servers. It also tracks the number of metrics, by metric type, received by StatsD.
This check does NOT forward application metrics from StatsD servers to Datadog. It collects metrics about StatsD itself.
The StatsD check is included in the Datadog Agent package, so you don’t need to install anything else on any servers that run StatsD.
To configure this check for an Agent running on a host:
Edit the statsd.d/conf.yaml
in the conf.d/
folder at the root of your Agent’s configuration directory. See the sample statsd.d/conf.yaml for all available configuration options:
init_config:
instances:
- host: localhost
port: 8126 # or wherever your statsd listens
Restart the Agent to start sending StatsD metrics and service checks to Datadog.
For containerized environments, see the Autodiscovery Integration Templates for guidance on applying the parameters below.
Parameter | Value |
---|---|
<INTEGRATION_NAME> | statsd |
<INIT_CONFIG> | blank or {} |
<INSTANCE_CONFIG> | {"host": "%%host%%", "port":"8126"} |
Collecting logs is disabled by default in the Datadog Agent, you need to enable it in datadog.yaml
:
logs_enabled: true
Add this configuration block to your statsd.d/conf.yaml
file to start collecting your Supervisord Logs:
logs:
- type: file
path: /path/to/my/directory/file.log
source: statsd
Change the path
parameter value and configure it for your environment.
See the sample statsd.d/conf.yaml for all available configuration options.
Run the Agent’s status subcommand and look for statsd
under the Checks section.
statsd.counters.count (gauge) | The number of counter metrics currently seen by StatsD |
statsd.gauges.count (gauge) | The number of gauge metrics currently seen by StatsD |
statsd.timers.count (gauge) | The number of timer metrics currently seen by StatsD |
The StatsD check does not include any events.
statsd.can_connect
Returns Critical if the Agent cannot send data to the StatsD endpoint, OK otherwise.
Statuses: ok, critical
statsd.is_up
Returns Critical if the Agent cannot connect to the StatsD url, OK otherwise.
Statuses: ok, critical
Need help? Contact Datadog support.
Additional helpful documentation, links, and articles: