Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricsStore ¶
type MetricsStore struct {
// contains filtered or unexported fields
}
MetricsStore stores metrics for a single scrape by a Prometheus server.
func NewMetricsStore ¶
func NewMetricsStore(headers []string) *MetricsStore
NewMetricsStore returns a new MetricsStore
func (*MetricsStore) Add ¶
func (s *MetricsStore) Add(family ...*metric.Family)
Click to show internal directories.
Click to hide internal directories.