Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EmptyPrometheusExporterBuilderOption ¶
type EmptyPrometheusExporterBuilderOption struct{}
EmptyPrometheusExporterBuilderOption does not alter the configuration. It can be embedded in another structure to build custom options.
This API is EXPERIMENTAL.
type PrometheusExporterBuilder ¶
type PrometheusExporterBuilder struct {
// contains filtered or unexported fields
}
func NewPrometheusExporterBuilder ¶
func NewPrometheusExporterBuilder(opts ...PrometheusExporterBuilderOption) *PrometheusExporterBuilder
func (*PrometheusExporterBuilder) ApplyOptions ¶
func (o *PrometheusExporterBuilder) ApplyOptions( options ...PrometheusExporterBuilderOption, ) *PrometheusExporterBuilder
func (*PrometheusExporterBuilder) Build ¶
func (p *PrometheusExporterBuilder) Build( ctx context.Context, c *controller.Controller, ) (aggregation.TemporalitySelector, error)
type PrometheusExporterBuilderOption ¶
type PrometheusExporterBuilderOption interface {
// contains filtered or unexported methods
}
A PrometheusExporterBuilderOption sets options.
func WithMetricUrlPath ¶
func WithMetricUrlPath(url string) PrometheusExporterBuilderOption
type PrometheusExporterBuilderOptionFunc ¶
type PrometheusExporterBuilderOptionFunc func(*PrometheusExporterBuilder)
PrometheusExporterBuilderOptionFunc wraps a function that modifies Client into an implementation of the PrometheusExporterBuilderOption interface.
type PrometheusExporterBuilderOptions ¶
type PrometheusExporterBuilderOptions struct {
Url string
}
Click to show internal directories.
Click to hide internal directories.