Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SupportedOutputFormats = map[string]OutputFormat{ string(OpenMetricsFormat): OpenMetricsFormat, string(CSVFormat): CSVFormat, }
Functions ¶
This section is empty.
Types ¶
type FetcherConfig ¶
type FetcherConfig interface { UrlMetricsFetcher() provider.UrlMetricsFetcher File() string Interval() time.Duration }
type MetricEntryFetcher ¶
func NewFetcher ¶
func NewFetcher(conf FetcherConfig) (MetricEntryFetcher, error)
type OutputFormat ¶
type OutputFormat string
const ( OpenMetricsFormat OutputFormat = "open-metrics" CSVFormat OutputFormat = "csv" )
Click to show internal directories.
Click to hide internal directories.