- What's the prometheus version?
-> 2.15.2
- What's the scrape interval for this metric?
-> scrape_interval: 30m
- Does anything get logged by prometheus when you run this query and get
empty result? (e.g. "journalctl -eu prometheus" if running under systemd)
-> We run it in Kubernetes/Docker and the pod didn't generate logs when
I ran that query
- How many timeseries does this metric have? Does it make a difference if
you limit the query to a single TS, e.g.
elasticsearch_breakers_estimated_size{foo="bar"} ?
-> I'm not 100% to know how many time series it has. But Grafana says
we have 995 timeseries for that metric. I've tried to limit the most with
{es_master_node="true"} since we only have 2 masters and it still returns 0.
- What happens if you give an instant query with a range vector? This
should give you a matrix with the raw ingested data points
curl -g
'http://prometheus:9090/api/v1/query?query=elasticsearch_breakers_estimated_size_bytes[60m]'
-> This works; I see the raw data points.
On Wednesday, September 23, 2020 at 4:09:58 AM UTC-4 [email protected] wrote:
> What is your scrape interval for this data? This sounds like staleness
> handling.
>
> On Wed, Sep 23, 2020 at 1:04 AM Francois Valiquette <
> [email protected]> wrote:
>
>> Hello,
>>
>> I'm observing a strange behavior with Prometheus and before upgrading the
>> software or submitting a bug report I would like to know if I'm doing
>> something wrong.
>>
>> My issue is when I make a query_range I sometimes get no results
>> depending of the *step* I set. I observed that this behavior doesn't
>> occur for all metrics.
>>
>> Here are some examples:
>>
>> wget
>> "http:/xyz:123/api/v1/query_range?query=elasticsearch_breakers_estimated_size_bytes&start=1600190400&end=1600795200&
>> *step=10m*"
>> Above query returns no results: {"status":"success",
>> "data":{"resultType":"matrix","result":[]}}
>>
>> I observed the same behavior for *step=20m*
>>
>> What is odd is that I get results for 9m, 11m, 19m, 21m. Is this normal?
>>
>> Thank you
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Prometheus Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/prometheus-users/ac379bb5-7b82-4bef-b34a-a2bf54c9de93n%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/prometheus-users/ac379bb5-7b82-4bef-b34a-a2bf54c9de93n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/ded2b1eb-8c16-469a-81dd-1e4060b26774n%40googlegroups.com.