Giter VIP home page Giter VIP logo

Comments (7)

diafour avatar diafour commented on June 5, 2024 2

@calebsmac no, #55 doesn't fix handling of sparsed data.

This problem also affects a tooltip #74 #70. I'm planning to fix this before the next release.

from grafana-statusmap.

diafour avatar diafour commented on June 5, 2024

Targets with inconsistent timestamps are rendered correctly after #55:
Incorrect:
2019-03-05-153534-1262x219
Correct:
2019-03-05-154008-1262x234

from grafana-statusmap.

diafour avatar diafour commented on June 5, 2024

TODO Support inconsistent timestamps between results for one target: aggregate by timestamp range and create multivalue buckets. Also calculate cardWidth not from number of buckets but from minimal distance between timestamps.

from grafana-statusmap.

diafour avatar diafour commented on June 5, 2024

Investigate a way to precalculate cards' fields to speedup render. See related #68

from grafana-statusmap.

calebsmac avatar calebsmac commented on June 5, 2024

Hello, is this issue fixed in #55? It's not entirely clear. I am on Grafana 6.3.5 and Statusmap 0.2.0. I am using the MySQL datasource to load time-series data that is very sparse with indeterminate gaps between values. When present, values are reported at 1 minute intervals.

The data is displayed; however, the cards are usually far too wide, and end up distorting the view.

Screen Shot 2020-02-20 at 3 36 02 PM

When providing data which included a null for every timestamp the plugin displayed as expected. However, I'm trying not to transmit nulls, as there is only data about 10% of the time.

from grafana-statusmap.

diafour avatar diafour commented on June 5, 2024

Cards calculation is reworked in PR #90. Buckets are now aligned with statusmap’s step. It is good for queries that use $__interval. But it is inappropriate for single or sparsed events (e.g. builds info from MySQL) when the user should see cards aligned to real timestamps. The plan is to make a new switch "Align to step" or "Show aligned" to address this last case in this issue (I hope).

Not aligned cards were shown earlier. The plugin does not use step and calculates coordinates from data:
2019-03-05-154008-1262x234

The same data is now spreaded over aligned buckets, because plugin uses step:
Снимок экрана 2020-07-15 в 13 14 02

from grafana-statusmap.

diafour avatar diafour commented on June 5, 2024

The story continues. Buckets are doubling for some data:

Снимок экрана 2021-05-24 в 21 50 38

from grafana-statusmap.

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.