Ganesh Vernekar
b522fb0b76
Merge remote-tracking branch 'upstream/main' into sync-prom
2022-10-10 18:07:39 +05:30
Ganesh Vernekar
82925eed4a
Merge pull request #11429 from prometheus/release-2.39
...
Merge back release branch
2022-10-07 22:37:34 +05:30
Ganesh Vernekar
dcd6af9e0d
Cut v2.39.1 ( #11428 )
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2022-10-07 21:13:46 +05:30
Ganesh Vernekar
83d9ee3ab7
Merge remote-tracking branch 'upstream/main' into sync-prom
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2022-10-05 20:33:36 +05:30
Ganesh Vernekar
73d805cf6c
Merge pull request #11414 from prometheus/release-2.39
...
Merge release branch into main
2022-10-05 11:38:00 +05:30
Ganesh Vernekar
6d7f26c46f
Cut v2.39.0 ( #11407 )
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
Signed-off-by: Augustin Husson <augustin.husson@amadeus.com>
Co-authored-by: Augustin Husson <augustin.husson@amadeus.com>
2022-10-05 10:19:27 +05:30
Ganesh Vernekar
f7a7b18cdc
Merge pull request #11403 from prometheus/release-2.39
...
Merge release-2.39 into main again
2022-10-03 19:49:34 +05:30
Augustin Husson
ffb0ec2ca4
adjust package-json to match the correct version of the modules ( #11401 )
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2022-10-03 19:16:41 +05:30
Julien Pivotto
9e220f552f
Merge pull request #11398 from prometheus/release-2.39
...
Merge back release 2.39
2022-10-03 14:23:43 +02:00
Ganesh Vernekar
23588fb43a
Bump the UI package to v2.39.0-rc.0 ( #11367 )
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2022-09-30 13:04:19 +05:30
Marijn Haverbeke
8dbb2eaf0b
Clean up the Lezer grammar output tree ( #11333 )
...
Signed-off-by: Marijn Haverbeke <marijn@haverbeke.nl>
2022-09-29 22:26:46 +02:00
Augustin Husson
f67f87c82b
Update npm deps for v2.39 and fix the script called to do it ( #11332 )
...
* fix the way to get the list of workspaces
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* update UI dependencies
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2022-09-21 23:36:28 +02:00
Luis Filipe Pessoa
9591103bb9
Allow copying label-value pair to buffer on click ( #11229 )
...
* Allow copying label-value pair to buffer on click
Kept similar DOM structure to keep test compatibility.
Using `navigator.clipboard` API since it is used by the current standard browsers.
React hot toast is used to notify that the text was successfully copied into clipboard.
Signed-off-by: lpessoa <luisalmeida@yape.com.pe>
* Using reactstrap for toast notification
Using the bootstrap toast notification provided by reactstrap.
Clipboard handling is managed using React.Context via a shared callback.
Updated css according to CR suggestions.
Signed-off-by: lpessoa <luisalmeida@yape.com.pe>
* Changes from CR comments
Cleaning up renderFormatted method.
Renamed Clipboard to ToastContext.
Updated tests.
Signed-off-by: Luis Pessoa <luisalmeida@yape.com.pe>
Signed-off-by: lpessoa <luisalmeida@yape.com.pe>
Signed-off-by: Luis Pessoa <luisalmeida@yape.com.pe>
2022-09-20 14:30:24 +02:00
Julius Volz
818d6e6088
Cut Prometheus v2.38.0 ( #11161 )
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2022-08-16 15:19:26 +02:00
Augustin Husson
f486efbb9a
codemirror-promql: add method to fetch flags in prometheus client ( #11090 )
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2022-08-03 14:15:32 +02:00
Jorge Luis Betancourt
595d134354
web ui: Tweak colors in the dark theme to improve contrast ratio ( #11068 )
...
* Tweak colors in the dark theme to improve contrast
Some colors from the dark theme used in the query editor have a very low
contrast ratio with the background.
Signed-off-by: Jorge Luis Betancourt Gonzalez <jorge-luis.betancourt@trivago.com>
* Avoid duplicated function call when in dark mode
Co-authored-by: Julius Volz <julius.volz@gmail.com>
Signed-off-by: Jorge Luis Betancourt Gonzalez <jorge-luis.betancourt@trivago.com>
* Apply styles for the matching bracket when focused in dark mode
Signed-off-by: Jorge Luis Betancourt Gonzalez <jorge-luis.betancourt@trivago.com>
* Improve style of the matching brackets when focused
Signed-off-by: Jorge Luis Betancourt Gonzalez <jorge-luis.betancourt@trivago.com>
Co-authored-by: Julius Volz <julius.volz@gmail.com>
2022-08-01 15:28:09 +02:00
Nidhi Dhamnani
d9c650b92e
Fixed typo in UI README.md ( #11057 )
...
Signed-off-by: Nidhi Dhamnani <nidhidhamnani@gmail.com>
2022-07-26 09:21:18 +02:00
Julius Volz
b8af4632be
Allow formatting PromQL expressions in the UI ( #11039 )
...
* Allow formatting PromQL expressions in the UI
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Improve error handling, also catch HTTP errors
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Remove now-unneeded async property
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Disable format button when already formatted
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Disable format button when there are linter errors
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Remove disabling of format button again for linter errors
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2022-07-21 18:05:41 +02:00
Julien Pivotto
97d7e09e0b
Merge pull request #11022 from prometheus/release-2.37
...
Merge back release 2.37
2022-07-14 18:30:45 +02:00
Augustin Husson
1ba2bbc5fe
codemirror-promql: fix the way to verify if it's a prometheusClient ( #11018 )
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2022-07-14 16:28:10 +02:00
Julien Pivotto
d0a3d44a45
Release 2.37.0
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2022-07-14 16:02:48 +02:00
Augustin Husson
8228eb4b73
codemirror-promql: fix the way to verify if it's a prometheusClient ( #11019 )
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2022-07-14 15:22:44 +02:00
Jaseel
f8c3b0bd1c
Corrected custom prometheus client docs ( #11010 )
...
Signed-off-by: Jaseel <12792882+Spikatrix@users.noreply.github.com>
2022-07-13 10:51:51 +02:00
Peter Štibraný
ae49ab5ea8
Merge remote-tracking branch 'upstream/main' into update-upstream-prometheus
2022-07-13 10:18:09 +02:00
Julien Pivotto
3599213e79
Release 2.37.0-rc.1 ( #10999 )
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2022-07-11 10:04:30 +02:00
Julien Pivotto
7479cd95b0
Fix UI release script and bump UI release ( #10981 )
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2022-07-05 15:12:59 +02:00
Augustin Husson
7b006e804c
enable ui module publication ( #10876 )
...
* enable ui module publication
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* use main changelog of Prometheus to reflect the changes of the packages
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* ignore changelog and license in the libs
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* replace perses references
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2022-06-30 12:10:10 +02:00
Augustin Husson
87ffac3e9d
Add readme for lezer-promql and update codemirror-promql readme ( #10875 )
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2022-06-22 16:57:03 +02:00
Ganesh Vernekar
df59320886
Add out-of-order sample support to the TSDB ( #269 )
...
This implementation is based on this design doc:
https://docs.google.com/document/d/1Kppm7qL9C-BJB1j6yb6-9ObG3AbdZnFUBYPNNWwDBYM/edit?usp=sharing
This commit adds support to accept out-of-order ("OOO") sample into the TSDB
up to a configurable time allowance. If OOO is enabled, overlapping querying
are automatically enabled.
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
Co-authored-by: Jesus Vazquez <jesus.vazquez@grafana.com>
Co-authored-by: Ganesh Vernekar <ganeshvern@gmail.com>
Co-authored-by: Dieter Plaetinck <dieter@grafana.com>
2022-06-22 11:45:21 +00:00
Peter Štibraný
cf7aeb59a7
Merge remote-tracking branch 'upstream/main' into update-prometheus
2022-06-14 09:34:59 +02:00
Augustin Husson
5d1756c822
Upgrade codemirror and lezer to the latest version ( #10841 )
...
* bump codemirror to v0.20.x and lezer to v.0.16.x
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* bump codemirror to v6 and lezer to v1
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* stop treating warning as error for UI
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2022-06-13 17:55:06 +02:00
Augustin Husson
3dad28fcbd
UI: fix build ( #10862 )
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2022-06-13 16:40:08 +02:00
Augustin Husson
5184f49a2a
put every packages under the prometheus-io organization ( #10849 )
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2022-06-13 15:19:07 +02:00
Augustin Husson
e166cf402a
use npm workspace flag for the build instead of manually navigate through the folders ( #10854 )
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2022-06-13 10:53:46 +02:00
Julien Pivotto
f2ba2a0800
Fix UI build ( #10843 )
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
2022-06-09 15:11:46 +02:00
Peter Štibraný
9d51bf50db
Merge upstream Prometheus
2022-06-09 11:29:19 +02:00
Ivo Gosemann
e22b54e253
Adds day_of_year function to PromQL
...
Signed-off-by: Ivo Gosemann <ivo.gosemann@sap.com>
2022-05-20 14:08:34 +02:00
Augustin Husson
4ece54852c
bump nexucis deps ( #10713 )
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2022-05-20 09:22:09 +02:00
wangxiaolei
707600d84f
web: Make the dev proxy work with newer Node.js versions ( #10690 )
...
Signed-off-by: fatelei <fatelei@gmail.com>
2022-05-17 02:20:58 -06:00
Augustin Husson
ff3ba13677
bump @nexucis/kvsearch v0.6.0 ( #10702 )
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2022-05-17 09:04:57 +02:00
Augustin Husson
6bc5186f58
run sequentially the unit test in codemirror ( #10692 )
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2022-05-13 14:49:38 +02:00
Augustin Husson
0a30ac3f9b
enable active search through dropped targets ( #10668 )
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2022-05-04 20:27:56 +02:00
Arunprasad Rajkumar
854d671b6b
chore: remove unused file assets_generate.go ( #10638 )
...
This file seem to be a remaining of https://github.com/prometheus/prometheus/pull/10220
Signed-off-by: Arunprasad Rajkumar <arajkuma@redhat.com>
2022-04-28 22:24:20 +02:00
AndreSPy1
d8ca9aa67b
Allow setting the search term on alerts, targets, and discovery pages via the URL ( #10613 )
...
* changes in files of the expr in alerts, service and targets, Signed-off-by: AndreSPy1 <elsenorcito@gmail.com>
Signed-off-by: AndreSPy1 <elsenorcito@gmail.com>
* update prettier corrections
Signed-off-by: AndreSPy1 <elsenorcito@gmail.com>
* update prettier corrections
Signed-off-by: AndreSPy1 <elsenorcito@gmail.com>
* correction suggested fixes PR
Signed-off-by: AndreSPy1 <elsenorcito@gmail.com>
* Update Snap AlertContents.test.tsx and update recommendations in the code
Signed-off-by: AndreSPy1 <elsenorcito@gmail.com>
* Update web/ui/react-app/src/components/SearchBar.tsx
exactly, thanks :)
Co-authored-by: Julius Volz <julius.volz@gmail.com>
Signed-off-by: AndreSPy1 <elsenorcito@gmail.com>
* Revert "Update web/ui/react-app/src/components/SearchBar.tsx
"
This reverts commit 679c763a02f65297e3f761db372a0928550f288c.
Signed-off-by: AndreSPy1 <elsenorcito@gmail.com>
* update SearchBar component
Signed-off-by: AndreSPy1 <elsenorcito@gmail.com>
* eslint-disable update SearchBar testing failed
Signed-off-by: AndreSPy1 <elsenorcito@gmail.com>
* correction part in eslint-disable
Signed-off-by: AndreSPy1 <elsenorcito@gmail.com>
* fully corrected suggestion with search expression in url
Signed-off-by: AndreSPy1 <elsenorcito@gmail.com>
* implementation in handleSearchChange with useCallBack
Signed-off-by: AndreSPy1 <elsenorcito@gmail.com>
Co-authored-by: Julius Volz <julius.volz@gmail.com>
2022-04-26 21:20:48 +02:00
Jesus Vazquez
48aa5cd096
Merge remote-tracking branch 'upstream/main' into jvp/merge-prometheus-main
2022-04-12 16:40:00 +02:00
dependabot[bot]
90e6db6d45
build(deps): bump @fortawesome/free-solid-svg-icons in /web/ui ( #10557 )
...
Bumps [@fortawesome/free-solid-svg-icons](https://github.com/FortAwesome/Font-Awesome ) from 6.0.0 to 6.1.1.
- [Release notes](https://github.com/FortAwesome/Font-Awesome/releases )
- [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/6.x/CHANGELOG.md )
- [Commits](https://github.com/FortAwesome/Font-Awesome/compare/6.0.0...6.1.1 )
---
updated-dependencies:
- dependency-name: "@fortawesome/free-solid-svg-icons"
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>
2022-04-07 15:55:26 +02:00
dependabot[bot]
892f6baaeb
build(deps-dev): bump sinon from 12.0.1 to 13.0.1 in /web/ui ( #10553 )
...
Bumps [sinon](https://github.com/sinonjs/sinon ) from 12.0.1 to 13.0.1.
- [Release notes](https://github.com/sinonjs/sinon/releases )
- [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md )
- [Commits](https://github.com/sinonjs/sinon/compare/v12.0.1...v13.0.1 )
---
updated-dependencies:
- dependency-name: sinon
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-07 15:28:21 +02:00
dependabot[bot]
bc3561b7d2
build(deps): bump @fortawesome/fontawesome-svg-core in /web/ui ( #10552 )
...
Bumps [@fortawesome/fontawesome-svg-core](https://github.com/FortAwesome/Font-Awesome ) from 1.3.0 to 6.1.1.
- [Release notes](https://github.com/FortAwesome/Font-Awesome/releases )
- [Changelog](https://github.com/FortAwesome/Font-Awesome/blob/6.x/CHANGELOG.md )
- [Commits](https://github.com/FortAwesome/Font-Awesome/commits/6.1.1 )
---
updated-dependencies:
- dependency-name: "@fortawesome/fontawesome-svg-core"
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-07 14:59:12 +02:00
dependabot[bot]
84c72a5e88
build(deps): bump moment from 2.29.1 to 2.29.2 in /web/ui ( #10533 )
...
Bumps [moment](https://github.com/moment/moment ) from 2.29.1 to 2.29.2.
- [Release notes](https://github.com/moment/moment/releases )
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/moment/moment/compare/2.29.1...2.29.2 )
---
updated-dependencies:
- dependency-name: moment
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-07 14:50:26 +02:00
Garen Chan
1d45c418a5
Fix scrape interval and duration tooltip not showing. ( #10545 )
...
Signed-off-by: garenchan <garenchan23@gmail.com>
2022-04-07 14:36:08 +02:00