Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[koa-prometheus] Error: Unknown meter type: undefined #165

Open
wotermelon opened this issue Apr 28, 2022 · 0 comments
Open

[koa-prometheus] Error: Unknown meter type: undefined #165

wotermelon opened this issue Apr 28, 2022 · 0 comments

Comments

@wotermelon
Copy link

wotermelon commented Apr 28, 2022

const Meter = require('@uswitch/koa-prometheus').default

const meters = Meter({ /* Config */ }, { loadDefaults: true })
xxx/node_modules/@uswitch/koa-prometheus/build/utils/build-meters.js:48
[1]   if (!Meter) throw new Error('Unknown meter type: ' + type);
[1]               ^
[1] 
[1] Error: Unknown meter type: undefined
@wotermelon wotermelon changed the title [koa-prometheus] [koa-prometheus] Error: Unknown meter type: undefined Apr 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant