spring boot - How to change the endpoint of prometheus metrics -


i trying expose metrics spring-boot service prometheus. unfortunately, both spring-boot actuator , prometheus simple-client expose metrics through /metrics endpoint.

how can endpoint of simple-client changed?

thanks

for java client specify endpoint when setting servlet, see https://github.com/robustperception/java_examples/blob/master/java_simple/src/main/java/io/robustperception/java_examples/javasimple.java#l39 example. can change endpoint whatever like.


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -