Documentation ¶
Overview ¶
This controller reconciles metrics for cloud resources (currently redis and postgres) It takes a sync the world approach, reconciling all cloud resources every set period of time (currently every 5 minutes)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudMetricsReconciler ¶
PostgresReconciler reconciles a Postgres object
func New ¶
func New(mgr manager.Manager) (*CloudMetricsReconciler, error)
New returns a new reconcile.Reconciler
func (*CloudMetricsReconciler) SetupWithManager ¶
func (r *CloudMetricsReconciler) SetupWithManager(mgr ctrl.Manager) error
type CroGaugeMetric ¶
type CroGaugeMetric struct { Name string GaugeVec *prometheus.GaugeVec ProviderType map[string]providers.CloudProviderMetricType }
CroGaugeMetric allows for a mapping between an exposed prometheus metric and multiple cloud provider specific metric
Click to show internal directories.
Click to hide internal directories.