Skip to content

PromQLQueryBuilder🔗

Constructor🔗

func NewPromQLQueryBuilder() *PromQLQueryBuilder

Methods🔗

Build🔗

Builds the object.

func (builder *PromQLQueryBuilder) Build() (PromQLQuery, error)

Expr🔗

PromQL expression/query to be executed.

func (builder *PromQLQueryBuilder) Expr(expr string) *PromQLQueryBuilder

ProjectName🔗

GCP project to execute the query against.

func (builder *PromQLQueryBuilder) ProjectName(projectName string) *PromQLQueryBuilder

Step🔗

PromQL min step

func (builder *PromQLQueryBuilder) Step(step string) *PromQLQueryBuilder

See also🔗