Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 475 Bytes

README.md

File metadata and controls

13 lines (7 loc) · 475 Bytes

micrometer-prometheus-agent

Prometheus Agent

Build the agent with mvn package.

Run an application with java -javaagent:micrometer-prometheus-agent.jar -jar application.jar.

This exposes a Prometheus scrape endpoint on http://YOURHOST:7001/prometheus.

What is this?

This project is a "what-if" thought experiment on adding Micrometer instrumentation as an agent that can be statically or dynamically loaded into an application without adding a dependency.