Comments (2)
Thanks for the report but this is out of Spring Boot's control. With a dependency on io.micrometer:micrometer-registry-prometheus:1.13.0
(and no Spring Boot dependencies), the following will fail in the way that you have described:
package com.example.gh_41136;
import io.prometheus.metrics.core.metrics.Counter;
public class Gh41136Application {
public static void main(String[] args) {
Counter.builder().name("test_metric").build().inc();
}
}
Interestingly, the problem does not occur with a dependency on only io.prometheus:prometheus-metrics-core:1.2.1
so the failure appears to be related to the combination of dependencies that are pulled in through micrometer-registry-prometheus
. Please open a Micrometer issue so that they can investigate.
from spring-boot.
Thank you @wilkinsona . Reported: micrometer-metrics/micrometer#5225
from spring-boot.
Related Issues (20)
- Reference 'xref:#deployment.efficient.cds' in invalid but didn't fail the build
- When virtual threads are enabled, configure Spring Integration's task scheduler to use them HOT 6
- Documentation wrongly states that zipkin-sender-urlconnection is needed
- Use Framework's NoOpResponseErrorHandler
- Document tracing support for RestClient
- Document tracing support for RestClient
- Upgrade to Liquibase 4.28.0
- Upgrade to GitHub Changelog Generator 0.0.11
- Upgrade to GitHub Changelog Generator 0.0.11
- Upgrade to GitHub Changelog Generator 0.0.11
- Add test auto-configuration for MockMvcTester
- build-image failure after docker desktop update HOT 9
- Remove fail fast logic for unsupported versions of Gradle
- The "spring-boot-starter-test" package:3.1.5" carries with it an incomplete implementation of the "json" library, which leads to an error in runtime HOT 2
- Restore versioned micrometer links
- JPMS: missing jakarta dependencies HOT 4
- JPMS: Autoconfigure HibernateJpaConfiguration HOT 1
- Restore versioned micrometer links
- Can't fetch/build javadoc after upgrading to 3.3.x HOT 3
- NoSuchMethodException on org.apache.activemq.ActiveMQConnectionFactory.<init> when using spring-boot-starter-activemq in a native image HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-boot.