Commit graph

1235 commits

Author SHA1 Message Date
Steffen Baarsgaard
9a6814cdfb
promtool: Add --remote-write.path for overriding push metrics url path (#19086)
Some checks are pending
buf.build / lint and publish (push) Waiting to run
CI / Go tests (push) Waiting to run
CI / More Go tests (push) Waiting to run
CI / Go tests for 32-bit x86 (push) Waiting to run
CI / List active LTS releases (push) Waiting to run
CI / Go tests for Prometheus upgrades and downgrades (push) Blocked by required conditions
CI / Go tests with previous Go version (push) Waiting to run
CI / UI tests (push) Waiting to run
CI / Go tests on Windows (push) Waiting to run
CI / Mixins tests (push) Waiting to run
CI / Compliance testing (push) Waiting to run
CI / Build Prometheus for common architectures (push) Blocked by required conditions
CI / Build Prometheus for all architectures (push) Blocked by required conditions
CI / Report status of build Prometheus for all architectures (push) Blocked by required conditions
CI / Check generated parser (push) Waiting to run
CI / golangci-lint (push) Waiting to run
CI / fuzzing (push) Waiting to run
CI / codeql (push) Waiting to run
CI / Publish main branch artifacts (push) Blocked by required conditions
CI / Publish release artefacts (push) Blocked by required conditions
CI / Publish UI on npm Registry (push) Blocked by required conditions
govulncheck / Run govulncheck (push) Waiting to run
Scorecards supply-chain security / Scorecards analysis (push) Waiting to run
* feat(promtool): Add flag --remote-write.path=/api/v1/write
* docs(promtool): Generate cli docs for new flag

Signed-off-by: Steffen Baarsgaard <steff.bpoulsen@gmail.com>
Co-authored-by: Varsha U N <varshaun58@gmail.com>
2026-07-06 16:31:44 +10:00
Julien Pivotto
b4741eeb99
promql: promote first_over_time to stable
Remove the Experimental flag from first_over_time and move it into the
stable *_over_time function lists in the docs and UI function reference.

Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2026-07-03 16:44:27 +02:00
Carrie Edwards
abb5a2f947
Add histogram chunk encoding with Start Timestamp support (#18609)
* Add histogram chunk encoding with Start Timestamp support

Signed-off-by: Carrie Edwards <edwrdscarrie@gmail.com>

* Update documentation

Signed-off-by: Carrie Edwards <edwrdscarrie@gmail.com>

* Add more tests

Signed-off-by: Carrie Edwards <edwrdscarrie@gmail.com>

* Fix for appendHistogram

Signed-off-by: Carrie Edwards <edwrdscarrie@gmail.com>

* Linting

Signed-off-by: Carrie Edwards <edwrdscarrie@gmail.com>

* Fix start timestamp for histogram samples in TestCompactingChunkSeriesMerger

Signed-off-by: Carrie Edwards <edwrdscarrie@gmail.com>

* Refactor and reduce code duplication

Signed-off-by: Carrie Edwards <edwrdscarrie@gmail.com>

* Move counter reset hint bits into sample count field

Signed-off-by: Carrie Edwards <edwrdscarrie@gmail.com>

* Fix bug with counter reset header

Signed-off-by: Carrie Edwards <edwrdscarrie@gmail.com>

* Clean up docs

Signed-off-by: Carrie Edwards <edwrdscarrie@gmail.com>

* Address feedback

Signed-off-by: Carrie Edwards <edwrdscarrie@gmail.com>

* Lint

Signed-off-by: Carrie Edwards <edwrdscarrie@gmail.com>

* Refactor to use generic appenders

Signed-off-by: Carrie Edwards <edwrdscarrie@gmail.com>

* Update to include changes to histogram appenders

Signed-off-by: Carrie Edwards <edwrdscarrie@gmail.com>

* Address feedback

Signed-off-by: Carrie Edwards <edwrdscarrie@gmail.com>

* tsdb: add histograms-st-encoding feature flag (#18912)

* tsdb: add histograms-st-encoding feature flag

Decouple the ST-capable histogram chunk encodings (EncHistogramST,
EncFloatHistogramST) from the xor2-encoding feature flag and gate them
behind a new histograms-st-encoding flag instead. Previously
--enable-feature=xor2-encoding turned on both the float XOR2 encoding
and the histogram ST encodings via a single useXOR2 boolean; that
conflated two independent on-disk formats and made it impossible to opt
into one without the other.

ValueType.ChunkEncoding and NewChunk now take separate useXOR2 and
useHistogramST flags. Dispatch only consumes the relevant flag per
value type; data-driven callers that gate on actual ST presence in the
samples (storage/series.go, tsdb/querier.go, tsdb/chunks/chunks.go)
pass hasST for both. tsdb.Options gains EnableHistogramSTEncoding;
tsdb.HeadOptions gains a matching atomic.Bool. The new flag is
propagated through chunkOpts/headAppenderBase and read at every site
that currently reads EnableXOR2Encoding (head append v1/v2, head_wal
WAL/WBL replay, ooo_head_read).

Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
Signed-off-by: George Krajcsovits <krajorama@users.noreply.github.com>

* Address feedback

Signed-off-by: Carrie Edwards <edwrdscarrie@gmail.com>

* Fix histogram tests

Signed-off-by: Carrie Edwards <edwrdscarrie@gmail.com>

* Fix histogram ST PromQL tests

Signed-off-by: Carrie Edwards <edwrdscarrie@gmail.com>

* Fixes for promQL tests

Signed-off-by: Carrie Edwards <edwrdscarrie@gmail.com>

---------

Signed-off-by: Carrie Edwards <edwrdscarrie@gmail.com>
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
Signed-off-by: George Krajcsovits <krajorama@users.noreply.github.com>
Co-authored-by: George Krajcsovits <krajorama@users.noreply.github.com>
2026-06-30 10:30:29 -07:00
Bryan Boreham
3b15259484
Merge pull request #18456 from EoinTrial/fix/stale-links-in-docs
docs: update stale links in configuration.md
2026-06-30 12:29:46 +01:00
Julien
bc1f5c6955
Merge pull request #19033 from roidelapluie/roidelapluie/stabilize-promql-durations
promql: enable duration expressions by default
2026-06-30 12:14:23 +02:00
Julien Pivotto
352e36a760
promql: enable duration expressions by default
Duration expressions no longer require the promql-duration-expr feature
flag, which is now a no-op in both prometheus and promtool. The parser
option (ExperimentalDurationExpr) is kept and enabled by default in the
binaries, so downstream consumers of the parser can still keep it off.

Move the documentation from the feature flags page into the PromQL
querying basics.

Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2026-06-29 14:32:14 +02:00
Julien Pivotto
8268cffedb
feat(discovery/oci): expose primary VNIC IPv6 addresses and hostname
The SD only read the primary VNIC's IPv4 PrivateIp/PublicIp, so dual-stack
instances could not be discovered over IPv6 and the VNIC hostname label was
not available for relabeling.

Expose two new meta labels taken straight from the OCI VNIC:

  __meta_oci_ipv6_addresses  comma-surrounded list of the primary VNIC's
                             IPv6 addresses, sorted for deterministic output
  __meta_oci_hostname_label  the primary VNIC's hostname label

OCI's API names the IPv4 fields privateIp/publicIp (no v4 qualifier) and the
v6 field ipv6Addresses, so the existing private_ip/public_ip labels are kept
as-is rather than renamed.

Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2026-06-29 12:40:29 +02:00
Julien
30355e7947
Merge pull request #18919 from amaanx86/main
Some checks are pending
buf.build / lint and publish (push) Waiting to run
CI / Go tests (push) Waiting to run
CI / More Go tests (push) Waiting to run
CI / Go tests for 32-bit x86 (push) Waiting to run
CI / Go tests for Prometheus upgrades and downgrades (push) Waiting to run
CI / Go tests with previous Go version (push) Waiting to run
CI / UI tests (push) Waiting to run
CI / Go tests on Windows (push) Waiting to run
CI / Mixins tests (push) Waiting to run
CI / Compliance testing (push) Waiting to run
CI / Build Prometheus for common architectures (push) Blocked by required conditions
CI / Build Prometheus for all architectures (push) Blocked by required conditions
CI / Report status of build Prometheus for all architectures (push) Blocked by required conditions
CI / Check generated parser (push) Waiting to run
CI / golangci-lint (push) Waiting to run
CI / fuzzing (push) Waiting to run
CI / codeql (push) Waiting to run
CI / Publish main branch artifacts (push) Blocked by required conditions
CI / Publish release artefacts (push) Blocked by required conditions
CI / Publish UI on npm Registry (push) Blocked by required conditions
govulncheck / Run govulncheck (push) Waiting to run
Scorecards supply-chain security / Scorecards analysis (push) Waiting to run
discovery/oci: add native Oracle Cloud Infrastructure service discovery
2026-06-29 12:17:28 +02:00
Amaan Ul Haq Siddiqui
c2d537a76e
fix(discovery/oci): oci_sd error prefix, primary-only VNIC, rate cap
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 <amaanulhaq.s@outlook.com>
2026-06-28 13:50:52 +05:00
Amaan Ul Haq Siddiqui
b7c5ace033
fix(discovery/oci): keep API rate cap internal
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 <amaanulhaq.s@outlook.com>
2026-06-26 19:52:25 +05:00
Amaan Ul Haq Siddiqui
0b4bdd50b9
docs(configuration): update oci_sd_config for review round
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 <amaanulhaq.s@outlook.com>
2026-06-26 13:47:58 +05:00
Lohit Kolluri
757c338033
docs: clarify that compaction can temporarily exceed retention.size
Compaction creates a new block before deleting the source blocks, so on-disk size can briefly exceed `storage.tsdb.retention.size` until the next retention cleanup removes the source blocks. The current docs describe the setting as a hard limit and the right-sizing recommendation as a heuristic, without explaining the mechanism.

Document the temporary overhead in the Compaction section and point to it from the Right-Sizing Retention Size section, so the 80-85% recommendation has a clear basis.

Verified against tsdb/compact.go and tsdb/db.go: write() creates the new block in a tmp directory and atomically renames it; source blocks are marked Deletable=true rather than deleted; BeyondSizeRetention sums Head().Size() plus block.Size() for every persistent block.

Signed-off-by: Lohit Kolluri <lohitkolluri@gmail.com>
2026-06-22 15:52:27 +05:30
Amaan Ul Haq Siddiqui
46ff6d3681 docs(configuration): document new OCI labels and key_passphrase_file
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 <amaanulhaq.s@outlook.com>
2026-06-20 14:18:05 +05:00
Amaan Ul Haq Siddiqui
fea1146245
docs(configuration): update oci_sd_config for review feedback
Documents the embedded HTTP options, drops rate_limit_rps, and notes case-preserving tag sanitization.

Signed-off-by: Amaan Ul Haq Siddiqui <amaanulhaq.s@outlook.com>
2026-06-17 00:38:59 +05:00
Michael Hoffmann
143643b563 scrape: add more native-histogram related internal labels
This is a followup to our previous commit where we made convert_classic_histograms_to_nhcb
configurable at discovery time. We add the other native histogram labels
too here.

Signed-off-by: Michael Hoffmann <mhoffmann@cloudflare.com>
2026-06-15 13:17:46 +00:00
Bryan Boreham
121eaa1778
Merge pull request #18081 from DanCech/samples-read
Some checks are pending
buf.build / lint and publish (push) Waiting to run
CI / Go tests (push) Waiting to run
CI / More Go tests (push) Waiting to run
CI / Go tests for 32-bit x86 (push) Waiting to run
CI / Go tests for Prometheus upgrades and downgrades (push) Waiting to run
CI / Go tests with previous Go version (push) Waiting to run
CI / UI tests (push) Waiting to run
CI / Go tests on Windows (push) Waiting to run
CI / Mixins tests (push) Waiting to run
CI / Compliance testing (push) Waiting to run
CI / Build Prometheus for common architectures (push) Waiting to run
CI / Build Prometheus for all architectures (push) Waiting to run
CI / Report status of build Prometheus for all architectures (push) Blocked by required conditions
CI / Check generated parser (push) Waiting to run
CI / golangci-lint (push) Waiting to run
CI / fuzzing (push) Waiting to run
CI / codeql (push) Waiting to run
CI / Publish main branch artifacts (push) Blocked by required conditions
CI / Publish release artefacts (push) Blocked by required conditions
CI / Publish UI on npm Registry (push) Blocked by required conditions
govulncheck / Run govulncheck (push) Waiting to run
Scorecards supply-chain security / Scorecards analysis (push) Waiting to run
promql: Add metric and stats to track total samples read per query

[FEATURE] PromQL: Expose per-query `samplesRead` (and `samplesReadPerStep` with `stats=all` and the `promql-per-step-stats` feature flag) in the query stats response, and add the `prometheus_engine_query_samples_read_total` engine counter. `samplesRead` reflects storage I/O distinct from `totalQueryableSamples`, which counts samples loaded into the evaluator (and so over-counts when a sample is reused across multiple range-vector windows).
[BUGFIX] PromQL: A range query whose `end` was not aligned to `step` caused subqueries inside it to evaluate past the parent's last actual step, inflating `peakSamples` in the query stats and against the `query.max-samples` limit, and wasting storage I/O reading samples that were never used in the result.
[BUGFIX] PromQL: A range query containing an at-modifier-unsafe function over a range-vector with an `@` modifier (e.g. `predict_linear(metric[60s] @ T, X)`) silently under-counted `totalQueryableSamples` for steps after step 0.
2026-06-15 13:26:56 +01:00
Amaan Ul Haq Siddiqui
d9a158e0b4
docs(configuration): add oci_sd_config reference
Signed-off-by: Amaan Ul Haq Siddiqui <amaanulhaq.s@outlook.com>
2026-06-13 14:51:05 +05:00
Julien
aa778345be
Merge pull request #18769 from roidelapluie/roidelapluie/xor2-reload
tsdb: add chunk_encoding config field for runtime encoding selection
2026-06-12 13:50:11 +02:00
Julien Pivotto
693de0b7ca tsdb: address review feedback on chunk_encoding config
- Rename chunkenc.Compatible to CompatibleValues and document that it
  concerns sample-value encoding only; ST compatibility is the caller's
  responsibility. Update callers and tests.
- Use audience-neutral wording in validateOpts errors (the tsdb package is
  also consumed as a library) instead of Prometheus-only config-key names.
- Correct docs/feature_flags.md: with st-storage active and a resolved XOR
  encoding, Prometheus fails configuration validation rather than warning.
- Drop the unrelated LICENSE-check change from scripts/sync_repo_files.sh.

Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2026-06-12 12:15:59 +02:00
Julien Pivotto
350685bade tsdb: add chunk_encoding config field for runtime encoding selection
--enable-feature=xor2-encoding sets tsdb.Options.FloatChunkEncoding to
EncXOR2 (a concrete encoding value, not a feature-flag bool). ApplyConfig
uses this as the fallback when chunk_encoding.floats is absent. No global
mutable state is introduced in the config package.

Signed-off-by: Julien Pivotto <julien.pivotto@grafana.com>
Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2026-06-11 16:45:30 +02:00
Joe Adams
b55b603290
Merge pull request #18859 from matt-gp/aws_sd_filters
Some checks are pending
buf.build / lint and publish (push) Waiting to run
CI / Go tests (push) Waiting to run
CI / More Go tests (push) Waiting to run
CI / Go tests for 32-bit x86 (push) Waiting to run
CI / Go tests for Prometheus upgrades and downgrades (push) Waiting to run
CI / Go tests with previous Go version (push) Waiting to run
CI / UI tests (push) Waiting to run
CI / Go tests on Windows (push) Waiting to run
CI / Mixins tests (push) Waiting to run
CI / Compliance testing (push) Waiting to run
CI / Build Prometheus for common architectures (push) Waiting to run
CI / Build Prometheus for all architectures (push) Waiting to run
CI / Report status of build Prometheus for all architectures (push) Blocked by required conditions
CI / Check generated parser (push) Waiting to run
CI / golangci-lint (push) Waiting to run
CI / fuzzing (push) Waiting to run
CI / codeql (push) Waiting to run
CI / Publish main branch artifacts (push) Blocked by required conditions
CI / Publish release artefacts (push) Blocked by required conditions
CI / Publish UI on npm Registry (push) Blocked by required conditions
govulncheck / Run govulncheck (push) Waiting to run
Scorecards supply-chain security / Scorecards analysis (push) Waiting to run
discovery/aws: add filter support for RDS role
2026-06-09 21:59:13 -04:00
matt-gp
9aecbdad54
AWS SD: RDS Filters 2026-06-09 18:25:57 +01:00
Bartlomiej Plotka
d0db9b693c
Merge pull request #18217 from bragi92/main
Some checks are pending
buf.build / lint and publish (push) Waiting to run
CI / Go tests (push) Waiting to run
CI / More Go tests (push) Waiting to run
CI / Go tests for 32-bit x86 (push) Waiting to run
CI / Go tests for Prometheus upgrades and downgrades (push) Waiting to run
CI / Go tests with previous Go version (push) Waiting to run
CI / UI tests (push) Waiting to run
CI / Go tests on Windows (push) Waiting to run
CI / Mixins tests (push) Waiting to run
CI / Compliance testing (push) Waiting to run
CI / Build Prometheus for common architectures (push) Waiting to run
CI / Build Prometheus for all architectures (push) Waiting to run
CI / Report status of build Prometheus for all architectures (push) Blocked by required conditions
CI / Check generated parser (push) Waiting to run
CI / golangci-lint (push) Waiting to run
CI / fuzzing (push) Waiting to run
CI / codeql (push) Waiting to run
CI / Publish main branch artifacts (push) Blocked by required conditions
CI / Publish release artefacts (push) Blocked by required conditions
CI / Publish UI on npm Registry (push) Blocked by required conditions
govulncheck / Run govulncheck (push) Waiting to run
Scorecards supply-chain security / Scorecards analysis (push) Waiting to run
remote_write : Add Certificate support for ingesting data into an Azure Monitor Workspace
2026-06-08 09:55:53 +00:00
Michael Hoffmann
05d9bd4a27
scrape: add __convert_classic_histograms_to_nhcb__ internal label (#18840)
Adding this as a meta label makes it possible to dynamically configure
this setting through discovery labels.
This helps in usecases like K8S where we could enable this with a pod
annotation.

Signed-off-by: Michael Hoffmann <mhoffmann@cloudflare.com>
2026-06-03 13:11:21 +00:00
Dan Cech
8a233132e6
promql: track samples read per query
Add a per-query samples-read counter that distinguishes storage I/O
from the existing TotalSamples count. TotalSamples reports samples
loaded into the evaluator and so over-counts when a sample is reused
across multiple range-vector windows; samplesRead reflects what the
storage layer actually had to read.

For range-vector functions in range queries, samplesRead applies
delta semantics: step 0 counts the full window, later steps count
only the points not already present in the previous step's window.
For other query shapes samplesRead equals TotalSamples.

Expose the new counter:

- as `samplesRead` and `samplesReadPerStep` in /api/v1/query{,_range}
  stats responses (the per-step variant only with stats=all and the
  per-step stats feature flag enabled);
- as the `prometheus_engine_query_samples_read_total` Prometheus
  counter, reporting the cumulative samples-read across all queries;
- in the OpenAPI schemas.

Also update the per-step stats feature flag and querying API
documentation, and add unit tests covering instant queries, range
queries, range-vector functions, and subqueries.

Signed-off-by: Dan Cech <dcech@grafana.com>
2026-06-01 14:05:00 -04:00
Minh Vu
19d60b983e
documentcli: fix repeated flag markup (#18829)
Signed-off-by: Minh Vu <vuhoangminh97@gmail.com>
2026-06-01 11:04:29 +02:00
Julien
aa260fcde5
Merge pull request #18687 from roidelapluie/roidelapluie/greatest_least
Duration expression: Rename min/max -> min_of, max_of
2026-05-21 10:34:29 +02:00
Julien
e1f4380b2a
web/api: add search API endpoint (#18573)
Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2026-05-19 13:58:00 +02:00
quyentonndbs
ee7fea7f14
docs: fix duplicated word in lookback parameter docs (#18686)
Signed-off-by: Kai Tanaka <275430420+quyentonndbs@users.noreply.github.com>
Co-authored-by: Kai Tanaka <275430420+quyentonndbs@users.noreply.github.com>
2026-05-19 13:25:53 +02:00
Julien Pivotto
a74f0b2e7a PromQL: Rename greatest, least, to max_of, min_of.
Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2026-05-19 13:07:16 +02:00
Julien Pivotto
7af21f195c promql: add least() and greatest() scalar functions
Implement least(a, b) and greatest(a, b) as scalar-returning PromQL
functions backed by math.Min and math.Max respectively.

Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2026-05-18 11:15:31 +02:00
bwplotka
e2fa91da2b fix conflicts after rebase
Signed-off-by: bwplotka <bwplotka@gmail.com>
2026-05-14 10:28:51 +01:00
Bartlomiej Plotka
fe871f8404 Update docs/feature_flags.md
Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
2026-05-14 10:28:11 +01:00
Ridwan Sharif
8bcf91c370 scrape: clear synthesis state on failure and fix histogram copy
- Clear stCache state in scrape loop when append fails for existing series.
- Copy float histogram before storing in cache to avoid mutation.
- Add test for state mutation on OOO failure.
- Update docs to reflect behavior on failure.

Signed-off-by: Ridwan Sharif <ridwanmsharif@google.com>
2026-05-14 10:28:11 +01:00
Ridwan Sharif
4485560a60 chore: make some notes/comments more clear
Signed-off-by: Ridwan Sharif <ridwanmsharif@google.com>
2026-05-14 10:28:11 +01:00
Ridwan Sharif
5933a39a73 fix: reject out-of-order samples when start time synthesis is enabled during scrape
Signed-off-by: Ridwan Sharif <ridwanmsharif@google.com>
2026-05-14 10:28:11 +01:00
Ridwan Sharif
4920ce41ef chore: address PR comments v2
Signed-off-by: Ridwan Sharif <ridwanmsharif@google.com>
2026-05-14 10:28:11 +01:00
Ridwan Sharif
c53aa4a207 chore: simplify explicit ST setting
Signed-off-by: Ridwan Sharif <ridwanmsharif@google.com>
2026-05-14 10:28:11 +01:00
Ridwan Sharif
d7d7f03e57 chore: address PR comments
Signed-off-by: Ridwan Sharif <ridwanmsharif@google.com>
2026-05-14 10:28:11 +01:00
Julien Pivotto
76c859969d promql: rename min/max duration expr functions to least/greatest
Rename the `min()` and `max()` duration expression functions to
`least()` and `greatest()` to avoid conflicts with the existing
PromQL aggregate functions `min` and `max`.

Update documentation and tests accordingly.

Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2026-05-13 17:35:52 +02:00
Julien Pivotto
7b29b912e3 Revert "PromQL: Promote duration expressions as stable"
This reverts commit 1463a5bb5a.

Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2026-05-13 09:59:50 +02:00
Joe Adams
63f2bf9b9a
Merge pull request #16088 from rlees85/ipv6-only-ec2-sd
Some checks are pending
buf.build / lint and publish (push) Waiting to run
CI / Go tests (push) Waiting to run
CI / More Go tests (push) Waiting to run
CI / Go tests for Prometheus upgrades and downgrades (push) Waiting to run
CI / Go tests with previous Go version (push) Waiting to run
CI / UI tests (push) Waiting to run
CI / Go tests on Windows (push) Waiting to run
CI / Mixins tests (push) Waiting to run
CI / Compliance testing (push) Waiting to run
CI / Build Prometheus for common architectures (push) Waiting to run
CI / Build Prometheus for all architectures (push) Waiting to run
CI / Report status of build Prometheus for all architectures (push) Blocked by required conditions
CI / Check generated parser (push) Waiting to run
CI / golangci-lint (push) Waiting to run
CI / fuzzing (push) Waiting to run
CI / codeql (push) Waiting to run
CI / Publish main branch artifacts (push) Blocked by required conditions
CI / Publish release artefacts (push) Blocked by required conditions
CI / Publish UI on npm Registry (push) Blocked by required conditions
govulncheck / Run govulncheck (push) Waiting to run
Scorecards supply-chain security / Scorecards analysis (push) Waiting to run
discovery: Allow EC2 Service Discovery to work with IPv6-only instances
2026-05-11 23:09:34 -04:00
Julien Pivotto
cdf0184419 Promote auto-reload-config stable
Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2026-05-04 15:14:54 +02:00
Rich
fcdaef1365 Use a default IPv6 address for IPv6 only instances
Signed-off-by: Rich <git0@bitservices.io>
2026-04-29 19:58:17 +01:00
Julien
e48be9d71a
Merge pull request #18575 from roidelapluie/roidelapluie/duration-expression-stable
PromQL: Promote duration expressions as stable
2026-04-27 14:46:08 +02:00
matt-gp
8b63debbca
[ENHANCEMENT] AWS SD: Add optional external_id field 2026-04-26 18:34:56 +01:00
Denys Sedchenko
ca578101af
feat(tsdb/agent): Implement checkpoint based on series in memory (#17948)
Some checks failed
buf.build / lint and publish (push) Has been cancelled
CI / Go tests (push) Has been cancelled
CI / More Go tests (push) Has been cancelled
CI / Go tests for Prometheus upgrades and downgrades (push) Has been cancelled
CI / Go tests with previous Go version (push) Has been cancelled
CI / UI tests (push) Has been cancelled
CI / Go tests on Windows (push) Has been cancelled
CI / Mixins tests (push) Has been cancelled
CI / Compliance testing (push) Has been cancelled
CI / Build Prometheus for common architectures (push) Has been cancelled
CI / Build Prometheus for all architectures (push) Has been cancelled
CI / Check generated parser (push) Has been cancelled
CI / golangci-lint (push) Has been cancelled
CI / fuzzing (push) Has been cancelled
CI / codeql (push) Has been cancelled
govulncheck / Run govulncheck (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Has been cancelled
CI / Report status of build Prometheus for all architectures (push) Has been cancelled
CI / Publish main branch artifacts (push) Has been cancelled
CI / Publish release artefacts (push) Has been cancelled
CI / Publish UI on npm Registry (push) Has been cancelled
Adds CheckpointFromInMemorySeries option for agent.Options to enable a faster checkpoint implementation that skips segment re-read and just uses in-memory data instead.

* feat: impl agent-specific checkpoint dir
* feat: impl ActiveSeries interface
* feat: use new checkpoint impl
* feat: hide new checkpoint impl behind a feature flag
* feat: add benchmark
* feat: add benchstat case
* feat: use feature flag in bench
* feat: use same labels for persisted state and append
* feat: set WAL segment size
* feat: add checkpoint size metric and bump series size
* feat: wal replay test
* feat: expose new checkpoint opts in cmd flags
* feat: update cli doc
* add ActiveSeries and DeletedSeries doc

Signed-off-by: x1unix <9203548+x1unix@users.noreply.github.com>
Signed-off-by: Denys Sedchenko <9203548+x1unix@users.noreply.github.com>
Co-authored-by: George Krajcsovits <krajorama@users.noreply.github.com>
2026-04-24 19:42:26 +02:00
Julien Pivotto
1463a5bb5a PromQL: Promote duration expressions as stable
Signed-off-by: Julien Pivotto <291750+roidelapluie@users.noreply.github.com>
2026-04-24 18:45:09 +02:00
Julien
551b5b1c56
Merge pull request #17171 from bboreham/aws-external-id
Some checks are pending
buf.build / lint and publish (push) Waiting to run
CI / Go tests (push) Waiting to run
CI / More Go tests (push) Waiting to run
CI / Go tests for Prometheus upgrades and downgrades (push) Waiting to run
CI / Go tests with previous Go version (push) Waiting to run
CI / UI tests (push) Waiting to run
CI / Go tests on Windows (push) Waiting to run
CI / Mixins tests (push) Waiting to run
CI / Compliance testing (push) Waiting to run
CI / Build Prometheus for common architectures (push) Waiting to run
CI / Build Prometheus for all architectures (push) Waiting to run
CI / Report status of build Prometheus for all architectures (push) Blocked by required conditions
CI / Check generated parser (push) Waiting to run
CI / golangci-lint (push) Waiting to run
CI / fuzzing (push) Waiting to run
CI / codeql (push) Waiting to run
CI / Publish main branch artifacts (push) Blocked by required conditions
CI / Publish release artefacts (push) Blocked by required conditions
CI / Publish UI on npm Registry (push) Blocked by required conditions
govulncheck / Run govulncheck (push) Waiting to run
Scorecards supply-chain security / Scorecards analysis (push) Waiting to run
[ENHANCEMENT] AWS SD: Add optional external_id field
2026-04-24 09:41:58 +02:00
Vilius Pranckaitis
321fe34aab
PromQL: use start timestamps for rate()-like calculations (#18344)
* PromQL: use start timestamps for rate() and increase() calculations

* implement start timestamps reset detection for `irate()`
* add `start_timestamps.test`
* add a couple of tests with subqueries
* add a test for cumulative with unknown start timestamp
* update `enable-features` CLI parameter description
* `make cli-documentation`

Signed-off-by: vpranckaitis <vpranckaitis@gmail.com>

---------

Signed-off-by: Vilius Pranckaitis <vpranckaitis@gmail.com>
Signed-off-by: vpranckaitis <vpranckaitis@gmail.com>
2026-04-21 17:43:40 +02:00