Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Can't use --watch with mocha as it causes prometheus metric errors #577

Open
neilbmclaughlin opened this issue Sep 17, 2019 · 1 comment

Comments

@neilbmclaughlin
Copy link
Contributor

When trying to use the --watch flag with mocha any file change results in a prometheus error of the form:

Error: A metric with the name http_request_duration_seconds has already been registered.

This issue describes the background to the problem but offers no solutions.

Needs further investigation.

@neilbmclaughlin
Copy link
Contributor Author

Note: the yarn 'start-watch' script works OK on file change but that is using brunch watch and nodemon.

neilbmclaughlin added a commit that referenced this issue Sep 17, 2019
Removed as they do not currently work.
See issue #577 for details
neilbmclaughlin added a commit that referenced this issue Sep 17, 2019
Removed as they do not currently work.
See issue #577 for details
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant