package
0.0.0-20241031191629-03ae564a171d
Repository: https://github.com/zzylol/prometheus-sketches.git
Documentation: pkg.go.dev

# Functions

NewAPI returns an initialized API type.
TSDBStatsFromIndexStats converts a index.Stat slice to a TSDBStat slice.

# Variables

No description provided by the author
MaxTime is the default timestamp used for the end of optional time ranges.
MinTime is the default timestamp used for the begin of optional time ranges.

# Structs

Alert has info for an alert.
AlertDiscovery has info for all active alerts.
No description provided by the author
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.
JSONCodec is a Codec that encodes API responses as JSON.
No description provided by the author
PrometheusVersion contains build information about Prometheus.
No description provided by the author
No description provided by the author
Response contains a response to a HTTP API request.
RuleDiscovery has info for all rules.
RuleGroup has info for rules which are part of a group.
RuntimeInfo contains runtime information about Prometheus.
No description provided by the author
Target has the information for one target.
TargetDiscovery has all the active targets.
TSDBStat holds the information about individual cardinality.
TSDBStatus has information of cardinality statistics from postings.

# Interfaces

AlertmanagerRetriever provides a list of all/dropped AlertManager URLs.
A Codec performs encoding of API responses.
No description provided by the author
No description provided by the author
RulesRetriever provides a list of active rules and alerts.
ScrapePoolsRetriever provide the list of all scrape pools.
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.

# Type aliases

No description provided by the author