Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrFlagParse = errors.New("FlagParseErr")
Functions ¶
Types ¶
type Input ¶
type Input struct { Logger *zap.Logger Flags TelemetryFlags Stdin io.Reader }
func (Input) CustomMetricsHandlerFor ¶
func (t Input) CustomMetricsHandlerFor(reg prometheus.Gatherer, mb MetricsBuilder) http.Handler
func (Input) PrometheusMetricsHandler ¶
func (Input) PrometheusMetricsHandlerFor ¶
func (t Input) PrometheusMetricsHandlerFor(r *prometheus.Registry) http.Handler
type MetricsBuilder ¶
Click to show internal directories.
Click to hide internal directories.