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 <[email protected]> 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
> <https://groups.google.com/d/msgid/prometheus-users/a2fce622-bd27-4b38-be4d-a22a8a9ce335n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAMV%3D_gaDixhdfFcAHRTpn8DHZNMMRiaWjg4nst4BdEAGBoKwXw%40mail.gmail.com.

Reply via email to