Closed CaptainIRS closed 2 years ago
We would need a stub of the method this.prometheusPushGateway.pushAdd
so we can track that it is being called and passing the expected parameters. This will then give us code coverage of that line and we know that it executes and passes the correct parameters, also checks that the call is likely to succeed and not fail when executed for real.
In this PR:
Fixes #1354
Results:
/metrics endpoint of PushGateway
Grafana dashboard showing metrics from two workers simultaneously