machine424
d1b4312f0a
fix(wlog/watcher_test.go): make TestRun_AvoidNotifyWhenBehind more resilient
...
Signed-off-by: machine424 <ayoubmrini424@gmail.com>
2 months ago
Mario Fernandez
5814920601
Fix: optimize .* regexp performance
...
Shortcut for `.*` matches newlines as well.
Add preamble change ^(?s:
Add test
dotAll flag por al regex
Add and fix regex tests
Signed-off-by: Mario Fernandez <mariofer@redhat.com>
2 months ago
Julius Volz
00d23c9689
Merge pull request #14915 from prometheus/dependabot/npm_and_yarn/web/ui/typescript-5.6.2
...
Bump typescript from 5.5.4 to 5.6.2 in /web/ui
2 months ago
Bryan Boreham
d5f4fabd12
Merge pull request #14911 from bboreham/clarify-postings-benchmark
...
TSDB: Simplify benchmark regexps
2 months ago
Carrie Edwards
14e3c05ce8
tsdb: Add support for ingestion of out-of-order native histogram samples ( #14546 )
...
Add support for ingesting OOO native histograms
* Add flag for enabling and disabling OOO native histogram ingestion
* Update OOO querying tests to include native histogram samples
* Add OOO head tests
* Add test for OOO native histogram counter reset headers
Signed-off-by: Carrie Edwards <edwrdscarrie@gmail.com>
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
Co-authored by: Carrie Edwards <edwrdscarrie@gmail.com>
Co-authored by: Jeanette Tan <jeanette.tan@grafana.com>
Co-authored by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
Co-authored by: Fiona Liao <fiona.liao@grafana.com>
2 months ago
Harry John
919dc0cbc6
storage: Update LabelQuerier interface to return sorted label values ( #14849 )
...
* Change LabelQuerier.LabelValues() to return sorted values
---------
Signed-off-by: 🌲 Harry 🌊 John 🏔 <johrry@amazon.com>
2 months ago
Julius Volz
2c87817e40
Merge pull request #14914 from prometheus/julius/new-ui-improvements
...
New UI: Better time formatting + tests, better styling
2 months ago
51n15t9r
b6015e7c73
Add support for running govulncheck ( #12654 )
...
* Add support for running govulncheck
---------
Signed-off-by: 51n15t9r <utkarsh.khare@gmail.com>
2 months ago
dependabot[bot]
2fa84df35d
Bump typescript from 5.5.4 to 5.6.2 in /web/ui
...
Bumps [typescript](https://github.com/microsoft/TypeScript ) from 5.5.4 to 5.6.2.
- [Release notes](https://github.com/microsoft/TypeScript/releases )
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml )
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.5.4...v5.6.2 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2 months ago
Julius Volz
a1908df922
Don't wrap action buttons below metric name in metrics explorer
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2 months ago
Julius Volz
091fc403cf
Fiddle with targets table styles to try and improve things a bit
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2 months ago
Julius Volz
57898c7929
Refactor and fix time formatting functions, add tests
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2 months ago
Julius Volz
6acd3dee53
Merge pull request #14913 from prometheus/explain-view-set-ops
...
PromQL explain view: Support set operators
2 months ago
Bryan Boreham
a8133f3e87
TSDB: Simplify benchmark regexps
...
Several regexps were coded like `"^.*$"`, which is an unnatural
formulation nobody is likely to use. Inside `NewMatcher`, `^` and `$`
are added anyway, which makes the form in the benchmark redundant.
It even printed it out in the expected way.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2 months ago
Julius Volz
9b0dc68d0d
PromQL explain view: Support set operators
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2 months ago
Augustin Husson
6febfbb3be
put back feature flag 'delayed-compaction' and 'old-ui' ( #14909 )
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2 months ago
Julien
f007659f03
Merge pull request #14531 from prometheus/dependabot/go_modules/github.com/go-zookeeper/zk-1.0.4
...
build(deps): bump github.com/go-zookeeper/zk from 1.0.3 to 1.0.4
2 months ago
Julius Volz
d67ba3ed30
Merge pull request #14908 from roidelapluie/fix14889
...
Explain, vector-to-vector: Do not compute results for set operators
2 months ago
Julien
ac01dc9035
Explain, vector-to-vector: Do not compute results for set operators
...
Set operators are not displayed:
31ce9dacf4/web/ui/mantine-ui/src/pages/query/ExplainViews/BinaryExpr/VectorVector.tsx (L364)
Therefore, do not compute results for them.
Fixes #14889
Signed-off-by: Julien <roidelapluie@o11y.eu>
2 months ago
Julien
31ce9dacf4
Merge pull request #14901 from roidelapluie/prebuiltui
...
makefile: Add support for skipping UI build when prebuilt assets are provided
2 months ago
Julius Volz
62bd893b80
Merge pull request #14907 from prometheus/julius/new-ui-improvements
...
UI improvements: Factor out common styles, fix tree node line rendering, always show full badge contents (no ellipsis)
2 months ago
Julius Volz
50af7d589b
Fix tree line drawing by using a callback ref
...
In a non-dev build (no initial double-renders), the tree lines would not be
rendered correctly from the parent of a binop to its first child, because the
first child would be rendered before the parent, and the parent's ref hadn't
been set yet at that time. Switched from a normal ref to a callback-based ref
with explicit React state update to make sure that the child gets to know about
the parent's (later) rendered div element.
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2 months ago
Arthur Silva Sens
e8fa1312a7
Merge pull request #14903 from jan--f/drop-agent-ff-docs
...
docs/feature_flags.md: drop `agent` feature flag
2 months ago
Jan Fajerski
722f33225c
docs/feature_flags.md: drop `agent` feature flag
...
Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
2 months ago
Julius Volz
0180cf31aa
Factor out common icon and card styles
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2 months ago
Julius Volz
0757fbbecc
Make sure that alert element table headers are not wrapped
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2 months ago
Julius Volz
a7c1a951df
Add general Mantine overrides CSS file
...
...initially fixing the ellipsis overflow text cut-off in badges.
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2 months ago
Julius Volz
b93ed7bd17
Merge pull request #14898 from prometheus/fix-targets-page-coloring
...
Fix border color for target pools with one target that is failing
2 months ago
Julius Volz
73e94dc9f7
Merge pull request #14899 from SuperSandro2000/patch-1
...
ui: drop readme from template
2 months ago
Julien
9126bbbed0
makefile: Add support for skipping UI build when prebuilt assets are provided
...
This commit introduces the ability to skip the UI build in the Makefile by
providing prebuilt UI assets, addressing the needs of users who may not have npm
installed or who do not want to go through the front-end build process.
To achieve this, we added the `PREBUILT_ASSETS_STATIC_DIR` environment variable.
If this variable is set, the Makefile will skip the UI build and related tasks,
such as bundling npm licenses. Instead, it will use the prebuilt assets from
the specified directory.
We already publish prebuilt UI assets as part of our release artifacts
(e.g., `prometheus-web-ui-3.0.0-beta.0.tar.gz`). Users can download this tarball,
extract it, and point the `PREBUILT_ASSETS_STATIC_DIR` to the extracted folder.
This reduces build complexity, especially for users who don't have a development
environment for front-end builds.
For example, you can use the command:
`make PREBUILT_ASSETS_STATIC_DIR=static build`
where `static` refers to the directory containing the prebuilt UI files.
This change simplifies the build process while still allowing users to use a
prebuilt UI if desired.
This solution is particularly useful for users who don't need to modify the UI
and prefer to use the prebuilt version that we provide with each release.
Signed-off-by: Julien <roidelapluie@o11y.eu>
2 months ago
George Krajcsovits
5aa3d8260a
TSDB: OOO native histograms: prep for multiple ooo head chunks ( #14850 )
...
* tsdb: mmapCurrentOOOHeadChunk prepare for multiple ooo chunks
Currently float samples can only create a single ooo head chunk, but
native histograms can result in multiple due to counter resets, etc.
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
* tsdb: getOOOSeriesChunks prepare for multiple ooo chunks
Currently float samples can only create a single ooo head chunk, but
native histograms can result in multiple due to counter resets, etc.
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
---------
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
2 months ago
Arve Knudsen
4f81e077b3
Upgrade github.com/googleapis/enterprise-certificate-proxy to v0.3.4 ( #14897 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2 months ago
Sandro
65743bf9bd
ui: drop template readme
...
Signed-off-by: Sandro <sandro.jaeckel@gmail.com>
2 months ago
Julius Volz
dfec29d8e5
Fix border color for target pools with one target that is failing
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2 months ago
Nathan Baulch
50cd453c8f
chore: Fix typos ( #14868 )
...
* Fix typos
---------
Signed-off-by: Nathan Baulch <nathan.baulch@gmail.com>
2 months ago
dependabot[bot]
54772a2c8f
Bump actions/upload-artifact from 4.3.4 to 4.4.0 ( #14775 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 4.3.4 to 4.4.0.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](0b2256b8c0...50769540e7
)
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 months ago
Julius Volz
4e1716610e
Merge pull request #14896 from jan--f/release-3.0-beta.0
...
Cut release 3.0 beta.0
2 months ago
Jan Fajerski
91608c002f
Merge branch 'main' into release-3.0-beta.0
...
Conflicts:
scrape/scrape_test.go
Pick both changes.
2 months ago
Julius Volz
8472d23a1b
Merge pull request #14853 from fionaliao/release-3.0.0-beta
...
Prepare release 3.0.0-beta.0
2 months ago
Fiona Liao
24b256b7ae
Add test-flags to try and get CI to pass
...
Signed-off-by: Fiona Liao <fiona.liao@grafana.com>
2 months ago
Julius Volz
ad652de29a
Merge pull request #14895 from prometheus/fix-limit-ratio-explain
...
Fix HTML rendering for aggregator Explain view
2 months ago
Fiona Liao
1ac1e00999
Fix ENHANCEMENT typo
...
Signed-off-by: Fiona Liao <fiona.liao@grafana.com>
2 months ago
Fiona Liao
5580e27e23
Merge branch 'release-3.0' into release-3.0.0-beta
...
Signed-off-by: Fiona Liao <fiona.liao@grafana.com>
2 months ago
Fiona Liao
da6b3195d2
Update CHANGELOG.md
...
Co-authored-by: Julien <291750+roidelapluie@users.noreply.github.com>
Signed-off-by: Fiona Liao <fiona.y.liao@gmail.com>
2 months ago
Julius Volz
7fa4bd46c7
Merge pull request #14892 from jan--f/test-enable_npm-action
...
test: pass enable_npm to setup_environment
2 months ago
Julius Volz
ee808cda8b
Fix HTML rendering for aggregator Explain view
...
Follow-up to https://github.com/prometheus/prometheus/pull/14893
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2 months ago
Julius Volz
1bd10ac5d2
Merge pull request #14893 from roidelapluie/bottomkui
...
Explain: Use param scalars in aggregations description
2 months ago
Julien
3782da7bbc
Explain: Use param scalars in aggregations description
...
Signed-off-by: Julien <roidelapluie@o11y.eu>
2 months ago
Jan Fajerski
341a1c1056
ci test: pass enable_npm to setup_environment
...
Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
2 months ago
Julien
8d3da31f87
Merge pull request #14885 from prometheus/superq/update_promci_2
...
Update promci action
2 months ago