prometheus

package
v0.10.30 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 27, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CountDestinationsConfigured = promauto.NewGauge(prometheus.GaugeOpts{
	Name: "gickup_destinations",
	Help: "The count of destinations configured",
})
View Source
var CountReposDiscovered = promauto.NewGaugeVec(prometheus.GaugeOpts{
	Name: "gickup_repos_discovered",
	Help: "The count of sources configured",
}, []string{"source_name", "config_number"})
View Source
var CountSourcesConfigured = promauto.NewGauge(prometheus.GaugeOpts{
	Name: "gickup_sources",
	Help: "The count of sources configured",
})
View Source
var DestinationBackupsComplete = promauto.NewCounterVec(prometheus.CounterOpts{
	Name: "gickup_destinations_complete",
	Help: "The count of destination to which a backup was written",
}, []string{"destination_type"})
View Source
var JobDuration = promauto.NewSummary(prometheus.SummaryOpts{
	Name: "gickup_job_duration",
	Help: "The duration of scheduled jobs started since process startup",
})
View Source
var JobsComplete = promauto.NewCounter(prometheus.CounterOpts{
	Name: "gickup_jobs_complete",
	Help: "The count of scheduled jobs completed since process startup",
})
View Source
var JobsStarted = promauto.NewCounter(prometheus.CounterOpts{
	Name: "gickup_jobs_started",
	Help: "The count of scheduled jobs started since process startup",
})
View Source
var RepoSuccess = promauto.NewGaugeVec(prometheus.GaugeOpts{
	Name: "gickup_repo_success",
	Help: "See if backup was successful",
}, []string{"hoster", "repository", "owner", "type", "path"})
View Source
var RepoTime = promauto.NewGaugeVec(prometheus.GaugeOpts{
	Name: "gickup_repo_time",
	Help: "How long did the task take",
}, []string{"hoster", "repository", "owner", "type", "path"})
View Source
var SourceBackupsComplete = promauto.NewCounterVec(prometheus.CounterOpts{
	Name: "gickup_sources_complete",
	Help: "The count of source backups completed",
}, []string{"source_name"})

Functions

func Serve

func Serve(conf types.PrometheusConfig)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL