Coverage for app/core/metrics.py: 100%

5 statements  

« prev     ^ index     » next       coverage.py v7.14.1, created at 2026-06-16 20:06 +0000

1from prometheus_client import Counter 

2 

3probe_created_total = Counter( 

4 "probe_created_total", 

5 "Total number of probes created", 

6) 

7 

8probe_invalid_setups_total = Counter( 

9 "probe_invalid_setups_total", 

10 "Total number of invalid probe setups", 

11) 

12 

13probe_commands_total = Counter( 

14 "probe_commands_total", "Total number of commands sent to probes" 

15) 

16 

17probe_invalid_commands_total = Counter( 

18 "probe_invalid_commands_total", 

19 "Total number of invalid commands sent to probes", 

20)