Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Namespace = "jitsi"
Functions ¶
func PathToMetricName ¶
Types ¶
type BasicMetricOption ¶ added in v0.1.0
type BasicMetricOption func(*BasicMetricOptions)
func WithComponent ¶ added in v0.1.0
func WithComponent(component string) BasicMetricOption
func WithConstLabels ¶ added in v0.1.0
func WithConstLabels(constLabels prometheus.Labels) BasicMetricOption
func WithLabelGetter ¶ added in v0.1.0
func WithLabelGetter(getLabels LabelGetter) BasicMetricOption
func WithVariableLabels ¶ added in v0.1.0
func WithVariableLabels(variableLabels []string) BasicMetricOption
type BasicMetricOptions ¶ added in v0.1.0
type BasicMetricOptions struct {
// contains filtered or unexported fields
}
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
func NewCollector ¶
func (*Collector) Collect ¶
func (c *Collector) Collect(ch chan<- prometheus.Metric)
func (*Collector) Describe ¶
func (c *Collector) Describe(ch chan<- *prometheus.Desc)
type LabelGetter ¶ added in v0.1.0
type Metric ¶ added in v0.1.0
type Metric struct {
// contains filtered or unexported fields
}
func NewBasicMetric ¶ added in v0.1.0
func NewBasicMetric(path string, valueType prometheus.ValueType, help string, opts ...BasicMetricOption) Metric
func NewMetric ¶ added in v0.1.0
func NewMetric(desc *prometheus.Desc, getter MetricGetter) Metric
type MetricGetter ¶
type MetricGetter func(*prometheus.Desc, string) prometheus.Metric
func BoolGetter ¶ added in v0.1.0
func BoolGetter(path string, valueType prometheus.ValueType, getLabel LabelGetter) MetricGetter
func FloatGetter ¶ added in v0.1.0
func FloatGetter(path string, valueType prometheus.ValueType, getLabel LabelGetter) MetricGetter
Click to show internal directories.
Click to hide internal directories.