Re: [prometheus-users] overriding alert levels?

2020-12-14 Thread klavs....@gmail.com
I have not.. I'm working on trying to see if it can work. Thank you I still believe Prometheus would benefit from official support for this - like what I linked to, others built. mandag den 14. december 2020 kl. 16.06.35 UTC+1 skrev Christian Hoffmann: > Hi, > > On 2020-12-14 15:56,

[prometheus-users] Re: How to Count one day's network traffic with prometheus

2020-12-14 Thread Jie Yang
I use ``` sum(increase(node_network_receive_bytes_total{instance=~"%s ",device!~"tap.*|veth.*|br.*|docker.*|virbr.*|lo.*|cni.*",job="node"}[%s] offset %s)) ``` this query for use .and I want one day network traffic for beginning 00:00:00~23:59:59 . so anyone Could give me some suggestion? On Tue,

[prometheus-users] How to Count one day's network traffic with prometheus

2020-12-14 Thread Jie Yang
Someone Can help? -- 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 prometheus-users+unsubscr...@googlegroups.com. To view this discussion on the web visit

[prometheus-users] Re: Custom Metrics not being exported

2020-12-14 Thread abc-dotcom
Hi All, Can someone plz look into this. Thanks On Friday, December 11, 2020 at 2:26:13 PM UTC+5:30 abc-dotcom wrote: > Hello All, > > I´ve configured a Custom Cloudwatch Metric like this: > cwexpo_custom_metrics is my custom namespace. But metrics are not getting > exported. A quick help

[prometheus-users] Configure Prometheus exporter for Resin webserver

2020-12-14 Thread Jijin M
Can someone help to configure Prometheus exporter for Resin ? Thanks -- 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

Re: [prometheus-users] How do I set the maintenance cycle

2020-12-14 Thread zhengwei y
Does this mean That I have to maintain a timer task to create and delete the corresponding silence rules every day ? 在2020年12月14日星期一 UTC+8 下午6:29:38 写道: > On 2020-12-14 10:25, zhengwei y wrote: > > How do I set the maintenance cycle ? such as silence all alarms from > > 0:00 to 1:00 am every

Re: [prometheus-users] pressure testing tools

2020-12-14 Thread Laurent Dumont
It depends on what you want to test Actual Prometheus performance - https://blog.freshtracks.io/load-testing-prometheus-metric-ingestion-5b878711711c - https://github.com/thanos-io/thanosbench I'm not sure just testing a GET on prom-ip:9090/ is going to tell you much. Maybe a bunch of

[prometheus-users] pressure testing tools

2020-12-14 Thread alexb...@gmail.com
Are there any pressure testing tools that can be used to test the performance of Prometheus? Many thanks! -- 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

[prometheus-users] query logging in prometheus v 2.14.0

2020-12-14 Thread Sagar Chopade
Hi All, I am using Prometheus v2.14.0 (which I got as a part of Openshift Service Mesh [istio 1.6]). I am creating a Kiali custom dashboard which internally makes an API call to fire a query on Prometheus to get the data to be displayed on dashboard. The dashboard is not able to fetch the

Re: [prometheus-users] Bind node_exporter to listen only from a foreign ip

2020-12-14 Thread Stuart Clark
On 14/12/2020 23:03, Jim Daemon wrote: Hello is it possible to make node exporter to listen only from specific IP, that ip is not a local interface, it can be the ip of another server ex prometheus server. This would be usefull if you dont want everyone in the netowork to access the metrics

[prometheus-users] Bind node_exporter to listen only from a foreign ip

2020-12-14 Thread Jim Daemon
Hello is it possible to make node exporter to listen only from specific IP, that ip is not a local interface, it can be the ip of another server ex prometheus server. This would be usefull if you dont want everyone in the netowork to access the metrics just only prometheus server. Probably it

[prometheus-users] Re: paging and swapping

2020-12-14 Thread Alexander Golikov
Hello Here is my alert rules for node_exporter Note that node_memory_MemAvailable_bytes metric is absent for old kernels(you need additional rule to calc it if it is absent) groups: - name: 'Node exporter alerts' rules: - alert: 'Node_exporter_service' #expr: up{job="node_exporter"} ==

Re: [prometheus-users] Typical usecase for using the "amtool alert add" command

2020-12-14 Thread Stuart Clark
On 2020-12-14 17:05, Al wrote: Hi I realize alert conditions in a Promertheus ecosystem should be triggered from a prometheus instance itself although there is the "amtool alert add" command that can be used to manually trigger an alert. Is this something which is commonly used in production

[prometheus-users] Typical usecase for using the "amtool alert add" command

2020-12-14 Thread Al
Hi I realize alert conditions in a Promertheus ecosystem should be triggered from a prometheus instance itself although there is the "amtool alert add" command that can be used to manually trigger an alert. Is this something which is commonly used in production use-cases? I can see a

[prometheus-users] paging and swapping

2020-12-14 Thread Sneha Sharma
Could any one please share Prometheus queries to monitor 1. Virtual memory: Paging and swapping 2. Memory Available and Swap Used % 3. Disk Performance % -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this

Re: [prometheus-users] overriding alert levels?

2020-12-14 Thread Christian Hoffmann
Hi, On 2020-12-14 15:56, klavs@gmail.com wrote: I would like to adjust alert levels for f.ex. disk space - so hosts that match som tag (like environment: dev) has a different level.. I see I am not the only one with such needs - these guys even implemented their own "extension" to

[prometheus-users] overriding alert levels?

2020-12-14 Thread klavs....@gmail.com
Hi everyone, I would like to adjust alert levels for f.ex. disk space - so hosts that match som tag (like environment: dev) has a different level.. I see I am not the only one with such needs - these guys even implemented their own "extension" to Prometheus:

Re: [prometheus-users] Make Docker Node-Exporter refer to the host's network?

2020-12-14 Thread Ben Kochie
See the Docker notes in the node_exporter README. I recently added some notes for docker compose. https://github.com/prometheus/node_exporter#docker On Mon, Dec 14, 2020 at 2:02 PM iono sphere <999ionosphe...@gmail.com> wrote: > Hi, > > I am trying out node-exporter in Docker, and I would like

[prometheus-users] No activity on Silencing or SilenceIDs are printed on the alertmanager logs

2020-12-14 Thread ajai kumar
Hi, We have been using a containerised version of alertmanager v0.18.0 and currently upgraded to v0.21.0 and deployed part of kubernetes cluster. We have a list of already existing silences and also for testing we have created newer silences via the APIs. The alerts are being silenced as per

[prometheus-users] Make Docker Node-Exporter refer to the host's network?

2020-12-14 Thread iono sphere
Hi, I am trying out node-exporter in Docker, and I would like to acquire the node_network_receive_bytes_total of my host machine. Right now, node_network_receive_bytes_total is possibly referring to the virtual eth0 of the containerized node-exporter and not the actual host machine itself. I

[prometheus-users] postgres_exporter unable to export pg_replication_lag metrics to promethus

2020-12-14 Thread 'NAGARJUNA D.N' via Prometheus Users
Hi, We are running postgres 12.x on 2 VMs (1 master and 1 replica). We had configured postgres_exporter to ship metrics but we don't see any metrics exporter for *pg_replication_lag*. Kindly help. exporter version: postgres_exporter v0.5.1 (built with go1.11) Startup file:

Re: [prometheus-users] Best practice for gathering metrics from client sites

2020-12-14 Thread Ben Kochie
I agree, the best practice here is to have Prometheus as close to the targets as possible. This way any WAN links, VPNs, or proxies are not monitored as a side effect. The remote write feature is designed for this. It can stream data to a central service like Cortex or Thanos. Or a hosted service

Re: [prometheus-users] Best practice for gathering metrics from client sites

2020-12-14 Thread Christian Hoffmann
Hi, On 2020-12-14 11:24, Patrick Macdonald wrote: If we have a Prometheus server on site-A and an arbitrary number of client sites, each with hardware we might want monitor, is there best practice for how to achieve this? I'm assuming pushgateway isn't the correct use-case here?  Is the only

Re: [prometheus-users] How do I set the maintenance cycle

2020-12-14 Thread Stuart Clark
On 2020-12-14 10:25, zhengwei y wrote: How do I set the maintenance cycle ? such as silence all alarms from 0:00 to 1:00 am every day? You can create silences in advance & there is an API to create them automaticlly. -- Stuart Clark -- You received this message because you are subscribed

Re: [prometheus-users] Best practice for gathering metrics from client sites

2020-12-14 Thread Stuart Clark
On 2020-12-14 10:24, Patrick Macdonald wrote: This might be more of a general networking question than a Prometheus question, but I thought I'd ask anyway. If we have a Prometheus server on site-A and an arbitrary number of client sites, each with hardware we might want monitor, is there best

[prometheus-users] How do I set the maintenance cycle

2020-12-14 Thread zhengwei y
How do I set the maintenance cycle ? such as silence all alarms from 0:00 to 1:00 am every day? -- 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

[prometheus-users] Best practice for gathering metrics from client sites

2020-12-14 Thread Patrick Macdonald
This might be more of a general networking question than a Prometheus question, but I thought I'd ask anyway. If we have a Prometheus server on site-A and an arbitrary number of client sites, each with hardware we might want monitor, is there best practice for how to achieve this? I'm

[prometheus-users] Is there any way to migrate data stored in InfluxDB to Prometheus TSDB?

2020-12-14 Thread zhao wang
Just as the title. Is there any tool that can replay the InfluxDB data and write them to Prometheus TSDB? Or some other ways to migrate data from InfluxDB to Prometheus TSDB? -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe

Re: [prometheus-users] Couldn't start prometheus server

2020-12-14 Thread Stuart Clark
On 14/12/2020 07:23, luan minh wrote: -- 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 prometheus-users+unsubscr...@googlegroups.com

[prometheus-users] Re: Couldn't start prometheus server

2020-12-14 Thread sayf.eddi...@gmail.com
http://www.catb.org/~esr/faqs/smart-questions.html On Monday, December 14, 2020 at 8:23:45 AM UTC+1 minhlu...@gmail.com wrote: > > -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails