Re: [prometheus-users] Snmp exporter - several labels for one metric

2020-03-02 Thread Brian Brazil
On Tue, 3 Mar 2020 at 01:54, Виталий Ковалев wrote: > Of course. Here is it. > https://drive.google.com/open?id=17RrbVMNsYrNupOB0GeQfve3AV1rQY76d > There is no FiberRxPower in that MIB. I'm guessing you meant input1Power and input2Power? There's no table for these, so I'd suggest leaving it

[prometheus-users] Deleting timeseries

2020-03-02 Thread Venkata Bhagavatula
Hi, I was using the admin rest api for deleting the timeseries. Following is what i executed: *curl -XPOST -g 'http://localhost:9090/api/v1/admin/tsdb/delete_series?match[]={__name__=~ ".+"}'* followed by *curl

[prometheus-users] samples_per_second

2020-03-02 Thread Shivali Chauhan
Hi Team, Do you have any idea what is the samples_per_second rate per host. for node exporter, how many sample ingested per second per second for node exporter. Regards, Shivali Chauhan -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To

Re: [prometheus-users] Read access log as metrics

2020-03-02 Thread Julian Ade Putra
Thank you for suggestion. I will try this tools. Regards, Julian On Monday, 2 March 2020 18:03:35 UTC+7, Stuart Clark wrote: > > On 2020-03-02 11:00, Julian Ade Putra wrote: > > Hello Experts, > > > > I have access log that contains API list and status code that keep > > updating base on the

Re: [prometheus-users] Re: Alert for high-frequency changes of a metric?

2020-03-02 Thread Murali Krishna Kanagala
Check if the absent function helps you. https://prometheus.io/docs/prometheus/latest/querying/functions/#absent On Mon, Mar 2, 2020, 9:49 AM Moses Moore wrote: > >Did you try something like "changes(foo[30m]) > 10" ? > > That would alert if the value changed 10 times in the last 30

Re: [prometheus-users] 'insert metric at cursor' is showing all metrics

2020-03-02 Thread Murali Krishna Kanagala
Did you try a restart of Prometheus service? On Mon, Mar 2, 2020, 1:04 AM Ankita Khot wrote: > In Prometheus UI within the dropdown that says 'insert metric at cursor' > it shows the previous scraped metrics as well. How to remove those? I would > like it to show only the metrics which i am

Re: [prometheus-users] Read access log as metrics

2020-03-02 Thread Murali Krishna Kanagala
Prometheus is not designed to handle logs. Try Loki, or rsyslog along with grok exporter to translate logs into metrics. On Mon, Mar 2, 2020, 5:03 AM Stuart Clark wrote: > On 2020-03-02 11:00, Julian Ade Putra wrote: > > Hello Experts, > > > > I have access log that contains API list and status

Re: [prometheus-users] Prometheus metrics to a url

2020-03-02 Thread Murali Krishna Kanagala
Use remote write option. That remote service should be able to parse the metrics and forward them wherever you want them to be. On Mon, Mar 2, 2020, 4:42 AM adi garg wrote: > Hello experts, > > Is there a way to send Prometheus metrics to a URL, where there can be an > exporter to send metrics

Re: [prometheus-users] Re: Alert for high-frequency changes of a metric?

2020-03-02 Thread Moses Moore
>Did you try something like "changes(foo[30m]) > 10" ? > That would alert if the value changed 10 times in the last 30 minutes. Good guess.  If it were a boolean ([0, 1]) then your idea would detect flip-flopping (flapping?) over time. A metric can be healthy while changing constantly, but

[prometheus-users] Tomcat session Monitoring?

2020-03-02 Thread Shivali Chauhan
Hi Team, Could you please suggest some blog for Tomcat session monitoring? Which exporter will be good for tomcat monitoring. Regards Shivali Chauhan -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop

[prometheus-users] Prometheus jmx_exporter plugin does not work with Gerrit

2020-03-02 Thread Kiran Shinde
Hi All, We are using Gerrit and are interested to know the insights of Gerrit JVM. We are already using jmx_exporter plugin for Jenkins and Artifactory, but it does not work with Gerrit. Below errors are reported: Error occurred during initialization of VM agent library failed to init:

Re: [prometheus-users] Number of running threads.

2020-03-02 Thread Yagyansh S. Kumar
Ah, another collector. Missed that completely. Thanks for the quick response. On Monday, March 2, 2020 at 5:36:10 PM UTC+5:30, Julien Pivotto wrote: > > On 02 Mar 04:01, Yagyansh S. Kumar wrote: > > Is there any way by which I can get the number of currently running > threads > > on a Linux

Re: [prometheus-users] Prometheus Infra Cost

2020-03-02 Thread Shivali Chauhan
Thank you for the information. Could you please little bit explain me 150:1 and 1000:1 monitoring to node ratio. That part Regards Shivali Chauhan On Mon, Mar 2, 2020 at 5:37 PM Ben Kochie wrote: > It highly depends on how much data you ingest per server. Just monitoring > basic node metrics

Re: [prometheus-users] Prometheus Infra Cost

2020-03-02 Thread Ben Kochie
It highly depends on how much data you ingest per server. Just monitoring basic node metrics is pretty cheap. But monitoring a dozen services per node can require more Prometheus instances. At a minimum, you probably want to have two instances for HA. Without a lot more detailed information on

Re: [prometheus-users] Number of running threads.

2020-03-02 Thread Julien Pivotto
On 02 Mar 04:01, Yagyansh S. Kumar wrote: > Is there any way by which I can get the number of currently running threads > on a Linux server using node_exporter? > Have researched a lot but haven't found anything yet. Hi, You have the metrics node_processes_pids and node_processes_threads

Re: [prometheus-users] Prometheus Infra Cost

2020-03-02 Thread sayf eddine Hammemi
1 year data retention for 400+ servers needs a bit of design before assessing tye cost. There is the metrics size, the number of prometheus instances, federated prometheis and of course your remote storage (assuming 1 year retention is the company policy thus you need to rethink storage security

Re: [prometheus-users] Prometheus Infra Cost

2020-03-02 Thread Stuart Clark
On 2020-03-02 11:54, Shivali Chauhan wrote: Hi Team, Could you please help me on Prometheus cost. How much it will cost for 400 servers for system monitoring for 1 year data retention. There is no cost for the Prometheus software. The hardware cost will depend on what you are using (AWS,

[prometheus-users] Number of running threads.

2020-03-02 Thread Yagyansh S. Kumar
Is there any way by which I can get the number of currently running threads on a Linux server using node_exporter? Have researched a lot but haven't found anything yet. -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from

[prometheus-users] Prometheus Infra Cost

2020-03-02 Thread Shivali Chauhan
Hi Team, Could you please help me on Prometheus cost. How much it will cost for 400 servers for system monitoring for 1 year data retention. Regards, Shivali Chauhan -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from

Re: [prometheus-users] Ready access log from Prometheus

2020-03-02 Thread Ben Kochie
mtail is a good tool for this. https://github.com/google/mtail On Mon, Mar 2, 2020 at 12:00 PM Julian Ade Putra wrote: > Hello Experts, > > I have access log that contains API list and status code that keep > updating base on the transaction. May i know what is the best method to > read it as

[prometheus-users] Re: keep metric using metric_relabel_configs not working

2020-03-02 Thread Brian Candler
On Monday, 2 March 2020 06:45:56 UTC, Ankita Khot wrote: > > In Prometheus UI within the dropdown that says 'insert metric at cursor' > it shows the previous scraped metrics as well. How to remove those? I would > like it to show only the metrics which i am keeping through >

Re: [prometheus-users] Prometheus Datadog integration

2020-03-02 Thread Brian Candler
You can't get prometheus to connect to a remote system to "push" metrics [except using the remote_write functionality, which is a specific protocol the remote system needs to support] However, other servers can scrape or "pull" metrics from prometheus, by scraping the /federate endpoint. That

Re: [prometheus-users] Read access log as metrics

2020-03-02 Thread Stuart Clark
On 2020-03-02 11:00, Julian Ade Putra wrote: Hello Experts, I have access log that contains API list and status code that keep updating base on the transaction. May i know what is the best method to read it as metric in Prometheus? Below the format of access log : You can use a tool suck as

[prometheus-users] Read access log as metrics

2020-03-02 Thread Julian Ade Putra
Hello Experts, I have access log that contains API list and status code that keep updating base on the transaction. May i know what is the best method to read it as metric in Prometheus? Below the format of access log : 2020-03-02 14:38:44POST

[prometheus-users] Ready access log from Prometheus

2020-03-02 Thread Julian Ade Putra
Hello Experts, I have access log that contains API list and status code that keep updating base on the transaction. May i know what is the best method to read it as metric in Prometheus? Below the format of access log : 2020-03-02 14:38:44POST

Re: [prometheus-users] Prometheus metrics to a url

2020-03-02 Thread Aliaksandr Valialkin
There are the following integration mechanisms for Prometheus metrics exist: - Pushgateway for pushing Prometheus metrics, so the could be scraped by Prometheus later. - Prometheus federation

[prometheus-users] Prometheus metrics to a url

2020-03-02 Thread adi garg
Hello experts, Is there a way to send Prometheus metrics to a URL, where there can be an exporter to send metrics to another system? -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails