Grafana removes some points in line graph depending on time rangeGraphing slow counters with prometheus and grafanaGrafana does not show graphs for longer time periodsMonitoring log files using some metrics exporter + Prometheus + GrafanaGraph produced from Prometheus time series jumps between different shapesTime shift visualisation of time bar chartGrafana Prometheus pie chart time rangeGrafana: Panel with time of last resultHow to send Metrics via Scrapy to Prometheus?Grafana showing no data points when variable filter set to “All”reset chart to 0 in grafan

Strange Sticky Substance on Digital Camera

How to manage expenditure when billing cycles and paycheck cycles are not aligned?

1, 2, 4, 8, 16, ... 33?

What is the size of a set of sets of the empty set , , ?

Why does this image of Jupiter look so strange?

Is this Portent-like spell balanced?

How to say "cheat sheet" in French

Are Custom Indexes passed on to Sandboxes

Is it impolite to ask for an in-flight catalogue with no intention of buying?

Is it possible to encode a message in such a way that can only be read by someone or something capable of seeing into the very near future?

A high quality contribution but an annoying error is present in my published article

Organisational search option

Drawing line in notebook with Mathematica command

Meaning of 'ran' in German?

Is "ln" (natural log) and "log" the same thing if used in this answer?

Subverting the emotional woman and stoic man trope

Does "as soon as" imply simultaneity?

A simple game that keeps track of the number of questions asked

I reverse the source code, you negate the input!

Can an integer optimization problem be convex?

Is it true that, "just ten trading days represent 63 per cent of the returns of the past 50 years"?

Guitar tuning (EADGBE), "perfect" fourths?

Is the mass of paint relevant in rocket design?

How to discover (standard) function names?



Grafana removes some points in line graph depending on time range


Graphing slow counters with prometheus and grafanaGrafana does not show graphs for longer time periodsMonitoring log files using some metrics exporter + Prometheus + GrafanaGraph produced from Prometheus time series jumps between different shapesTime shift visualisation of time bar chartGrafana Prometheus pie chart time rangeGrafana: Panel with time of last resultHow to send Metrics via Scrapy to Prometheus?Grafana showing no data points when variable filter set to “All”reset chart to 0 in grafan






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I have a Grafana line graph that pulls counts from a Prometheus DB. When the chart is shown in last 1 hour, it shows a point for every 15s which is the frequency that Prometheus scrapes. However, when I change to last 24 hours, it shows a point for every 1 minute. Instead of grouping those 15s points in 1 minute, it just shows the point for every minute.



For example, I have example points below:



11:54:00 = 350



11:54:15 = 450



11:54:30 = 300



11:54:45 = 200



11:55:00 = 250



On the last 1 hour view, Grafana shows all five points, but on the last 24 hours view, it only shows the 00 second points, ignoring the data at 15, 30, and 45. What I would expect would be either the 24 hour view to show every point, or to add the points together per minute (ex. 11:55 would be 1300 for the last minute).



I have tried playing around with the resolution, but it is set to 1/1 for the 24 hr graph. I am guessing I have something set to auto, but I cannot determine which setting is causing this.










share|improve this question






























    0















    I have a Grafana line graph that pulls counts from a Prometheus DB. When the chart is shown in last 1 hour, it shows a point for every 15s which is the frequency that Prometheus scrapes. However, when I change to last 24 hours, it shows a point for every 1 minute. Instead of grouping those 15s points in 1 minute, it just shows the point for every minute.



    For example, I have example points below:



    11:54:00 = 350



    11:54:15 = 450



    11:54:30 = 300



    11:54:45 = 200



    11:55:00 = 250



    On the last 1 hour view, Grafana shows all five points, but on the last 24 hours view, it only shows the 00 second points, ignoring the data at 15, 30, and 45. What I would expect would be either the 24 hour view to show every point, or to add the points together per minute (ex. 11:55 would be 1300 for the last minute).



    I have tried playing around with the resolution, but it is set to 1/1 for the 24 hr graph. I am guessing I have something set to auto, but I cannot determine which setting is causing this.










    share|improve this question


























      0












      0








      0








      I have a Grafana line graph that pulls counts from a Prometheus DB. When the chart is shown in last 1 hour, it shows a point for every 15s which is the frequency that Prometheus scrapes. However, when I change to last 24 hours, it shows a point for every 1 minute. Instead of grouping those 15s points in 1 minute, it just shows the point for every minute.



      For example, I have example points below:



      11:54:00 = 350



      11:54:15 = 450



      11:54:30 = 300



      11:54:45 = 200



      11:55:00 = 250



      On the last 1 hour view, Grafana shows all five points, but on the last 24 hours view, it only shows the 00 second points, ignoring the data at 15, 30, and 45. What I would expect would be either the 24 hour view to show every point, or to add the points together per minute (ex. 11:55 would be 1300 for the last minute).



      I have tried playing around with the resolution, but it is set to 1/1 for the 24 hr graph. I am guessing I have something set to auto, but I cannot determine which setting is causing this.










      share|improve this question














      I have a Grafana line graph that pulls counts from a Prometheus DB. When the chart is shown in last 1 hour, it shows a point for every 15s which is the frequency that Prometheus scrapes. However, when I change to last 24 hours, it shows a point for every 1 minute. Instead of grouping those 15s points in 1 minute, it just shows the point for every minute.



      For example, I have example points below:



      11:54:00 = 350



      11:54:15 = 450



      11:54:30 = 300



      11:54:45 = 200



      11:55:00 = 250



      On the last 1 hour view, Grafana shows all five points, but on the last 24 hours view, it only shows the 00 second points, ignoring the data at 15, 30, and 45. What I would expect would be either the 24 hour view to show every point, or to add the points together per minute (ex. 11:55 would be 1300 for the last minute).



      I have tried playing around with the resolution, but it is set to 1/1 for the 24 hr graph. I am guessing I have something set to auto, but I cannot determine which setting is causing this.







      grafana prometheus






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 28 at 16:34









      BrandonBrandon

      94 bronze badges




      94 bronze badges

























          2 Answers
          2






          active

          oldest

          votes


















          0
















          I think you need to adjust the "Min Step" (which is left blank by default for auto-adjusting):
          Grafana Legend settings
          The "Min Step" tool tip explains the following: "Leave blank for auto handling based on time range and panel width. Note that the actual dates used in the query will be adjusted to a multiple of the interval step."






          share|improve this answer

























          • I have tried this, and for the 24hr view, it appears that the minimum step cannot get to 15s, so I am still only seeing a point every minute

            – Brandon
            Apr 1 at 14:43











          • I guess what I am looking for is either every point (which doesn't seem to work) or to put the data into buckets for whatever minimum resolution I can use, instead of it only creating points at some interval and ignoring the data in between.

            – Brandon
            Apr 1 at 17:19











          • Seems you're right and Grafana ignores the "Min Step" altogether when scaling to 24 hours (for instance). If you want to see every point, try sum for [1m] of your counts. It's ugly but will at least give you the "buckets" you look for

            – Eitan
            Apr 3 at 5:09












          • That is still not quite what I need. When I try that I am still missing points. This is what I see i.imgur.com/3XFkocW.gif

            – Brandon
            Apr 3 at 14:19











          • If I understand what I see in the gif, this is the sum (of the last X minutes you put there) as you requested. Not sure what points you're missing now, if you've aggregated them.

            – Eitan
            Apr 4 at 11:35


















          0
















          So basically, what I had to was use $__interval in my query instead of specifying a time vector for the delta function I was using.






          share|improve this answer



























            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );














            draft saved

            draft discarded
















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55402713%2fgrafana-removes-some-points-in-line-graph-depending-on-time-range%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0
















            I think you need to adjust the "Min Step" (which is left blank by default for auto-adjusting):
            Grafana Legend settings
            The "Min Step" tool tip explains the following: "Leave blank for auto handling based on time range and panel width. Note that the actual dates used in the query will be adjusted to a multiple of the interval step."






            share|improve this answer

























            • I have tried this, and for the 24hr view, it appears that the minimum step cannot get to 15s, so I am still only seeing a point every minute

              – Brandon
              Apr 1 at 14:43











            • I guess what I am looking for is either every point (which doesn't seem to work) or to put the data into buckets for whatever minimum resolution I can use, instead of it only creating points at some interval and ignoring the data in between.

              – Brandon
              Apr 1 at 17:19











            • Seems you're right and Grafana ignores the "Min Step" altogether when scaling to 24 hours (for instance). If you want to see every point, try sum for [1m] of your counts. It's ugly but will at least give you the "buckets" you look for

              – Eitan
              Apr 3 at 5:09












            • That is still not quite what I need. When I try that I am still missing points. This is what I see i.imgur.com/3XFkocW.gif

              – Brandon
              Apr 3 at 14:19











            • If I understand what I see in the gif, this is the sum (of the last X minutes you put there) as you requested. Not sure what points you're missing now, if you've aggregated them.

              – Eitan
              Apr 4 at 11:35















            0
















            I think you need to adjust the "Min Step" (which is left blank by default for auto-adjusting):
            Grafana Legend settings
            The "Min Step" tool tip explains the following: "Leave blank for auto handling based on time range and panel width. Note that the actual dates used in the query will be adjusted to a multiple of the interval step."






            share|improve this answer

























            • I have tried this, and for the 24hr view, it appears that the minimum step cannot get to 15s, so I am still only seeing a point every minute

              – Brandon
              Apr 1 at 14:43











            • I guess what I am looking for is either every point (which doesn't seem to work) or to put the data into buckets for whatever minimum resolution I can use, instead of it only creating points at some interval and ignoring the data in between.

              – Brandon
              Apr 1 at 17:19











            • Seems you're right and Grafana ignores the "Min Step" altogether when scaling to 24 hours (for instance). If you want to see every point, try sum for [1m] of your counts. It's ugly but will at least give you the "buckets" you look for

              – Eitan
              Apr 3 at 5:09












            • That is still not quite what I need. When I try that I am still missing points. This is what I see i.imgur.com/3XFkocW.gif

              – Brandon
              Apr 3 at 14:19











            • If I understand what I see in the gif, this is the sum (of the last X minutes you put there) as you requested. Not sure what points you're missing now, if you've aggregated them.

              – Eitan
              Apr 4 at 11:35













            0














            0










            0









            I think you need to adjust the "Min Step" (which is left blank by default for auto-adjusting):
            Grafana Legend settings
            The "Min Step" tool tip explains the following: "Leave blank for auto handling based on time range and panel width. Note that the actual dates used in the query will be adjusted to a multiple of the interval step."






            share|improve this answer













            I think you need to adjust the "Min Step" (which is left blank by default for auto-adjusting):
            Grafana Legend settings
            The "Min Step" tool tip explains the following: "Leave blank for auto handling based on time range and panel width. Note that the actual dates used in the query will be adjusted to a multiple of the interval step."







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Apr 1 at 8:51









            EitanEitan

            1086 bronze badges




            1086 bronze badges















            • I have tried this, and for the 24hr view, it appears that the minimum step cannot get to 15s, so I am still only seeing a point every minute

              – Brandon
              Apr 1 at 14:43











            • I guess what I am looking for is either every point (which doesn't seem to work) or to put the data into buckets for whatever minimum resolution I can use, instead of it only creating points at some interval and ignoring the data in between.

              – Brandon
              Apr 1 at 17:19











            • Seems you're right and Grafana ignores the "Min Step" altogether when scaling to 24 hours (for instance). If you want to see every point, try sum for [1m] of your counts. It's ugly but will at least give you the "buckets" you look for

              – Eitan
              Apr 3 at 5:09












            • That is still not quite what I need. When I try that I am still missing points. This is what I see i.imgur.com/3XFkocW.gif

              – Brandon
              Apr 3 at 14:19











            • If I understand what I see in the gif, this is the sum (of the last X minutes you put there) as you requested. Not sure what points you're missing now, if you've aggregated them.

              – Eitan
              Apr 4 at 11:35

















            • I have tried this, and for the 24hr view, it appears that the minimum step cannot get to 15s, so I am still only seeing a point every minute

              – Brandon
              Apr 1 at 14:43











            • I guess what I am looking for is either every point (which doesn't seem to work) or to put the data into buckets for whatever minimum resolution I can use, instead of it only creating points at some interval and ignoring the data in between.

              – Brandon
              Apr 1 at 17:19











            • Seems you're right and Grafana ignores the "Min Step" altogether when scaling to 24 hours (for instance). If you want to see every point, try sum for [1m] of your counts. It's ugly but will at least give you the "buckets" you look for

              – Eitan
              Apr 3 at 5:09












            • That is still not quite what I need. When I try that I am still missing points. This is what I see i.imgur.com/3XFkocW.gif

              – Brandon
              Apr 3 at 14:19











            • If I understand what I see in the gif, this is the sum (of the last X minutes you put there) as you requested. Not sure what points you're missing now, if you've aggregated them.

              – Eitan
              Apr 4 at 11:35
















            I have tried this, and for the 24hr view, it appears that the minimum step cannot get to 15s, so I am still only seeing a point every minute

            – Brandon
            Apr 1 at 14:43





            I have tried this, and for the 24hr view, it appears that the minimum step cannot get to 15s, so I am still only seeing a point every minute

            – Brandon
            Apr 1 at 14:43













            I guess what I am looking for is either every point (which doesn't seem to work) or to put the data into buckets for whatever minimum resolution I can use, instead of it only creating points at some interval and ignoring the data in between.

            – Brandon
            Apr 1 at 17:19





            I guess what I am looking for is either every point (which doesn't seem to work) or to put the data into buckets for whatever minimum resolution I can use, instead of it only creating points at some interval and ignoring the data in between.

            – Brandon
            Apr 1 at 17:19













            Seems you're right and Grafana ignores the "Min Step" altogether when scaling to 24 hours (for instance). If you want to see every point, try sum for [1m] of your counts. It's ugly but will at least give you the "buckets" you look for

            – Eitan
            Apr 3 at 5:09






            Seems you're right and Grafana ignores the "Min Step" altogether when scaling to 24 hours (for instance). If you want to see every point, try sum for [1m] of your counts. It's ugly but will at least give you the "buckets" you look for

            – Eitan
            Apr 3 at 5:09














            That is still not quite what I need. When I try that I am still missing points. This is what I see i.imgur.com/3XFkocW.gif

            – Brandon
            Apr 3 at 14:19





            That is still not quite what I need. When I try that I am still missing points. This is what I see i.imgur.com/3XFkocW.gif

            – Brandon
            Apr 3 at 14:19













            If I understand what I see in the gif, this is the sum (of the last X minutes you put there) as you requested. Not sure what points you're missing now, if you've aggregated them.

            – Eitan
            Apr 4 at 11:35





            If I understand what I see in the gif, this is the sum (of the last X minutes you put there) as you requested. Not sure what points you're missing now, if you've aggregated them.

            – Eitan
            Apr 4 at 11:35













            0
















            So basically, what I had to was use $__interval in my query instead of specifying a time vector for the delta function I was using.






            share|improve this answer





























              0
















              So basically, what I had to was use $__interval in my query instead of specifying a time vector for the delta function I was using.






              share|improve this answer



























                0














                0










                0









                So basically, what I had to was use $__interval in my query instead of specifying a time vector for the delta function I was using.






                share|improve this answer













                So basically, what I had to was use $__interval in my query instead of specifying a time vector for the delta function I was using.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Apr 5 at 15:06









                BrandonBrandon

                94 bronze badges




                94 bronze badges































                    draft saved

                    draft discarded















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55402713%2fgrafana-removes-some-points-in-line-graph-depending-on-time-range%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

                    SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

                    은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현