Skip to content

The value of the tomcat.threads.config.max metric is always -1, irrespective of the configured maximum number of threads #40957

Closed
@lass9436

Description

@lass9436

Bug

my application.yml is

application.yml

management:
  server:
    port: 8080
  endpoint:
    health:
      show-details: always
  endpoints:
    web:
      exposure:
        include: "*"
server:
  tomcat:
    threads:
      max: 400
      min-spare: 10
    mbeanregistry:
      enabled: true

but

http://localhost:8080/actuator/prometheus
1

I don't know why not working.

Environment

  • Spring Boot version: 3.3.0
  • JDK version: 17
  • OS: Windows 10

solution

my only solution is downgrading spring boot 3.3.0 to 3.2.6

Fortunately, it works successfully in 3.2.6, but I report this bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: regressionA regression from a previous release

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions