Documentation
¶
Index ¶
Constants ¶
View Source
const PluginKind = "PrometheusLabelValuesVariable"
Variables ¶
This section is empty.
Functions ¶
func PrometheusLabelValues ¶
func PrometheusLabelValues(labelName string, options ...Option) list_variable.Option
Types ¶
type Builder ¶
type Builder struct {
PluginSpec `json:",inline" yaml:",inline"`
Filters []v1.Variable `json:"-" yaml:"-"`
}
func (*Builder) ApplyFilters ¶
type PluginSpec ¶
type PluginSpec struct {
Datasource *datasource.Selector `json:"datasource,omitempty" yaml:"datasource,omitempty"`
LabelName string `json:"labelName" yaml:"labelName"`
Matchers []string `json:"matchers,omitempty" yaml:"matchers,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.