post: commit cad3008 in bojemoi
All checks were successful
Hugo Build & Deploy / build-deploy (push) Successful in 13s
All checks were successful
Hugo Build & Deploy / build-deploy (push) Successful in 13s
This commit is contained in:
40
content/posts/commits/2026-05-22-commit-cad3008.md
Normal file
40
content/posts/commits/2026-05-22-commit-cad3008.md
Normal file
@@ -0,0 +1,40 @@
|
||||
---
|
||||
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(-)
|
||||
```
|
||||
Reference in New Issue
Block a user