metrics

package
v0.101.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package metrics provides metrics collection and monitoring functionality for Clowder applications

Index

Constants

This section is empty.

Variables

View Source
var DefaultImagePrometheusGateway = "quay.io/prometheus/pushgateway:v1.11.1"

DefaultImagePrometheusGateway defines the default Prometheus gateway image

View Source
var MetricsServiceMonitor = rc.NewMultiResourceIdent(ProvName, "metrics-service-monitor", &prom.ServiceMonitor{})

MetricsServiceMonitor represents the resource identifier for metrics service monitors

View Source
var PrometheusGatewayDeployment = rc.NewSingleResourceIdent(ProvName, "prometheus_gateway_deployment", &apps.Deployment{})

PrometheusGatewayDeployment represents the resource identifier for Prometheus gateway deployments

View Source
var PrometheusGatewayService = rc.NewSingleResourceIdent(ProvName, "prometheus_gateway_service", &core.Service{})

PrometheusGatewayService represents the resource identifier for Prometheus gateway services

View Source
var PrometheusGatewayServiceMonitor = rc.NewSingleResourceIdent(ProvName, "prometheus_gateway_service_monitor", &prom.ServiceMonitor{})

PrometheusGatewayServiceMonitor represents the resource identifier for Prometheus gateway service monitors

View Source
var PrometheusInstance = rc.NewSingleResourceIdent(ProvName, "prometheus_instance", &prom.Prometheus{})

PrometheusInstance represents the resource identifier for Prometheus instances

View Source
var PrometheusRole = rc.NewSingleResourceIdent(ProvName, "prometheus_role", &rbac.Role{})

PrometheusRole represents the resource identifier for Prometheus roles

View Source
var PrometheusRoleBinding = rc.NewSingleResourceIdent(ProvName, "prometheus_role_binding", &rbac.RoleBinding{})

PrometheusRoleBinding represents the resource identifier for Prometheus role bindings

View Source
var PrometheusServiceAccount = rc.NewSingleResourceIdent(ProvName, "prometheus_service_account", &core.ServiceAccount{})

PrometheusServiceAccount represents the resource identifier for Prometheus service accounts

View Source
var PrometheusSubscription = rc.NewSingleResourceIdent(ProvName, "prometheus_subscription", &sub.Subscription{})

PrometheusSubscription represents the resource identifier for Prometheus subscriptions

View Source
var ProvName = "metrics"

ProvName sets the provider name identifier

Functions

func GetMetrics

GetMetrics returns the correct metrics provider.

func GetPrometheusGatewayImage added in v0.101.0

func GetPrometheusGatewayImage(env *crd.ClowdEnvironment) string

GetPrometheusGatewayImage returns the Prometheus gateway image for the environment

func NewAppInterfaceMetrics

func NewAppInterfaceMetrics(p *p.Provider) (p.ClowderProvider, error)

NewAppInterfaceMetrics creates a new app-interface metrics provider instance

func NewMetricsProvider

func NewMetricsProvider(p *providers.Provider) (providers.ClowderProvider, error)

NewMetricsProvider creates a new metrics provider instance

func NewNoneMetricsProvider

func NewNoneMetricsProvider(p *providers.Provider) (providers.ClowderProvider, error)

NewNoneMetricsProvider creates a new metrics provider that does nothing

Types

This section is empty.

Directories

Path Synopsis
Package v1alpha1 contains the group version info +kubebuilder:object:generate=true +groupName=operators.coreos.com
Package v1alpha1 contains the group version info +kubebuilder:object:generate=true +groupName=operators.coreos.com

Jump to

Keyboard shortcuts

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