package
2.25.0-snrc.5
Repository: https://github.com/rajvikram/prometheus.git
Documentation: pkg.go.dev
# Functions
NewAPI returns an initialized API type.
# Variables
No description provided by the author
# Structs
Alert has info for an alert.
AlertDiscovery has info for all active alerts.
AlertmanagerDiscovery has all the active Alertmanagers.
AlertmanagerTarget has info on one AM.
API can register a set of endpoints in a router and handle them using the provided storage and query engine.
DroppedTarget has the information for one target that was dropped during relabelling.
GlobalURLOptions contains fields used for deriving the global URL for local targets.
HeadStats has information about the TSDB head.
PrometheusVersion contains build information about Prometheus.
RuleDiscovery has info for all rules.
RuleGroup has info for rules which are part of a group.
RuntimeInfo contains runtime information about Prometheus.
Target has the information for one target.
TargetDiscovery has all the active targets.
# Interfaces
AlertmanagerRetriever provides a list of all/dropped AlertManager URLs.
RulesRetriever provides a list of active rules and alerts.
TargetRetriever provides the list of active/dropped targets to scrape or not.
TSDBAdminStats defines the tsdb interfaces used by the v1 API for admin operations as well as statistics.