Documentation ¶
Index ¶
- Constants
- type MetricsModule
- func (m *MetricsModule) RegisterFloat64Counter(name string, description string) metric.Float64Counter
- func (m *MetricsModule) RegisterFloat64Gauge(name string, description string) metric.Float64Gauge
- func (m *MetricsModule) RegisterFloat64ObservableGauge(name string, options ...metric.Float64ObservableGaugeOption) metric.Float64ObservableGauge
- func (m *MetricsModule) RegisterGauge(name string, description string) metric.Float64Gauge
- func (m *MetricsModule) RegisterHistogram(name string, description string, buckets ...float64) metric.Float64Histogram
- func (m *MetricsModule) RegisterInt64Counter(name string, description string) metric.Int64Counter
Constants ¶
View Source
const (
MeterName = "vArmor"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricsModule ¶
func NewMetricsModule ¶
func NewMetricsModule(log logr.Logger, enabled bool, refresh int) *MetricsModule
func (*MetricsModule) RegisterFloat64Counter ¶
func (m *MetricsModule) RegisterFloat64Counter(name string, description string) metric.Float64Counter
func (*MetricsModule) RegisterFloat64Gauge ¶
func (m *MetricsModule) RegisterFloat64Gauge(name string, description string) metric.Float64Gauge
func (*MetricsModule) RegisterFloat64ObservableGauge ¶
func (m *MetricsModule) RegisterFloat64ObservableGauge(name string, options ...metric.Float64ObservableGaugeOption) metric.Float64ObservableGauge
func (*MetricsModule) RegisterGauge ¶
func (m *MetricsModule) RegisterGauge(name string, description string) metric.Float64Gauge
func (*MetricsModule) RegisterHistogram ¶
func (m *MetricsModule) RegisterHistogram(name string, description string, buckets ...float64) metric.Float64Histogram
func (*MetricsModule) RegisterInt64Counter ¶
func (m *MetricsModule) RegisterInt64Counter(name string, description string) metric.Int64Counter
Click to show internal directories.
Click to hide internal directories.