metrics

package
v0.1.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CollectEnterpriseMetric

func CollectEnterpriseMetric(ctx context.Context, r *runner.Runner) error

CollectOrganizationMetric collects the metrics for the enterprise objects

func CollectHealthMetric

func CollectHealthMetric(controllerInfo params.ControllerInfo) error

func CollectInstanceMetric

func CollectInstanceMetric(ctx context.Context, r *runner.Runner) error

CollectInstanceMetric collects the metrics for the runner instances reflecting the statuses and the pool they belong to.

func CollectObjectMetric

func CollectObjectMetric(ctx context.Context, r *runner.Runner, duration time.Duration)

func CollectOrganizationMetric

func CollectOrganizationMetric(ctx context.Context, r *runner.Runner) error

CollectOrganizationMetric collects the metrics for the organization objects

func CollectPoolMetric

func CollectPoolMetric(ctx context.Context, r *runner.Runner) error

CollectPoolMetric collects the metrics for the pool objects

func CollectProviderMetric

func CollectProviderMetric(ctx context.Context, r *runner.Runner) error

func CollectRepositoryMetric

func CollectRepositoryMetric(ctx context.Context, r *runner.Runner) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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