View Issue Details

IDProjectCategoryView StatusLast Update
0010388Talerlibeufin (general)public2025-10-16 00:52
ReporterAntoine A Assigned ToAntoine A  
PriorityhighSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
Product Version1.0 
Target Version1.1Fixed in Version1.1 
Summary0010388: Prometheus metrics
DescriptionWe need better monitoring for libeufin-nexus and libeufin-bank. We already have all the details of failures in the logs, but we also need some metrics and automatic alerts based on those metrics.

I suggest using Prometheus metrics exposed in a /metrics endpoint. We need to secure this access point because it can help an attacker perform a DoS attack (an attacker can see if their attack is effective by reading the metrics and adapt their strategy accordingly). I propose using a separate token for this endpoint.

Should we make it a separate API like a “Taler Metrics API”?
TagsNo tags attached.

Relationships

related to 0010320 assignedAntoine A monitoring fails to detect if libeufin cannot talk to the bank 

Activities

Antoine A

2025-09-10 10:55

developer   ~0025875

Alternatively, I can make the logs more structured, and we can analyze the logs to create metrics.

Antoine A

2025-10-15 11:25

developer   ~0026181

Implemented in 80c0ec6b40af59e8c136f5f6393405df28c86247 & 2daf4029d66d72e497d2fd70285ef64b5d52337a

Issue History

Date Modified Username Field Change
2025-09-10 10:28 Antoine A New Issue
2025-09-10 10:28 Antoine A Assigned To => Antoine A
2025-09-10 10:28 Antoine A Status new => feedback
2025-09-10 10:29 Antoine A Relationship added related to 0010320
2025-09-10 10:55 Antoine A Note Added: 0025875
2025-09-27 21:27 Christian Grothoff Target Version 1.1 => 1.2
2025-10-15 11:25 Antoine A Status feedback => resolved
2025-10-15 11:25 Antoine A Resolution open => fixed
2025-10-15 11:25 Antoine A Note Added: 0026181
2025-10-16 00:52 Christian Grothoff Product Version => 1.0
2025-10-16 00:52 Christian Grothoff Fixed in Version => 1.1
2025-10-16 00:52 Christian Grothoff Target Version 1.2 => 1.1