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 target.  The following scrape configuration results in the following 
> being logged:
> 
> Aug  7 12:39:19 prom1 prometheus: level=warn ts=2020-08-07T16:39:19.457Z 
> caller=scrape.go:937 component="scrape manager" scrape_pool=lip 
> target=https://auth.leagueapps.io:443/status msg="append failed" 
> err="expected timestamp or new record, got \"MNAME\""
> 
> Prometheus version:  2.11.1
> 
> The scrape configuration:
> - job_name: 'lip'
>   scheme: 'https'
>   scrape_interval: 12s
>   static_configs:
>    - targets: ['auth.leagueapps.io']
>    metrics_path: '/status'
> 
> The promtool utility does not indicate a problem when doing:
> 
> wget https://auth.leagueapps.io/status | ./promtool check metrics
> 
> Thank you
> 
> -- 
> 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 [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/prometheus-users/a2fce622-bd27-4b38-be4d-a22a8a9ce335n%40googlegroups.com.


-- 
Julien Pivotto
@roidelapluie

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/20200808124156.GA569157%40oxygen.

Reply via email to