Skip to content

Latest commit

 

History

History
7 lines (6 loc) · 423 Bytes

README.md

File metadata and controls

7 lines (6 loc) · 423 Bytes

prom-exporter

Repo for learning how to export Prometheus metrics. This contains the complete code of the snippets in this dev.to article.

Instructions to run:

  • Have Prometheus running on port 9090 and make sure port 2112 is not in use.
  • Async exporter: go run async.go temp.go.
  • Sync exporter: go run sync.go temp.go.