Git Product home page Git Product logo

Comments (5)

tdeekens avatar tdeekens commented on May 30, 2024

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:

  1. Should we add more specs?
  2. 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.

tdeekens avatar tdeekens commented on May 30, 2024

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.

tdeekens avatar tdeekens commented on May 30, 2024

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.

emmenko avatar emmenko commented on May 30, 2024

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.

tdeekens avatar tdeekens commented on May 30, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.