Re: [prometheus-users] daily counteur increase:

2021-03-17 Thread Jean-Claude
Thanks for the tip! As i am new to this could you help me more showing me as an example how to call such API... Jean-Claude Le mer. 17 mars 2021 à 22:16, Stuart Clark a écrit : > On 17/03/2021 15:21, Jean-Claude wrote: > > Than you. > > > > The query range was specified as this in the querry o

Re: [prometheus-users] daily counteur increase:

2021-03-17 Thread Stuart Clark
On 17/03/2021 15:21, Jean-Claude wrote: Than you. The query range  was specified as this in the querry of the counter : Increase (counter_name {instance=server_name:port, job="job_name"}[1d]) But this get the difference between to values of the counter of 24hours sliding. How do you "align t

Re: [prometheus-users] daily counteur increase:

2021-03-17 Thread Jean-Claude
Than you. The query range was specified as this in the querry of the counter : Increase (counter_name {instance=server_name:port, job="job_name"}[1d]) But this get the difference between to values of the counter of 24hours sliding. How do you "align the Querry range and the Timestamp" in grafan

Re: [prometheus-users] daily counteur increase:

2021-03-17 Thread Julien Pivotto
On 17 Mar 07:45, Jean-claude Gaubertier wrote: > Looking for a query to get an increase of a counter from one date at 00:00 > to the next date at 00:00. > What i use now is the function "increase" but this function get the > increase during 24h sliding. So the resul is not constant. > what i need

[prometheus-users] daily counteur increase:

2021-03-17 Thread Jean-claude Gaubertier
Looking for a query to get an increase of a counter from one date at 00:00 to the next date at 00:00. What i use now is the function "increase" but this function get the increase during 24h sliding. So the resul is not constant. what i need is a non evolutive result for a given day date. How to g