---
title: "Discussion on \"Secure your Spring Boot Actuator Endpoints and configure Prometheus with Basic Authentication\" | Hashnode"
description: "Discussion on \"Secure your Spring Boot Actuator Endpoints and configure Prometheus with Basic Authentication\". When setting up Prometheus for the first time it might not work. If you enable debug logs you will see that Prometheus cannot scrape the actuator logs.\nTo fix this we need to configure your Spring App and Prometheus with Basic Authentication and conf..."
url: "https://hashnode.com/posts/secure-your-spring-boot-actuator-endpoints-and-configure-prometheus-with-basic-authentication/65e24745aa14683a591dfb97"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Secure your Spring Boot Actuator Endpoints and configure Prometheus with Basic Authentication](https://tschuehly.hashnode.dev/secure-your-spring-boot-actuator-endpoints-and-configure-prometheus-with-basic-authentication?utm_source=hashnode&utm_medium=feed)

When setting up Prometheus for the first time it might not work. If you enable debug logs you will see that Prometheus cannot scrape the actuator logs. To fix this we need to configure your Spring App and Prometheus with Basic Authentication and conf...

Jun 18, 2023 · 2 min read · tschuehly.hashnode.dev  
Updated Oct 2, 2024  
Read the article

-   [#prometheus](https://hashnode.com/tag/prometheus)
-   [#springboot](https://hashnode.com/tag/springboot)
-   [#spring](https://hashnode.com/tag/spring)
-   [#spring-framework](https://hashnode.com/tag/spring-framework)
-   [#observability](https://hashnode.com/tag/observability)
-   [#actuator](https://hashnode.com/tag/actuator)

## Written by

[Thomas Schilling](https://hashnode.com/@tschuehly)

@tschuehly

  
[View profile](https://hashnode.com/@tschuehly)

Youngest Speaker @spring\_io - Spring ViewComponent creator - Bootstrapping PhotoQuest

Thomas Schühly’s server-side rendering journey started as a developer trying to make life easier while developing his first bootstrapped product in his free time. Creating Spring ViewComponent enabled him to be the youngest Speaker at the largest European Spring conference and build awesome software full-time with his open-source library at alanda.io. He regularly talks at Java User Groups about htmx and server-side rendering with Spring while contributing to the open-source community. PhotoQuest

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
