Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetStatsFunc ¶
type Options ¶
type Options struct {
GetStats GetStatsFunc
Registry *prometheus.Registry
}
type StatusAPI ¶
type StatusAPI struct {
// contains filtered or unexported fields
}
TODO(fpetkovski): replace with upstream struct after dependency update.
func (*StatusAPI) Register ¶
func (sapi *StatusAPI) Register(r *route.Router, tracer opentracing.Tracer, logger log.Logger, ins extpromhttp.InstrumentationMiddleware, logMiddleware *logging.HTTPServerMiddleware)
type TSDBStatus ¶
type TSDBStatus struct {
HeadStats v1.HeadStats `json:"headStats"`
SeriesCountByMetricName []Stat `json:"seriesCountByMetricName"`
LabelValueCountByLabelName []Stat `json:"labelValueCountByLabelName"`
MemoryInBytesByLabelName []Stat `json:"memoryInBytesByLabelName"`
SeriesCountByLabelValuePair []Stat `json:"seriesCountByLabelValuePair"`
}
TSDBStatus has information of cardinality statistics from postings.
Click to show internal directories.
Click to hide internal directories.