| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [View Raw Code] [Original HTTPS Page] |
This example is built as part of the client_java project.
./mvnw packageThe build creates a JAR file with the example application in ./examples/example-exporter-httpserver/target/.
java -jar ./examples/example-exporter-httpserver/target/example-exporter-httpserver.jarAccessing http://localhost:9400/metrics with a Web browser should yield an example of a counter metric.
# HELP uptime_seconds_total total number of seconds since this application was started
# TYPE uptime_seconds_total counter
uptime_seconds_total 301.0
The exporter supports a debug URL parameter to quickly view other formats in your Web browser:
| Back | FazBrowse Home | New Git URL |