package
0.1.0
Repository: https://github.com/src-d/gitcollector.git
Documentation: pkg.go.dev

# Functions

NewCollector builds a new Collector.
NewCollectorByOrg builds a new CollectorByOrg.
PrepareDB performs the necessary operations to send metrics to a postgres database.
SendToDB is a SendFn to persist metrics on a database.

# Structs

Collector is an implementation of gitcollector.MetricsCollector.
CollectorByOrg plays as a reverse proxy Collector for several organizations.
CollectorOpts represenst configuration options for a Collector.

# Type aliases

SendFn is the function a Collector will use to export metrics.