Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrganizationCollector ¶
type OrganizationCollector struct {
// contains filtered or unexported fields
}
OrganizationCollector collects metrics about the account.
func NewOrganizationCollector ¶
func NewOrganizationCollector(logger log.Logger, client *githubql.Client, organizations []string, maxRepos int) *OrganizationCollector
NewOrganizationCollector returns a new OrganizationCollector.
func (*OrganizationCollector) Collect ¶
func (c *OrganizationCollector) Collect(ch chan<- prometheus.Metric)
Collect is called by the Prometheus registry when collecting metrics.
func (*OrganizationCollector) Describe ¶
func (c *OrganizationCollector) Describe(ch chan<- *prometheus.Desc)
Describe sends the super-set of all possible descriptors of metrics collected by this Collector.
Click to show internal directories.
Click to hide internal directories.