Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.x Pokemons example start-up logs that it cannot find MP metrics MetricRegistry class; missing metrics? #7955

Closed
tjquinno opened this issue Nov 6, 2023 · 0 comments · Fixed by #8129
Assignees
Labels
4.x Version 4.x bug Something isn't working jpa/jta metrics P2
Milestone

Comments

@tjquinno
Copy link
Member

tjquinno commented Nov 6, 2023

Environment Details

  • Helidon Version: 4.x
  • Helidon SE or Helidon MP
  • JDK version:
  • OS:
  • Docker version (if applicable):

Problem Description

The examples/integrations/cdi/pokemons example builds and seems to run correctly but logs the following message during server start-up:

Nov 06, 2023 12:03:22 PM org.jboss.weld.bootstrap.MissingDependenciesRegistry handleResourceLoadingException
INFO: WELD-000119: Not generating any bean definitions from 
io.helidon.integrations.datasource.hikaricp.cdi.MicroProfileMetricsTrackerFactory because of underlying class loading error: 
Type org.eclipse.microprofile.metrics.MetricRegistry not found.  
If this is unexpected, enable DEBUG logging to see the full error.

This might be preventing Hikari-related metrics from being available.

Steps to reproduce

cd examples/integrations/cdi/pokemons
mvn package

You'll see the info message noted above.

@tjquinno tjquinno added bug Something isn't working metrics jpa/jta 4.x Version 4.x labels Nov 6, 2023
@tjquinno tjquinno changed the title 4.x Pokemons example start-up logs that it cannot find MP metrics MetricRegistry class; problem? 4.x Pokemons example start-up logs that it cannot find MP metrics MetricRegistry class; missing metrics? Nov 6, 2023
@m0mus m0mus added the P2 label Dec 7, 2023
@m0mus m0mus added this to the 4.0.2 milestone Dec 7, 2023
@m0mus m0mus added this to Backlog Aug 12, 2024
@m0mus m0mus moved this to Closed in Backlog Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.x Version 4.x bug Something isn't working jpa/jta metrics P2
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants