command
module
Version:
v0.0.0-...-c24f844
Opens a new window with list of versions in this module.
Published: Aug 10, 2020
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
golang-sample-for-prometheus-pushgateway
This app is a sample for using pushgateway of Prometheus.
It restarts every 10 seconds and sends metrics to the local pushgateway.
Prometheus scrapes app metrics through push gateway.
How To Use
1. Docker Build
docker build -t golang-sample-for-prometheus-pushgateway .
2. Docker-compose Up
docker-compose up
3. Access To Prometheus
http://localhost:9090
GoDoc Links
- Use environment variables
- Use Prometheus
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.