postman-prometheus
postman-prometheus copied to clipboard
Fix second TYPE line for metric name error when prometheus try to scrape.
Description
Prometheus throw an error when the scraped metrics contains multiple identical type definitions.
Fixes
Fix second TYPE line for metric name error when prometheus try to scrape.
When run the same command as in the build pipeline for the formatting checks locally on the changes in the pull request I don't get an error: ➜ make lint cd src; npm run lint
[email protected] lint eslint . && prettier --check *.js
Checking formatting... All matched files use Prettier code style!
Don't know why the check fail in the build pipeline, especially I didn't not change anything at this line. Need help.