Comments (5)
Thanks for the issue. Raising cardinality problems is also good π.
Iβve added some tests to ensure that the default normalizer does at least something:
- Should we add more specs?
- What do you see missing?
Reference to the spec: https://github.com/tdeekens/promster/blob/master/packages/metrics/modules/normalizers/path/path.spec.js
from promster.
As a side note: you can always pass a custom normalizer during configuration to be more strict. However, let me know if we definitely donβt normalize enough.
from promster.
I elaborated on the expectations towards the default normalisation. It meets by expectations towards a sensible default for well-formed urls. It's also what most other express/hapi exporters settled up doing.
from promster.
I got a bit lost but ok, as long as you are aware of the cardinality problem and that the library handles this I'm fine π
from promster.
It tries to offer a reasonably sane default. It's mostly aligned with the 3-4 other exporters which do the same. Given that more have this we can either drop the url or try to be even more strict. I've looked into how and can't really think of a way for now.
Thanks again for raising it!
from promster.
Related Issues (20)
- Express middleware skipping by request generates a TS error
- Permit per-metric custom buckets `createMetric` HOT 4
- Minimist dependency fails package audit HOT 9
- Action Required: Fix Renovate Configuration
- 5 low vulnerabilities caused by optional dependency gc-stats HOT 19
- feature-request: Measure metrics from Electron HOT 4
- Dependency Dashboard
- Content length histograms for requests and responses HOT 1
- 10 High Severity vulnerabilities reported from node-gcstats dependency HOT 9
- `@promster/hapi` in version `6.1.0` causes an unhandled promise rejection HOT 5
- Add native support for GraphQL servers HOT 12
- @promster/hapi has warning about unmet peer dependency HOT 1
- `process.hrtime([time])` is no longer recommended for use HOT 1
- TYPE up gauge always returns 0 HOT 2
- Use NodeJS url module instead of deprecated transitive dependency HOT 3
- Splitting duration and size buckets in configuration HOT 2
- Fractional second values are truncated HOT 7
- Error: Added label "field_name" is not included in initial labelset HOT 2
- TPromsterOptions incorrect property HOT 2
- Socket level events are not detected HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from promster.