Agent 측 필터링을 사용하면 Datadog으로 전송하기 전에 Datadog Agent에서 직접 DogStatsD와 Agent 통합의 사용하지 않거나 원치 않는 Custom Metrics를 필터링할 수 있습니다. 이를 통해 인덱싱 및 수집되는 Custom Metrics 볼륨을 모두 크게 줄일 수 있습니다.
필터링은 Agent 수준에서 수행되지만 Datadog UI를 통해 중앙에서 관리되므로 팀에게 완전한 가시성과 제어 기능을 제공합니다. Datadog에서 필터링 정책을 생성, 업데이트 및 관리하여 투명성을 유지하면서 메트릭 거버넌스를 간소화할 수 있습니다.
필터링 정책을 생성하고 업데이트하려면 metric_tags_write RBAC 권한이 필요합니다. 모든 사용자는 필터링 정책을 조회할 수 있습니다.
{"data":[{"type":"filtered_metrics","id":"metric.name.one","attributes":{"updated_timestamp":1745954352}},{"type":"filtered_metrics","id":"metric.name.two""attributes":{"updated_timestamp":1745954389}}// ... up to ~10,000 entries
],"links":{"self":"/api/unstable/remote_config/products/metric_control/filtered_metrics/policies/{policy-id}?page[offset]=200&page[limit]=100","next":"/api/unstable/remote_config/products/metric_control/filtered_metrics/policies/{policy-id}?page[offset]=300&page[limit]=100","prev":"/api/unstable/remote_config/products/metric_control/filtered_metrics/policies/{policy-id}?page[offset]=100&page[limit]=100","first":"/api/unstable/remote_config/products/metric_control/filtered_metrics/policies/{policy-id}?page[offset]=0&page[limit]=100","last":"/api/unstable/remote_config/products/metric_control/filtered_metrics/policies/{policy-id}?page[offset]=9900&page[limit]=100"},"meta":{"agent_coverage_percent":100,"agents_with_latest_policy_count":4,"deployment_failure":{"failed_agent_count":0,"failure_message":""},"deployment_status":"Deployed to all Agents","deployment_strategy":"all","policy_name":"test_policy_1","total":7,"total_agent_count":4,"updated_by":"user@datadoghq.com","updated_timestamp":1758912365}}
{"data":[{"id":"06b-fab-47e","type":"filtered_metrics","attributes":{"count":85,"deployment_status":"Deployed to all Agents","deployment_strategy":"all","policy_name":"policy one","updated_by":"user@datadoghq.com","updated_timestamp":1758547485,"version":4}},{"id":"07b-201-47e","type":"filtered_metrics","attributes":{"count":8,"deployment_status":"Deployed to all Agents","deployment_strategy":"all","policy_name":"policy two","updated_by":"user@datadoghq.com","updated_timestamp":1758547212,"version":1}}]}
미리 보기 제한 사항
이번 초기 미리 보기 릴리스에는 다음과 같은 제한 사항이 포함되어 있습니다.
최대 10,000개의 메트릭 이름을 필터링할 수 있습니다.
Agent의 리소스 사용량에 미치는 영향은 메모리(RSS) 최대 10MB로 제한되며 CPU 사용량은 증가하지 않습니다.
DogStatsD 또는 Agent 통합에서 수신된 Custom Metrics만 지원됩니다.