Handle /metrics/* endpoints
(self)
| 307 | self.end_headers() |
| 308 | |
| 309 | def handle_metrics(self): |
| 310 | """Handle /metrics/* endpoints""" |
| 311 | response_data = { |
| 312 | "status": "metrics_received", |
| 313 | "timestamp": datetime.now().isoformat() |
| 314 | } |
| 315 | self.send_json_response(response_data, 200) |
| 316 | |
| 317 | def handle_root(self): |
| 318 | """Respond to / with API documentation""" |
no test coverage detected