Hi everyone,

I'm not getting the "http_requests_total" metrics from /actuator/prometheus
below are the configuration details :

In pom.xml file i  configured these details :

<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-actuator</artifactId>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-configuration-processor</artifactId>
<optional>true</optional>
</dependency> in application.properties i configured below deatils:
##Actuator Endpoints
management.metrics.web.server.auto-time-requests=true
management.metrics.web.server.requests-metric-name=http.server.requests
management.metrics.web.server.request.autocomplete=true
management.metrics.web.server.request.autocomplete.keys=
method,uri,clientName
management.metrics.web.server.tags.uri=uri
management.metrics.web.server.tags.status=auto
management.metrics.web.server.tags.outcome=auto
management.metrics.web.server.tags.exception=auto
management.metrics.web.server.tags.clientName=clientName
management.metrics.binders.http.enabled=true
management.metrics.binders.http.server.request-tags-to-add=URI,http.method
management.endpoints.web.exposure.include=prometheus,health,info
spring.liquibase.enabled=false
spring.liquibase.change-log=classpath:db/liquibase/master.xml

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/CACqRg0aag%2BEERS7qe%3Dm-kBEOHPv9A9YuRh1WKUO_JUPvX_bgzg%40mail.gmail.com.

Reply via email to