Skip to content

Remove obsolete check preventing simultaneous NHCB conversion and created timestamp zero ingestion #17216

@roidelapluie

Description

@roidelapluie

In scrape/manager.go, there is a check preventing the use of both:

  • ConvertClassicHistogramsToNHCBEnabled
  • EnableCreatedTimestampZeroIngestion

if scrapeConfig.ConvertClassicHistogramsToNHCBEnabled() && m.opts.EnableCreatedTimestampZeroIngestion {
// TODO(krajorama): fix https://github.com/prometheus/prometheus/issues/15137
m.logger.Error("error reloading target set", "err", "cannot convert classic histograms to native histograms with custom buckets and ingest created timestamp zero samples at the same time due to https://github.com/prometheus/prometheus/issues/15137")
continue

However, the referenced issue #15137 is now closed, which might mean this limitation might no longer be relevant.

Action needed:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions