- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
This guide lists non-exhaustive use cases for composite monitors. These examples illustrate how composite monitors can be configured to address various use cases in monitoring environments:
Alert when the error rate exceeds a threshold only when hits are above a certain number.
Create two monitors:
trace.requests.request.errors / trace.requests.request.hits > X
trace.requests.request.hits > Y
Composite Monitor C: Alert when both Monitor A and Monitor B are in alert (A && B).
Monitor A | Monitor B | Composite Monitor C |
---|---|---|
Alert Error rate above threshold | Alert Hits above threshold | Alert |
Alert Error rate above threshold | OK Hits below threshold | OK Only 1 condition met, no alert |
OK Error rate below threshold | Alert Hits above threshold | OK Only 1 condition met, no alert |
For more state combinations, see Composite Monitor.
Monitor latency for services, ignoring occasional spikes due to low traffic. For example, a period of time during the night where services report very few values.
Create two monitors:
latency > X
sum:latency{*}.rollup(count) > Y
over the last 1 hourComposite Monitor C: Alert when both conditions are met.
Monitor A | Monitor B | Composite Monitor C |
---|---|---|
Alert Latency above threshold | Alert More than Y metrics | Alert |
Alert Latency above threshold | OK Less than Y metrics | OK Not enough metrics |
OK Latency below threshold | Alert More than Y metrics | OK Latency below threshold |
Trigger an alert in the absence of a paired metric. For example, log metrics for sent/received, down/up, or create/resolve. You can adjust the evaluation windows for the monitors if paired metrics are expected to be N minutes apart.
action:create
is above 0action:resolve
is above 0Composite: Alert if a && !b
.
Monitor A | Monitor B | Composite Monitor C |
---|---|---|
Alert Action create above 0 | Alert Action resolve above 0 | OK |
Alert Action create above 0 | OK | Alert Action resolve not present |
OK | Alert Action resolve above 0 | OK |
Renotify on recovery using two monitors with a timeshift
.
timeshift
Composite Monitor: Logic is !a && b
.
Monitor A | Monitor B | Composite Monitor C |
---|---|---|
Alert Real-time metric | Alert Past metric | OK |
Alert Real-time metric | OK Metric not triggered | OK |
OK Metric not triggered | Alert Past metric | Alert |
Alert after errors persist for a set duration. For example, a set of errors triggered for at least 15 minutes.
Composite Monitor: Alert if a && b
.
Monitor A | Monitor B (timeshifted) | Composite Monitor C |
---|---|---|
Alert Real-time metric | Alert Past metric | Alert |
Alert Real-time metric | OK Metric not triggered | OK |
OK Metric not triggered | Alert Past metric | OK |
추가 유용한 문서, 링크 및 기사: