Skip to content

package io.prometheus.client.exemplars.tracer.otel_agent when bumping to latest 3.4.5 #23

@patpatpat123

Description

@patpatpat123

Hello team,

This is my first post in this repo.

If not anything else, I just wanted to say thanks for this project.

It is easy to understand and easy to follow.

I wanted to reach out with a small enhancement request or issue, if possible.

I am trying to use exemplar in a Spring Boot micrometer project, with the latest stack (Spring Boot 3.4.5 as of this writing)

Here is part the pom:

<parent>
		<groupId>org.springframework.boot</groupId>
		<artifactId>spring-boot-starter-parent</artifactId>
		<version>3.4.5</version>
		<relativePath/> <!-- lookup parent from repository -->
	</parent>
	<groupId>com.example</groupId>
	<artifactId>app</artifactId>
	<version>0.0.1</version>
	<name>app</name>
	<description>Demo project for Spring Boot Observability</description>
	<properties>
		<java.version>24</java.version>
	</properties>

	<dependencies>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-web</artifactId>
		</dependency>

		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-actuator</artifactId>
		</dependency>

		<dependency>
			<groupId>io.micrometer</groupId>
			<artifactId>micrometer-registry-prometheus</artifactId>
		</dependency>

Please note, I have changed a bit of the dependencies, but not to alter this original pom, but just to put things to the latest (as of spring managed BOM)

From there, I will always get this issue at compile time:

package io.prometheus.client.exemplars.tracer.otel_agent does not exist

Image

Question 1: Could you please bump everything to the latest, managed by Spring BOM instead of some specific versions?

Question 2: Would you know how to resolve this issue?

Thank you for your time reading this, and wishing you a good day!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions