postman-prometheus icon indicating copy to clipboard operation
postman-prometheus copied to clipboard

Fix second TYPE line for metric name error when prometheus try to scrape.

Open Algorab opened this issue 2 years ago • 1 comments

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.

Algorab avatar Apr 06 '22 10:04 Algorab

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.

Algorab avatar Apr 28 '22 18:04 Algorab