Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConstMetric ¶ added in v0.6.0
type ConstMetric struct {
// contains filtered or unexported fields
}
type HistogramMetric ¶ added in v0.6.0
type HistogramMetric struct {
// contains filtered or unexported fields
}
type MonitoringCollector ¶
type MonitoringCollector struct {
// contains filtered or unexported fields
}
func NewMonitoringCollector ¶
func (*MonitoringCollector) Collect ¶
func (c *MonitoringCollector) Collect(ch chan<- prometheus.Metric)
func (*MonitoringCollector) Describe ¶
func (c *MonitoringCollector) Describe(ch chan<- *prometheus.Desc)
type TimeSeriesMetrics ¶ added in v0.6.0
type TimeSeriesMetrics struct {
// contains filtered or unexported fields
}
func (*TimeSeriesMetrics) CollectNewConstHistogram ¶ added in v0.6.0
func (t *TimeSeriesMetrics) CollectNewConstHistogram(timeSeries *monitoring.TimeSeries, labelKeys []string, dist *monitoring.Distribution, buckets map[float64]uint64, labelValues []string)
func (*TimeSeriesMetrics) CollectNewConstMetric ¶ added in v0.6.0
func (t *TimeSeriesMetrics) CollectNewConstMetric(timeSeries *monitoring.TimeSeries, labelKeys []string, metricValueType prometheus.ValueType, metricValue float64, labelValues []string)
func (*TimeSeriesMetrics) Complete ¶ added in v0.6.0
func (t *TimeSeriesMetrics) Complete()
Click to show internal directories.
Click to hide internal directories.