Documentation ¶
Overview ¶
Package metrics provides command line flags for configuring the metrics backend.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct { Backend string HTTPRoute string // endpoint name to expose metrics, e.g. for scraping // contains filtered or unexported fields }
Builder provides command line options to configure metrics backend used by Jaeger executables.
func (*Builder) Bind ¶
Bind defines command line flags and binds their values to the builder fields.
func (*Builder) CreateMetricsFactory ¶
CreateMetricsFactory creates a metrics factory based on the configured type of the backend. If the metrics backend supports HTTP endpoint for scraping, it is stored in the builder and can be later added by RegisterHandler function.
func (*Builder) RegisterHandler ¶
RegisterHandler adds an endpoint to the mux if the metrics backend supports it.
Click to show internal directories.
Click to hide internal directories.