This seems OK to me. It is the normal behaviour of the Prometheus query
API, which will get you the result every X step.
If you want to see what Prometheus actually has, can you try:
/api/v1/query?query=group_committed_offset[24h]&time=1615539798.522&step=60
Thanks!
On 12 Mar 01:14, In Park wrote:
> My apologizes, it seems like an issue with data points missing rather than
> what I described in my previous email.
> I don't think the steps are the problem, I have tried with minute
> granularity:
> /api/v1/query_range?query=group_committed_offset&start=1615453398.522&end=1615539798.522&step=60
>
> The input file includes something like the following, which has a
> decreasing value every 5 mins starting with the value of 576 until 1:
> group_committed_offset{instance="host:24042",job="kafka",group="backfill_group",clientId="backfill_consumer",topic="backfill_topic",partition="0"}
> 576 1615533138
> group_committed_offset{instance="host:24042",job="kafka",group="backfill_group",clientId="backfill_consumer",topic="backfill_topic",partition="0"}
> 575 1615532838
> group_committed_offset{instance="host:24042",job="kafka",group="backfill_group",clientId="backfill_consumer",topic="backfill_topic",partition="0"}
> 574 1615532538
> ......
> group_committed_offset{instance="host:24042",job="kafka",group="backfill_group",clientId="backfill_consumer",topic="backfill_topic",partition="0"}
> 1 1615360638
>
> Looking at the query_range with step=60, you can see that it doesn't give
> me all the values specified in the input file :
>
> - values:
> [
> -
> [
> - 1615456638.522,
> - "321"
> ],
> -
> [
> - 1615456698.522,
> - "321"
> ],
> -
> [
> - 1615456758.522,
> - "321"
> ],
> -
> [
> - 1615456818.522,
> - "321"
> ],
> -
> [
> - 1615456878.522,
> - "321"
> ],
> -
> [
> - 1615463838.522,
> - "345"
> ],
> -
> [
> - 1615463898.522,
> - "345"
> ],
> -
> [
> - 1615463958.522,
> - "345"
> ],
> -
> [
> - 1615464018.522,
> - "345"
> ],
> -
> [
> - 1615464078.522,
> - "345"
> ],
> -
> [
> - 1615471038.522,
> - "369"
> ],
> -
> [
> - 1615471098.522,
> - "369"
> ],
> -
> [
> - 1615471158.522,
> - "369"
> ],
> -
> [
> - 1615471218.522,
> - "369"
> ],
> -
> [
> - 1615471278.522,
> - "369"
> ],
> -
> [
> - 1615478238.522,
> - "393"
> ],
> -
> [
> - 1615478298.522,
> - "393"
> ],
> -
> [
> - 1615478358.522,
> - "393"
> ],
> -
> [
> - 1615478418.522,
> - "393"
> ],
> -
> [
> - 1615478478.522,
> - "393"
> ],
> -
> [
> - 1615485438.522,
> - "417"
> ],
> -
> [
> - 1615485498.522,
> - "417"
> ],
> -
> [
> - 1615485558.522,
> - "417"
> ],
> -
> [
> - 1615485618.522,
> - "417"
> ],
> -
> [
> - 1615485678.522,
> - "417"
> ],
> -
> [
> - 1615492638.522,
> - "441"
> ],
> -
> [
> - 1615492698.522,
> - "441"
> ],
> -
> [
> - 1615492758.522,
> - "441"
> ],
> -
> [
> - 1615492818.522,
> - "441"
> ],
> -
> [
> - 1615492878.522,
> - "441"
> ],
> -
> [
> - 1615499838.522,
> - "465"
> ],
> -
> [
> - 1615499898.522,
> - "465"
> ],
> -
> [
> - 1615499958.522,
> - "465"
> ],
> -
> [
> - 1615500018.522,
> - "465"
> ],
> -
> [
> - 1615500078.522,
> - "465"
> ],
> -
> [
> - 1615507038.522,
> - "489"
> ],
> -
> [
> - 1615507098.522,
> - "489"
> ],
> -
> [
> - 1615507158.522,
> - "489"
> ],
> -
> [
> - 1615507218.522,
> - "489"
> ],
> -
> [
> - 1615507278.522,
> - "489"
> ],
> -
> [
> - 1615514238.522,
> - "513"
> ],
> -
> [
> - 1615514298.522,
> - "513"
> ],
> -
> [
> - 1615514358.522,
> - "513"
> ],
> -
> [
> - 1615514418.522,
> - "513"
> ],
> -
> [
> - 1615514478.522,
> - "513"
> ],
> -
> [
> - 1615521438.522,
> - "537"
> ],
> -
> [
> - 1615521498.522,
> - "537"
> ],
> -
> [
> - 1615521558.522,
> - "537"
> ],
> -
> [
> - 1615521618.522,
> - "537"
> ],
> -
> [
> - 1615521678.522,
> - "537"
> ],
> -
> [
> - 1615528638.522,
> - "561"
> ],
> -
> [
> - 1615528698.522,
> - "561"
> ],
> -
> [
> - 1615528758.522,
> - "561"
> ],
> -
> [
> - 1615528818.522,
> - "561"
> ],
> -
> [
> - 1615528878.522,
> - "561"
> ],
> -
> [
> - 1615533138.522,
> - "576"
> ],
> -
> [
> - 1615533198.522,
> - "576"
> ],
> -
> [
> - 1615533258.522,
> - "576"
> ],
> -
> [
> - 1615533318.522,
> - "576"
> ],
> -
> [
> - 1615533378.522,
> - "576"
> To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/f1322d53-8b4a-48ce-b94b-ebf7198bdb30n%40googlegroups.com.
--
Julien Pivotto
@roidelapluie