Documentation
¶
Index ¶
Constants ¶
View Source
const ( // PrometheusNamespace is the static namespace added to all our metrics. PrometheusNamespace string = "gpe" // The job name which deploys pages // https://docs.gitlab.com/ee/user/project/pages/#how-it-works PagesJobName string = "pages" )
Variables ¶
This section is empty.
Functions ¶
func NewGitlabPagesExporter ¶
func NewGitlabPagesExporter( apiUrl string, adminToken string, setMetricsForProjectsWithoutPages bool, ) *gitlabPagesExporter
NewGitlabPagesExporter creates a new instance of the exporter. Checks can be started with .Run().
Types ¶
type CheckState ¶
type CheckState string
CheckState defines the current state of the exporter.
const ( Failed CheckState = "failed" Succeeded CheckState = "succeeded" )
Click to show internal directories.
Click to hide internal directories.