Skip to content

Deadlock on startup with exemplar #46763

@nuharaf

Description

@nuharaf

Hello, I encounter deadlock on application startup when using micrometer trace and prometheus registry. I also happen to use loki-logback-appender (https://github.com/loki4j/loki-logback-appender)

Based on my search on github, this might be related to metric-trace circularity.

Right now I use workaround like suggested in this issue (spring-projects/spring-framework#32996 (comment)) and it seem to work.
At the same time I also disable loki4j metric for now

Spring Boot Version : 3.5.3

deadlock.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions