monitoring

package
v0.0.0-...-919c007 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ActionRunnerRuntime = promauto.NewGaugeVec(
		prometheus.GaugeOpts{
			Subsystem: "action_runner",
			Name:      "runtime",
			Help:      "How long has an action runner been up.",
		},
		[]string{"label", "instance_id"},
	)

	RunnerProvisioningErrors = promauto.NewCounterVec(
		prometheus.CounterOpts{
			Subsystem: "action_runner",
			Name:      "provisioning_errors",
			Help:      "Errors managing runners on AWS.",
		},
		[]string{"error", "runner_label", "repo"},
	)
)

Functions

func UpdateActionRunnersRuntimeMetric

func UpdateActionRunnersRuntimeMetric()

Types

type ProvisioningError

type ProvisioningError int
const (
	ErrorBadRequest ProvisioningError = iota
	ErrorInvalidAuthentication
	ErrorInvalidPayload
	ErrorUnknownAction
	ErrorUnknownRunnerLabel
	ErrorRunnerCreation
	ErrorCheckingAvailableRunners
)

func (ProvisioningError) String

func (s ProvisioningError) String() string

Jump to

Keyboard shortcuts

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