You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. The issue provides a minimal reproduction available on Stackblitz
Describe the bug
According to docs and typings it should be possible to use this plugin passing the config as an array of numbers:
* You can pass multiple type of values: * - number[]: Enable the metric with custom buckets * - ReturnType<typeof createHistogram>: Enable the metric with custom configuration
That it works according to documentation, I should be able to pass an array of bucket sizes. I want to keep my bucket sizes consistent across all services in my stack.
Environment:
See stackblitz
The text was updated successfully, but these errors were encountered:
klippx
changed the title
[@envelop/response-cache] ttl yielded as NaN[@envelop/plugin-prometheus] histogram config not possible to pass as array of bucket sizes
Oct 4, 2024
klippx
changed the title
[@envelop/plugin-prometheus] histogram config not possible to pass as array of bucket sizes[@envelop/plugin-prometheus] histogram config not possible to pass as array custom bucket sizes
Oct 4, 2024
klippx
changed the title
[@envelop/plugin-prometheus] histogram config not possible to pass as array custom bucket sizes[@envelop/plugin-prometheus] histogram config is not possible to pass as an array of custom bucket sizes
Oct 4, 2024
Issue workflow progress
Describe the bug
According to docs and typings it should be possible to use this plugin passing the config as an array of numbers:
However, this doesn't work at all 😥
To Reproduce Steps to reproduce the behavior:
https://stackblitz.com/edit/node-m9bjmu?file=index.js
Expected behavior
That it works according to documentation, I should be able to pass an array of bucket sizes. I want to keep my bucket sizes consistent across all services in my stack.
Environment:
See stackblitz
The text was updated successfully, but these errors were encountered: