Skip to content

Conversation

@manugarg
Copy link
Contributor

@manugarg manugarg commented Nov 3, 2025

  • This PR changes the default behavior of include_timestamp config option (and of disable_metrics_expiration). We include timestamp and expire stale metrics only for gauge metrics by default. From config.proto:
  // Whether to include timestamps in metrics. By default, we include
  // timestamps only for gauge metrics as they represent the value at a certain
  // point in time.
  //
  // If explicitly enabled, timestamp will be attached to all metrics,
  // including counters. If explicitly disabled, timestamp will not be attached
  // to gauges as well.

See #1162 for more background.

@manugarg manugarg added this to the v0.14.2 milestone Nov 3, 2025
@manugarg manugarg merged commit 2b701a3 into main Nov 4, 2025
12 checks passed
@manugarg manugarg deleted the prom_timestamp branch November 4, 2025 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants