Back to Gofr

Custom Metrics Example

examples/using-custom-metrics/README.md

1.56.4293 B
Original Source

Custom Metrics Example

This GoFr example demonstrates the use of custom metrics through a simple HTTP server that creates and populate metrics. GoFr by default pushes metrics to port 2121 on /metrics endpoint.

To run the example use the command below:

console
go run main.go