DEV Community

Cover image for JSON + Prometheus SECURELY
Adam Gardner
Adam Gardner

Posted on

JSON + Prometheus SECURELY

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.

Top comments (0)

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

👋 Kindness is contagious

DEV is better (more customized, reading settings like dark mode etc) when you're signed in!

Okay