Git Product home page Git Product logo

Comments (4)

Dieterbe avatar Dieterbe commented on May 20, 2024

also without format=json (i.e. rendering a png), it's shown twice.

from graphite-web.

drawks avatar drawks commented on May 20, 2024

Of course it will appear twice, you've included it twice in your targets definitions. The targets are independent lists of timeseries deduplicating the final result would make no sense since your inner target definitions may have different outer functions. This is not a bug.

from graphite-web.

Dieterbe avatar Dieterbe commented on May 20, 2024

but all applied functions are part of the name, so I'm basically suggesting deduplicating based on the entire target strings (including all function definitions) which is safe.
if we stick with the current behavior then I don't see any way to leverage the globbing without having duplicates, in case there is overlap (like the example above). the only way to avoid duplicates would be listing all series individually (possibly fetching a list from graphite first, parsing it, etc)

from graphite-web.

drawks avatar drawks commented on May 20, 2024

It doesn't work like that since the containing function could return different results depending on the series list it contains. What you are asking for is just not doable. Targets are independent from one another. If you'd like to ensure that you don't have duplicate entries from overlapping matches then either come up with a better naming/organizing scheme, or use symlinks to organize your targets on the back end to make them available through a more sensible target description.

from graphite-web.

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.