package
2.34.0
Repository: https://github.com/fluxninja/aperture.git
Documentation: pkg.go.dev

# Functions

Module returns fx options for PromQL in the main app.
NewPromQLAndOptions creates PromQL and its fx options.
NewScalarQueryAndOptions creates a new ScalarQuery and its fx options.
NewTaggedQueryAndOptions creates a new TaggedQuery and its fx options.

# Variables

ErrNoQueriesReturned is returned when no queries are returned by the policy (initial state).

# Structs

PromQL is a component that runs a Prometheus query in the background and returns the result as a signal Reading.
ScalarQuery is a construct that can be used by other components to get tick aligned scalar results of a PromQL query.
ScalarResult is the result of a ScalarQuery.
TaggedQuery is a construct that can be used by other components to get tick aligned prometheus value results of a PromQL query.
TaggedResult is the result of a ScalarQuery.