[prometheus-users] Re: There are some series looks like LOST by prometheus after relabel

2020-05-20 Thread jiqingmen wang
also happen in open dashboard 在 2020年5月21日星期四 UTC+8上午10:19:09,jiqingmen wang写道: > > In my case > Prometheus scrape every one minute normal, and exporter collect one minute > also. > While someone open dashboard, > the exporter collect rapidly,prometheus scrape in high frequency > > the exporter

[prometheus-users] Re: There are some series looks like LOST by prometheus after relabel

2020-05-20 Thread jiqingmen wang
so my doubt is while there is a problem with metric connection when metric labels are consistent 在 2020年5月21日星期四 UTC+8上午10:19:09,jiqingmen wang写道: > > In my case > Prometheus scrape every one minute normal, and exporter collect one minute > also. > While someone open dashboard, > the exporter

[prometheus-users] There are some series looks like LOST by prometheus after relabel

2020-05-20 Thread jiqingmen wang
In my case Prometheus scrape every one minute normal, and exporter collect one minute also. While someone open dashboard, the exporter collect rapidly,prometheus scrape in high frequency the exporter has one http serer, and two urls, /metrics and /instantmetrics, prometheus has two job to

[prometheus-users] help with relabel in kubernetes

2020-05-20 Thread cava cavamagie
HI i'm newbi can someone help me to write a relabeling to obtain targets: ['test-env.prometheus-dev:9095'] i think i have to use this but now why __meta_kubernetes_pod_container_name="test-env" __meta_kubernetes_namespace="prometheus-dev" __meta_kubernetes_pod_container_port_number="9095"

[prometheus-users] Alertmanager - Auto Discovery in Prometheus Server setups

2020-05-20 Thread vikram yerneni
Fellas, Anyone know if Prometheus has an auto discovery method within Prometheus Server setups? https://github.com/prometheus/prometheus/issues/7279 Thanks Vikram -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this

Re: [prometheus-users] How to generate a GUID or current time for my annotations in Prometheus alerting rule templates

2020-05-20 Thread Christian Hoffmann
Hi, On 5/20/20 12:26 PM, zichen chuh wrote: > {{ with query "time()" }}{{ . | first | value }}{{ end}} > > This expression is exactly what I need.  > And I wanna learn how to assemble such an expression. After searching > through this document template  , >

Re: [prometheus-users] Is it okay to post a Prometheus user survey here?

2020-05-20 Thread 'Tom Lee' via Prometheus Users
Yeah, agree. I really like the "largest N metric names" idea. I think both total series and "top N metrics" are interesting for different reasons, but also agree getting "real" numbers is a challenge whatever we decide to do here. :) On Wed, May 20, 2020 at 6:38 AM Julius Volz wrote: > On Sun,

Re: [prometheus-users] best configuration for alert interval

2020-05-20 Thread Brian Brazil
On Wed, 20 May 2020 at 15:35, promeathead wrote: > If I want to be notified as soon as possible but once i'm notified i only > one to get follow on alerts every 15 minutes what's the best configuration? > I can configure it to batch and then send alerts every 15 minutes but then > I don't get

[prometheus-users] best configuration for alert interval

2020-05-20 Thread promeathead
If I want to be notified as soon as possible but once i'm notified i only one to get follow on alerts every 15 minutes what's the best configuration? I can configure it to batch and then send alerts every 15 minutes but then I don't get alerts right away. Or I can configure it to batch and send

[prometheus-users] Re: docker-compose service discovery

2020-05-20 Thread Júlio Falbo
So, since I didn't receive any idea and didn't find any solution, I created a tool that helps us with this issue: https://github.com/juliofalbo/docker-compose-prometheus-service-discovery Em segunda-feira, 18 de maio de 2020 20:19:58 UTC+2, Júlio Falbo escreveu: > > "I have a Prometheus setup

[prometheus-users] kubernetes_sd_configs multiple roles in the same job

2020-05-20 Thread tamir h
hi guys, im pretty new to Prometheus config, i read the manual but i still cant make it work. my goal is to relabel multiple roles in kubernetes_sd_configs, i wanna use node role + pod role in the same target. so that the endpoint URL will look like this: http://:8082/metrics?instance=

Re: [prometheus-users] Is it okay to post a Prometheus user survey here?

2020-05-20 Thread Julius Volz
On Sun, May 17, 2020 at 7:57 PM Tom Lee wrote: > Yes, I'm interested in what Tom's intent is behind the question. From a >> Prometheus perspective, the total time-series load is most important. But >> it might be different for his use case. >> > > Ah yep, really great question. I'm going to

Re: [prometheus-users] How to get data from SYNTAX section of MIB file

2020-05-20 Thread Denis Trunov
Hi, any more ideas how to solve this? вт, 19 мая 2020 г. в 19:53, Denis Trunov : > It helped with moduleIDsType metrics - instead of > > moduleIDsType{moduleIDsIndex="1"} 296 > > > with > > overrides: > moduleIDsType: > type: EnumAsInfo > > I can get > >

[prometheus-users] Re: NTP Metrics.

2020-05-20 Thread Yagyansh S. Kumar
Thanks a lot for pointing me in the correct direction. On Wednesday, May 20, 2020 at 12:35:20 PM UTC+5:30, Brian Candler wrote: > > On Wednesday, 20 May 2020 05:48:28 UTC+1, Yagyansh S. Kumar wrote: >> >> Thanks for the response Brian. >> >> I have already enabled the NTP collector in all all my

[prometheus-users] Re: Any solutions to achieve "avg_over_time(max(http_requests_total)[5m])"?

2020-05-20 Thread Brian Candler
In which dimension are you trying to do the "max" - the maximum across timeseries, or the maximum over time? http_requests_total could be several timeseries each with their own labels. Think of it in two dimensions: http_requests_total{instance="A"} a1 a2 a3 a4 a5

[prometheus-users] Re: How can i monitoring service status on prometheus?

2020-05-20 Thread Saurabh Jain
Hey, Were you able to monitor other services of Openstack like horizon,Keystone successfully via Node exporter ??? I need to monitor Openstack environment via Prometheus for which I am looking different exporters. However via Openstack exporter I can monitor only nova,neutron,cinder only.

[prometheus-users] Re: black box exporter post api issue for content type application./json

2020-05-20 Thread Suresh Mallampati
yes the example is working . I need to check with the api provider http_post_2xx: prober: http http: method: POST headers: Content-Type: application/json body: '{"name":"test","salary":"123","age":"23"}' scrape_interval: 45s metrics_path: /probe

[prometheus-users] Re: black box exporter post api issue for content type application./json

2020-05-20 Thread Suresh Mallampati
If any one can help using the api http://dummy.restapiexample.com/create sample prometheus.yml,blackbox.yml files for http post On Wednesday, 20 May 2020 15:58:13 UTC+5:30, Suresh Mallampati wrote: > > Thank you very much . > After doing the corrections also i am facing the same issue . If

[prometheus-users] Re: black box exporter post api issue for content type application./json

2020-05-20 Thread Suresh Mallampati
Thank you very much . After doing the corrections also i am facing the same issue . If there is any sample or document could helpful for me. On Monday, 18 May 2020 21:35:20 UTC+5:30, Brian Candler wrote: > > https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/415 > > Perhaps it doesn't

Re: [prometheus-users] How to generate a GUID or current time for my annotations in Prometheus alerting rule templates

2020-05-20 Thread zichen chuh
Hi Julius, Thanks for your prompt response. {{ with query "time()" }}{{ . | first | value }}{{ end}} This expression is exactly what I need. And I wanna learn how to assemble such an expression. After searching through this document template , still

Re: [prometheus-users] How to scale Prometheus in an organization?

2020-05-20 Thread Rajesh Reddy Nachireddi
Hi Juergen, Do you have a demo for the above tool Keptn with E2E solution. Regards, Rajesh On Tue, May 19, 2020 at 8:12 PM Juergen Etzlstorfer < juergen.etzlstor...@dynatrace.com> wrote: > Hi everyone, > > I’ve blogified some of our learnings when it comes to scaling Prometheus > in an

[prometheus-users] Any solutions to achieve "avg_over_time(max(http_requests_total)[5m])"?

2020-05-20 Thread zichen chuh
avg_over_time(max(http_requests_total)[5m]) max(http_requests_total)[5m] produced following error messages: Error executing query: invalid parameter 'query': parse error at char 42: range specification must be preceded by a metric selector, but follows a *promql.AggregateExpr instead -

[prometheus-users] Re: server returned HTTP status 500 Internal Server Error

2020-05-20 Thread Valliappan RM
Yes error is coming from prometheus UI Can anyone help in how to fix this error. error walking target marshal: unable to parse OID: strconv.Atoi: parsing "ifXTable": invalid syntax Thanks Valliappan On Tuesday, May 19, 2020 at 5:25:56 PM UTC+5:30, Valliappan RM wrote: > > Hi > Trying to

[prometheus-users] Kafka_Merics_Name_Issue

2020-05-20 Thread Shivali Chauhan
Hi Team, I am working in jzm exporter and trying to monitor the kafka metrics. Could you please let me knw how can we monitor. "The average number of records in each request for a specific topic" Like: datadog have :kafka.consumer.records_per_request_avg Please let me know how can i do same

[prometheus-users] Horizon utility (Openstack) monitoring

2020-05-20 Thread Saurabh Jain
Hi, Pls assist which exporter to use to do availability monitoring of Horizon in Openstack via Prometheus. Thanks, Saurabh -- 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,

Re: [prometheus-users] How to generate a GUID or current time for my annotations in Prometheus alerting rule templates

2020-05-20 Thread Julius Volz
Not sure what exactly your use case is, but if you just want the current (at the time of alert evaluation) Unix timestamp in an annotation, you should be able to do: {{ with query "time()" }}{{ . | first | value }}{{ end}} Note that the "Alert" struct on the Alertmanager templating side will

[prometheus-users] Re: NTP Metrics.

2020-05-20 Thread Brian Candler
On Wednesday, 20 May 2020 05:48:28 UTC+1, Yagyansh S. Kumar wrote: > > Thanks for the response Brian. > > I have already enabled the NTP collector in all all my servers, but still > cannot see the *node_ntp_drift_seconds* metrics giving the output. > Looking through git history (git log -p), it