Björn Rabenstein
cf0ba36db0
Merge pull request #17295 from prometheus/beorn7/cleanup
...
tsdb: Remove leftover debug fmt.Println
2025-10-07 15:22:53 +02:00
beorn7
51c8e55835
tsdb: Do not track stFloat in typesInBatch explicitly
...
Signed-off-by: beorn7 <beorn@grafana.com>
2025-10-07 15:01:22 +02:00
beorn7
5f582a7e1f
tsdb: Remove leftover debug fmt.Println
...
Signed-off-by: beorn7 <beorn@grafana.com>
2025-10-07 14:58:25 +02:00
Bartlomiej Plotka
a4da440dad
fix: Fix slicelabels corruption when used with proto decoding ( #17150 )
...
* fix: Fix slicelabels corruption when used with proto decoding
Alternative to https://github.com/prometheus/prometheus/pull/16957/
Signed-off-by: bwplotka <bwplotka@gmail.com>
* addressed comments
Signed-off-by: bwplotka <bwplotka@gmail.com>
---------
Signed-off-by: bwplotka <bwplotka@gmail.com>
2025-10-07 12:06:48 +01:00
Naman-B-Parlecha
7871bcb465
fix(convert): error message
...
Signed-off-by: Naman-B-Parlecha <namanparlecha@gmail.com>
2025-10-07 14:20:32 +05:30
George Krajcsovits
077abc5cca
Merge pull request #17291 from prometheus/krajo/pick-pr-17290
...
perf(tsdb): reuse map of sample types to speed up head appender
2025-10-07 09:30:33 +02:00
György Krajcsovits
d11ee103ac
perf(tsdb): reuse map of sample types to speed up head appender
...
While investigating +10% CPU in v3.7 release, found that ~5% is from
expanding the types map. Try reuse.
Also fix a linter error.
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
2025-10-07 08:31:20 +02:00
George Krajcsovits
fe4e684e0d
Merge pull request #17290 from prometheus/krajo/optimize-appender-typemap
...
perf(tsdb): reuse map of sample types to speed up head appender
2025-10-07 08:29:29 +02:00
György Krajcsovits
c26a5390aa
perf(tsdb): reuse map of sample types to speed up head appender
...
While investigating +10% CPU in v3.7 release, found that ~5% is from
expanding the types map. Try reuse.
Also fix a linter error.
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
2025-10-06 21:44:34 +02:00
Naman-B-Parlecha
79f3e76d89
fix(test): Comparing the labels correctly
...
Signed-off-by: Naman-B-Parlecha <namanparlecha@gmail.com>
2025-10-07 00:22:25 +05:30
Naman-B-Parlecha
c072b0000a
fix(convert): fix typos in comments
...
Signed-off-by: Naman-B-Parlecha <namanparlecha@gmail.com>
2025-10-06 23:05:01 +05:30
Naman-B-Parlecha
083d0fa835
refactor(convert): updated tests and moved formatOpenMetricsFloat
...
Signed-off-by: Naman-B-Parlecha <namanparlecha@gmail.com>
2025-10-06 22:56:45 +05:30
George Krajcsovits
fe11cae637
Merge pull request #17287 from linasm/reject-nan-histogram-custom-bounds
...
NHCB: Reject custom bucket bounds with NaN value
2025-10-06 18:11:03 +02:00
Linas Medziunas
c16db58061
NHCB: Reject custom bucket bounds with NaN value
...
Signed-off-by: Linas Medziunas <linas.medziunas@gmail.com>
2025-10-06 16:37:28 +03:00
Minh Nguyen
50d1dc2577
Improve prompb/readme.md ( #17037 )
...
* Improve propb/readme.md
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
* commit
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
---------
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
2025-10-06 12:55:08 +01:00
Minh Nguyen
106e6f2c77
[RW2] Return 400 for Exemplars without Series or Histograms not written ( #17250 )
...
* fix
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
* fix cmt
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
---------
Signed-off-by: pipiland2612 <nguyen.t.dang.minh@gmail.com>
2025-10-06 12:53:44 +01:00
Linas Medziunas
8caf1f1c41
[NHCB] Separate CustomBucketBoundsMatch from floatBucketsMatch
...
Signed-off-by: Linas Medziunas <linas.medziunas@gmail.com>
2025-10-05 22:38:07 +03:00
Sahil Rasaikar
96425ea984
fix: linting errors
...
Signed-off-by: Sahil Rasaikar <sahil.rasaikar@gmail.com>
2025-10-05 17:15:32 +05:30
Sahil Rasaikar
cc1e6e40f0
fix: Updates unknown state to -1,adds fix for failing test case
...
Signed-off-by: Sahil Rasaikar <sahil.rasaikar@gmail.com>
2025-10-05 17:15:32 +05:30
Sahil Rasaikar
516afbea67
Init Commit: fix for issue #4510
...
Signed-off-by: Sahil Rasaikar <sahil.rasaikar@gmail.com>
2025-10-05 17:15:32 +05:30
George Krajcsovits
f4b8840f51
Merge pull request #17271 from prometheus/krajo/fix-changelog
...
chore(changelog): fix changelog
2025-10-02 12:38:54 +02:00
Bryan Boreham
968d722bb2
Merge pull request #17212 from bboreham/no-simplify
...
[PERF] Regex: stop calling Simplify
2025-10-02 10:51:04 +01:00
György Krajcsovits
dc0013381c
chore(changelog): fix changelog
...
16737 was in 3.6.
16923 lacked number and a bit underdefined.
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
2025-10-02 09:49:25 +02:00
Björn Rabenstein
12c0961fd4
Merge pull request #17248 from prometheus/beorn7/histogram
...
model/histogram: Validate non-negative count and zero bucket
2025-10-01 18:05:14 +02:00
Björn Rabenstein
1b0f2b3017
Merge pull request #17249 from prometheus/beorn7/doc
...
docs: Clarify the handling of negative histograms
2025-10-01 16:58:28 +02:00
beorn7
e94031abd2
docs: Clarify the handling of negative histograms
...
Signed-off-by: beorn7 <beorn@grafana.com>
2025-10-01 16:42:20 +02:00
beorn7
3d7cf4c274
model/histogram: Validate non-negative count and zero bucket
...
We have always validated that none of the bucket is negative. We
should do the same for the count of observations and the zero bucket.
Note that this was always implied in the protobuf exposition format
because a count or a zero bucket population is ignored if it is not
positive.
Signed-off-by: beorn7 <beorn@grafana.com>
2025-10-01 16:40:41 +02:00
Marvin Rösch
e5dd0315a8
mixin: add uid to remote write dashboard
...
Signed-off-by: Marvin Rösch <marvinroesch99@gmail.com>
2025-10-01 14:39:26 +02:00
George Krajcsovits
5c897e3801
Merge pull request #17244 from prometheus/krajo/update-npm-deps
...
chore(deps): update npm dependencies before release
2025-10-01 11:31:08 +02:00
György Krajcsovits
63fb211946
chore(deps): update npm dependencies before release
...
make update-npm-deps
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
2025-10-01 10:58:29 +02:00
George Krajcsovits
58a42623d8
Merge pull request #17253 from prometheus/krajo/merge-release-306-to-main
...
merge release 306 to main
2025-10-01 10:54:09 +02:00
György Krajcsovits
e752e733e1
Merge remote-tracking branch 'origin/release-3.6' into krajo/merge-release-306-to-main
...
# Conflicts:
# CHANGELOG.md
# tsdb/head_test.go
2025-10-01 10:35:29 +02:00
Patryk Prus
dc3e6af91a
tsdb: Fix appended sample count metrics when converting float staleness markers to histograms ( #17241 )
...
tsdb: Fix appended sample count metrics when converting histogram staleness markers
Signed-off-by: Patryk Prus <p@trykpr.us>
Signed-off-by: Björn Rabenstein <github@rabenste.in>
Co-authored-by: Björn Rabenstein <github@rabenste.in>
2025-09-30 16:49:54 +00:00
Julius Volz
cc7b1de372
Merge pull request #17240 from LittleFox94/fix-web-redirect
...
UI: fix redirect when web.routePrefix configured
2025-09-30 18:15:39 +02:00
Bryan Boreham
30abb29b21
Merge pull request #17242 from bboreham/lookback-param
...
[DOCS] API: Document the lookback_delta parameter
2025-09-30 14:58:59 +01:00
Arthur Silva Sens
8f8304a2ad
Update go modules ( #17243 )
...
* Update go modules
Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com>
* Update semconv
Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com>
* Force go version 1.24.0
Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com>
* Revert incorrect prometheus bump
Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com>
---------
Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com>
2025-09-30 10:19:32 -03:00
Bryan Boreham
7056c70647
Merge pull request #16851 from jingchanglu/main
...
chore: fix some function names in comment
2025-09-30 12:54:48 +01:00
Bryan Boreham
356e778a0d
Merge pull request #17204 from machine424/ccl
...
chore(workflows/check_release_notes): do not run on dependabot PRs and only run against main
2025-09-30 12:22:22 +01:00
Bryan Boreham
8f7e6644f0
Merge pull request #17233 from ADITYATIWARI342005/fix/functions.mdAndStorage.md
...
docs: fix typos in querying functions and storage
2025-09-30 12:20:24 +01:00
Bryan Boreham
aa494b9acd
Merge pull request #17234 from ReemaAlzaid/deps/security-docker-28.3.3-mapstructure-2.4.0
...
deps: docker/docker→v28.3.3+incompatible; mapstructure/v2→v2.4.0
2025-09-30 12:16:32 +01:00
Bryan Boreham
0d3ec05056
Merge pull request #17043 from machine424/ffl
...
chore: allow seamless use of testing/synctest for >=go1.24
2025-09-30 12:11:12 +01:00
Bryan Boreham
a59f3e090b
[DOCS] API: Document the lookback_delta parameter
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2025-09-30 10:50:04 +01:00
Julius Volz
536a2b1fd2
Merge pull request #17158 from ADITYATIWARI342005/feature-scrape_duration
...
[FEATURE] : Add {scrape interval + timeout} to targets page
2025-09-29 19:59:37 +02:00
ADITYATIWARI342005
3ef9f4e18a
ui: rename ScrapeDetails→ScrapeTimingDetails; refine labels per review
...
Rename component for clarity (timing-only focus)
Chevron title: “Show/Hide additional timing info”
Duration pill tooltip: “Duration of last target scrape”
Update imports/usages; keep DOM-conditional expanded content
Signed-off-by: ADITYATIWARI342005 <142050150+ADITYATIWARI342005@users.noreply.github.com>
2025-09-29 20:45:52 +05:30
Mara Sophie Grosch
93887a9b82
UI: fix redirect when web.routePrefix configured
...
Signed-off-by: Mara Sophie Grosch <littlefox@lf-net.org>
2025-09-29 15:55:12 +03:00
Reema Alzaid
c487ffdb89
deps(security): bump docker/docker to v28.3.3+incompatible (GHSA-x4rx-4gw3-53p4 / CVE-2025-54388); bump go-viper/mapstructure/v2 to v2.4.0 (GHSA-2464-8j7c-4cjm)
...
Signed-off-by: Reema Alzaid <reema-alzaid@outlook.com>
2025-09-28 16:52:14 +03:00
ADITYATIWARI342005
8eb8758925
ui: Add expandable scrape interval and timeout to targets page
...
Implements expand/collapse functionality for displaying final scrape
configuration (interval + timeout) in the targets page timing column.
- Add ScrapeDetails component with expand/collapse chevron
- Keep existing "Last Scrape" and "Scrape Duration" badges always visible
- Display "Scrape interval: every \<interval\>" and "Scrape timeout: after \<timeout\>" when expanded
- Use IconRepeat for interval and IconPlugConnectedX for timeout
- Follow TargetLabels.tsx pattern for consistency
- Implement performance optimization with conditional DOM rendering
- Maintain existing hover tooltip functionality
Signed-off-by: ADITYATIWARI342005 <142050150+ADITYATIWARI342005@users.noreply.github.com>
2025-09-28 01:18:26 +05:30
ADITYA TIWARI
ecdf459e9f
Merge branch 'prometheus:main' into fix/functions.mdAndStorage.md
2025-09-27 04:38:45 +05:30
Jan Fajerski
c9e0e36701
Add comments clarifying why promql.Querylogger exists ( #17231 )
...
And why we only have one implementation in this code base.
Fixes: https://github.com/prometheus/prometheus/issues/15869
Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
2025-09-26 15:33:09 +01:00
Ayoub Mrini
e697dfa3ff
Merge pull request #17200 from mjlshen/k8s-v0.33.5
...
Update to k8s.io v0.33.5
2025-09-26 13:21:28 +02:00