Troubleshooting
A development team's Linux application exposes request counts and queue depth as plain-text key-value pairs at http://app01:9100/metrics. The monitoring server must record these values every 15 seconds and detect gaps when the application stops responding. Which acquisition method BEST meets this need?
Show the answer
Correct answerA. Poll the metrics endpoint over HTTP at a 15-second interval
Scheduled polling of the HTTP metrics endpoint gives samples at a fixed interval, and a failed poll exposes a gap. A webhook is event-driven, so silence is ambiguous: it could mean no change or a dead application.