# Prometheus data selection

**URL:** <https://community.grafana.com/t/prometheus-data-selection/153176>\
**Category:** Prometheus\
**Created:** [June 23, 2025, 12:50pm UTC](https://community.grafana.com/t/prometheus-data-selection/153176 "2025-06-23T12:50:16Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![matepasztor314](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@matepasztor314](https://community.grafana.com/u/matepasztor314)\
**Post date:** [June 23, 2025, 12:50pm UTC](https://community.grafana.com/t/prometheus-data-selection/153176/1 "2025-06-23T12:50:17Z")

</div>

Dear Grafana support team,

I am trying to pull info from my prometheus server. My metrics look the same all the time: labels which specifies, relevant information about some processes, and the value which is unix timestamp.

I use table view and i try to show every metric, so not just the actual, my current Grafana version is 11.3 .([How to extract label values from Prometheus metrics in Grafana | Grafana Labs](https://grafana.com/blog/2023/02/23/how-to-extract-label-values-from-prometheus-metrics-in-grafana/))

Current status:  
If i use: Verbose,Table format, Type instant then only the live metrics are visible in the table.  
If i use Range then i can get back more metric labels but they are created via time stamps.

Thanks for the help, in advance.  
Mate

---

<div class="post-metadata">

**Author:** ![jangaraj](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/jangaraj/32/39197_2.png) [@jangaraj](https://community.grafana.com/u/jangaraj)\
**Post date:** [June 23, 2025, 12:57pm UTC](https://community.grafana.com/t/prometheus-data-selection/153176/2 "2025-06-23T12:57:31Z")

</div>

> [@matepasztor314](#):
>
> If i use: Verbose,Table format, Type instant then only the live metrics are visible in the table.  
> If i use Range then i can get back more metric labels but they are created via time stamps.

That’s correct and exactly as Prometheus has documented it:

> **[Querying basics | Prometheus](https://prometheus.io/docs/prometheus/latest/querying/basics/#time-series-selectors)**
>
> Prometheus project documentation for Querying basics

What is a problem here?

---

<div class="post-metadata">

**Author:** ![matepasztor314](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@matepasztor314](https://community.grafana.com/u/matepasztor314)\
**Post date:** [June 23, 2025, 12:59pm UTC](https://community.grafana.com/t/prometheus-data-selection/153176/3 "2025-06-23T12:59:45Z")

</div>

I would like to see all the previous metrics too, if i run the query on the prometheus server, and I change the time range every metrics are visible.

---

<div class="post-metadata">

**Author:** ![jangaraj](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/jangaraj/32/39197_2.png) [@jangaraj](https://community.grafana.com/u/jangaraj)\
**Post date:** [June 23, 2025, 1:04pm UTC](https://community.grafana.com/t/prometheus-data-selection/153176/4 "2025-06-23T13:04:49Z")

</div>

Could you provide example, pls?

---

<div class="post-metadata">

**Author:** ![matepasztor314](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@matepasztor314](https://community.grafana.com/u/matepasztor314)\
**Post date:** [June 23, 2025, 1:12pm UTC](https://community.grafana.com/t/prometheus-data-selection/153176/5 "2025-06-23T13:12:27Z")

</div>

I run the same query lets say: {processType=~“A”} from Prometheus in Graph view first in the time range 1s it only show activ metrics, If i change the range to 4week then I see all the previously active metrics as well.

In Grafana I only see the active ones, no matter how i change the timerange, the result is not changing(it is like only showing the latest live values of the metrics)

---

<div class="post-metadata">

**Author:** ![jangaraj](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/jangaraj/32/39197_2.png) [@jangaraj](https://community.grafana.com/u/jangaraj)\
**Post date:** [June 23, 2025, 3:53pm UTC](https://community.grafana.com/t/prometheus-data-selection/153176/6 "2025-06-23T15:53:21Z")

</div>

Sorry, it’s hard to understand. Provide reproducible example, printscreens,… Each tool/query ma have many options and you didn’t specify what have you condigured exactly.

---

<div class="post-metadata">

**Author:** ![matepasztor314](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@matepasztor314](https://community.grafana.com/u/matepasztor314)\
**Post date:** [June 24, 2025, 10:12am UTC](https://community.grafana.com/t/prometheus-data-selection/153176/7 "2025-06-24T10:12:41Z")

</div>

It is restricted, company data i can not share the exact example, however i can share all the configs.

So in prometheus everything is on the base setup, I guess from Grafana side it is not really matter too, how the data arrives there and soon.  
The actual metrics looks like this: processName{metricLabels=“(conatins timestampt too, to make it unique every time)”} metricValue==UnixTimeStamp

As the processName is constant when a new process start for the same process type, the prometheus metric values is overwritten and the previous lets say “live metric is stopped,closed”.

In grafana for me would be great to see all the previously running processes too  
My grafana setup: Prometheus source, query options for the source are defult.  
I use **table view** and for the individual query:i search for a specific label in the metrics I guess this one not really matters too about the topic(i dont use any specific time range setup or any prometheus related query feature, exactly run the same query as in the prometheus dashboard) and the Format is **table** , type is **instant**.

I already found the related docs for instant option and it says: _ **Returns one data point per query and only the most recent point in the time range provided** _

So I would need something else, not the time range as it is not showing data individually, are there any other point that matters in this case? Please let me know and i will try to share data further more if it is needed

---

<div class="post-metadata">

**Author:** ![matepasztor314](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@matepasztor314](https://community.grafana.com/u/matepasztor314)\
**Post date:** [June 24, 2025, 12:11pm UTC](https://community.grafana.com/t/prometheus-data-selection/153176/8 "2025-06-24T12:11:28Z")

</div>

Actually it seems time range query for prometheus like [90d] is solving, the part of visibility now it shows every previous value too, but still time range is not working for the view as expected, if i change to now-1d then all the values are disappears.
