https://github.com/dalee/prom-init
Simple library to automate prometheus metrics serving.
https://github.com/dalee/prom-init
Last synced: over 1 year ago
JSON representation
Simple library to automate prometheus metrics serving.
- Host: GitHub
- URL: https://github.com/dalee/prom-init
- Owner: Dalee
- License: mit
- Created: 2018-10-22T15:50:25.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-01-21T00:24:24.000Z (over 6 years ago)
- Last Synced: 2024-06-21T09:09:53.497Z (about 2 years ago)
- Language: Go
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Prom init
Simple library to automate prometheus metrics serving.
Example:
```go
package main
import (
_ "github.com/Dalee/prom-init"
"time"
)
func main() {
time.Sleep(time.Second * 100)
}
```
Now you have a running prometheus on `:7070`.