Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
Option represents a report option.
func WithMetricSelector ¶
WithMetricSelector allows further specifying which metrics to choose. Example: WithMetricSelector(`namespace="testing"`)
func WithPrometheusQueryTimeout ¶
WithPrometheusQueryTimeout allows setting a timout when querying prometheus.
Click to show internal directories.
Click to hide internal directories.