Re: [prometheus-users] How can I Send Individual Alert for Different Servers on Different usage Criteria

2020-08-08 Thread Christian Hoffmann
Hi, On 8/5/20 3:45 PM, Pachha Gopi wrote: > Hi @Christian I am facing an issue that my alaert manager is not sending > the alerts on regular intervals.how can i configure my alert manager to > send alerts to my slack? Are you looking for the repeat_interval option, which defaults to 4h? https://

Re: [prometheus-users] Re: Docker Swarm Service Discovery | Problem in Implementation

2020-08-08 Thread Julien Pivotto
On 07 Aug 04:36, Umang Goel wrote: > Hello Tom, > > Even this is not working, I am still facing the same issue. Can you help me > how did you implement it. What are you current permissions on the /var/run/docker.sock ? ls -l /var/run/docker.sock > > On Friday, 7 August 2020 16:47:23 UTC+5:30

Re: [prometheus-users] Newbie question

2020-08-08 Thread Rob Pijpers
Hi Ben, Could you help me getting started with this exporter, for example should this be installed on a separate server or in a container? Thx, Rob Op zaterdag 8 augustus 2020 20:45:20 UTC+2 schreef Ben Kochie: > > The https://github.com/prometheus-community/json_exporter might be a good > opt

Re: [prometheus-users] Newbie question

2020-08-08 Thread Ben Kochie
The https://github.com/prometheus-community/json_exporter might be a good option. On Sat, Aug 8, 2020 at 7:32 PM Stuart Clark wrote: > You will need an exporter to convert that format into the Prometheus text > format to allow it to be scraped. > > I don't know if there is something already avai

Re: [prometheus-users] Newbie question

2020-08-08 Thread Stuart Clark
You will need an exporter to convert that format into the Prometheus text format to allow it to be scraped. I don't know if there is something already available, but if not it should be fairly straightforward to create something using the language of your choice and one of the Prometheus client

[prometheus-users] Newbie question

2020-08-08 Thread Rob Pijpers
Let me start to tell that I'm a newbie with Prometheus. I have Prometheus and Grafana running on a Windows server and is used to collect data from my Homey domotica system, this works fine. Now I want to collect data via an API call from a source using a web request via curl. The output is in JS

Re: [prometheus-users] help with "expected timestamp or new record, got \"MNAME\"

2020-08-08 Thread Julien Pivotto
On 08 Aug 05:57, Bob wrote: > hi - I appreciate the responses. > A client library is not being used. > The scrape target is returning a single metric. > > How does one go about determining what exactly is incorrect about the > content type? OpenMetrics is different from Prometheus. The conten

Re: [prometheus-users] help with "expected timestamp or new record, got \"MNAME\"

2020-08-08 Thread Bob
hi - I appreciate the responses. A client library is not being used. The scrape target is returning a single metric. How does one go about determining what exactly is incorrect about the content type? And how would one explain the promtool test failing to indicate a problem? thank you! On Sat

Re: [prometheus-users] help with "expected timestamp or new record, got \"MNAME\"

2020-08-08 Thread Julien Pivotto
You content type is not correct. When you scrape it with OpenMetrics, the output is not Openmetrics compatible. You should advertise only support for the Prometheus text format. On 07 Aug 09:48, Bob wrote: > hello - I am struggling to resolve a problem with a new prometheus custom > scrape tar

Re: [prometheus-users] kubernetes SD config for Ingressroute Traefik

2020-08-08 Thread Matthias Rampke
Can you explain more what "metrics exposed by ingressroute" looks like? This only configures traefik; are the metrics you are looking for exposed by traefik or by the service that the ingressroute refers to? /MR On Fri, Aug 7, 2020, 09:27 Ishvar B wrote: > Hi, > > I am trying to use auto discov

Re: [prometheus-users] help with "expected timestamp or new record, got \"MNAME\"

2020-08-08 Thread Matthias Rampke
I think Prometheus is expecting the TYPE and HELP lines that are part of the exposition format. Which client library are you using? /MR On Fri, Aug 7, 2020, 18:48 Bob wrote: > hello - I am struggling to resolve a problem with a new prometheus custom > scrape target. The following scrape config

Re: [prometheus-users] Golang microservice promQL client example or package?

2020-08-08 Thread Aliaksandr Valialkin
Hi Luke! See documentation and examples at https://godoc.org/github.com/prometheus/client_golang/api/prometheus/v1 On Fri, Aug 7, 2020 at 4:05 AM 'Luke Hamilton' via Prometheus Users < prometheus-users@googlegroups.com> wrote: > Hey all, > > I am wondering if there is a golang based promQL clien