prometheus

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Datasource

func Datasource() dashboard.DataSourceRef

Datasource returns the datasource reference for prometheus.

func NewAdHocVariable

func NewAdHocVariable() *dashboard.AdHocVariableBuilder

NewAdHocVariable creates a new adhoc variable builder for prometheus.

func NewContainerVariable

func NewContainerVariable() *dashboard.QueryVariableBuilder

func NewDataQuery

func NewDataQuery(expr string) *prometheus.DataqueryBuilder

func NewLabelValueVariable

func NewLabelValueVariable(name, metric, label string) *dashboard.QueryVariableBuilder

NewLabelValueVariable creates a variable that lists all label values for a given metric and label.

func NewNamespaceVariable

func NewNamespaceVariable() *dashboard.QueryVariableBuilder

func NewPodVariable

func NewPodVariable() *dashboard.QueryVariableBuilder

func NewPodsVariable

func NewPodsVariable() *dashboard.QueryVariableBuilder

func NewServiceVariable

func NewServiceVariable() *dashboard.QueryVariableBuilder

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL