stale

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2023 License: AGPL-3.0 Imports: 1 Imported by: 3

Documentation

Overview

Package stale handles the staleness process.

TODO: migrate here more logic dedicated to this topic from the remote write package.

Index

Constants

This section is empty.

Variables

View Source
var Marker = math.Float64frombits(0x7ff0000000000002)

Marker is the Prometheus Remote Write special value for marking a time series as stale.

Check https://www.robustperception.io/staleness-and-promql and https://prometheus.io/docs/prometheus/latest/querying/basics/#staleness for details about the Prometheus staleness markers.

The value is the same used by the Prometheus package. https://pkg.go.dev/github.com/prometheus/prometheus/pkg/value#pkg-constants

It isn't imported directly to avoid the direct dependency from the big Prometheus project that would bring more dependencies.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL