Brian Candler wrote:
> On Tuesday, 4 January 2022 at 10:51:45 UTC Victor Sudakov wrote:
> 
> > This "@" modifier seems quite useful. I had not had it enabled before 
> > this conversation with you. Now I'll be using it more often. 
> >
> > Do you happen to know why it is disabled by default?
> >
> 
> I'm guessing because it's experimental and might be withdrawn if it's 
> decided not to be worth the hassle of maintaining it going forward.
> 
> You don't need it when using the HTTP API 
> <https://prometheus.io/docs/prometheus/latest/querying/api/#instant-queries> 
> anyway: you specify the time you want the instant query to be evaluated 
> at.  The web interface, which is just a front-end onto the HTTP API, also 
> lets you specify the evaluation time.  So I was using "@timestamp" 
> generically to mean "expression evaluated at that time"; it doesn't have to 
> be literal PromQL.

So, the "@timestamp" modifier and the "Evaluation time" selector in the 
Prometheus
Web UI are the same? I see. But the "@timestamp" modifier in PromQL is
more demonstrative IMHO. Also, if PromQL is a query language, it
should be self-sufficient.

Thanks again for clarification.

-- 
Victor Sudakov VAS4-RIPE
http://vas.tomsk.ru/
2:5005/49@fidonet

-- 
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/YdUGXDfpJ2Svmy3A%40admin.sibptus.ru.

Reply via email to