Repository navigation
discovery: remove unused "datacenter" code in hetzner cloud discovery - #19269
Merged
bboreham merged 3 commits intoJul 28, 2026
Merged
Conversation
apricote
approved these changes
Jul 27, 2026
apricote
left a comment
Collaborator
There was a problem hiding this comment.
The field is always nil, so this just removes dead code.
Merged
Member
|
thanks for this, let's also update the Note in |
Member
|
and let's also bump to that Go dep version that drops the field. |
jooola
force-pushed
the
remove-hetzner-datacenters
branch
from
July 28, 2026 08:53
2c756b7 to
8eee33c
Compare
Collaborator
Author
|
@machine424 I updated the docs and bumped our API client library using Unless the CI is still unhappy, I think this is ready for a review. |
machine424
approved these changes
Jul 28, 2026
machine424
left a comment
Member
There was a problem hiding this comment.
lgtm, thanks!
you may need to rebase after #19276 is merged :)
The datacenter property was removed from the server object in the Hetzner Cloud API: https://docs.hetzner.cloud/changelog#2026-07-01-removing-datacenters This commit reflects the changes made in the API. This should also make upgrading the github.com/hetznercloud/hcloud-go dependency easier. Signed-off-by: Jonas Lammler <[email protected]>
Signed-off-by: Jonas Lammler <[email protected]>
Signed-off-by: Jonas Lammler <[email protected]>
jooola
force-pushed
the
remove-hetzner-datacenters
branch
from
July 28, 2026 09:36
b44e5f0 to
8707095
Compare
Collaborator
Author
|
Rebased and squashed the 2 deps update commits together. |
bboreham
approved these changes
Jul 28, 2026
1 task done
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)
1 task
1 of 4 tasks
dehaansa
added a commit
to grafana/alloy
that referenced
this pull request
Sep 21, 2026
… set for hcloud targets Prometheus v0.314.0 dropped the __meta_hetzner_datacenter label for hcloud role targets, keeping it only for robot role targets (alongside a new __meta_hetzner_robot_datacenter alias). The docs still listed it as common to both roles. Upstream removed it in prometheus/prometheus#19269 ("discovery: remove unused \"datacenter\" code in hetzner cloud discovery"), following the Hetzner Cloud API itself dropping the underlying datacenter field: prometheus/prometheus#19269 BREAKING-CHANGE: `discovery.hetzner` no longer exports the `__meta_hetzner_datacenter` label for targets with `role = "hcloud"`. Relabeling rules that reference this label for `hcloud` targets silently stop matching. The label is unaffected for `role = "robot"` targets, which also now export it under the additional name `__meta_hetzner_robot_datacenter`. Co-Authored-By: Claude Sonnet 5 <[email protected]>
dehaansa
added a commit
to grafana/alloy
that referenced
this pull request
Sep 21, 2026
… set for hcloud targets (#7169) ### Brief description of Pull Request Documents that Prometheus v0.314.0 dropped the `__meta_hetzner_datacenter` label for `discovery.hetzner` targets with `role = "hcloud"`, keeping it only for `role = "robot"` targets. fix(discovery.hetzner)!: Document `__meta_hetzner_datacenter` no longer set for hcloud targets BREAKING-CHANGE: `discovery.hetzner` no longer exports the `__meta_hetzner_datacenter` label for targets with `role = "hcloud"`. Relabeling rules that reference this label for `hcloud` targets silently stop matching. The label is unaffected for `role = "robot"` targets, which also now export it under the additional name `__meta_hetzner_robot_datacenter`. ### Pull Request Details Found while auditing the Prometheus v0.313.2 -> v0.314.0 dependency bump for missed follow-ups (this got much less scrutiny than the concurrent OTel Collector bump). Verified in `discovery/hetzner/hcloud.go`: the label assignment present at v0.313.2 is absent at v0.314.0; `discovery/hetzner/robot.go` still sets it. Upstream removed it in [prometheus/prometheus#19269](prometheus/prometheus#19269) ("discovery: remove unused \"datacenter\" code in hetzner cloud discovery"), following the Hetzner Cloud API itself dropping the underlying `datacenter` field. Also listed in the [v0.314.0 CHANGELOG](https://github.com/prometheus/prometheus/blob/v0.314.0/CHANGELOG.md): "Drop the `__meta_hetzner_datacenter` label for `hcloud` targets, following its removal from the Hetzner Cloud API." ### Issue(s) fixed by this Pull Request ### Notes to the Reviewer ### PR Checklist - [ ] Documentation added - [ ] Tests updated - [ ] Config converters updated - [x] This pull request was substantially generated with AI assistance (see the [GenAI policy](https://github.com/grafana/alloy/blob/main/docs/developer/genai.md)) Co-authored-by: Claude Sonnet 5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The "datacenter" property was removed from the server object in the Hetzner Cloud API: https://docs.hetzner.cloud/changelog#2026-07-01-removing-datacenters
This commit reflects the changes made in the API. This should also make upgrading the github.com/hetznercloud/hcloud-go dependency easier.
Release notes for end users (ALL commits must be considered).