Skip to content

Feature Flag "Created Timestamps Zero Injection" requires enabled "Native Histograms" #13920

@dbluxo

Description

@dbluxo

What did you do?

If you activate the feature flag --enable-feature=created-timestamp-zero-ingestion in Prometheus, you must also activate the feature flag --enable-feature=native-histograms, otherwise the following error message will appear when you scrape your own Prometheus metrics (:9090/metrics):

Bildschirmfoto 2024-04-11 um 10 57 39

I don't know if this is intentional, but otherwise it should be documented as a dependency in the documentation?

What did you expect to see?

No response

What did you see instead? Under which circumstances?

Error: native histograms are disabled

System information

No response

Prometheus version

prometheus, version 2.51.2 (branch: HEAD, revision: b4c0ab52c3e9b940ab803581ddae9b3d9a452337)
  build user:       root@b63f02a423d9
  build date:       20240410-14:05:54
  go version:       go1.22.2
  platform:         linux/amd64
  tags:             netgo,builtinassets,stringlabels

Prometheus configuration file

No response

Alertmanager version

No response

Alertmanager configuration file

No response

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions