- 필수 기능
- 시작하기
- Glossary
- 표준 속성
- Guides
- Agent
- 통합
- 개방형텔레메트리
- 개발자
- Administrator's Guide
- API
- Datadog Mobile App
- CoScreen
- Cloudcraft
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- APM
- Continuous Profiler
- 스팬 시각화
- 데이터 스트림 모니터링
- 데이터 작업 모니터링
- 디지털 경험
- 소프트웨어 제공
- 보안
- AI Observability
- 로그 관리
- 관리
",t};e.buildCustomizationMenuUi=t;function n(e){let t='
",t}function s(e){let n=e.filter.currentValue||e.filter.defaultValue,t='${e.filter.label}
`,e.filter.options.forEach(s=>{let o=s.id===n;t+=``}),t+="${e.filter.label}
`,t+=`When monitoring error rates or other percentage-based metrics, low traffic periods can trigger false alarms. For example, a single error out of two requests shows as a 50% error rate, which might exceed your threshold despite representing minimal impact.
This guide shows you how to add a minimum request threshold to your monitors using boolean threshold remapping functions. By setting a minimum number of requests required before evaluating your error rate, you can reduce noise from low-traffic periods and focus on alerts that represent meaningful issues.
You have two metrics that measure APM span requests:
trace.rack.request.errors
(query a)trace.rack.request
(query b)With these two metrics you can calculate the error rate percentage:
$$\text"Error Rate" = \text"trace.rack.request.errors" / \text"trace.rack.request"$$
You want to monitor the error rate, but only if there are at least 15 entries. In the monitor query configuration, take the error rate and set a minimum threshold on query b (is_greater(b,15)
).
((a/b)*100)*is_greater(b,15)
The is_greater
function works as follows:
1
when the number of trace.rack.requests
exceeds 150
when the number of trace.rack.requests
is 15 or lessThis means your monitor shows a value of 0
when the minimum threshold (15 requests) is not met, and shows the calculated error rate when the threshold is met. This gives you added flexibility in configuring your alerts and allows you to avoid false positives from low-traffic periods while still catching genuine error rate issues when traffic is sufficient.
추가 유용한 문서, 링크 및 기사: