Versions in this module Expand all Collapse all v0 v0.1.3 Jun 22, 2022 Changes in this version + type EventExporter struct + func NewEvenExporter(registry *prometheus.Registry, channel string, logger logrus.FieldLogger) *EventExporter + func (e *EventExporter) Flush() + func (e *EventExporter) Handler() http.Handler + func (e *EventExporter) MetricsHandlerFunc() http.HandlerFunc + type PrometheusAdapter struct + Namespace string + Subsystem string + func NewPrometheusAdapter(registry *prometheus.Registry, logger logrus.FieldLogger, ns, sub string) *PrometheusAdapter + func (a *PrometheusAdapter) AddMetricSamples(samples []metrics.SampleContainer) + func (a *PrometheusAdapter) Handler() http.Handler