Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Convert ¶ added in v0.3.0
func Convert(r []*loggregator_v2.Envelope) map[string]*dto.MetricFamily
Types ¶
type MetricsCollection ¶ added in v0.4.0
type MetricsCollection struct { MetricTypes map[string]string MetricsByType map[string][]string // contains filtered or unexported fields }
func CreateMetricsCollection ¶ added in v0.4.0
func CreateMetricsCollection() MetricsCollection
func (*MetricsCollection) Append ¶ added in v0.4.0
func (metrics *MetricsCollection) Append( metricFams *map[string]*dto.MetricFamily, ) error
func (*MetricsCollection) Write ¶ added in v0.4.0
func (metrics *MetricsCollection) Write(writer io.Writer)
Click to show internal directories.
Click to hide internal directories.