Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultMetricGatherer ¶
func DefaultMetricGatherer() ([]*dto.MetricFamily, time.Time, error)
func WithMetricGatherer ¶
func WithMetricGatherer(g MetricGatherer) func(*MetricsExporter)
Types ¶
type MetricGatherer ¶
type MetricGatherer func() ([]*dto.MetricFamily, time.Time, error)
type MetricSender ¶
type MetricsExporter ¶
type MetricsExporter struct {
	// contains filtered or unexported fields
}
    func New ¶
func New( log *logrus.Entry, sender MetricSender, exportInterval time.Duration, opts ...func(*MetricsExporter), ) *MetricsExporter
func (*MetricsExporter) Run ¶
func (me *MetricsExporter) Run(ctx context.Context)
 Click to show internal directories. 
   Click to hide internal directories.