mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-10 03:13:15 +00:00
* Changed folder structure to allow multi group registration * included actions.github.com directory for resources and controllers * updated go module to actions/actions-runner-controller * publish arc packages under actions-runner-controller * Update charts/actions-runner-controller/docs/UPGRADING.md Co-authored-by: Yusuke Kuoka <ykuoka@gmail.com>
15 lines
422 B
Go
15 lines
422 B
Go
// Package metrics provides the metrics of custom resources such as HRA.
|
|
//
|
|
// This depends on the metrics exporter of kubebuilder.
|
|
// See https://book.kubebuilder.io/reference/metrics.html for details.
|
|
package metrics
|
|
|
|
import (
|
|
"sigs.k8s.io/controller-runtime/pkg/metrics"
|
|
)
|
|
|
|
func init() {
|
|
metrics.Registry.MustRegister(runnerDeploymentMetrics...)
|
|
metrics.Registry.MustRegister(horizontalRunnerAutoscalerMetrics...)
|
|
}
|