Documentation ¶
Index ¶
Constants ¶
View Source
const ( RemoteWriteTimeout = 30 * time.Second RemoteFlushDeadline = time.Minute )
Variables ¶
View Source
var ErrNotReady = errors.New("Scrape manager not ready")
Functions ¶
This section is empty.
Types ¶
type Exporter ¶
type Exporter struct { Config ExporterConfig Collector prometheus.Collector Stop func() }
func (*Exporter) Collect ¶
func (e *Exporter) Collect(ch chan<- prometheus.Metric)
func (*Exporter) Describe ¶
func (e *Exporter) Describe(ch chan<- *prometheus.Desc)
type ExporterConfig ¶
type ExporterConfig model.ApplicationInstrumentation
func (ExporterConfig) Address ¶
func (c ExporterConfig) Address() string
func (ExporterConfig) Equal ¶
func (c ExporterConfig) Equal(other ExporterConfig) bool
func (ExporterConfig) Labels ¶
func (c ExporterConfig) Labels() prometheus.Labels
func (ExporterConfig) String ¶
func (c ExporterConfig) String() string
type Metrics ¶
type Metrics struct {
// contains filtered or unexported fields
}
func NewMetrics ¶
func (*Metrics) HttpHandler ¶
func (*Metrics) ListenConfigUpdates ¶
Click to show internal directories.
Click to hide internal directories.