Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { JobName string Labels map[string]string PushGWUrl string PushInterval time.Duration // Used to prefix all tags with a custom namespace Namespace string }
Config is the config for the template collector
type Output ¶
type Output struct { output.SampleBuffer // contains filtered or unexported fields }
Output implements the lib.Output interface
func (*Output) Description ¶
func (*Output) GetLabels ¶
func (o *Output) GetLabels() prometheus.Labels
GetLabels gets labels from the Config
Click to show internal directories.
Click to hide internal directories.