Summary requestLatency | not displaying over prometheus endpoint

40 views
Skip to first unread message

Jay Mishra

unread,
Jul 21, 2022, 4:58:58 AM7/21/22
to Prometheus Users
Hi ,

I am following https://github.com/prometheus/client_java#summary  - to find the latency distributons of my @GET request. But after integrations, the metric "requests_latency_seconds"  is not exposed. 

I have included below maven dependency for Prometheus :

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

Any clue or idea ?

Thanks,
Jay

Jay Mishra

unread,
Jul 21, 2022, 6:22:43 AM7/21/22
to Prometheus Users
For me it looks - I am missing any further configuration. 

Moreover, I have added prometheus.yml config file at both locations of SpringCodeRepo and Prometheus server side.

Jay Mishra

unread,
Jul 21, 2022, 9:57:49 AM7/21/22
to Prometheus Users
Reply all
Reply to author
Forward
0 new messages