Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventExporter ¶
type EventExporter struct {
// contains filtered or unexported fields
}
func NewEvenExporter ¶
func NewEvenExporter(registry *prometheus.Registry, channel string, logger logrus.FieldLogger) *EventExporter
func (*EventExporter) Flush ¶
func (e *EventExporter) Flush()
func (*EventExporter) Handler ¶
func (e *EventExporter) Handler() http.Handler
func (*EventExporter) MetricsHandlerFunc ¶
func (e *EventExporter) MetricsHandlerFunc() http.HandlerFunc
type PrometheusAdapter ¶
type PrometheusAdapter struct { Subsystem string Namespace string // contains filtered or unexported fields }
func NewPrometheusAdapter ¶
func NewPrometheusAdapter(registry *prometheus.Registry, logger logrus.FieldLogger, ns, sub string) *PrometheusAdapter
func (*PrometheusAdapter) AddMetricSamples ¶
func (a *PrometheusAdapter) AddMetricSamples(samples []metrics.SampleContainer)
func (*PrometheusAdapter) Handler ¶
func (a *PrometheusAdapter) Handler() http.Handler
Click to show internal directories.
Click to hide internal directories.