Skip to content

Commit

Permalink
Document feature flag 'created-timestamp-zero-ingestion' (prometheus#…
Browse files Browse the repository at this point in the history
…13279)

Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
  • Loading branch information
Arthur Silva Sens authored and fbegyn committed Jul 11, 2024
1 parent 7247bc7 commit 2a77501
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/feature_flags.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,3 +194,13 @@ won't work when you push OTLP metrics.

Enables PromQL functions that are considered experimental and whose name or
semantics could change.

## Created Timestamps Zero Injection

`--enable-feature=created-timestamp-zero-ingestion`

Enables ingestion of created timestamp. Created timestamps are injected as 0 valued samples when appropriate. See [PromCon talk](https://youtu.be/nWf0BfQ5EEA) for details.

Currently Prometheus supports created timestamps only on the traditional Prometheus Protobuf protocol (WIP for other protocols). As a result, when enabling this feature, the Prometheus protobuf scrape protocol will be prioritized (See `scrape_config.scrape_protocols` settings for more details).

Besides enabling this feature in Prometheus, created timestamps need to be exposed by the application being scraped.

0 comments on commit 2a77501

Please sign in to comment.