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

# Functions

Append a MetricFamily protobuf representation to a buffer.
No description provided by the author
No description provided by the author
Write a MetricFamily into a protobuf.
No description provided by the author
NewManager is the Manager constructor.
NewTarget creates a reasonably configured target for querying.
PopulateLabels builds a label set from the given label set and scrape configuration.
No description provided by the author
TargetsFromGroup builds targets based on the given TargetGroup and config.

# Constants

The possible health states of a target based on the last performed scrape.
The possible health states of a target based on the last performed scrape.
The possible health states of a target based on the last performed scrape.

# Variables

AlignScrapeTimestamps enables the tolerance for scrape appends timestamps described above.
ScrapeTimestampTolerance is the tolerance for scrape appends timestamps alignment, to enable better compression at the TSDB level.
No description provided by the author

# Structs

Manager maintains a set of scrape pools and manages start/stop cycles when receiving new target groups from the discovery manager.
MetadataMetricsCollector is a Custom Collector for the metadata cache metrics.
MetricMetadata is a piece of metadata for a metric.
Options are the configuration parameters to the scrape manager.
Target refers to a singular HTTP or HTTPS endpoint.

# Interfaces

MetricMetadataStore represents a storage for metadata.
No description provided by the author

# Type aliases

TargetHealth describes the health state of a target.
Targets is a sortable list of targets.