Skip to content

Missing micrometer registry classes #1225

Closed

Description

@aclowkey

After adding the dependency, I can use the Micrometer, but can't use any of the registry classes.
I.e. the example doesnt work because the PrometheusMeterRegistry isn't found.:

  use(new Micrometer()
     .prometheus(PrometheusMeterRegistry::new)
  );

Dependency..

<dependency>
 <groupId>org.jooby</groupId>
 <artifactId>jooby-micrometer</artifactId>
 <version>1.5.0</version>
</dependency>

I tried deleting ~/.m2/repositry, no luck.

Activity

  1. aclowkey commented on Aug 5, 2018

    @aclowkey
    ContributorAuthor

    I didn't realize I had to add the dependencies my self. Should this be in the docs?
    Solved by adding:

        <dependency>
          <groupId>io.micrometer</groupId>
          <artifactId>micrometer-registry-prometheus</artifactId>
        </dependency>
    
  2. added this to the 1.5.1 milestone on Aug 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions