Re: [prometheus-users] systemctl start prometheus failed

2021-01-30 Thread guo galen
it's ok after remove --web.listen-address="0.0.0.0:9696" \ 在2021年1月31日星期日 UTC+8 下午12:24:10 写道: > journalctl -f show invalid port: > parse external URL "": parse "http://zluat55:9696\"/": invalid port > ":9696\"" after host > > 在2021年1月29日星期五 UTC+8 下午6:46:25 写道: > >> Ah yes, that's what I meant

Re: [prometheus-users] Remove the labels

2021-01-30 Thread Amit Dubey
Thanks Stuart, I am collecting the metrics from the targeted pods and I can see the different labels on the prometheus UI (graph) and I want to remove some labels out of all the collected ones. Actually I don't want to display the labels(instance, job & pod_template_hash) on the prometheus UI so

[prometheus-users] Alert on no alerts?

2021-01-30 Thread 'ping...@hioscar.com' via Prometheus Users
Is there a way for AlertManager to fire an alert no receiving no alerts in the last like 10 mins? We recently experienced an issue when prometheus got misconfigured and stopped sending alerts, including alerts on itself. So, to detect this scenario, we cannot rely on prometheus alert rules. I

Re: [prometheus-users] Re: snmp_exporter regex

2021-01-30 Thread Антон Зубков
It does not matter. The question is how to change the data output, not about the logs. It can be anything. суббота, 30 января 2021 г. в 17:06:43 UTC+2, sup...@gmail.com: > Yes, these are event logs. They contain too much cardinality and are not > something you can put in Prometheus. I

Re: [prometheus-users] Re: snmp_exporter regex

2021-01-30 Thread Ben Kochie
Yes, these are event logs. They contain too much cardinality and are not something you can put in Prometheus. I recommend using a logging system, like a syslog service. On Sat, Jan 30, 2021 at 3:55 PM Антон Зубков wrote: > iDRAC-SMIv2::eventLogDateName / 1.3.6.1.4.1.674.10892.5.4.300.40.1.8 >

Re: [prometheus-users] Re: snmp_exporter regex

2021-01-30 Thread Антон Зубков
iDRAC-SMIv2::eventLogDateName / 1.3.6.1.4.1.674.10892.5.4.300.40.1.8 >From snmp_exporter I get 20201222152131.00+120 but I need 12/22/20 15:21:31 суббота, 30 января 2021 г. в 16:46:43 UTC+2, sup...@gmail.com: > What OIDs/MIBs are you looking at? > > Prometheus is not a logging system,

Re: [prometheus-users] Re: snmp_exporter regex

2021-01-30 Thread Ben Kochie
What OIDs/MIBs are you looking at? Prometheus is not a logging system, This data would likely break your Prometheus server. On Sat, Jan 30, 2021 at 3:43 PM Антон Зубков wrote: > Where can I read doc about overrides and regex_extracts:? I try but errors > every time... > > пятница, 29 января

[prometheus-users] Re: snmp_exporter regex

2021-01-30 Thread Антон Зубков
Where can I read doc about overrides and regex_extracts:? I try but errors every time... пятница, 29 января 2021 г. в 01:15:52 UTC+2, Антон Зубков: > Hi, > Have a little problem with Dell iDrac 8 SNMP. Log dates have > 20201222152131.00+120 format. How can I regex in DD\MM\ HH:MM:ss

Re: [prometheus-users] max latency value (golang client)

2021-01-30 Thread Julius Volz
Getting that one value out from the summary is only possible in a somewhat cumbersome way: you could call the Write() method on the metric to dump the summary into a protobuf object: https://godoc.org/github.com/prometheus/client_golang/prometheus#Metric. Then you can read desired field out of the

Re: [prometheus-users] How to specify Tags for timeSeries that represent url with parameters

2021-01-30 Thread Julius Volz
Ok, so when you are saying "I don't see any data showing up for this timeseries", how are you querying it? Do you see its individual series when you just query for "http_server_requests_seconds_bucket"? On Sat, Jan 30, 2021 at 12:14 AM Debashish Ghosh < debashish.s.gh...@gmail.com> wrote: > Yes

Re: [prometheus-users] Getting old label

2021-01-30 Thread Julius Volz
Prometheus just stores time series with their full labelsets as they get scraped over time, so in this case any old time series from that node will have the ABC label and new series will have the KLM label. Over time, the old series will get phased out naturally, as older data past the retention

Re: [prometheus-users] inhibit_rules

2021-01-30 Thread Christian Hoffmann
Hi, On 2021-01-30 10:47, Auggie Yang wrote: I was confused with alertmanager inhibit_rules; details as following: Exapmles: 8 servers, one of servers always got high memory(50%) or disk usage(60%), and the others use resource low; how do you set inhibit_rules for  this special normal node;

[prometheus-users] inhibit_rules

2021-01-30 Thread Auggie Yang
hello guys, I was confused with alertmanager inhibit_rules; details as following: Exapmles: 8 servers, one of servers always got high memory(50%) or disk usage(60%), and the others use resource low; how do you set inhibit_rules for this special normal node; if this node memory usage >50%