ignore, my fault, the version is not 2.23.0
在2020年12月18日星期五 UTC+8 下午2:40:23 写道:
> config file refer to
> https://github.com/prometheus/prometheus/blob/release-2.23/documentation/examples/prometheus-eureka.yml
>
> 在2020年12月18日星期五 UTC+8 下午2:03:21 写道:
>
>> I am using prometheus-2.23.0.darwin-amd6
config file refer
to
https://github.com/prometheus/prometheus/blob/release-2.23/documentation/examples/prometheus-eureka.yml
在2020年12月18日星期五 UTC+8 下午2:03:21 写道:
> I am using prometheus-2.23.0.darwin-amd64 on my Mac.
> My config file:
>
> global:
> scrape_interva
Hi All,
We have restrictions to deploy Prometheus inside Kubernetes environment due
to shared infrastructure but we still need to scrape all the
node/services/endpoints/pod level metrics using service discovery approach.
When I checked almost all the posts in internet are referring to Prometheus
i
I am using prometheus-2.23.0.darwin-amd64 on my Mac.
My config file:
global:
scrape_interval: 15s
scrape_configs:
- job_name: "prometheus"
static_configs:
- targets: ["localhost:9090"]
- job_name: "lion"
eureka_sd_configs:
- server: "http://loc
Hi
I use prometheus to monitor service.
At first, it was simple. I use four labels(team, product, service,
instance) to identify a service, the metric like
```
metric_name{team="t1", product="p1", instance="i1", service="s1", other
business label}
```
I also use the four labels with other la
On 17/12/2020 22:43, Raghu Udiyar wrote:
I supposed it wouldn't be an aggregation - its more like a filter.
What I want is to return the series with the max value, with all
labels intact. --
It does sound a bit like you are wanting topk. Does that do what you are
looking for?
--
You receiv
Hi,
On 2020-12-17 23:06, Alan Miller wrote:
The problem is that my "instance" fields are IP address:port (eg:
10.123.5.5:9182).
The best solution would be to fix exactly this. ;)
https://www.robustperception.io/controlling-the-instance-label
So this query returns the instances and what looks
I supposed it wouldn't be an aggregation - its more like a filter. What I
want is to return the series with the max value, with all labels intact.
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop rece
On 17/12/2020 17:57, Raghu Udiyar wrote:
Hello
When using aggregations such as `max(metric1) by (lable1)`, all the
other labels are stripped. Is it possible to preserve the labels, akin
to *selecting* the `max` series.
This is more of a filter, not an aggregation.
I'm not quite sure I unde
I'm trying to create a prometheus rule that will detect when CPU usage is
above 95%
only on hostnames matching a string (eg: "^as(.*)" which are my application
servers.
The problem is that my "instance" fields are IP address:port (eg:
10.123.5.5:9182).
So this query returns the instances and w
Dear all,
please see
https://docs.google.com/document/d/1iO1QHRyABaIpc6xXB1oqu91jYL1QQibEpvQqXfQF-WA
Best,
Richard
--
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
Hi,
Did you try Range vectors to have the results you are looking for ?
https://timber.io/blog/promql-for-humans/
Sent from my iPhone
On Dec 17, 2020, at 7:31 PM, arnav...@gmail.com
wrote:
Hi,
Is it possible to query Prometheus with Dates?
For example: using start date and end date to qu
Hi,
Is it possible to query Prometheus with Dates?
For example: using start date and end date to query the value of a metric
between those dates.
Thanks,
Arnav
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this
Hello
When using aggregations such as `max(metric1) by (lable1)`, all the other
labels are stripped. Is it possible to preserve the labels, akin to
*selecting* the `max` series.
This is more of a filter, not an aggregation.
Thanks
--
You received this message because you are subscribed to th
14 matches
Mail list logo