JSON + Prometheus SECURELY
Adam Gardner

Adam Gardner @agardnerit

About: CNCF Ambassador, DevRel working in Observability. I blog at https://agardner.net and YouTube at https://www.youtube.com/@agardnerit

Joined:
Dec 8, 2023

JSON + Prometheus SECURELY

Publish Date: Jan 25
0 0

A while ago I wrote this post where I demonstrated how to scrape JSON-based metrics into Prometheus.

A YouTube user commented to ask how they'd do this securely - ie. if the endpoint was behind basic auth.

In this new video, I demonstrate how to scrape a JSON endpoint that is "secured" behind basic authentication. As a bonus, I also put the json_exporter probe endpoints behind basic authentication.

As always a GitHub repo is available for the hands-on.

Comments 0 total

    Add comment