Documentation ¶
Index ¶
Constants ¶
View Source
const ( NameLabelKey = "name" NamespaceLabelKey = "namespace" TypeLabelKey = "type" RuntimeLabelKey = "runtime" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PrometheusStatsCollector ¶
type PrometheusStatsCollector struct { FunctionConfiguredStatusGaugeVec *prometheus.GaugeVec FunctionBuiltStatusGaugeVec *prometheus.GaugeVec FunctionRunningStatusGaugeVec *prometheus.GaugeVec // contains filtered or unexported fields }
func NewPrometheusStatsCollector ¶
func NewPrometheusStatsCollector() *PrometheusStatsCollector
func (*PrometheusStatsCollector) Register ¶
func (p *PrometheusStatsCollector) Register()
func (*PrometheusStatsCollector) UpdateReconcileStats ¶
func (p *PrometheusStatsCollector) UpdateReconcileStats(f *serverlessv1alpha2.Function, cond serverlessv1alpha2.Condition)
Click to show internal directories.
Click to hide internal directories.