I apologize for using YAML, whitespace-sensitve-anythings should have never
been put into use...

The problem is that here:

On Thu, Apr 1, 2021 at 12:41 AM Michał Siwik <michalsi...@gmail.com> wrote:

  http_get_api_zkat:
>     prober: http
>     timeout: 5s
>     http:
>       method: GET
>       headers:
>         Content-Type: "application/json"
>         fail_if_body_not_matches_regexp:
>         - "^{heheszki}$"
>

fail_if_body_not_matches_regexp is indented at the same level as
Content-Type before it. If you align it under "headers" it works.

Marcelo

-- 
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 prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CABiJYgbC%3D-7bWV_tLW6-Km9hxKfmE-Z60MvX-GGoK%2BvP5p5vHQ%40mail.gmail.com.

Reply via email to