Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prometheus metrics

Simple example how to use prometheus/client_golang

To launch

go build -o app && ./app

use for create requests (time sleep in milliseconds)

curl --request GET --url 'http://localhost:8080/?sleep=5'

use for retrieve metrics

curl --request GET --url 'http://localhost:9090/metrics'

curl --request GET --url 'http://localhost:9090/metrics' | grep http_request

About

No description, website, or topics provided.

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages