Skip to content

discovery/oci: add native Oracle Cloud Infrastructure service discovery - #18919

Merged
roidelapluie merged 21 commits into
prometheus:mainfrom
amaanx86:main
Jun 29, 2026
Merged

roidelapluie merged 21 commits into
prometheus:mainfrom
amaanx86:main

Conversation

@amaanx86

Copy link
Copy Markdown
Contributor

Which issue(s) does the PR fix:

Fixes #18707


This adds native service discovery for Oracle Cloud Infrastructure (OCI) compute instances, following the same patterns as existing cloud SD integrations.

The prior attempt (#10226, 2022) was closed over binary size concerns. This implementation addresses that upfront by keeping the concrete SDK clients out of the interface-boxed Discovery struct, using closure-based adapters so the linker can drop unused SDK operations. The pattern follows what was done in #18819 (GCE), #18821 (Kubernetes), and #18824 (Azure).

Authentication

Two methods supported:

  • api_key (default): user OCID, fingerprint, RSA key file. Works anywhere Prometheus runs.
  • instance_principal: uses OCI IMDS. No credentials needed when Prometheus runs on OCI compute.

Compartment discovery

OCI organizes resources into compartments (similar to AWS accounts within an organization). Two modes:

  • Leave compartments unset: the SD walks the tenancy root recursively via the Identity API and discovers all active compartments automatically.
  • Set compartments to an explicit list: only those compartments are scanned. The Identity client is not created in this case.

Tag-based filtering

OCI instances carry freeform tags (key/value strings) and defined tags (namespace/key/value). The SD supports three filtering modes via tag_filter_key, tag_filter_value, and tag_filter_action:

  • include: only return instances that have the tag
  • exclude: return all instances except those with the tag
  • omit tag_filter_key: no filtering, return everything

The filter runs before VNIC resolution, so filtered instances do not trigger additional API calls.

Rate limiting and retries

A rate_limit_rps field (default 10) caps API calls per second using golang.org/x/time/rate. The OCI SDK default retry policy handles transient 429 and 503 responses. Both are shared across all closure-captured clients for the SD instance.

Error handling

Compartment-level ListInstances failures are logged as warnings and the compartment is skipped, so a single permission gap does not abort the refresh. VNIC resolution failures per instance are also logged and skipped. Compartment listing failures (Identity API) propagate as a refresh error.

Labels

__meta_oci_instance_id
__meta_oci_instance_name
__meta_oci_instance_state
__meta_oci_instance_shape
__meta_oci_availability_domain
__meta_oci_fault_domain
__meta_oci_region
__meta_oci_tenancy_id
__meta_oci_compartment_id
__meta_oci_image_id
__meta_oci_private_ip
__meta_oci_public_ip
__meta_oci_tag_<key>
__meta_oci_defined_tag_<namespace>_<key>

Freeform tag keys and defined tag namespace/key names are lowercased with non-alphanumeric characters replaced by underscores. Only string-typed defined tag values are emitted.

Required IAM policies

For API key auth:

Allow group <group-name> to read instances in tenancy
Allow group <group-name> to read compartments in tenancy
Allow group <group-name> to read vnic-attachments in tenancy
Allow group <group-name> to read vnics in tenancy
Allow group <group-name> to read tag-namespaces in tenancy

For instance principal, replace group <group-name> with dynamic-group <dynamic-group-name>.

Testing

Unit tests use function-type stubs injected directly into the Discovery struct. No OCI credentials or network access needed. Tests cover: label building, tag filter all three modes, multi-compartment refresh, per-compartment error skipping, VNIC resolution failures, context cancellation, config validation for both auth methods, and SetDirectory for relative key file paths.


[FEATURE] OCI: Add native Oracle Cloud Infrastructure compute service discovery.

@amaanx86
amaanx86 requested a review from a team as a code owner June 13, 2026 10:02
@amaanx86
amaanx86 requested a review from jan--f June 13, 2026 10:02
@amaanx86

Copy link
Copy Markdown
Contributor Author

Hi @roidelapluie, All checks are passing I've verified targets are coming with all the right labels

Comment thread discovery/oci/oci.go Resolved
Comment thread discovery/oci/oci.go Resolved
Comment thread discovery/oci/oci.go Resolved
Comment thread discovery/oci/oci.go Resolved
Comment thread discovery/oci/oci.go Resolved
Comment thread discovery/oci/oci.go Resolved
Comment thread discovery/install/install.go Resolved
Comment thread discovery/oci/oci.go Resolved
Comment thread discovery/oci/oci.go Resolved

@roidelapluie roidelapluie left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this — a thoughtful first cut, with some nice touches: closure-boxed SDK clients to preserve dead-code elimination, pagination on all list calls, key_passphrase as config.Secret, and docs in both the scrape and alerting sections.

A few correctness issues block merge — refresh_interval validation, no shared config.HTTPClientConfig, stale targets on per-compartment errors, unscrapeable :80 for IP-less instances, and tag-key collisions from lowercasing — plus some divergence from established SD conventions. Details are in the inline comments.

Happy to re-review once the blockers are addressed with accompanying tests — it's close.

Comment thread discovery/oci/oci.go Resolved
amaanx86 added 5 commits June 17, 2026 00:38
Addresses correctness and convention divergences flagged in PR review.

Signed-off-by: Amaan Ul Haq Siddiqui <[email protected]>
Aligns unit tests with the new SDConfig surface and refresh-path behaviour.

Signed-off-by: Amaan Ul Haq Siddiqui <[email protected]>
Adds an api_key OCI job and expectedConf assertion so the SDConfig round-trips like every other SD.

Signed-off-by: Amaan Ul Haq Siddiqui <[email protected]>
Documents the embedded HTTP options, drops rate_limit_rps, and notes case-preserving tag sanitization.

Signed-off-by: Amaan Ul Haq Siddiqui <[email protected]>
Use filepath helpers so the path assertions also pass on Windows, where filepath.Join returns backslashes and "/absolute/path" is not absolute per filepath.IsAbs.

Signed-off-by: Amaan Ul Haq Siddiqui <[email protected]>
@amaanx86

Copy link
Copy Markdown
Contributor Author

@roidelapluie ready for re-review, the review blockers are addressed; the failing upgrades/downgrades job is unrelated to this PR.

@roidelapluie roidelapluie left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this — looks good overall and follows our conventions closely. A few things to address before merge (most minor), inline.

Comment thread discovery/oci/oci.go Resolved
Comment thread discovery/oci/oci.go Resolved
Comment thread discovery/oci/oci.go Resolved
Comment thread discovery/oci/oci.go Resolved
Comment thread discovery/oci/oci.go Resolved
Comment thread discovery/oci/oci.go Resolved
Comment thread discovery/oci/oci.go Resolved
Comment thread discovery/oci/oci.go Resolved
Comment thread config/testdata/conf.good.yml Resolved
Comment thread config/testdata/conf.good.yml Resolved
@amaanx86

Copy link
Copy Markdown
Contributor Author

Thanks @roidelapluie, For the amazing and precise review I will do the minor fixes

amaanx86 added 3 commits June 20, 2026 14:17
…sphrase_file

Drop tag_filter_* in favour of relabeling on __meta_oci_tag_*. Add
__meta_oci_vnic_id and secondary VNIC IP list labels. Add
key_passphrase_file (eager read, runtime reload tracked as TODO). Set
the Prometheus User-Agent on OCI SDK clients, guard nil Logger, and
refactor listAllCompartments around an injectable paginator that logs
skipped compartments and aborts on context cancel.

Signed-off-by: Amaan Ul Haq Siddiqui <[email protected]>
Add an oci_sd_configs fixture with an invalid auth method wired into
expectedErrors so the validation error is asserted via the real config
loader. Add key_passphrase to conf.good.yml and bump the elided-secret
count by one.

Signed-off-by: Amaan Ul Haq Siddiqui <[email protected]>
Document __meta_oci_vnic_id and the secondary VNIC IP list labels,
describe key_passphrase_file, and replace the tag_filter section with
a pointer to relabel_configs. Note that skipped compartments are now
logged rather than silently dropped.

Signed-off-by: Amaan Ul Haq Siddiqui <[email protected]>
@amaanx86

Copy link
Copy Markdown
Contributor Author

Hi @roidelapluie all inline comments from the second review are addressed in the latest push and ready for re-review when you have a moment.

@amaanx86
amaanx86 requested a review from roidelapluie June 20, 2026 18:49

@roidelapluie roidelapluie left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have done another round of review.

Comment thread discovery/oci/oci.go Resolved
Comment thread discovery/oci/oci.go Resolved
Comment thread discovery/oci/oci.go Resolved
Comment thread discovery/oci/oci.go Resolved
Comment thread discovery/oci/oci.go Resolved
Comment thread discovery/oci/oci.go Resolved
amaanx86 added 2 commits June 26, 2026 13:47
- Drop the display-name filter; it was exact-match per the SDK and
  relabeling does the same job.
- Raise the default API rate cap to 500 RPS, expose it as rate_limit_rps,
  and keep the limiter burst small.
- Fail the refresh on a ListInstances error instead of emitting an empty
  group, so the last known good targets are kept on a transient failure.
- Sort the secondary VNIC IP labels; OCI does not guarantee order.
- Stringify scalar defined-tag values so keep/drop relabels on numeric
  or boolean tags match.

Signed-off-by: Amaan Ul Haq Siddiqui <[email protected]>
Drop the filter knob, document rate_limit_rps, and note that the
secondary VNIC IP labels are sorted and scalar defined-tag values are
stringified.

Signed-off-by: Amaan Ul Haq Siddiqui <[email protected]>
@amaanx86
amaanx86 requested a review from roidelapluie June 26, 2026 08:52
@roidelapluie

Copy link
Copy Markdown
Member

Can we not expose rate_limit_rps but keep it as an internal thing?

Revert rate_limit_rps from a YAML field back to an internal constant
(500 RPS, burst 50). No other cloud SD exposes an API rate knob and
the SDK's retry policy already handles per-tenancy quota variance.

Signed-off-by: Amaan Ul Haq Siddiqui <[email protected]>
@amaanx86

Copy link
Copy Markdown
Contributor Author

@roidelapluie It is addressed now!

@roidelapluie roidelapluie left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! we are getting closer.

Comment thread discovery/oci/oci.go Resolved
Comment thread discovery/oci/oci.go Resolved
Comment thread discovery/oci/oci.go Resolved
Comment thread docs/configuration/configuration.md Resolved
Lowercase the validate()/NewDiscovery errors with an oci_sd: prefix and resolve only the primary VNIC so multi-VNIC instances no longer fan out a GetVnic per attachment, dropping the secondary_* labels. Lower the rate cap back to 10 rps to stay under OCI's 20/s IAM limit, and drop the unneeded read tag-namespaces policy from the docs.

Signed-off-by: Amaan Ul Haq Siddiqui <[email protected]>
@amaanx86
amaanx86 requested a review from roidelapluie June 28, 2026 08:51
@roidelapluie
roidelapluie merged commit 30355e7 into prometheus:main Jun 29, 2026
35 checks passed
renovate Bot added a commit to sdwilsh/ansible-playbooks that referenced this pull request Aug 21, 2026
##### [\`v3.14.0\`](https://github.com/prometheus/prometheus/releases/tag/v3.14.0)

- \[CHANGE] API: Deprecate the `stats` query parameter of `/api/v1/query` and `/api/v1/query_range` for values other than `true` and `all`. Other values still enable basic statistics but now return a deprecation warning; they will be rejected in the next major release. [#19124](prometheus/prometheus#19124)
- \[CHANGE] API: `/api/v1/status/config` now correctly shows `separator: ""` and `replacement: ""` in relabel configs when explicitly set to empty, instead of omitting them. [#18653](prometheus/prometheus#18653)
- \[CHANGE] Discovery/Hetzner: Drop the `__meta_hetzner_datacenter` label for `hcloud` targets, following its removal from the Hetzner Cloud API. [#19269](prometheus/prometheus#19269)
- \[CHANGE] PromQL: Enable duration expressions by default. The `promql-duration-expr` feature flag is now a no-op. [#19033](prometheus/prometheus#19033)
- \[CHANGE] PromQL: Promote `first_over_time` to stable. It no longer requires the `promql-experimental-functions` feature flag. [#19093](prometheus/prometheus#19093)
- \[FEATURE] Discovery: Add Oracle Cloud Infrastructure compute service discovery (`oci_sd_configs`). [#18919](prometheus/prometheus#18919)
- \[FEATURE] PromQL: Add experimental `start_timestamp(instant-vector)` function returning the start timestamp of each sample in the given vector. Requires the `use-start-timestamps` feature flag. [#19089](prometheus/prometheus#19089)
- \[FEATURE] PromQL: Allow `rate()` and `increase()` to use start timestamps as an alternative for rate extrapolation. Hidden behind the `use-start-timestamps` feature flag. [#18619](prometheus/prometheus#18619)
- \[FEATURE] TSDB: Add experimental support for encoding start timestamps in histograms and float histograms. Hidden behind the `histograms-st-encoding` feature flag. [#18609](prometheus/prometheus#18609)
- \[ENHANCEMENT] OTLP: Emit a warning when OTLP attribute names collide into the same Prometheus label after sanitization (e.g. `k8s.pod.name` and `k8s_pod_name` both become `k8s_pod_name`), and expose the `prometheus_api_otlp_translation_warnings_total` counter labelled by `category` to track such warnings. [#18957](prometheus/prometheus#18957)
- \[ENHANCEMENT] Promtool: Add `--remote-write.path` flag to `push metrics` for backends that use a non-default remote-write endpoint. [#19086](prometheus/prometheus#19086)
- \[ENHANCEMENT] Remote write: Forward histogram start timestamps in the remote write V2 protocol. [#18903](prometheus/prometheus#18903)
- \[ENHANCEMENT] TSDB: Add `prometheus_tsdb_head_native_histogram_series` and `prometheus_tsdb_head_native_histogram_buckets` gauges tracking the number of native histogram series and buckets in the head. [#19170](prometheus/prometheus#19170)
- \[ENHANCEMENT] UI: Add syntax highlighting, autocompletion, and linting for PromQL duration expressions (`step()`, `range()`, `min_of()`, `max_of()`) in range selectors and subqueries. [#18625](prometheus/prometheus#18625)
- \[ENHANCEMENT] UI: Add copy button next to rule names on the Rules and Alerts pages. [#18706](prometheus/prometheus#18706)
- \[ENHANCEMENT] UI: Improve rule group title contrast on the Rules page. [#19181](prometheus/prometheus#19181)
- \[PERF] Speed up regex label matchers matching a set of literal values (e.g. `{job=~"foo|bar|baz"}`). [#18833](prometheus/prometheus#18833)
- \[PERF] Remote read: Improve remote read throughput by removing unnecessary per-write flushing. [#18470](prometheus/prometheus#18470)
- \[PERF] Scrape: Parse text and OpenMetrics formats without recursion, preventing stack overflow from deeply nested or malicious exposition input. [#19143](prometheus/prometheus#19143)
- \[PERF] Scrape: Reduce native histogram scrape parsing allocations by \~49%. [#19282](prometheus/prometheus#19282)
- \[PERF] TSDB: Speed up queries on series with many in-memory chunks. [#18300](prometheus/prometheus#18300)
- \[BUGFIX] Alerting: Fix 100% CPU usage on shutdown that could delay graceful shutdown and trigger timeout-based kills. [#17859](prometheus/prometheus#17859)
- \[BUGFIX] Discovery/AWS: Stop `promtool check config` from making AWS metadata service (IMDS) network calls when the `region` field is omitted in EC2, ECS, RDS, MSK, ElastiCache, and Lightsail service discovery configs. [#19037](prometheus/prometheus#19037)
- \[BUGFIX] Discovery/Docker: Set a request timeout for `docker_sd` and `dockerswarm_sd` on `unix`, `npipe`, and `tcp` hosts. Previously an unresponsive daemon could freeze discovery indefinitely, silently pinning targets to a stale snapshot. [#19237](prometheus/prometheus#19237)
- \[BUGFIX] Discovery/Docker: Fix panic in Docker Swarm service discovery when a service runs as a plugin or network-attachment. [#19102](prometheus/prometheus#19102)
- \[BUGFIX] Discovery/Docker: Fix discovery of IPv6-only containers. [#18778](prometheus/prometheus#18778)
- \[BUGFIX] PromQL: Fix case-insensitive regex label matchers silently dropping matching values. [#19167](prometheus/prometheus#19167)
- \[BUGFIX] PromQL: Fix `mad_over_time` returning 0 instead of `NaN` when the range contains a `NaN` sample. [#19040](prometheus/prometheus#19040)
- \[BUGFIX] Promtool: Accept `--enable-feature=promql-binop-fill-modifiers` in `check rules`, which previously rejected valid `fill()`/`fill_left()`/`fill_right()` expressions. [#19153](prometheus/prometheus#19153)
- \[BUGFIX] Remote write: Respect the `AZURE_FEDERATED_TOKEN_FILE` environment variable for workload identity authentication instead of hardcoding the token file path. [#18973](prometheus/prometheus#18973)
- \[BUGFIX] Rules: Clean up stale `rule_group_last_rule_duration_sum_seconds` and `rule_group_last_restore_duration_seconds` series when a rule group is removed or renamed on reload. Previously each reload leaked two series per dropped group, growing `/metrics` cardinality over time. [#19107](prometheus/prometheus#19107)
- \[BUGFIX] Scrape: Fix scrape manager spinning at 100% CPU on shutdown. [#19149](prometheus/prometheus#19149)
- \[BUGFIX] TSDB: Fix silent data loss and potential crash loop when `stale_series_compaction_threshold` is used in the config file. [#19016](prometheus/prometheus#19016)
- \[BUGFIX] TSDB: Fix potential data loss on restart when out-of-order ingestion is enabled and blocks are compacted. [#19016](prometheus/prometheus#19016)
- \[BUGFIX] TSDB: Fix `prometheus_tsdb_head_stale_series` over-counting and early eviction of series that change between float, integer histogram, and float histogram sample types. [#19183](prometheus/prometheus#19183)
- \[BUGFIX] TSDB: Fix goroutine and file handle leaks when Prometheus fails to open a corrupt TSDB. On Windows, the leaked directory handle also prevented TSDB directory removal. [#18291](prometheus/prometheus#18291)
- \[BUGFIX] TSDB: Fix out-of-order queries blocking compaction for hours, causing memory usage to grow. [#19013](prometheus/prometheus#19013)
- \[BUGFIX] TSDB: Fix deleted series causing missing samples and errors after restart. [#19140](prometheus/prometheus#19140)
- \[BUGFIX] TSDB: Fix native histogram data becoming incorrect after restart. [#19202](prometheus/prometheus#19202)
- \[BUGFIX] TSDB: Surface query errors that were previously silently discarded. [#19120](prometheus/prometheus#19120)
- \[BUGFIX] TSDB: Honour the configured float chunk encoding when compaction rewrites chunks; previously chunks encoded with `--enable-feature=xor2-encoding` could silently revert to XOR after compaction. [#19145](prometheus/prometheus#19145)
- \[BUGFIX] UI: Show the delete-series form on the TSDB Status page when `--web.enable-admin-api` is enabled. [#19025](prometheus/prometheus#19025)
renovate Bot added a commit to sdwilsh/ansible-playbooks that referenced this pull request Aug 21, 2026
##### [\`v3.14.0\`](https://github.com/prometheus/prometheus/releases/tag/v3.14.0)

- \[CHANGE] API: Deprecate the `stats` query parameter of `/api/v1/query` and `/api/v1/query_range` for values other than `true` and `all`. Other values still enable basic statistics but now return a deprecation warning; they will be rejected in the next major release. [#19124](prometheus/prometheus#19124)
- \[CHANGE] API: `/api/v1/status/config` now correctly shows `separator: ""` and `replacement: ""` in relabel configs when explicitly set to empty, instead of omitting them. [#18653](prometheus/prometheus#18653)
- \[CHANGE] Discovery/Hetzner: Drop the `__meta_hetzner_datacenter` label for `hcloud` targets, following its removal from the Hetzner Cloud API. [#19269](prometheus/prometheus#19269)
- \[CHANGE] PromQL: Enable duration expressions by default. The `promql-duration-expr` feature flag is now a no-op. [#19033](prometheus/prometheus#19033)
- \[CHANGE] PromQL: Promote `first_over_time` to stable. It no longer requires the `promql-experimental-functions` feature flag. [#19093](prometheus/prometheus#19093)
- \[FEATURE] Discovery: Add Oracle Cloud Infrastructure compute service discovery (`oci_sd_configs`). [#18919](prometheus/prometheus#18919)
- \[FEATURE] PromQL: Add experimental `start_timestamp(instant-vector)` function returning the start timestamp of each sample in the given vector. Requires the `use-start-timestamps` feature flag. [#19089](prometheus/prometheus#19089)
- \[FEATURE] PromQL: Allow `rate()` and `increase()` to use start timestamps as an alternative for rate extrapolation. Hidden behind the `use-start-timestamps` feature flag. [#18619](prometheus/prometheus#18619)
- \[FEATURE] TSDB: Add experimental support for encoding start timestamps in histograms and float histograms. Hidden behind the `histograms-st-encoding` feature flag. [#18609](prometheus/prometheus#18609)
- \[ENHANCEMENT] OTLP: Emit a warning when OTLP attribute names collide into the same Prometheus label after sanitization (e.g. `k8s.pod.name` and `k8s_pod_name` both become `k8s_pod_name`), and expose the `prometheus_api_otlp_translation_warnings_total` counter labelled by `category` to track such warnings. [#18957](prometheus/prometheus#18957)
- \[ENHANCEMENT] Promtool: Add `--remote-write.path` flag to `push metrics` for backends that use a non-default remote-write endpoint. [#19086](prometheus/prometheus#19086)
- \[ENHANCEMENT] Remote write: Forward histogram start timestamps in the remote write V2 protocol. [#18903](prometheus/prometheus#18903)
- \[ENHANCEMENT] TSDB: Add `prometheus_tsdb_head_native_histogram_series` and `prometheus_tsdb_head_native_histogram_buckets` gauges tracking the number of native histogram series and buckets in the head. [#19170](prometheus/prometheus#19170)
- \[ENHANCEMENT] UI: Add syntax highlighting, autocompletion, and linting for PromQL duration expressions (`step()`, `range()`, `min_of()`, `max_of()`) in range selectors and subqueries. [#18625](prometheus/prometheus#18625)
- \[ENHANCEMENT] UI: Add copy button next to rule names on the Rules and Alerts pages. [#18706](prometheus/prometheus#18706)
- \[ENHANCEMENT] UI: Improve rule group title contrast on the Rules page. [#19181](prometheus/prometheus#19181)
- \[PERF] Speed up regex label matchers matching a set of literal values (e.g. `{job=~"foo|bar|baz"}`). [#18833](prometheus/prometheus#18833)
- \[PERF] Remote read: Improve remote read throughput by removing unnecessary per-write flushing. [#18470](prometheus/prometheus#18470)
- \[PERF] Scrape: Parse text and OpenMetrics formats without recursion, preventing stack overflow from deeply nested or malicious exposition input. [#19143](prometheus/prometheus#19143)
- \[PERF] Scrape: Reduce native histogram scrape parsing allocations by \~49%. [#19282](prometheus/prometheus#19282)
- \[PERF] TSDB: Speed up queries on series with many in-memory chunks. [#18300](prometheus/prometheus#18300)
- \[BUGFIX] Alerting: Fix 100% CPU usage on shutdown that could delay graceful shutdown and trigger timeout-based kills. [#17859](prometheus/prometheus#17859)
- \[BUGFIX] Discovery/AWS: Stop `promtool check config` from making AWS metadata service (IMDS) network calls when the `region` field is omitted in EC2, ECS, RDS, MSK, ElastiCache, and Lightsail service discovery configs. [#19037](prometheus/prometheus#19037)
- \[BUGFIX] Discovery/Docker: Set a request timeout for `docker_sd` and `dockerswarm_sd` on `unix`, `npipe`, and `tcp` hosts. Previously an unresponsive daemon could freeze discovery indefinitely, silently pinning targets to a stale snapshot. [#19237](prometheus/prometheus#19237)
- \[BUGFIX] Discovery/Docker: Fix panic in Docker Swarm service discovery when a service runs as a plugin or network-attachment. [#19102](prometheus/prometheus#19102)
- \[BUGFIX] Discovery/Docker: Fix discovery of IPv6-only containers. [#18778](prometheus/prometheus#18778)
- \[BUGFIX] PromQL: Fix case-insensitive regex label matchers silently dropping matching values. [#19167](prometheus/prometheus#19167)
- \[BUGFIX] PromQL: Fix `mad_over_time` returning 0 instead of `NaN` when the range contains a `NaN` sample. [#19040](prometheus/prometheus#19040)
- \[BUGFIX] Promtool: Accept `--enable-feature=promql-binop-fill-modifiers` in `check rules`, which previously rejected valid `fill()`/`fill_left()`/`fill_right()` expressions. [#19153](prometheus/prometheus#19153)
- \[BUGFIX] Remote write: Respect the `AZURE_FEDERATED_TOKEN_FILE` environment variable for workload identity authentication instead of hardcoding the token file path. [#18973](prometheus/prometheus#18973)
- \[BUGFIX] Rules: Clean up stale `rule_group_last_rule_duration_sum_seconds` and `rule_group_last_restore_duration_seconds` series when a rule group is removed or renamed on reload. Previously each reload leaked two series per dropped group, growing `/metrics` cardinality over time. [#19107](prometheus/prometheus#19107)
- \[BUGFIX] Scrape: Fix scrape manager spinning at 100% CPU on shutdown. [#19149](prometheus/prometheus#19149)
- \[BUGFIX] TSDB: Fix silent data loss and potential crash loop when `stale_series_compaction_threshold` is used in the config file. [#19016](prometheus/prometheus#19016)
- \[BUGFIX] TSDB: Fix potential data loss on restart when out-of-order ingestion is enabled and blocks are compacted. [#19016](prometheus/prometheus#19016)
- \[BUGFIX] TSDB: Fix `prometheus_tsdb_head_stale_series` over-counting and early eviction of series that change between float, integer histogram, and float histogram sample types. [#19183](prometheus/prometheus#19183)
- \[BUGFIX] TSDB: Fix goroutine and file handle leaks when Prometheus fails to open a corrupt TSDB. On Windows, the leaked directory handle also prevented TSDB directory removal. [#18291](prometheus/prometheus#18291)
- \[BUGFIX] TSDB: Fix out-of-order queries blocking compaction for hours, causing memory usage to grow. [#19013](prometheus/prometheus#19013)
- \[BUGFIX] TSDB: Fix deleted series causing missing samples and errors after restart. [#19140](prometheus/prometheus#19140)
- \[BUGFIX] TSDB: Fix native histogram data becoming incorrect after restart. [#19202](prometheus/prometheus#19202)
- \[BUGFIX] TSDB: Surface query errors that were previously silently discarded. [#19120](prometheus/prometheus#19120)
- \[BUGFIX] TSDB: Honour the configured float chunk encoding when compaction rewrites chunks; previously chunks encoded with `--enable-feature=xor2-encoding` could silently revert to XOR after compaction. [#19145](prometheus/prometheus#19145)
- \[BUGFIX] UI: Show the delete-series form on the TSDB Status page when `--web.enable-admin-api` is enabled. [#19025](prometheus/prometheus#19025)
renovate Bot added a commit to sdwilsh/ansible-playbooks that referenced this pull request Aug 21, 2026
##### [\`v3.14.0\`](https://github.com/prometheus/prometheus/releases/tag/v3.14.0)

- \[CHANGE] API: Deprecate the `stats` query parameter of `/api/v1/query` and `/api/v1/query_range` for values other than `true` and `all`. Other values still enable basic statistics but now return a deprecation warning; they will be rejected in the next major release. [#19124](prometheus/prometheus#19124)
- \[CHANGE] API: `/api/v1/status/config` now correctly shows `separator: ""` and `replacement: ""` in relabel configs when explicitly set to empty, instead of omitting them. [#18653](prometheus/prometheus#18653)
- \[CHANGE] Discovery/Hetzner: Drop the `__meta_hetzner_datacenter` label for `hcloud` targets, following its removal from the Hetzner Cloud API. [#19269](prometheus/prometheus#19269)
- \[CHANGE] PromQL: Enable duration expressions by default. The `promql-duration-expr` feature flag is now a no-op. [#19033](prometheus/prometheus#19033)
- \[CHANGE] PromQL: Promote `first_over_time` to stable. It no longer requires the `promql-experimental-functions` feature flag. [#19093](prometheus/prometheus#19093)
- \[FEATURE] Discovery: Add Oracle Cloud Infrastructure compute service discovery (`oci_sd_configs`). [#18919](prometheus/prometheus#18919)
- \[FEATURE] PromQL: Add experimental `start_timestamp(instant-vector)` function returning the start timestamp of each sample in the given vector. Requires the `use-start-timestamps` feature flag. [#19089](prometheus/prometheus#19089)
- \[FEATURE] PromQL: Allow `rate()` and `increase()` to use start timestamps as an alternative for rate extrapolation. Hidden behind the `use-start-timestamps` feature flag. [#18619](prometheus/prometheus#18619)
- \[FEATURE] TSDB: Add experimental support for encoding start timestamps in histograms and float histograms. Hidden behind the `histograms-st-encoding` feature flag. [#18609](prometheus/prometheus#18609)
- \[ENHANCEMENT] OTLP: Emit a warning when OTLP attribute names collide into the same Prometheus label after sanitization (e.g. `k8s.pod.name` and `k8s_pod_name` both become `k8s_pod_name`), and expose the `prometheus_api_otlp_translation_warnings_total` counter labelled by `category` to track such warnings. [#18957](prometheus/prometheus#18957)
- \[ENHANCEMENT] Promtool: Add `--remote-write.path` flag to `push metrics` for backends that use a non-default remote-write endpoint. [#19086](prometheus/prometheus#19086)
- \[ENHANCEMENT] Remote write: Forward histogram start timestamps in the remote write V2 protocol. [#18903](prometheus/prometheus#18903)
- \[ENHANCEMENT] TSDB: Add `prometheus_tsdb_head_native_histogram_series` and `prometheus_tsdb_head_native_histogram_buckets` gauges tracking the number of native histogram series and buckets in the head. [#19170](prometheus/prometheus#19170)
- \[ENHANCEMENT] UI: Add syntax highlighting, autocompletion, and linting for PromQL duration expressions (`step()`, `range()`, `min_of()`, `max_of()`) in range selectors and subqueries. [#18625](prometheus/prometheus#18625)
- \[ENHANCEMENT] UI: Add copy button next to rule names on the Rules and Alerts pages. [#18706](prometheus/prometheus#18706)
- \[ENHANCEMENT] UI: Improve rule group title contrast on the Rules page. [#19181](prometheus/prometheus#19181)
- \[PERF] Speed up regex label matchers matching a set of literal values (e.g. `{job=~"foo|bar|baz"}`). [#18833](prometheus/prometheus#18833)
- \[PERF] Remote read: Improve remote read throughput by removing unnecessary per-write flushing. [#18470](prometheus/prometheus#18470)
- \[PERF] Scrape: Parse text and OpenMetrics formats without recursion, preventing stack overflow from deeply nested or malicious exposition input. [#19143](prometheus/prometheus#19143)
- \[PERF] Scrape: Reduce native histogram scrape parsing allocations by \~49%. [#19282](prometheus/prometheus#19282)
- \[PERF] TSDB: Speed up queries on series with many in-memory chunks. [#18300](prometheus/prometheus#18300)
- \[BUGFIX] Alerting: Fix 100% CPU usage on shutdown that could delay graceful shutdown and trigger timeout-based kills. [#17859](prometheus/prometheus#17859)
- \[BUGFIX] Discovery/AWS: Stop `promtool check config` from making AWS metadata service (IMDS) network calls when the `region` field is omitted in EC2, ECS, RDS, MSK, ElastiCache, and Lightsail service discovery configs. [#19037](prometheus/prometheus#19037)
- \[BUGFIX] Discovery/Docker: Set a request timeout for `docker_sd` and `dockerswarm_sd` on `unix`, `npipe`, and `tcp` hosts. Previously an unresponsive daemon could freeze discovery indefinitely, silently pinning targets to a stale snapshot. [#19237](prometheus/prometheus#19237)
- \[BUGFIX] Discovery/Docker: Fix panic in Docker Swarm service discovery when a service runs as a plugin or network-attachment. [#19102](prometheus/prometheus#19102)
- \[BUGFIX] Discovery/Docker: Fix discovery of IPv6-only containers. [#18778](prometheus/prometheus#18778)
- \[BUGFIX] PromQL: Fix case-insensitive regex label matchers silently dropping matching values. [#19167](prometheus/prometheus#19167)
- \[BUGFIX] PromQL: Fix `mad_over_time` returning 0 instead of `NaN` when the range contains a `NaN` sample. [#19040](prometheus/prometheus#19040)
- \[BUGFIX] Promtool: Accept `--enable-feature=promql-binop-fill-modifiers` in `check rules`, which previously rejected valid `fill()`/`fill_left()`/`fill_right()` expressions. [#19153](prometheus/prometheus#19153)
- \[BUGFIX] Remote write: Respect the `AZURE_FEDERATED_TOKEN_FILE` environment variable for workload identity authentication instead of hardcoding the token file path. [#18973](prometheus/prometheus#18973)
- \[BUGFIX] Rules: Clean up stale `rule_group_last_rule_duration_sum_seconds` and `rule_group_last_restore_duration_seconds` series when a rule group is removed or renamed on reload. Previously each reload leaked two series per dropped group, growing `/metrics` cardinality over time. [#19107](prometheus/prometheus#19107)
- \[BUGFIX] Scrape: Fix scrape manager spinning at 100% CPU on shutdown. [#19149](prometheus/prometheus#19149)
- \[BUGFIX] TSDB: Fix silent data loss and potential crash loop when `stale_series_compaction_threshold` is used in the config file. [#19016](prometheus/prometheus#19016)
- \[BUGFIX] TSDB: Fix potential data loss on restart when out-of-order ingestion is enabled and blocks are compacted. [#19016](prometheus/prometheus#19016)
- \[BUGFIX] TSDB: Fix `prometheus_tsdb_head_stale_series` over-counting and early eviction of series that change between float, integer histogram, and float histogram sample types. [#19183](prometheus/prometheus#19183)
- \[BUGFIX] TSDB: Fix goroutine and file handle leaks when Prometheus fails to open a corrupt TSDB. On Windows, the leaked directory handle also prevented TSDB directory removal. [#18291](prometheus/prometheus#18291)
- \[BUGFIX] TSDB: Fix out-of-order queries blocking compaction for hours, causing memory usage to grow. [#19013](prometheus/prometheus#19013)
- \[BUGFIX] TSDB: Fix deleted series causing missing samples and errors after restart. [#19140](prometheus/prometheus#19140)
- \[BUGFIX] TSDB: Fix native histogram data becoming incorrect after restart. [#19202](prometheus/prometheus#19202)
- \[BUGFIX] TSDB: Surface query errors that were previously silently discarded. [#19120](prometheus/prometheus#19120)
- \[BUGFIX] TSDB: Honour the configured float chunk encoding when compaction rewrites chunks; previously chunks encoded with `--enable-feature=xor2-encoding` could silently revert to XOR after compaction. [#19145](prometheus/prometheus#19145)
- \[BUGFIX] UI: Show the delete-series form on the TSDB Status page when `--web.enable-admin-api` is enabled. [#19025](prometheus/prometheus#19025)
renovate Bot added a commit to sdwilsh/ansible-playbooks that referenced this pull request Aug 21, 2026
##### [\`v3.14.0\`](https://github.com/prometheus/prometheus/releases/tag/v3.14.0)

- \[CHANGE] API: Deprecate the `stats` query parameter of `/api/v1/query` and `/api/v1/query_range` for values other than `true` and `all`. Other values still enable basic statistics but now return a deprecation warning; they will be rejected in the next major release. [#19124](prometheus/prometheus#19124)
- \[CHANGE] API: `/api/v1/status/config` now correctly shows `separator: ""` and `replacement: ""` in relabel configs when explicitly set to empty, instead of omitting them. [#18653](prometheus/prometheus#18653)
- \[CHANGE] Discovery/Hetzner: Drop the `__meta_hetzner_datacenter` label for `hcloud` targets, following its removal from the Hetzner Cloud API. [#19269](prometheus/prometheus#19269)
- \[CHANGE] PromQL: Enable duration expressions by default. The `promql-duration-expr` feature flag is now a no-op. [#19033](prometheus/prometheus#19033)
- \[CHANGE] PromQL: Promote `first_over_time` to stable. It no longer requires the `promql-experimental-functions` feature flag. [#19093](prometheus/prometheus#19093)
- \[FEATURE] Discovery: Add Oracle Cloud Infrastructure compute service discovery (`oci_sd_configs`). [#18919](prometheus/prometheus#18919)
- \[FEATURE] PromQL: Add experimental `start_timestamp(instant-vector)` function returning the start timestamp of each sample in the given vector. Requires the `use-start-timestamps` feature flag. [#19089](prometheus/prometheus#19089)
- \[FEATURE] PromQL: Allow `rate()` and `increase()` to use start timestamps as an alternative for rate extrapolation. Hidden behind the `use-start-timestamps` feature flag. [#18619](prometheus/prometheus#18619)
- \[FEATURE] TSDB: Add experimental support for encoding start timestamps in histograms and float histograms. Hidden behind the `histograms-st-encoding` feature flag. [#18609](prometheus/prometheus#18609)
- \[ENHANCEMENT] OTLP: Emit a warning when OTLP attribute names collide into the same Prometheus label after sanitization (e.g. `k8s.pod.name` and `k8s_pod_name` both become `k8s_pod_name`), and expose the `prometheus_api_otlp_translation_warnings_total` counter labelled by `category` to track such warnings. [#18957](prometheus/prometheus#18957)
- \[ENHANCEMENT] Promtool: Add `--remote-write.path` flag to `push metrics` for backends that use a non-default remote-write endpoint. [#19086](prometheus/prometheus#19086)
- \[ENHANCEMENT] Remote write: Forward histogram start timestamps in the remote write V2 protocol. [#18903](prometheus/prometheus#18903)
- \[ENHANCEMENT] TSDB: Add `prometheus_tsdb_head_native_histogram_series` and `prometheus_tsdb_head_native_histogram_buckets` gauges tracking the number of native histogram series and buckets in the head. [#19170](prometheus/prometheus#19170)
- \[ENHANCEMENT] UI: Add syntax highlighting, autocompletion, and linting for PromQL duration expressions (`step()`, `range()`, `min_of()`, `max_of()`) in range selectors and subqueries. [#18625](prometheus/prometheus#18625)
- \[ENHANCEMENT] UI: Add copy button next to rule names on the Rules and Alerts pages. [#18706](prometheus/prometheus#18706)
- \[ENHANCEMENT] UI: Improve rule group title contrast on the Rules page. [#19181](prometheus/prometheus#19181)
- \[PERF] Speed up regex label matchers matching a set of literal values (e.g. `{job=~"foo|bar|baz"}`). [#18833](prometheus/prometheus#18833)
- \[PERF] Remote read: Improve remote read throughput by removing unnecessary per-write flushing. [#18470](prometheus/prometheus#18470)
- \[PERF] Scrape: Parse text and OpenMetrics formats without recursion, preventing stack overflow from deeply nested or malicious exposition input. [#19143](prometheus/prometheus#19143)
- \[PERF] Scrape: Reduce native histogram scrape parsing allocations by \~49%. [#19282](prometheus/prometheus#19282)
- \[PERF] TSDB: Speed up queries on series with many in-memory chunks. [#18300](prometheus/prometheus#18300)
- \[BUGFIX] Alerting: Fix 100% CPU usage on shutdown that could delay graceful shutdown and trigger timeout-based kills. [#17859](prometheus/prometheus#17859)
- \[BUGFIX] Discovery/AWS: Stop `promtool check config` from making AWS metadata service (IMDS) network calls when the `region` field is omitted in EC2, ECS, RDS, MSK, ElastiCache, and Lightsail service discovery configs. [#19037](prometheus/prometheus#19037)
- \[BUGFIX] Discovery/Docker: Set a request timeout for `docker_sd` and `dockerswarm_sd` on `unix`, `npipe`, and `tcp` hosts. Previously an unresponsive daemon could freeze discovery indefinitely, silently pinning targets to a stale snapshot. [#19237](prometheus/prometheus#19237)
- \[BUGFIX] Discovery/Docker: Fix panic in Docker Swarm service discovery when a service runs as a plugin or network-attachment. [#19102](prometheus/prometheus#19102)
- \[BUGFIX] Discovery/Docker: Fix discovery of IPv6-only containers. [#18778](prometheus/prometheus#18778)
- \[BUGFIX] PromQL: Fix case-insensitive regex label matchers silently dropping matching values. [#19167](prometheus/prometheus#19167)
- \[BUGFIX] PromQL: Fix `mad_over_time` returning 0 instead of `NaN` when the range contains a `NaN` sample. [#19040](prometheus/prometheus#19040)
- \[BUGFIX] Promtool: Accept `--enable-feature=promql-binop-fill-modifiers` in `check rules`, which previously rejected valid `fill()`/`fill_left()`/`fill_right()` expressions. [#19153](prometheus/prometheus#19153)
- \[BUGFIX] Remote write: Respect the `AZURE_FEDERATED_TOKEN_FILE` environment variable for workload identity authentication instead of hardcoding the token file path. [#18973](prometheus/prometheus#18973)
- \[BUGFIX] Rules: Clean up stale `rule_group_last_rule_duration_sum_seconds` and `rule_group_last_restore_duration_seconds` series when a rule group is removed or renamed on reload. Previously each reload leaked two series per dropped group, growing `/metrics` cardinality over time. [#19107](prometheus/prometheus#19107)
- \[BUGFIX] Scrape: Fix scrape manager spinning at 100% CPU on shutdown. [#19149](prometheus/prometheus#19149)
- \[BUGFIX] TSDB: Fix silent data loss and potential crash loop when `stale_series_compaction_threshold` is used in the config file. [#19016](prometheus/prometheus#19016)
- \[BUGFIX] TSDB: Fix potential data loss on restart when out-of-order ingestion is enabled and blocks are compacted. [#19016](prometheus/prometheus#19016)
- \[BUGFIX] TSDB: Fix `prometheus_tsdb_head_stale_series` over-counting and early eviction of series that change between float, integer histogram, and float histogram sample types. [#19183](prometheus/prometheus#19183)
- \[BUGFIX] TSDB: Fix goroutine and file handle leaks when Prometheus fails to open a corrupt TSDB. On Windows, the leaked directory handle also prevented TSDB directory removal. [#18291](prometheus/prometheus#18291)
- \[BUGFIX] TSDB: Fix out-of-order queries blocking compaction for hours, causing memory usage to grow. [#19013](prometheus/prometheus#19013)
- \[BUGFIX] TSDB: Fix deleted series causing missing samples and errors after restart. [#19140](prometheus/prometheus#19140)
- \[BUGFIX] TSDB: Fix native histogram data becoming incorrect after restart. [#19202](prometheus/prometheus#19202)
- \[BUGFIX] TSDB: Surface query errors that were previously silently discarded. [#19120](prometheus/prometheus#19120)
- \[BUGFIX] TSDB: Honour the configured float chunk encoding when compaction rewrites chunks; previously chunks encoded with `--enable-feature=xor2-encoding` could silently revert to XOR after compaction. [#19145](prometheus/prometheus#19145)
- \[BUGFIX] UI: Show the delete-series form on the TSDB Status page when `--web.enable-admin-api` is enabled. [#19025](prometheus/prometheus#19025)
renovate Bot added a commit to sdwilsh/ansible-playbooks that referenced this pull request Aug 22, 2026
##### [\`v3.14.0\`](https://github.com/prometheus/prometheus/releases/tag/v3.14.0)

- \[CHANGE] API: Deprecate the `stats` query parameter of `/api/v1/query` and `/api/v1/query_range` for values other than `true` and `all`. Other values still enable basic statistics but now return a deprecation warning; they will be rejected in the next major release. [#19124](prometheus/prometheus#19124)
- \[CHANGE] API: `/api/v1/status/config` now correctly shows `separator: ""` and `replacement: ""` in relabel configs when explicitly set to empty, instead of omitting them. [#18653](prometheus/prometheus#18653)
- \[CHANGE] Discovery/Hetzner: Drop the `__meta_hetzner_datacenter` label for `hcloud` targets, following its removal from the Hetzner Cloud API. [#19269](prometheus/prometheus#19269)
- \[CHANGE] PromQL: Enable duration expressions by default. The `promql-duration-expr` feature flag is now a no-op. [#19033](prometheus/prometheus#19033)
- \[CHANGE] PromQL: Promote `first_over_time` to stable. It no longer requires the `promql-experimental-functions` feature flag. [#19093](prometheus/prometheus#19093)
- \[FEATURE] Discovery: Add Oracle Cloud Infrastructure compute service discovery (`oci_sd_configs`). [#18919](prometheus/prometheus#18919)
- \[FEATURE] PromQL: Add experimental `start_timestamp(instant-vector)` function returning the start timestamp of each sample in the given vector. Requires the `use-start-timestamps` feature flag. [#19089](prometheus/prometheus#19089)
- \[FEATURE] PromQL: Allow `rate()` and `increase()` to use start timestamps as an alternative for rate extrapolation. Hidden behind the `use-start-timestamps` feature flag. [#18619](prometheus/prometheus#18619)
- \[FEATURE] TSDB: Add experimental support for encoding start timestamps in histograms and float histograms. Hidden behind the `histograms-st-encoding` feature flag. [#18609](prometheus/prometheus#18609)
- \[ENHANCEMENT] OTLP: Emit a warning when OTLP attribute names collide into the same Prometheus label after sanitization (e.g. `k8s.pod.name` and `k8s_pod_name` both become `k8s_pod_name`), and expose the `prometheus_api_otlp_translation_warnings_total` counter labelled by `category` to track such warnings. [#18957](prometheus/prometheus#18957)
- \[ENHANCEMENT] Promtool: Add `--remote-write.path` flag to `push metrics` for backends that use a non-default remote-write endpoint. [#19086](prometheus/prometheus#19086)
- \[ENHANCEMENT] Remote write: Forward histogram start timestamps in the remote write V2 protocol. [#18903](prometheus/prometheus#18903)
- \[ENHANCEMENT] TSDB: Add `prometheus_tsdb_head_native_histogram_series` and `prometheus_tsdb_head_native_histogram_buckets` gauges tracking the number of native histogram series and buckets in the head. [#19170](prometheus/prometheus#19170)
- \[ENHANCEMENT] UI: Add syntax highlighting, autocompletion, and linting for PromQL duration expressions (`step()`, `range()`, `min_of()`, `max_of()`) in range selectors and subqueries. [#18625](prometheus/prometheus#18625)
- \[ENHANCEMENT] UI: Add copy button next to rule names on the Rules and Alerts pages. [#18706](prometheus/prometheus#18706)
- \[ENHANCEMENT] UI: Improve rule group title contrast on the Rules page. [#19181](prometheus/prometheus#19181)
- \[PERF] Speed up regex label matchers matching a set of literal values (e.g. `{job=~"foo|bar|baz"}`). [#18833](prometheus/prometheus#18833)
- \[PERF] Remote read: Improve remote read throughput by removing unnecessary per-write flushing. [#18470](prometheus/prometheus#18470)
- \[PERF] Scrape: Parse text and OpenMetrics formats without recursion, preventing stack overflow from deeply nested or malicious exposition input. [#19143](prometheus/prometheus#19143)
- \[PERF] Scrape: Reduce native histogram scrape parsing allocations by \~49%. [#19282](prometheus/prometheus#19282)
- \[PERF] TSDB: Speed up queries on series with many in-memory chunks. [#18300](prometheus/prometheus#18300)
- \[BUGFIX] Alerting: Fix 100% CPU usage on shutdown that could delay graceful shutdown and trigger timeout-based kills. [#17859](prometheus/prometheus#17859)
- \[BUGFIX] Discovery/AWS: Stop `promtool check config` from making AWS metadata service (IMDS) network calls when the `region` field is omitted in EC2, ECS, RDS, MSK, ElastiCache, and Lightsail service discovery configs. [#19037](prometheus/prometheus#19037)
- \[BUGFIX] Discovery/Docker: Set a request timeout for `docker_sd` and `dockerswarm_sd` on `unix`, `npipe`, and `tcp` hosts. Previously an unresponsive daemon could freeze discovery indefinitely, silently pinning targets to a stale snapshot. [#19237](prometheus/prometheus#19237)
- \[BUGFIX] Discovery/Docker: Fix panic in Docker Swarm service discovery when a service runs as a plugin or network-attachment. [#19102](prometheus/prometheus#19102)
- \[BUGFIX] Discovery/Docker: Fix discovery of IPv6-only containers. [#18778](prometheus/prometheus#18778)
- \[BUGFIX] PromQL: Fix case-insensitive regex label matchers silently dropping matching values. [#19167](prometheus/prometheus#19167)
- \[BUGFIX] PromQL: Fix `mad_over_time` returning 0 instead of `NaN` when the range contains a `NaN` sample. [#19040](prometheus/prometheus#19040)
- \[BUGFIX] Promtool: Accept `--enable-feature=promql-binop-fill-modifiers` in `check rules`, which previously rejected valid `fill()`/`fill_left()`/`fill_right()` expressions. [#19153](prometheus/prometheus#19153)
- \[BUGFIX] Remote write: Respect the `AZURE_FEDERATED_TOKEN_FILE` environment variable for workload identity authentication instead of hardcoding the token file path. [#18973](prometheus/prometheus#18973)
- \[BUGFIX] Rules: Clean up stale `rule_group_last_rule_duration_sum_seconds` and `rule_group_last_restore_duration_seconds` series when a rule group is removed or renamed on reload. Previously each reload leaked two series per dropped group, growing `/metrics` cardinality over time. [#19107](prometheus/prometheus#19107)
- \[BUGFIX] Scrape: Fix scrape manager spinning at 100% CPU on shutdown. [#19149](prometheus/prometheus#19149)
- \[BUGFIX] TSDB: Fix silent data loss and potential crash loop when `stale_series_compaction_threshold` is used in the config file. [#19016](prometheus/prometheus#19016)
- \[BUGFIX] TSDB: Fix potential data loss on restart when out-of-order ingestion is enabled and blocks are compacted. [#19016](prometheus/prometheus#19016)
- \[BUGFIX] TSDB: Fix `prometheus_tsdb_head_stale_series` over-counting and early eviction of series that change between float, integer histogram, and float histogram sample types. [#19183](prometheus/prometheus#19183)
- \[BUGFIX] TSDB: Fix goroutine and file handle leaks when Prometheus fails to open a corrupt TSDB. On Windows, the leaked directory handle also prevented TSDB directory removal. [#18291](prometheus/prometheus#18291)
- \[BUGFIX] TSDB: Fix out-of-order queries blocking compaction for hours, causing memory usage to grow. [#19013](prometheus/prometheus#19013)
- \[BUGFIX] TSDB: Fix deleted series causing missing samples and errors after restart. [#19140](prometheus/prometheus#19140)
- \[BUGFIX] TSDB: Fix native histogram data becoming incorrect after restart. [#19202](prometheus/prometheus#19202)
- \[BUGFIX] TSDB: Surface query errors that were previously silently discarded. [#19120](prometheus/prometheus#19120)
- \[BUGFIX] TSDB: Honour the configured float chunk encoding when compaction rewrites chunks; previously chunks encoded with `--enable-feature=xor2-encoding` could silently revert to XOR after compaction. [#19145](prometheus/prometheus#19145)
- \[BUGFIX] UI: Show the delete-series form on the TSDB Status page when `--web.enable-admin-api` is enabled. [#19025](prometheus/prometheus#19025)
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.

feat: native OCI (Oracle Cloud Infrastructure) compute service discovery

2 participants