Documentation
¶
Index ¶
- Constants
- func InitPathsCache(pathsCacheTTL time.Duration, pathsCachePurgeInterval time.Duration)
- func MetricLabelsFromPath(path string, prefix string) ([]*prompb.Label, error)
- func MetricLabelsFromTags(tags map[string]string, prefix string) ([]*prompb.Label, error)
- func ToDatapoints(s *model.Sample, format Format, prefix string, rules []*config.Rule, ...) ([]string, error)
- type Format
Constants ¶
View Source
const ( FormatCarbon Format = 1 FormatCarbonTags = 2 FormatCarbonOpenMetrics = 3 )
Variables ¶
This section is empty.
Functions ¶
func InitPathsCache ¶
func MetricLabelsFromPath ¶
func MetricLabelsFromTags ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.