All checks were successful
Hugo Build & Deploy / build-deploy (push) Successful in 13s
41 lines
917 B
Markdown
41 lines
917 B
Markdown
---
|
|
title: "[bojemoi] fix(alert-agent): démarrer le serveur Prometheus metrics sur port 9302"
|
|
date: 2026-05-22T22:47:22+02:00
|
|
draft: false
|
|
tags: ["commit", "bojemoi", "main"]
|
|
categories: ["Git Activity"]
|
|
summary: "Commit cad3008 par Betty dans bojemoi"
|
|
author: "Betty"
|
|
---
|
|
|
|
## Commit `cad3008`
|
|
|
|
| | |
|
|
|---|---|
|
|
| **Repository** | bojemoi |
|
|
| **Branch** | `main` |
|
|
| **Author** | Betty |
|
|
| **Hash** | `cad30087c4c136900f158eaa2034344215cb4317` |
|
|
|
|
|
|
### Description
|
|
|
|
start_http_server(settings.metrics_port) n'était jamais appelé —
|
|
le port 9302 était déclaré dans les labels Prometheus mais rien
|
|
n'écoutait dessus. Fix: appel à start_http_server() au démarrage.
|
|
|
|
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
|
|
|
### Files Changed
|
|
|
|
```
|
|
M alert-agent/alert_agent/__main__.py
|
|
```
|
|
|
|
### Diff Summary
|
|
|
|
```
|
|
alert-agent/alert_agent/__main__.py | 5 ++++-
|
|
1 file changed, 4 insertions(+), 1 deletion(-)
|
|
```
|