# Functions
New creates a new [Prometheus] metrics source and configures it with the given options.
WithAddress configures [Prometheus] to use the given address of the Prometheus instance.
WithAvailableBytesQuery configures [Prometheus] to use the given query for fetching metrics about available bytes.
WithAvailableInodesQuery configures [Prometheus] to use the given query for fetching metrics about available inodes.
WithCapacityBytesQuery configures [Prometheus] to use the given query for fetching metrics about volume capacity in bytes.
WithCapacityInodesQuery configures [Prometheus] to use the given query for fetching metrics about the capacity of inodes for volumes.
WithHTTPClient configures [Prometheus] to use the given [http.Client].
WithRoundTripper configures [Prometheus] to use the given [http.RoundTripper].
# Variables
ErrNoPrometheusAddress is an error, which is returned when no Prometheus endpoint address was configured.
# Structs
Prometheus is an implementation of [metricssource.Source], which collects metrics about persistent volume claims from a Prometheus instance.
# Type aliases
Option is a function which can configure a [Prometheus] instance.