beorn7
095b6c93dd
Merge branch 'main' into sparsehistogram
2022-06-14 14:27:35 +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
Peter Štibraný
5bd761fbfc
Merge pull request #10857 from pstibrany/fix-errors-handling
...
API: Fix errors handling
2022-06-13 17:45:35 +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
beorn7
40ad5e284a
Merge branch 'main' into beorn7/sparsehistogram
2022-06-09 20:50:30 +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
Filip Petkovski
a56731126d
Export TSDB status structs ( #10783 )
...
We would like to implement the tsdb/status API in certain Thanos
components.
In order to match the Prometheus API and avoid duplicating code,
this commit makes the structs used in the status API public.
Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>
2022-06-07 16:13:21 +01:00
Ben Kochie
9570924511
Merge pull request #9638 from prometheus/superq/agentMode
...
Add agent mode identifier
2022-05-24 10:11:21 +02:00
Łukasz Mierzwa
44e5f220c0
Move prometheus_ready metric to web package ( #10729 )
...
This moves prometheus_ready to the web package and links it with the ready variable that decides if HTTP requests should return 200 or 503.
This is a follow up change from #10682
Signed-off-by: Łukasz Mierzwa <l.mierzwa@gmail.com>
2022-05-23 16:00:59 +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
Bryan Boreham
4b9f248e85
unit tests: make all Labels sorted alphabetically ( #10532 )
...
"Labels is a sorted set of labels. Order has to be guaranteed upon
instantiation." says the comment, so fix all the tests that break this
rule.
For `BenchmarkLabelValuesWithMatchers()` and
`BenchmarkHeadLabelValuesWithMatchers()` the amount of work done changes
significantly if you put the labels in order, because all series refs
get neatly partitioned by the `tens` label, so I renamed the labels
to maintain the previous behaviour.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2022-05-04 23:41:36 +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
beorn7
c9f9ff9aa8
UI: Handle histograms without buckets
...
Signed-off-by: beorn7 <beorn@grafana.com>
2022-05-04 16:30:36 +02:00
beorn7
3bc711e333
Merge branch 'main' into sparsehistogram
2022-05-04 13:37:13 +02:00
beorn7
9cfc78814e
React: Clean up formatting
...
Signed-off-by: beorn7 <beorn@grafana.com>
2022-05-04 13:31:34 +02:00
Björn Rabenstein
23675cad16
Merge pull request #10666 from prometheus/beorn7/exclude-empty-buckets-from-json
...
Histogram: Exclude empty buckets from json
2022-05-04 13:00:21 +02:00
beorn7
d16b314b72
Histogram: Do not render empty buckets in JSON output
...
While empty buckets can make sense in the internal representation (by
joining spans that would otherwise need more overhead for separate
representation), there are no spans in the JSON rendering. Therefore,
the JSON should not contain any empty buckets, since any buckets not
included in the output counts as empty anyway.
This changes both the inefficient MarshalJSON implementation as well
as the jsoniter implementation.
Signed-off-by: beorn7 <beorn@grafana.com>
2022-05-03 18:18:55 +02:00
beorn7
61d6d1df18
Histogram: Remove obsolete work-around code
...
Signed-off-by: beorn7 <beorn@grafana.com>
2022-05-03 17:57:52 +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
beorn7
77a362b771
Histogram support in table view
...
Signed-off-by: beorn7 <beorn@grafana.com>
2022-04-28 19:49:13 +02:00
Matthieu MOREL
e2ede285a2
refactor: move from io/ioutil to io and os packages ( #10528 )
...
* refactor: move from io/ioutil to io and os packages
* use fs.DirEntry instead of os.FileInfo after os.ReadDir
Signed-off-by: MOREL Matthieu <matthieu.morel@cnp.fr>
2022-04-27 11:24:36 +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
beorn7
37bbc07118
Histogram: Add jsoniter marshaling
...
This now even enables jsoniter marshaling of Points in an instant
query (which previously used the traditional JSON marshaling).
Signed-off-by: beorn7 <beorn@grafana.com>
2022-04-26 15:19:59 +02:00
beorn7
99894f6afa
Histogram: Implement inefficient JSON rendering
...
Format is according to example 4 in
https://docs.google.com/document/d/1Efu0LX-fgNWix6ehfeCR0FzeWtHvftWFNoy7cYW9nqU/edit#
This is inefficient as it doesn't use jsoniter. It actually prevents
it for regular Points (with a conventional float Value), too.
Signed-off-by: beorn7 <beorn@grafana.com>
2022-04-14 20:38:49 +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
dependabot[bot]
9665c542a1
build(deps-dev): bump @types/node from 16.11.26 to 17.0.23 in /web/ui ( #10534 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 16.11.26 to 17.0.23.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
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 10:02:14 +02:00
dependabot[bot]
6cacdb7f67
build(deps): bump sass from 1.44.0 to 1.49.11 in /web/ui ( #10526 )
...
Bumps [sass](https://github.com/sass/dart-sass ) from 1.44.0 to 1.49.11.
- [Release notes](https://github.com/sass/dart-sass/releases )
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sass/dart-sass/compare/1.44.0...1.49.11 )
---
updated-dependencies:
- dependency-name: sass
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 10:01:53 +02:00
beorn7
7ee1836ef5
Merge branch 'main' into sparsehistogram
2022-04-05 18:31:19 +02:00
Augustin Husson
043a2954f8
UI: stabilize dependencies and environment ( #10517 )
...
* create lezer-promql module + move codemirror to a pure esm module + unified dependencies
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* ignore test utils file and remove the type "module" in package.json
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* use jest to run the lezer-promql test
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* give an automatic way to update the ui dependencies
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* update all dependencies using make update-npm-deps
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* fix react-app test
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* remove generated file
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* remove unnecessary backslash in script
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* fix reviews
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* rewording
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* use npx to run lezer-generator
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2022-04-05 11:49:22 +02:00
beorn7
4210aac74a
Merge branch 'main' into sparsehistogram
2022-03-22 14:47:42 +01:00
Andrew Bloomgarden
ed091a1fb9
Allow replacing the stats struct before rendering JSON
...
This allows other implementations to inject their own statistics that
they're gathering in data linked from the context.Context. For example,
Cortex can inject its stats.Stats value under the `cortex` key.
Signed-off-by: Andrew Bloomgarden <blmgrdn@amazon.com>
2022-03-21 23:49:17 +01:00
Alan Protasio
606ef33d91
Track and report Samples Queried per query
...
We always track total samples queried and add those to the standard set
of stats queries can report.
We also allow optionally tracking per-step samples queried. This must be
enabled both at the engine and query level to be tracked and rendered.
The engine flag is exposed via a Prometheus feature flag, while the
query flag is set when stats=all.
Co-authored-by: Alan Protasio <approtas@amazon.com>
Co-authored-by: Andrew Bloomgarden <blmgrdn@amazon.com>
Co-authored-by: Harkishen Singh <harkishensingh@hotmail.com>
Signed-off-by: Andrew Bloomgarden <blmgrdn@amazon.com>
2022-03-21 23:49:17 +01:00
Julien Pivotto
c901ebaf8d
ui/compress: Do not change git worktree ( #10467 )
...
This change makes sure that the git worktree is not changed while
compressing assets, making it better for local development.
To achieve this, the compression script keeps the un-compressed assets
and generates the go:embed directory when compressing the files.
A .gitignore file has been added to ignore generated files.
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2022-03-20 15:08:32 +01:00
Gabriel Bernal
9ed56c6065
export newCompleteStrategy to avoid client import errors ( #10448 )
...
This will avoid codemirror-promql clients to choose manually between cjs or esm so the bundler can decide.
Signed-off-by: Gabriel Bernal <gbernal@redhat.com>
2022-03-18 14:29:35 +01:00
Gabriel Bernal
38ef68e27f
fix: test commands should run only project related tests ( #10440 )
...
Signed-off-by: Gabriel Bernal <gbernal@redhat.com>
2022-03-11 15:56:26 +01:00
Julius Volz
7f238e6a04
Fix DataTable tests and missing value key warning ( #10422 )
...
* Fix DataTable tests and missing value key warning
Fixes issues introduced in https://github.com/prometheus/prometheus/pull/10376
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Fix more DataTable brokenness
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2022-03-09 17:19:45 +01:00
Jan Fajerski
2c3d45c88a
Replace vfsgen with embed for static web assets ( #10220 )
...
* remove vfsgen usages
Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
* web: use embed package for static assets
This requires go 1.16.
Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
* circleci: drop go generate in web/ui
Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
* Makefile: compress web assets before build
This commit add compression before (and decompression after) prometheus
is build. This ensures that gzipped assets are embeded in the prometheus
binary, if the builtinassets build tag is passed. If the build tag is
not passed this step is still executed but has no effect.
All this is executed in a subshell so that we can run the decompress
step even if the build step fails, but retain the exit code of promu.
This cleanup could also cover interrupts, but I left that out for now.
Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
2022-03-09 10:21:31 +01:00
Ondrej Kokes
16e610ee8f
Add a tooltip for unix times (ISO strings) ( #10376 )
...
* Add a tooltip for unix times (ISO strings)
Signed-off-by: Ondrej Kokes <ondrej.kokes@gmail.com>
* Leverage useLocalTime to adjust ISO string tooltips
Signed-off-by: Ondrej Kokes <ondrej.kokes@gmail.com>
* revert pre styling removal
Signed-off-by: Ondrej Kokes <ondrej.kokes@gmail.com>
2022-03-09 10:16:54 +01:00
dependabot[bot]
9dbd1cc1b9
build(deps-dev): bump typescript from 4.5.2 to 4.6.2 in /web/ui ( #10402 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.5.2 to 4.6.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.5.2...v4.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-06 17:33:45 +01:00
Łukasz Mierzwa
4e3b6fc043
Upgrade create-react-app to v5 ( #10396 )
...
* Upgrade create-react-app to v5
Some other dependencies needs to be upgraded as well, plus some typescript errors fixed.
Signed-off-by: Łukasz Mierzwa <l.mierzwa@gmail.com>
* Use ESM imports for codemirror-promql
Signed-off-by: Łukasz Mierzwa <l.mierzwa@gmail.com>
* Update FontAwesome to v6
Signed-off-by: Łukasz Mierzwa <l.mierzwa@gmail.com>
2022-03-05 20:45:55 +01:00
Łukasz Mierzwa
a4317bf0ec
Run gofumpt on all files ( #10392 )
...
* Run gofumpt on all files
Getting golangci-lint errors when building on my laptop, possibly because I have newer version of gofumpt then what it was formatted with.
Run gofumpt -w -extra on all files as it will be needed in the future anyway.
* Update golangci-lint to v1.44.2
v1.44.0 upgraded gofumpt so bumping version in CI will help keep formatting correct for everyone
* Address golangci-lint error
Getting 'error-strings: error strings should not be capitalized or end with punctuation or a newline' from revive here.
Drop new line.
Signed-off-by: Łukasz Mierzwa <l.mierzwa@gmail.com>
2022-03-03 17:21:05 +01:00
dependabot[bot]
bc15861e31
build(deps-dev): bump @types/react from 17.0.36 to 17.0.39 in /web/ui ( #10323 )
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 17.0.36 to 17.0.39.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
---
updated-dependencies:
- dependency-name: "@types/react"
dependency-type: direct:development
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-02-22 16:10:28 +01:00
Augustin Husson
779a9118db
bump kvsearch to v0.5.0 that support generic type. It removes unnecessary cast in the process ( #10296 )
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2022-02-21 15:37:28 +01:00
SuperQ
b297520666
Add agent mode identifier
...
Identify in the logs and liveness endpoints if the server is running in
Agent mode or not.
Signed-off-by: SuperQ <superq@gmail.com>
2022-02-17 05:27:09 +01:00
Julien Pivotto
9a2e93228e
Switch to grafana/regexp everywhere ( #10268 )
...
Let's have a consistent library for regexp.
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2022-02-13 00:58:27 +01:00
Augustin Husson
4af2fc8bc2
Fix serving of Prometheus logo, move it into 'src/images' ( #10236 )
...
* add prometheus logo in the list of file that should be served at the root
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* move prometheus logo to src/images
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2022-02-02 14:53:30 +01:00
Augustin Husson
727cdbff4c
remove old UI ( #10208 )
...
* remove old ui
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* add coments and removed unused struct
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* removed tplFunc
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2022-02-02 11:26:11 +01:00
Augustin Husson
68bfd226fb
Add Prometheus Logo ( #10233 )
...
* Add Prometheus logo in react UI
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
* Use REM
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
* increase the margin top of the navbar-brand
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
Co-authored-by: Julien Pivotto <roidelapluie@inuits.eu>
2022-02-01 15:39:35 +01:00
Julius Volz
3c9faa25bf
Fix bug that sets the range input to the resolution ( #10227 )
...
* Fix bug that sets the range input to the resolution
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Address review comments
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2022-01-31 17:56:56 +01:00
dependabot[bot]
fe06f16c11
build(deps): bump @codemirror/history from 0.19.0 to 0.19.2 in /web/ui ( #10173 )
...
Bumps [@codemirror/history](https://github.com/codemirror/history ) from 0.19.0 to 0.19.2.
- [Release notes](https://github.com/codemirror/history/releases )
- [Changelog](https://github.com/codemirror/history/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codemirror/history/compare/0.19.0...0.19.2 )
---
updated-dependencies:
- dependency-name: "@codemirror/history"
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-01-25 12:39:48 +01:00
Matej Gera
2c61d29b2a
Tracing: Migrate to OpenTelemetry library ( #9724 )
...
Signed-off-by: Matej Gera <matejgera@gmail.com>
2022-01-25 11:08:04 +01:00
Augustin Husson
027b082793
Rework Alert page ( #10142 )
...
* rework the target page
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* put back the URL of the endpoint
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* replace old code by the new one and change function style
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* align filter and search bar on the same row
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* remove unnecessary return
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* upgrade kvsearch to v0.3.0
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* fix unit test
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* add missing style on column
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* add placeholder and autofocus
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* put back the previous table design
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* fix issue relative to the position of the tooltip
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* fix health filter
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* fix test on label tooltip
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* simplify filter condition
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* rework service discovery page
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* introduced generic custom infinite scroll component
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* adjust the placeholder in discovery page
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* ignore returning type missing
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* rework alert page
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* update snapshot to match the new rendering
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* fix infinite scroll component usage in alert
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* align checkbox like it was before
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* propose a more responsive line to display the buttons and the search bar
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* add a script to update the snapshot and update it
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* text in span won't be wrapped
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2022-01-22 10:39:15 +01:00
Julien Pivotto
a4d3206618
Merge release-2.33 forward into main ( #10189 )
...
* create a component to handle the search bar with debounce
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* Update web/ui/react-app/src/pages/serviceDiscovery/Services.tsx
Co-authored-by: Julius Volz <julius.volz@gmail.com>
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* Nits after PR 10051 merge (#10159 )
Signed-off-by: Marco Pracucci <marco@pracucci.com>
Co-authored-by: Marco Pracucci <marco@pracucci.com>
* tsdb/agent: Fix deadlock from simultaneous GC and write (#10166 )
* tsdb/agent: Fix deadlock from simultaneous GC and write
This commit fixes a potential deadlock where storing in-memory series
references could deadlock with a WAL GC cycle.
Signed-off-by: Robert Fratto <robertfratto@gmail.com>
* add missing license header
Signed-off-by: Robert Fratto <robertfratto@gmail.com>
* order local imports
Signed-off-by: Robert Fratto <robertfratto@gmail.com>
* align deadlock testing with discovery/manager_test.go method
Also prevents GCs from running concurrently, which could also cause a
deadlock (even though it's currently impossible for two GCs to run
concurrently).
Signed-off-by: Robert Fratto <robertfratto@gmail.com>
* bump @nexucis/kvsearch to v0.4.0
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* Bump github.com/prometheus/client_golang to v1.12.0
Signed-off-by: beorn7 <beorn@grafana.com>
* Cut v2.33.0-rc.1
Signed-off-by: beorn7 <beorn@grafana.com>
Co-authored-by: Augustin Husson <husson.augustin@gmail.com>
Co-authored-by: Julius Volz <julius.volz@gmail.com>
Co-authored-by: Mauro Stettler <mauro.stettler@gmail.com>
Co-authored-by: Marco Pracucci <marco@pracucci.com>
Co-authored-by: Robert Fratto <robertfratto@gmail.com>
2022-01-20 17:19:00 +01:00
Augustin Husson
b9f05e15f7
bump @nexucis/kvsearch to v0.4.0
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2022-01-19 16:11:09 +01:00
suyashtava
92ce9e3302
Improve graph colors in new UI ( #10179 )
...
* Colors for New UI
Signed-off-by: suyashtava <suyashtava@example.com>
Signed-off-by: suyashtava <suyashtava@gmail.com>
* Fixing indentation
Signed-off-by: suyashtava <suyashtava@example.com>
Signed-off-by: suyashtava <suyashtava@gmail.com>
* Fixing indentation2
Signed-off-by: suyashtava <suyashtava@example.com>
Signed-off-by: suyashtava <suyashtava@gmail.com>
* Fixing indentation3
Signed-off-by: suyashtava <suyashtava@example.com>
Signed-off-by: suyashtava <suyashtava@gmail.com>
2022-01-19 14:09:24 +01:00
Augustin Husson
74f497ac18
Update web/ui/react-app/src/pages/serviceDiscovery/Services.tsx
...
Co-authored-by: Julius Volz <julius.volz@gmail.com>
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2022-01-19 14:02:39 +01:00
dependabot[bot]
a56f2856ed
build(deps-dev): bump @wojtekmaj/enzyme-adapter-react-17 in /web/ui ( #10147 )
...
Bumps [@wojtekmaj/enzyme-adapter-react-17](https://github.com/wojtekmaj/enzyme-adapter-react-17 ) from 0.6.5 to 0.6.6.
- [Release notes](https://github.com/wojtekmaj/enzyme-adapter-react-17/releases )
- [Commits](https://github.com/wojtekmaj/enzyme-adapter-react-17/compare/v0.6.5...v0.6.6 )
---
updated-dependencies:
- dependency-name: "@wojtekmaj/enzyme-adapter-react-17"
dependency-type: direct:development
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-01-17 11:32:54 +01:00
Augustin Husson
b9bc8e7c33
create a component to handle the search bar with debounce
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2022-01-12 16:23:38 +01:00
Björn Rabenstein
933f50bcda
Merge pull request #10121 from prometheus/beorn7/promql
...
PromQL: Promote negative offset and @ modifer to stable
2022-01-12 14:09:46 +01:00
Abhishek
2f4289a3bf
add limit to the rules api ( #10152 )
2022-01-11 22:44:22 -05:00
beorn7
b39f2739e5
PromQL: Always enable negative offset and @ modifier
...
This follows the line of argument that the invariant of not looking
ahead of the query time was merely emerging behavior and not a
documented stable feature. Any query that looks ahead of the query
time was simply invalid before the introduction of the negative offset
and the @ modifier.
Signed-off-by: beorn7 <beorn@grafana.com>
2022-01-11 17:08:55 +01:00
Augustin Husson
bff9d06874
Service Discovery Page rework ( #10131 )
...
* rework the target page
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* put back the URL of the endpoint
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* replace old code by the new one and change function style
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* align filter and search bar on the same row
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* remove unnecessary return
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* upgrade kvsearch to v0.3.0
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* fix unit test
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* add missing style on column
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* add placeholder and autofocus
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* put back the previous table design
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* fix issue relative to the position of the tooltip
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* fix health filter
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* fix test on label tooltip
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* simplify filter condition
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* rework service discovery page
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* introduced generic custom infinite scroll component
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* adjust the placeholder in discovery page
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* ignore returning type missing
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* apply fix required by the review
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* index discoveredLabels
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2022-01-10 17:39:51 +01:00
Björn Rabenstein
0f4a1e6eac
Merge pull request #10119 from prometheus/beorn7/remote
...
API: Promote remote-write-receiver to stable
2022-01-10 15:55:10 +01:00
Augustin Husson
dd9f96b893
rework the target page ( #10103 )
...
* rework the target page
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* put back the URL of the endpoint
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* replace old code by the new one and change function style
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* align filter and search bar on the same row
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* remove unnecessary return
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* upgrade kvsearch to v0.3.0
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* fix unit test
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* add missing style on column
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* add placeholder and autofocus
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* put back the previous table design
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* fix issue relative to the position of the tooltip
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* fix health filter
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* fix test on label tooltip
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* simplify filter condition
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2022-01-10 15:53:14 +01:00
Victor Häggqvist
931acc3ee8
fix overlapping click-targets of alert state checkboxes ( #10136 )
...
using the same margin as checkboxes on top of /graph
Signed-off-by: Victor Häggqvist <victor@snilius.com>
2022-01-07 10:38:01 +01:00
beorn7
8fdfa52976
API: Promote remote-write-receiver to stable
...
Since `/api/v1/write` is a mutating endpoint, we should still activate
the remote-write-receiver explicitly. But we should do it in the same
way as the other mutating endpoints, i.e. via a flag
`--web.enable-remote-write-receiver`.
This commit marks the feature flag as deprecated, i.e. it still works
but logs a warning on startup. This enables users to seamlessly
migrate. With the next minor release, we can start ignoring the
feature flag (but still warn a user that is trying to use it).
Signed-off-by: beorn7 <beorn@grafana.com>
2022-01-05 15:36:07 +01:00
Drew DeVault
8b0e1efd4f
Merge pull request #10100 from ddevault/main
...
codemirror-promql: use npm to run lezer-generator
2022-01-02 11:41:47 +01:00
dependabot[bot]
d5845f8333
build(deps-dev): bump @types/sanitize-html in /web/ui ( #10087 )
...
Bumps [@types/sanitize-html](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sanitize-html ) from 2.5.0 to 2.6.1.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/sanitize-html )
---
updated-dependencies:
- dependency-name: "@types/sanitize-html"
dependency-type: direct:development
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>
2021-12-28 12:35:12 +01:00
dependabot[bot]
24718ce424
build(deps-dev): bump @typescript-eslint/eslint-plugin in /web/ui ( #10054 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 5.5.0 to 5.8.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.8.0/packages/eslint-plugin )
Signed-off-by: SuperQ <superq@gmail.com>
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
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>
2021-12-23 11:46:06 +01:00
Julius Volz
32bd177b9c
Remove unusued npm package "i" ( #10078 )
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2021-12-23 11:07:46 +01:00
dependabot[bot]
a030f43f20
build(deps-dev): bump @typescript-eslint/parser in /web/ui ( #10055 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 5.5.0 to 5.8.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.8.0/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
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>
2021-12-23 11:05:56 +01:00
Oleg Zaytsev
3c400d443d
Accept promql.Engine interface in v1.NewAPI() ( #10050 )
...
Instead of requesting a concrete type. This would allow other
implementations that use the same API to replace or wrap the engine
implementation while maintaining the same API.
Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
2021-12-21 11:22:40 +01:00
Julius Volz
54dbfa7f68
Update package-lock.json
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2021-12-20 22:00:23 +01:00
Julius Volz
52a1a1a797
Also update codemirror-promql version in react-app
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2021-12-20 22:00:23 +01:00
Julius Volz
d3ae69bb22
Cut v0.19.0 of codemirror-promql
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2021-12-20 22:00:23 +01:00
Augustin Husson
1a2a9db425
fix the case when there is nothing in the expr
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-12-20 20:54:01 +01:00
Augustin Husson
87463257a7
upgrade lezer deps to be aligned between the mirror and prometheus
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-12-20 20:53:44 +01:00
Shihao Xia
f5c3ea1bf2
fix missing db.Close() in web_test.go in order to avoid goroutine leak ( #10035 )
...
Signed-off-by: Shihao Xia <charlesxsh@hotmail.com>
2021-12-20 17:37:53 +05:30
beorn7
64c7bd2b08
Merge branch 'main' into sparsehistogram
2021-12-18 14:04:25 +01:00
renzheng.wang
3462b79f4b
fix TestAgentAPIEndPoints ( #9882 )
...
* fix TestAgentAPIEndPoints
Signed-off-by: renzheng.wang <wangrzneu@gmail.com>
* fix TestAgentAPIEndPoints
Signed-off-by: renzheng.wang <wangrzneu@gmail.com>
2021-12-17 14:36:15 +00:00
beorn7
6f33ab2b35
Merge branch 'main' into sparsehistogram
2021-12-15 13:49:33 +01:00
Julien Pivotto
db1551bd21
Merge pull request #10016 from prometheus/release-2.32
...
Merge back release 2.32
2021-12-14 20:58:58 +01:00
dependabot[bot]
86adf4f33e
build(deps-dev): bump eslint from 8.4.0 to 8.4.1 in /web/ui ( #9961 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.4.0 to 8.4.1.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.4.0...v8.4.1 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
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>
2021-12-10 14:01:36 +01:00
Matheus Alcantara
c965a7555b
web: use t.TempDir instead of ioutil.TempDir on tests ( #9981 )
...
Signed-off-by: Matheus Alcantara <matheusssilv97@gmail.com>
2021-12-08 23:14:50 +01:00
dependabot[bot]
bbbbe5b9df
build(deps-dev): bump @types/node from 16.11.11 to 16.11.12 in /web/ui ( #9957 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 16.11.11 to 16.11.12.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
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>
2021-12-07 16:19:54 +01:00
dependabot[bot]
08a856b1e9
build(deps-dev): bump prettier from 2.5.0 to 2.5.1 in /web/ui ( #9951 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.5.0...2.5.1 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
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>
2021-12-07 11:42:34 +01:00
dependabot[bot]
41f7e99d3c
build(deps): bump @codemirror/language from 0.19.6 to 0.19.7 in /web/ui ( #9953 )
...
Bumps [@codemirror/language](https://github.com/codemirror/language ) from 0.19.6 to 0.19.7.
- [Release notes](https://github.com/codemirror/language/releases )
- [Changelog](https://github.com/codemirror/language/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codemirror/language/compare/0.19.6...0.19.7 )
---
updated-dependencies:
- dependency-name: "@codemirror/language"
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>
2021-12-07 11:41:46 +01:00
dependabot[bot]
b42615a4bd
build(deps-dev): bump eslint from 8.3.0 to 8.4.0 in /web/ui ( #9954 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.3.0 to 8.4.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.3.0...v8.4.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
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>
2021-12-07 10:03:00 +01:00
dependabot[bot]
2185eb4d50
build(deps): bump @codemirror/view from 0.19.24 to 0.19.27 in /web/ui ( #9952 )
...
Bumps [@codemirror/view](https://github.com/codemirror/view ) from 0.19.24 to 0.19.27.
- [Release notes](https://github.com/codemirror/view/releases )
- [Changelog](https://github.com/codemirror/view/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codemirror/view/compare/0.19.24...0.19.27 )
---
updated-dependencies:
- dependency-name: "@codemirror/view"
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>
2021-12-07 10:01:41 +01:00
Julius Volz
47ee242cb4
Improve message wording on /agent page
...
The "them" currently sounds like it refers to the targets, which is not
correct.
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2021-12-05 10:49:11 +01:00
Robbie Lankford
5fb63c1071
remove unused agentMode param
...
Signed-off-by: Robbie Lankford <robert.lankford@grafana.com>
2021-12-05 03:14:20 -06:00
Robbie Lankford
6df47766b2
disable fetching alertmanagers on status page in agent mode
...
Signed-off-by: Robbie Lankford <robert.lankford@grafana.com>
2021-12-05 03:07:03 -06:00
Augustin Husson
ed0543f6bd
fix branch referenced in the codemirror-promql readme
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-12-03 15:02:32 +01:00
Augustin Husson
ec002ae0dc
extend the number of attribute check to know if it's a prometheusConfig ( #9915 )
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-12-01 17:05:40 +01:00
dependabot[bot]
5a8e1474ed
build(deps): bump sass from 1.43.4 to 1.44.0 in /web/ui ( #9912 )
...
Bumps [sass](https://github.com/sass/dart-sass ) from 1.43.4 to 1.44.0.
- [Release notes](https://github.com/sass/dart-sass/releases )
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sass/dart-sass/compare/1.43.4...1.44.0 )
---
updated-dependencies:
- dependency-name: sass
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>
2021-12-01 16:35:40 +01:00
dependabot[bot]
2de487493a
build(deps-dev): bump @typescript-eslint/parser in /web/ui ( #9918 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 5.4.0 to 5.5.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.5.0/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
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>
2021-12-01 16:34:58 +01:00
Augustin Husson
96af0f64b9
update web deps before 2.32 release ( #9916 )
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-12-01 15:54:22 +01:00
dependabot[bot]
c4903efd59
build(deps): bump sanitize-html from 2.5.3 to 2.6.0 in /web/ui ( #9896 )
...
Bumps [sanitize-html](https://github.com/apostrophecms/sanitize-html ) from 2.5.3 to 2.6.0.
- [Release notes](https://github.com/apostrophecms/sanitize-html/releases )
- [Changelog](https://github.com/apostrophecms/sanitize-html/blob/main/CHANGELOG.md )
- [Commits](https://github.com/apostrophecms/sanitize-html/compare/2.5.3...2.6.0 )
---
updated-dependencies:
- dependency-name: sanitize-html
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>
2021-12-01 11:47:10 +01:00
dependabot[bot]
5477e07253
build(deps): bump @codemirror/view from 0.19.20 to 0.19.21 in /web/ui ( #9895 )
...
Bumps [@codemirror/view](https://github.com/codemirror/view ) from 0.19.20 to 0.19.21.
- [Release notes](https://github.com/codemirror/view/releases )
- [Changelog](https://github.com/codemirror/view/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codemirror/view/compare/0.19.20...0.19.21 )
---
updated-dependencies:
- dependency-name: "@codemirror/view"
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>
2021-12-01 11:30:43 +01:00
beorn7
e8e9155a11
Merge branch 'main' into sparsehistogram
2021-11-30 18:22:37 +01:00
beorn7
e4e24453fa
Merge branch 'main' into beorn7/merge2
2021-11-30 17:19:06 +01:00
dependabot[bot]
b63d7c786e
build(deps-dev): bump @types/node from 16.11.9 to 16.11.10 in /web/ui ( #9897 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 16.11.9 to 16.11.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
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>
2021-11-30 15:56:31 +01:00
Julien Pivotto
c78fcd29ba
Adapt UI for Prometheus Agent ( #9851 )
...
* Adapt UI for Prometheus Agent
UI is not my strongest skill, but I'd like to have something minimal for
the initial release of the agent.
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
* Address review comments
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
* Add tests
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
* Add tests, serve only current mode paths
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
* Update js style, add agent test
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2021-11-30 11:21:07 +01:00
Matthew
8e9b8d499d
feat: render IPv6 links ( #9853 )
...
* feat: render IPv6 links
Signed-off-by: mtfoley <mtfoley.mae@gmail.com>
2021-11-29 16:33:47 +01:00
Björn Rabenstein
4ce01e9770
storage: Rename ...Values methods to At... ( #9889 )
...
This mirrors #9888 for the richer iterators we have with histograms in
the game.
Signed-off-by: beorn7 <beorn@grafana.com>
2021-11-29 16:23:04 +05:30
Björn Rabenstein
d677aa4b29
storage: Consolidate iterator method names (Values -> At) ( #9888 )
...
`BufferedSeriesIterator` and `MemoizedSeriesIterator` use a method
called `Values` for exactly the purpose for which all other iterators
of the same kind use a method called `At`. That alone is confusing,
but on top of that, the `Values` method only returns a single sample,
not multiple values. I assume the naming has historical reasons. This
commit makes it more consistent. It is now easier to read, and now
`BufferedSeriesIterator` and `MemoizedSeriesIterator` implement
`chunkenc.Iterator` like many other iterators, too.
Signed-off-by: beorn7 <beorn@grafana.com>
2021-11-29 11:16:40 +01:00
Björn Rabenstein
7e42acd3b1
tsdb: Rework iterators ( #9877 )
...
- Pick At... method via return value of Next/Seek.
- Do not clobber returned buckets.
- Add partial FloatHistogram suppert.
Note that the promql package is now _only_ dealing with
FloatHistograms, following the idea that PromQL only knows float
values.
As a byproduct, I have removed the histogramSeries metric. In my
understanding, series can have both float and histogram samples, so
that metric doesn't make sense anymore.
As another byproduct, I have converged the sampleBuf and the
histogramSampleBuf in memSeries into one. The sample type stored in
the sampleBuf has been extended to also contain histograms even before
this commit.
Signed-off-by: beorn7 <beorn@grafana.com>
2021-11-29 13:24:23 +05:30
Julien Pivotto
b48a1e9e9b
Revert "Replace vfsgen with embed for static web assets ( #9719 )" ( #9870 )
...
This reverts commit ddaddc2a7a
.
2021-11-26 10:11:26 +01:00
Jan Fajerski
ddaddc2a7a
Replace vfsgen with embed for static web assets ( #9719 )
...
* remove vfsgen usages
Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
* web: use embed package for static assets
This requires go 1.16.
Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
* circleci: drop go generate in web/ui
Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
* Makefile: compress web assets before build
This commit add compression before (and decompression after) prometheus
is build. This ensures that gzipped assets are embeded in the prometheus
binary, if the builtinassets build tag is passed. If the build tag is
not passed this step is still executed but has no effect.
All this is executed in a subshell so that we can run the decompress
step even if the build step fails, but retain the exit code of promu.
This cleanup could also cover interrupts, but I left that out for now.
Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
* [FIXME]: add new module dependency on common/assets and temp replace
Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
2021-11-25 15:04:51 +01:00
dependabot[bot]
17a92ca6a8
build(deps-dev): bump @types/jquery from 3.5.8 to 3.5.9 in /web/ui ( #9844 )
...
Bumps [@types/jquery](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jquery ) from 3.5.8 to 3.5.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jquery )
---
updated-dependencies:
- dependency-name: "@types/jquery"
dependency-type: direct:development
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>
2021-11-23 17:03:23 +01:00
lzhfromustc
5538c64e8e
web:Fix a potential goroutine leak by channel ( #8965 )
...
Signed-off-by: lzhfromustc <lzhfromustc@gmail.com>
2021-11-23 09:58:17 +01:00
dependabot[bot]
f08c89e569
build(deps): bump @codemirror/state from 0.19.5 to 0.19.6 in /web/ui ( #9840 )
...
Bumps [@codemirror/state](https://github.com/codemirror/state ) from 0.19.5 to 0.19.6.
- [Release notes](https://github.com/codemirror/state/releases )
- [Changelog](https://github.com/codemirror/state/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codemirror/state/compare/0.19.5...0.19.6 )
---
updated-dependencies:
- dependency-name: "@codemirror/state"
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>
2021-11-22 15:00:39 +01:00
dependabot[bot]
633e686d2d
build(deps-dev): bump @types/react from 17.0.35 to 17.0.36 in /web/ui ( #9837 )
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 17.0.35 to 17.0.36.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
---
updated-dependencies:
- dependency-name: "@types/react"
dependency-type: direct:development
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>
2021-11-22 13:56:16 +01:00
dependabot[bot]
2083dec64d
build(deps-dev): bump @types/node from 16.11.7 to 16.11.9 in /web/ui ( #9839 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 16.11.7 to 16.11.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
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>
2021-11-22 13:26:48 +01:00
dependabot[bot]
dddeca61fc
build(deps): bump @codemirror/search from 0.19.2 to 0.19.3 in /web/ui ( #9838 )
...
Bumps [@codemirror/search](https://github.com/codemirror/search ) from 0.19.2 to 0.19.3.
- [Release notes](https://github.com/codemirror/search/releases )
- [Changelog](https://github.com/codemirror/search/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codemirror/search/compare/0.19.2...0.19.3 )
---
updated-dependencies:
- dependency-name: "@codemirror/search"
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>
2021-11-22 13:23:02 +01:00
dependabot[bot]
fa6a736103
build(deps-dev): bump nock from 13.1.3 to 13.2.1 in /web/ui ( #9836 )
...
Bumps [nock](https://github.com/nock/nock ) from 13.1.3 to 13.2.1.
- [Release notes](https://github.com/nock/nock/releases )
- [Changelog](https://github.com/nock/nock/blob/main/CHANGELOG.md )
- [Commits](https://github.com/nock/nock/compare/v13.1.3...v13.2.1 )
---
updated-dependencies:
- dependency-name: nock
dependency-type: direct:development
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>
2021-11-22 12:48:19 +01:00
dependabot[bot]
5da48cef93
build(deps-dev): bump eslint from 8.2.0 to 8.3.0 in /web/ui ( #9835 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.2.0 to 8.3.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.2.0...v8.3.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
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>
2021-11-22 12:47:23 +01:00
dependabot[bot]
fa455ff164
build(deps): bump @codemirror/view from 0.19.19 to 0.19.20 in /web/ui ( #9833 )
...
Bumps [@codemirror/view](https://github.com/codemirror/view ) from 0.19.19 to 0.19.20.
- [Release notes](https://github.com/codemirror/view/releases )
- [Changelog](https://github.com/codemirror/view/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codemirror/view/compare/0.19.19...0.19.20 )
---
updated-dependencies:
- dependency-name: "@codemirror/view"
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>
2021-11-22 12:45:13 +01:00
Ganesh Vernekar
0eac720468
Export rules related structs in web/api/v1 ( #9831 )
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2021-11-21 22:30:27 +05:30
Julius Volz
adf6f2439e
Fix focused expression input outline styling ( #9829 )
...
This is necessary due to this change in upstream CodeMirror:
73ec1a70be (diff-0e21fb1c9519a397050defc2148a2d1b966a0982cc4cf196e1e6b007f8d095e5)
Currently the expression input shows a weird dotted outline when focused.
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2021-11-19 19:58:49 +01:00
Augustin Husson
ab07c56912
downgrade bootstrap to v4 ( #9827 )
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-11-19 17:43:34 +01:00
dependabot[bot]
25eb35babd
build(deps-dev): bump sinon from 11.1.2 to 12.0.1 in /web/ui ( #9808 )
...
* build(deps-dev): bump sinon from 11.1.2 to 12.0.1 in /web/ui
Bumps [sinon](https://github.com/sinonjs/sinon ) from 11.1.2 to 12.0.1.
- [Release notes](https://github.com/sinonjs/sinon/releases )
- [Changelog](https://github.com/sinonjs/sinon/blob/master/docs/changelog.md )
- [Commits](https://github.com/sinonjs/sinon/compare/v11.1.2...v12.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>
* update package-lock.json
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Augustin Husson <husson.augustin@gmail.com>
2021-11-19 14:23:19 +01:00
dependabot[bot]
692a54649e
build(deps): bump @fortawesome/react-fontawesome from 0.1.15 to 0.1.16 in /web/ui ( #9812 )
...
* build(deps): bump @fortawesome/react-fontawesome in /web/ui
Bumps [@fortawesome/react-fontawesome](https://github.com/FortAwesome/react-fontawesome ) from 0.1.15 to 0.1.16.
- [Release notes](https://github.com/FortAwesome/react-fontawesome/releases )
- [Changelog](https://github.com/FortAwesome/react-fontawesome/blob/master/CHANGELOG.md )
- [Commits](https://github.com/FortAwesome/react-fontawesome/compare/0.1.15...0.1.16 )
---
updated-dependencies:
- dependency-name: "@fortawesome/react-fontawesome"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* update package-lock.json
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Augustin Husson <husson.augustin@gmail.com>
2021-11-19 12:54:33 +01:00
dependabot[bot]
2cd1669d36
build(deps-dev): bump @types/jest from 27.0.2 to 27.0.3 in /web/ui ( #9821 )
...
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ) from 27.0.2 to 27.0.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
---
updated-dependencies:
- dependency-name: "@types/jest"
dependency-type: direct:development
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>
2021-11-19 12:18:52 +01:00
dependabot[bot]
efd48b46cf
build(deps): bump sanitize-html from 2.5.0 to 2.5.3 in /web/ui ( #9810 )
...
* build(deps): bump sanitize-html from 2.5.0 to 2.5.3 in /web/ui
Bumps [sanitize-html](https://github.com/apostrophecms/sanitize-html ) from 2.5.0 to 2.5.3.
- [Release notes](https://github.com/apostrophecms/sanitize-html/releases )
- [Changelog](https://github.com/apostrophecms/sanitize-html/blob/main/CHANGELOG.md )
- [Commits](https://github.com/apostrophecms/sanitize-html/compare/2.5.0...2.5.3 )
---
updated-dependencies:
- dependency-name: sanitize-html
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* update package-lock.json
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Augustin Husson <husson.augustin@gmail.com>
2021-11-19 11:50:34 +01:00
dependabot[bot]
d1eadf1085
build(deps-dev): bump ts-node from 9.1.1 to 10.4.0 in /web/ui ( #9809 )
...
Bumps [ts-node](https://github.com/TypeStrong/ts-node ) from 9.1.1 to 10.4.0.
- [Release notes](https://github.com/TypeStrong/ts-node/releases )
- [Commits](https://github.com/TypeStrong/ts-node/compare/v9.1.1...v10.4.0 )
---
updated-dependencies:
- dependency-name: ts-node
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>
2021-11-18 18:36:57 +01:00
dependabot[bot]
ce46acc14e
build(deps-dev): bump @types/jest from 27.0.1 to 27.0.2 in /web/ui ( #9806 )
...
* build(deps-dev): bump @types/jest from 27.0.1 to 27.0.2 in /web/ui
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ) from 27.0.1 to 27.0.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
---
updated-dependencies:
- dependency-name: "@types/jest"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* update package-lock.json
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Augustin Husson <husson.augustin@gmail.com>
2021-11-18 16:25:46 +01:00
dependabot[bot]
e41dcca706
build(deps): bump @codemirror/matchbrackets in /web/ui ( #9804 )
...
Bumps [@codemirror/matchbrackets](https://github.com/codemirror/matchbrackets ) from 0.19.1 to 0.19.3.
- [Release notes](https://github.com/codemirror/matchbrackets/releases )
- [Changelog](https://github.com/codemirror/matchbrackets/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codemirror/matchbrackets/compare/0.19.1...0.19.3 )
---
updated-dependencies:
- dependency-name: "@codemirror/matchbrackets"
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>
2021-11-18 15:41:38 +01:00
dependabot[bot]
86b600f564
build(deps-dev): bump typescript from 4.4.3 to 4.5.2 in /web/ui ( #9803 )
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 4.4.3 to 4.5.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v4.4.3...v4.5.2 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
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>
2021-11-18 14:50:30 +01:00
dependabot[bot]
598e5bcd74
build(deps): bump @codemirror/lint from 0.19.1 to 0.19.3 in /web/ui ( #9802 )
...
Bumps [@codemirror/lint](https://github.com/codemirror/lint ) from 0.19.1 to 0.19.3.
- [Release notes](https://github.com/codemirror/lint/releases )
- [Changelog](https://github.com/codemirror/lint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codemirror/lint/compare/0.19.1...0.19.3 )
---
updated-dependencies:
- dependency-name: "@codemirror/lint"
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>
2021-11-18 14:32:18 +01:00
Augustin Husson
e459496dbb
fallback mocha to the previous version since ts-mocha required v8 ( #9801 )
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-11-18 12:08:46 +01:00
dependabot[bot]
a23314fd27
build(deps-dev): bump @types/enzyme from 3.10.9 to 3.10.10 in /web/ui ( #9795 )
...
* build(deps-dev): bump @types/enzyme from 3.10.9 to 3.10.10 in /web/ui
Bumps [@types/enzyme](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/enzyme ) from 3.10.9 to 3.10.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/enzyme )
---
updated-dependencies:
- dependency-name: "@types/enzyme"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* update package-lock.json
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Augustin Husson <husson.augustin@gmail.com>
2021-11-18 11:47:09 +01:00
dependabot[bot]
05989db0e7
build(deps-dev): bump @wojtekmaj/enzyme-adapter-react-17 from 0.6.3 to 0.6.5 in /web/ui ( #9797 )
...
* build(deps-dev): bump @wojtekmaj/enzyme-adapter-react-17 in /web/ui
Bumps [@wojtekmaj/enzyme-adapter-react-17](https://github.com/wojtekmaj/enzyme-adapter-react-17 ) from 0.6.3 to 0.6.5.
- [Release notes](https://github.com/wojtekmaj/enzyme-adapter-react-17/releases )
- [Commits](https://github.com/wojtekmaj/enzyme-adapter-react-17/compare/v0.6.3...v0.6.5 )
---
updated-dependencies:
- dependency-name: "@wojtekmaj/enzyme-adapter-react-17"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* update package-lock.json
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Augustin Husson <husson.augustin@gmail.com>
2021-11-18 11:22:57 +01:00
dependabot[bot]
15f23154f9
build(deps): bump @codemirror/autocomplete in /web/ui ( #9798 )
...
Bumps [@codemirror/autocomplete](https://github.com/codemirror/autocomplete ) from 0.19.3 to 0.19.8.
- [Release notes](https://github.com/codemirror/autocomplete/releases )
- [Changelog](https://github.com/codemirror/autocomplete/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codemirror/autocomplete/compare/0.19.3...0.19.8 )
---
updated-dependencies:
- dependency-name: "@codemirror/autocomplete"
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>
2021-11-18 11:01:11 +01:00
beorn7
5d4db805ac
Merge branch 'main' into sparsehistogram
2021-11-17 19:57:31 +01:00
dependabot[bot]
7d5abdcf22
build(deps): bump moment-timezone from 0.5.33 to 0.5.34 in /web/ui ( #9789 )
...
* build(deps): bump moment-timezone from 0.5.33 to 0.5.34 in /web/ui
Bumps [moment-timezone](https://github.com/moment/moment-timezone ) from 0.5.33 to 0.5.34.
- [Release notes](https://github.com/moment/moment-timezone/releases )
- [Changelog](https://github.com/moment/moment-timezone/blob/develop/changelog.md )
- [Commits](https://github.com/moment/moment-timezone/compare/0.5.33...0.5.34 )
---
updated-dependencies:
- dependency-name: moment-timezone
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* update package-lock.json
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Augustin Husson <husson.augustin@gmail.com>
2021-11-17 19:37:33 +01:00
dependabot[bot]
016a69e7e6
build(deps): bump @codemirror/language from 0.19.4 to 0.19.5 in /web/ui ( #9794 )
...
Bumps [@codemirror/language](https://github.com/codemirror/language ) from 0.19.4 to 0.19.5.
- [Release notes](https://github.com/codemirror/language/releases )
- [Changelog](https://github.com/codemirror/language/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codemirror/language/compare/0.19.4...0.19.5 )
---
updated-dependencies:
- dependency-name: "@codemirror/language"
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>
2021-11-17 19:36:55 +01:00
dependabot[bot]
7662673a41
build(deps-dev): bump @types/react from 17.0.34 to 17.0.35 in /web/ui ( #9790 )
...
Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react ) from 17.0.34 to 17.0.35.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react )
---
updated-dependencies:
- dependency-name: "@types/react"
dependency-type: direct:development
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>
2021-11-17 18:21:12 +01:00
dependabot[bot]
e14ef3a3d6
build(deps): bump @codemirror/view from 0.19.7 to 0.19.19 in /web/ui ( #9791 )
...
Bumps [@codemirror/view](https://github.com/codemirror/view ) from 0.19.7 to 0.19.19.
- [Release notes](https://github.com/codemirror/view/releases )
- [Changelog](https://github.com/codemirror/view/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codemirror/view/compare/0.19.7...0.19.19 )
---
updated-dependencies:
- dependency-name: "@codemirror/view"
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>
2021-11-17 18:18:31 +01:00
dependabot[bot]
107e255528
build(deps): bump @codemirror/commands from 0.19.4 to 0.19.5 in /web/ui ( #9793 )
...
Bumps [@codemirror/commands](https://github.com/codemirror/commands ) from 0.19.4 to 0.19.5.
- [Release notes](https://github.com/codemirror/commands/releases )
- [Changelog](https://github.com/codemirror/commands/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codemirror/commands/compare/0.19.4...0.19.5 )
---
updated-dependencies:
- dependency-name: "@codemirror/commands"
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>
2021-11-17 18:06:48 +01:00
dependabot[bot]
bfce805790
build(deps-dev): bump @types/react-dom from 17.0.9 to 17.0.11 in /web/ui ( #9788 )
...
* build(deps-dev): bump @types/react-dom from 17.0.9 to 17.0.11 in /web/ui
Bumps [@types/react-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-dom ) from 17.0.9 to 17.0.11.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-dom )
---
updated-dependencies:
- dependency-name: "@types/react-dom"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* update package-lock.json
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Augustin Husson <husson.augustin@gmail.com>
2021-11-17 17:07:05 +01:00
dependabot[bot]
c17ba6230a
build(deps): bump downshift from 3.4.8 to 6.1.7 in /web/ui ( #9787 )
...
* build(deps): bump downshift from 3.4.8 to 6.1.7 in /web/ui
Bumps [downshift](https://github.com/downshift-js/downshift ) from 3.4.8 to 6.1.7.
- [Release notes](https://github.com/downshift-js/downshift/releases )
- [Changelog](https://github.com/downshift-js/downshift/blob/master/CHANGELOG.md )
- [Commits](https://github.com/downshift-js/downshift/compare/v3.4.8...v6.1.7 )
---
updated-dependencies:
- dependency-name: downshift
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* update package-lock.json
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Augustin Husson <husson.augustin@gmail.com>
2021-11-17 16:41:46 +01:00
dependabot[bot]
f95b576595
build(deps): bump sass from 1.39.0 to 1.43.4 in /web/ui ( #9784 )
...
* build(deps): bump sass from 1.39.0 to 1.43.4 in /web/ui
Bumps [sass](https://github.com/sass/dart-sass ) from 1.39.0 to 1.43.4.
- [Release notes](https://github.com/sass/dart-sass/releases )
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sass/dart-sass/compare/1.39.0...1.43.4 )
---
updated-dependencies:
- dependency-name: sass
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* update package-lock.json
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Augustin Husson <husson.augustin@gmail.com>
2021-11-17 16:12:41 +01:00
dependabot[bot]
0028c4f3ec
build(deps-dev): bump eslint-plugin-import in /web/ui ( #9786 )
...
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import ) from 2.24.2 to 2.25.3.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases )
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md )
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.24.2...v2.25.3 )
---
updated-dependencies:
- dependency-name: eslint-plugin-import
dependency-type: direct:development
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>
2021-11-17 15:30:55 +01:00
dependabot[bot]
d19f83ee5e
build(deps-dev): bump prettier from 2.4.0 to 2.4.1 in /web/ui ( #9785 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.4.0...2.4.1 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
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>
2021-11-17 15:30:31 +01:00
dependabot[bot]
ae7824e993
build(deps): bump bootstrap from 4.6.0 to 5.1.3 in /web/ui ( #9778 )
...
* build(deps): bump bootstrap from 4.6.0 to 5.1.3 in /web/ui
Bumps [bootstrap](https://github.com/twbs/bootstrap ) from 4.6.0 to 5.1.3.
- [Release notes](https://github.com/twbs/bootstrap/releases )
- [Commits](https://github.com/twbs/bootstrap/compare/v4.6.0...v5.1.3 )
---
updated-dependencies:
- dependency-name: bootstrap
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* update package-lock.json
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Augustin Husson <husson.augustin@gmail.com>
2021-11-17 12:12:31 +01:00
dependabot[bot]
042007f9ee
build(deps-dev): bump mocha from 8.4.0 to 9.1.3 in /web/ui ( #9775 )
...
Bumps [mocha](https://github.com/mochajs/mocha ) from 8.4.0 to 9.1.3.
- [Release notes](https://github.com/mochajs/mocha/releases )
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mochajs/mocha/compare/v8.4.0...v9.1.3 )
---
updated-dependencies:
- dependency-name: mocha
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>
2021-11-17 11:24:35 +01:00
dependabot[bot]
9c38a3f6ba
build(deps-dev): bump @types/sinon from 10.0.2 to 10.0.6 in /web/ui ( #9774 )
...
* build(deps-dev): bump @types/sinon from 10.0.2 to 10.0.6 in /web/ui
Bumps [@types/sinon](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sinon ) from 10.0.2 to 10.0.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/sinon )
---
updated-dependencies:
- dependency-name: "@types/sinon"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* update package-lock.json
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Augustin Husson <husson.augustin@gmail.com>
2021-11-17 11:23:01 +01:00
dependabot[bot]
49d8f02c1f
build(deps): bump @codemirror/state from 0.19.2 to 0.19.5 in /web/ui ( #9776 )
...
Bumps [@codemirror/state](https://github.com/codemirror/state ) from 0.19.2 to 0.19.5.
- [Release notes](https://github.com/codemirror/state/releases )
- [Changelog](https://github.com/codemirror/state/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codemirror/state/compare/0.19.2...0.19.5 )
---
updated-dependencies:
- dependency-name: "@codemirror/state"
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>
2021-11-17 10:29:08 +01:00
dependabot[bot]
a1bbc0406d
build(deps-dev): bump @lezer/generator from 0.15.1 to 0.15.2 in /web/ui ( #9777 )
...
Bumps [@lezer/generator](https://github.com/lezer-parser/generator ) from 0.15.1 to 0.15.2.
- [Release notes](https://github.com/lezer-parser/generator/releases )
- [Changelog](https://github.com/lezer-parser/generator/blob/main/CHANGELOG.md )
- [Commits](https://github.com/lezer-parser/generator/compare/0.15.1...0.15.2 )
---
updated-dependencies:
- dependency-name: "@lezer/generator"
dependency-type: direct:development
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>
2021-11-17 10:28:52 +01:00
dependabot[bot]
ede7f7c3b9
build(deps-dev): bump @types/sanitize-html from 1.27.2 to 2.5.0 in /web/ui ( #9768 )
...
* build(deps-dev): bump @types/sanitize-html in /web/ui
Bumps [@types/sanitize-html](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sanitize-html ) from 1.27.2 to 2.5.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/sanitize-html )
---
updated-dependencies:
- dependency-name: "@types/sanitize-html"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* update package-lock.json
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Augustin Husson <husson.augustin@gmail.com>
2021-11-16 21:52:50 +01:00
dependabot[bot]
d2939ecacc
build(deps-dev): bump @types/chai from 4.2.21 to 4.2.22 in /web/ui ( #9772 )
...
Bumps [@types/chai](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chai ) from 4.2.21 to 4.2.22.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chai )
---
updated-dependencies:
- dependency-name: "@types/chai"
dependency-type: direct:development
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>
2021-11-16 21:34:32 +01:00
dependabot[bot]
00c68e832e
build(deps-dev): bump @types/jquery from 3.5.6 to 3.5.8 in /web/ui ( #9769 )
...
Bumps [@types/jquery](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jquery ) from 3.5.6 to 3.5.8.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jquery )
---
updated-dependencies:
- dependency-name: "@types/jquery"
dependency-type: direct:development
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>
2021-11-16 21:22:39 +01:00
dependabot[bot]
b58d34f833
build(deps-dev): bump eslint-plugin-flowtype in /web/ui ( #9770 )
...
Bumps [eslint-plugin-flowtype](https://github.com/gajus/eslint-plugin-flowtype ) from 5.9.2 to 8.0.3.
- [Release notes](https://github.com/gajus/eslint-plugin-flowtype/releases )
- [Commits](https://github.com/gajus/eslint-plugin-flowtype/compare/v5.9.2...v8.0.3 )
---
updated-dependencies:
- dependency-name: eslint-plugin-flowtype
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>
2021-11-16 19:49:03 +01:00
dependabot[bot]
ee5318b064
build(deps-dev): bump @types/mocha from 8.2.3 to 9.0.0 in /web/ui ( #9771 )
...
Bumps [@types/mocha](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/mocha ) from 8.2.3 to 9.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/mocha )
---
updated-dependencies:
- dependency-name: "@types/mocha"
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>
2021-11-16 19:48:09 +01:00
dependabot[bot]
8b25e35a3e
build(deps): bump @codemirror/language from 0.19.3 to 0.19.4 in /web/ui ( #9745 )
...
Bumps [@codemirror/language](https://github.com/codemirror/language ) from 0.19.3 to 0.19.4.
- [Release notes](https://github.com/codemirror/language/releases )
- [Changelog](https://github.com/codemirror/language/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codemirror/language/compare/0.19.3...0.19.4 )
---
updated-dependencies:
- dependency-name: "@codemirror/language"
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>
2021-11-16 15:48:58 +01:00
dependabot[bot]
d1f17a6ca3
build(deps-dev): bump @types/react-resize-detector from 5.0.0 to 6.1.0 in /web/ui ( #9746 )
...
* build(deps-dev): bump @types/react-resize-detector in /web/ui
Bumps [@types/react-resize-detector](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-resize-detector ) from 5.0.0 to 6.1.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-resize-detector )
---
updated-dependencies:
- dependency-name: "@types/react-resize-detector"
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* update package-lock.jsont
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Augustin Husson <husson.augustin@gmail.com>
2021-11-16 15:15:44 +01:00
dependabot[bot]
1bf9937933
build(deps-dev): bump eslint from 7.32.0 to 8.2.0 in /web/ui ( #9750 )
...
* build(deps-dev): bump eslint from 7.32.0 to 8.2.0 in /web/ui
Bumps [eslint](https://github.com/eslint/eslint ) from 7.32.0 to 8.2.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.32.0...v8.2.0 )
---
updated-dependencies:
- dependency-name: eslint
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* bump typescript-eslint
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Augustin Husson <husson.augustin@gmail.com>
2021-11-16 14:33:49 +01:00
dependabot[bot]
006c4f46fe
build(deps-dev): bump @types/react-copy-to-clipboard from 5.0.1 to 5.0.2 in /web/ui ( #9748 )
...
* build(deps-dev): bump @types/react-copy-to-clipboard in /web/ui
Bumps [@types/react-copy-to-clipboard](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-copy-to-clipboard ) from 5.0.1 to 5.0.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-copy-to-clipboard )
---
updated-dependencies:
- dependency-name: "@types/react-copy-to-clipboard"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* update package-lock.json
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Augustin Husson <husson.augustin@gmail.com>
2021-11-16 14:20:56 +01:00
dependabot[bot]
9fe9b246f2
build(deps-dev): bump @lezer/common from 0.15.5 to 0.15.8 in /web/ui ( #9749 )
...
Bumps [@lezer/common](https://github.com/lezer-parser/common ) from 0.15.5 to 0.15.8.
- [Release notes](https://github.com/lezer-parser/common/releases )
- [Changelog](https://github.com/lezer-parser/common/blob/main/CHANGELOG.md )
- [Commits](https://github.com/lezer-parser/common/compare/0.15.5...0.15.8 )
---
updated-dependencies:
- dependency-name: "@lezer/common"
dependency-type: direct:development
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>
2021-11-16 11:11:12 +01:00
dependabot[bot]
7dfadd7f8d
Bump i from 0.3.6 to 0.3.7 in /web/ui ( #9732 )
...
* Bump i from 0.3.6 to 0.3.7 in /web/ui
Bumps [i](https://github.com/pksunkara/inflect ) from 0.3.6 to 0.3.7.
- [Release notes](https://github.com/pksunkara/inflect/releases )
- [Commits](https://github.com/pksunkara/inflect/compare/v0.3.6...v0.3.7 )
---
updated-dependencies:
- dependency-name: i
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* update package-lock.json
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Augustin Husson <husson.augustin@gmail.com>
2021-11-15 17:26:58 +01:00
dependabot[bot]
02840e7bec
Bump @types/react-router-dom from 5.1.8 to 5.3.2 in /web/ui ( #9736 )
...
* Bump @types/react-router-dom from 5.1.8 to 5.3.2 in /web/ui
Bumps [@types/react-router-dom](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-router-dom ) from 5.1.8 to 5.3.2.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-router-dom )
---
updated-dependencies:
- dependency-name: "@types/react-router-dom"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* update package-lock.json
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Augustin Husson <husson.augustin@gmail.com>
2021-11-15 16:38:17 +01:00
dependabot[bot]
ab81e0f583
Bump @types/node from 16.9.1 to 16.11.7 in /web/ui ( #9734 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 16.9.1 to 16.11.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-type: direct:development
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>
2021-11-15 15:27:58 +01:00
dependabot[bot]
1b5aedea1a
Bump @typescript-eslint/eslint-plugin from 4.31.1 to 4.33.0 in /web/ui ( #9733 )
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 4.31.1 to 4.33.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v4.33.0/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
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>
2021-11-15 14:37:22 +01:00
dependabot[bot]
19a7709541
Bump @codemirror/highlight from 0.19.5 to 0.19.6 in /web/ui ( #9735 )
...
Bumps [@codemirror/highlight](https://github.com/codemirror/highlight ) from 0.19.5 to 0.19.6.
- [Release notes](https://github.com/codemirror/highlight/releases )
- [Changelog](https://github.com/codemirror/highlight/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codemirror/highlight/compare/0.19.5...0.19.6 )
---
updated-dependencies:
- dependency-name: "@codemirror/highlight"
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>
2021-11-15 14:31:55 +01:00
beorn7
4c28d9fac7
Move to histogram.Histogram pointers
...
This is to avoid copying the many fields of a histogram.Histogram all
the time.
This also fixes a bunch of formerly broken tests.
Signed-off-by: beorn7 <beorn@grafana.com>
2021-11-12 23:17:35 +01:00
Mateusz Gozdek
79a753db7e
web: randomize used port in TestAgentAPIEndPoints test
...
To make sure we hit the right target and allow running tests in
parallel.
Signed-off-by: Mateusz Gozdek <mgozdekof@gmail.com>
2021-11-11 01:37:24 +01:00
Augustin Husson
69b761a187
fix the different url used in the codemirror-promql readme ( #9713 )
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-11-10 15:54:58 +01:00
Mateusz Gozdek
2cf7479622
web: prepare TestFederation_NotReady test for parallel execution
...
Later on in the test we override fields of handler, so we need a handler
per sub-test, rather than a global one.
Signed-off-by: Mateusz Gozdek <mgozdekof@gmail.com>
2021-11-10 09:40:43 +01:00
Mateusz Gozdek
b2c933e317
web: randomize used listening ports for tests
...
So they can be parallelized to speed up tests execution.
Signed-off-by: Mateusz Gozdek <mgozdekof@gmail.com>
2021-11-10 09:40:43 +01:00
Björn Rabenstein
4c56a193c5
Merge pull request #9478 from prometheus/beorn7/pkg-deprecation
...
Move packages out of deprecated pkg directory
2021-11-09 11:09:16 +01:00
beorn7
c954cd9d1d
Move packages out of deprecated pkg directory
...
This creates a new `model` directory and moves all data-model related
packages over there:
exemplar labels relabel rulefmt textparse timestamp value
All the others are more or less utilities and have been moved to `util`:
gate logging modetimevfs pool runtime
Signed-off-by: beorn7 <beorn@grafana.com>
2021-11-09 08:03:10 +01:00
Matthew
628211c25a
Feat UI metrics search ( #9629 )
...
* feat: add search to metrics explorer
Signed-off-by: mtfoley <mtfoley.mae@gmail.com>
* fix: ui-lint and ui-build errors
Signed-off-by: mtfoley <mtfoley.mae@gmail.com>
* feat: use @nexucis/fuzzy
Signed-off-by: mtfoley <mtfoley.mae@gmail.com>
* chore: code style and delete commented test
Signed-off-by: mtfoley <mtfoley.mae@gmail.com>
* rename Props to MetricsExplorerProps
Signed-off-by: mtfoley <mtfoley.mae@gmail.com>
2021-11-08 19:11:39 +01:00
Augustin Husson
4caae4e4a6
add a negative boost for some trigonometric functions that can overlapp other regular promQL functions ( #9688 )
...
* add a negative boost for some trigonometric functions that can overlapp other regular promQL functions
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* add comments to explain the purpose of the attribute boost
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-11-08 14:32:38 +01:00
Augustin Husson
17fc57948a
codemirror-promql moved to prometheus org ( #9651 )
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-11-03 12:46:58 +01:00
Julien Pivotto
b40e254f25
Agent: Add a boolean to the index to indicate agent mode. ( #9649 )
...
I would like to avoid extra API call's to determine if we are running in
Agent Mode, so I think we could use this approach.
This is a bootstrap of #9612
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
2021-11-03 03:47:14 +00:00
Mateusz Gozdek
1a6c2283a3
Format Go source files using 'gofumpt -w -s -extra'
...
Part of #9557
Signed-off-by: Mateusz Gozdek <mgozdekof@gmail.com>
2021-11-02 19:52:34 +01:00
Julien Pivotto
b1e8e8a0ca
Merge pull request #9642 from prometheus/release-2.31
...
Merge back release 2.31
2021-11-02 14:19:28 +01:00
Robert Fratto
bc72a718c4
Initial draft of prometheus-agent ( #8785 )
...
* Initial draft of prometheus-agent
This commit introduces a new binary, prometheus-agent, based on the
Grafana Agent code. It runs a WAL-only version of prometheus without the
TSDB, alerting, or rule evaluations. It is intended to be used to
remote_write to Prometheus or another remote_write receiver.
By default, prometheus-agent will listen on port 9095 to not collide
with the prometheus default of 9090.
Truncation of the WAL cooperates on a best-effort case with Remote
Write. Every time the WAL is truncated, the minimum timestamp of data to
truncate is determined by the lowest sent timestamp of all samples
across all remote_write endpoints. This gives loose guarantees that data
from the WAL will not try to be removed until the maximum sample
lifetime passes or remote_write starts functionining.
Signed-off-by: Robert Fratto <robertfratto@gmail.com>
* add tests for Prometheus agent (#22 )
* add tests for Prometheus agent
* add tests for Prometheus agent
* rearranged tests as per the review comments
* update tests for Agent
* changes as per code review comments
Signed-off-by: SriKrishna Paparaju <paparaju@gmail.com>
* incremental changes to prometheus agent
Signed-off-by: SriKrishna Paparaju <paparaju@gmail.com>
* changes as per code review comments
Signed-off-by: SriKrishna Paparaju <paparaju@gmail.com>
* Commit feedback from code review
Co-authored-by: Bartlomiej Plotka <bwplotka@gmail.com>
Co-authored-by: Ganesh Vernekar <ganeshvern@gmail.com>
Signed-off-by: Robert Fratto <robertfratto@gmail.com>
* Port over some comments from grafana/agent
Signed-off-by: Robert Fratto <robertfratto@gmail.com>
* Rename agent.Storage to agent.DB for tsdb consistency
Signed-off-by: Robert Fratto <robertfratto@gmail.com>
* Consolidate agentMode ifs in cmd/prometheus/main.go
Signed-off-by: Robert Fratto <robertfratto@gmail.com>
* Document PreAction usage requirements better for agent mode flags
Signed-off-by: Robert Fratto <robertfratto@gmail.com>
* remove unnecessary defaultListenAddr
Signed-off-by: Robert Fratto <robertfratto@gmail.com>
* `go fmt ./tsdb/agent` and fix lint errors
Signed-off-by: Robert Fratto <robertfratto@gmail.com>
Co-authored-by: SriKrishna Paparaju <paparaju@gmail.com>
2021-10-29 16:25:05 +01:00
Julius Volz
e7a12ac80a
Fix broken prefixed asset links in webpack build ( #9586 )
...
* Fix broken prefixed asset links in webpack build
Fixes https://github.com/prometheus/prometheus/issues/9585
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Use .env file for PUBLIC_URL npm build env var
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2021-10-25 12:52:13 +02:00
beorn7
a9008f5423
Merge branch 'main' into sparsehistogram
2021-10-19 17:14:23 +02:00
Augustin Husson
a4ad290987
remove old promql editor ( #9452 )
...
* remove old promql editor
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* rename CMExpression by Expression
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-10-18 17:22:23 +02:00
Augustin Husson
703d9bcd56
prepare the changelog for a next release of codemirror-promql ( #9492 )
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-10-18 16:41:32 +02:00
Augustin Husson
08011925a1
update documentation around react-app ( #9476 )
...
* update documentation around react-app and how to upgrade the npm dependencies
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* wording around caution to take when updating the deps
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* fixing the npm version to be used and explain where you should perform the npm install command
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* simplify what is required to build prometheus from the source
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* aligned period and removed redondant word installed
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* set nodeJS version to be used at 16
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* describe manuel steps to update a dependency for the react-app
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* rewording of the manuel step to update the dependencies
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-10-18 12:47:31 +02:00
Paweł Szulik
4414351576
web api: Delete unnecessary conversion. ( #9517 )
2021-10-15 18:41:53 -04:00
beorn7
7a8bb8222c
Style cleanup of all the changes in sparsehistogram so far
...
A lot of this code was hacked together, literally during a
hackathon. This commit intends not to change the code substantially,
but just make the code obey the usual style practices.
A (possibly incomplete) list of areas:
* Generally address linter warnings.
* The `pgk` directory is deprecated as per dev-summit. No new packages should
be added to it. I moved the new `pkg/histogram` package to `model`
anticipating what's proposed in #9478 .
* Make the naming of the Sparse Histogram more consistent. Including
abbreviations, there were just too many names for it: SparseHistogram,
Histogram, Histo, hist, his, shs, h. The idea is to call it "Histogram" in
general. Only add "Sparse" if it is needed to avoid confusion with
conventional Histograms (which is rare because the TSDB really has no notion
of conventional Histograms). Use abbreviations only in local scope, and then
really abbreviate (not just removing three out of seven letters like in
"Histo"). This is in the spirit of
https://github.com/golang/go/wiki/CodeReviewComments#variable-names
* Several other minor name changes.
* A lot of formatting of doc comments. For one, following
https://github.com/golang/go/wiki/CodeReviewComments#comment-sentences
, but also layout question, anticipating how things will look like
when rendered by `godoc` (even where `godoc` doesn't render them
right now because they are for unexported types or not a doc comment
at all but just a normal code comment - consistency is queen!).
* Re-enabled `TestQueryLog` and `TestEndopints` (they pass now,
leaving them disabled was presumably an oversight).
* Bucket iterator for histogram.Histogram is now created with a
method.
* HistogramChunk.iterator now allows iterator recycling. (I think
@dieterbe only commented it out because he was confused by the
question in the comment.)
* HistogramAppender.Append panics now because we decided to treat
staleness marker differently.
Signed-off-by: beorn7 <beorn@grafana.com>
2021-10-11 13:02:03 +02:00
beorn7
fd5ea4e0b5
Merge branch 'main' into sparsehistogram
2021-10-07 23:16:42 +02:00
Pablo Caderno
b878527151
Added deferred close to 'http.File' opened ( #9443 ) ( #9461 )
...
Signed-off-by: Pablo Caderno <kaderno@gmail.com>
2021-10-06 13:02:46 +02:00
Mayursinh Sarvaiya
1270b87970
chore(ui): debounce effect in timerange query ( #9359 )
...
* chore(ui): debounce effect in timerange query
Signed-off-by: mayursiinh <marvinduff97@gmail.com>
* chore: private declaration of debounceExecuteQuery
Signed-off-by: mayursiinh <marvinduff97@gmail.com>
* fix: lint issue
Signed-off-by: mayursiinh <marvinduff97@gmail.com>
2021-10-03 15:05:16 +02:00
Augustin Husson
149e36921b
assess in readme that codemirror-promql is in prometheus/prometheus ( #9388 )
...
* assess in readme that codemirror is in prometheus/prometheus
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* fix wording
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* remove preview
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-09-28 09:19:04 +02:00
Augustin Husson
eca9546ba4
fix package-lock.json ( #9400 )
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-09-27 18:58:41 +02:00
Julius Volz
f103acd513
Merge pull request #9248 from LeviHarrison/atan2-binary-op
...
PromQL: Add `atan2` binary operator
2021-09-27 18:45:56 +02:00
Augustin Husson
dbbfd1ccf6
change license in package.json file of cmp ( #9399 )
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-09-27 10:17:30 +02:00
Levi Harrison
2f896c98ff
Address review comments
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
2021-09-26 15:45:25 -04:00
Augustin Husson
3e494eac71
upgrade to codemirror v19 ( #9363 )
...
* upgrade to codemirror v19
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* fix autocomplete test
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* fix wording
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-09-24 21:40:49 +02:00
Augustin Husson
7bcca77340
provide a way to override the apiPrefix in codemirror prom client + cleanup readme ( #9384 )
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-09-24 07:52:50 +02:00
Levi Harrison
e27ac3e7e4
Add grammar (maybe?)
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
2021-09-23 10:30:46 -04:00
Augustin Husson
545fbfd7f4
specify npm version in the engine
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-09-16 21:15:20 +02:00
Julius Volz
447d9401fc
Merge pull request #9239 from LeviHarrison/promql-trig-functions
...
PromQL: Add trigonometric functions
2021-09-16 14:11:40 +02:00
Levi Harrison
2c7bec758d
Tabs to spaces
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
2021-09-15 23:02:26 -04:00
Levi Harrison
ed220c1ae7
Add grammar
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
2021-09-15 23:02:25 -04:00
Augustin Husson
e52204e556
fix eslint warning for codemirror-promql
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-09-15 13:38:48 +02:00
Julius Volz
d2c0eac37f
Fix linter errors in codemirror-promql module
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2021-09-15 11:48:21 +02:00
Augustin Husson
1b740aeb6e
Merge branch 'main' into feature/use-npm-workspace
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-09-14 19:27:44 +02:00
Augustin Husson
af7aab7937
add global mock for the matchMedia function
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-09-14 15:49:46 +02:00
Augustin Husson
05b9a11a62
remove jest.restoreAllMock() call
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-09-14 15:49:46 +02:00
Augustin Husson
c3306e6366
set canvas mock
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-09-14 15:49:46 +02:00
Julius Volz
5498ca5214
Update React 16->17, TypeScript, and some other node deps
...
This updates React, TypeScript, and some other node packages (but not
everything).
A couple of notes:
- `enzyme-adapter-react-16` does not have a React 17 equivalent yet, so I
switched to the fork `@wojtekmaj/enzyme-adapter-react-17`
- A bunch of tests are still failing because I think in the enzyme testing
environment, a browser API (`ResizeObserver`) is missing, and maybe for other
reasons. This needs to be explored + fixed.
- The TypeScript update introduced more stringent rules, which required fixing
up a bunch of pieces of code a bit.
- The `use-media` package doesn't work with React 17 yet, so I just built our
own minimal `useMedia` hook instead (just a couple of lines).
- I commented out part of the code in `withStartingIndicator.tsx` because it
fails the now-stricter lint checks. It needs to be fixed (and not commented
out).
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2021-09-14 15:46:59 +02:00
Augustin Husson
22fa0aa408
remove app package in codemirror-module ( #9322 )
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-09-14 12:33:10 +02:00
George Robinson
049b4f4f13
Support customization of template options in TemplateExpander ( #9290 )
...
Signed-off-by: George Robinson <george.robinson@grafana.com>
2021-09-13 17:19:08 +05:30
Augustin Husson
19f5f44bf9
remove craco, no need for it
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-09-11 12:10:05 +02:00
Victor Häggqvist
9aaea327a0
use same top and bottom margin for alert filename
...
Signed-off-by: Victor Häggqvist <victor@snilius.com>
2021-09-10 21:21:22 +02:00
Augustin Husson
27aec91914
review the UI ci and associated command
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-09-10 17:18:25 +02:00
Augustin Husson
5c42b04af7
move to npm workspace
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-09-10 15:38:20 +02:00
Augustin Husson
fa56d1e43b
Merge branch 'feature/cleanup-codemirror' into feature/use-npm-workspace
2021-09-09 17:55:50 +02:00
Augustin Husson
29b788a7b5
remove app package in codemirror-module
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-09-09 17:52:03 +02:00
Victor Häggqvist
02cedb837d
use consistent margin-bottom for all alert kinds
...
Signed-off-by: Victor Häggqvist <victor@snilius.com>
2021-09-08 21:28:49 +02:00
Augustin Husson
c83137e757
Merge branch 'main' into update-react-and-ts
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-09-08 17:28:46 +02:00
Augustin Husson
e1d8891a73
add global mock for the matchMedia function
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-09-08 17:26:24 +02:00
Augustin Husson
2cfdaf915f
remove jest.restoreAllMock() call
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-09-08 17:13:44 +02:00
Ganesh Vernekar
1a5b21b78b
Update dependencies for v2.30.0 ( #9308 )
...
* Update Go dependencies
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
* Update React dependencies
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2021-09-07 20:17:21 +05:30
Augustin Husson
b67c49a9ff
Merge branch 'main' into update-react-and-ts
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-09-07 16:39:54 +02:00
Augustin Husson
e785a0a31f
set canvas mock
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-09-07 16:34:41 +02:00
Augustin Husson
c827413755
Merge branch 'main' into update-react-and-ts
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-09-07 11:51:39 +02:00
SuperQ
6281d26002
Update various react-app dependencies
...
Update several dependencies to cleanup `npm outdated`.
Signed-off-by: SuperQ <superq@gmail.com>
2021-09-07 11:34:37 +02:00
Augustin Husson
405198f430
upgrade react-app to typescript 4
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-09-07 10:51:59 +02:00
Augustin Husson
5bcf2e6511
upgrade react-script to v4
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-09-04 15:56:36 +02:00
Augustin Husson
8fe97cc614
rely on react-scripts for most of the dev-deps
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-09-03 15:01:32 +02:00
Augustin Husson
4f67eb3979
fix EndpointLink test
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-09-02 15:31:33 +02:00
Augustin Husson
242d459685
fix 'window.ResizeObserver is not a constructor' issue
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-09-02 14:46:46 +02:00
Augustin Husson
5d29b7b6f7
specify the type returned for most of the function that is missing it
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-09-02 11:12:25 +02:00
Augustin Husson
27bd8fef40
fix condition in withStartingIndicator
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-09-02 10:29:20 +02:00
Julius Volz
ff2d297b0a
Update React 16->17, TypeScript, and some other node deps
...
This updates React, TypeScript, and some other node packages (but not
everything).
A couple of notes:
- `enzyme-adapter-react-16` does not have a React 17 equivalent yet, so I
switched to the fork `@wojtekmaj/enzyme-adapter-react-17`
- A bunch of tests are still failing because I think in the enzyme testing
environment, a browser API (`ResizeObserver`) is missing, and maybe for other
reasons. This needs to be explored + fixed.
- The TypeScript update introduced more stringent rules, which required fixing
up a bunch of pieces of code a bit.
- The `use-media` package doesn't work with React 17 yet, so I just built our
own minimal `useMedia` hook instead (just a couple of lines).
- I commented out part of the code in `withStartingIndicator.tsx` because it
fails the now-stricter lint checks. It needs to be fixed (and not commented
out).
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2021-09-01 16:03:09 +02:00
Levi Harrison
70f597b033
Configure Scrape Interval and Timeout Via Relabeling ( #8911 )
...
* Configure scrape interval and timeout with labels
Signed-off-by: Levi Harrison <git@leviharrison.dev>
2021-08-31 17:37:32 +02:00
Ganesh Vernekar
1315d8ecb6
Remove query hacks in the API and fix metrics ( #9275 )
...
* Remove query hacks in the API and fix metrics
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
* Tests for the metrics
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
* Better way to count series on restart
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2021-08-31 17:01:19 +05:30
Julius Volz
dff78eb508
Switch from Reach Router to React Router ( #9273 )
...
We want to upgrade to React 17, but Reach Router does not work with React 17:
https://github.com/reach/router/issues/429
Also, the Reach + React Router projects announced an intention to join forces
and just continue as React Router:
https://reacttraining.com/blog/reach-react-router-future/
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2021-08-30 14:05:49 +02:00
Augustin Husson
a2665a9f73
add lezer-promql module ( #9229 )
...
* add lezer-promql module
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* integrate lezer-promql in codemirror-promql
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-08-29 15:16:25 +02:00
SuperQ
e167a45c65
Add new Go build tags.
...
Add new go:build comments based on 1.17 formatting[0].
[0]: https://golang.org/doc/go1.17#gofmt
Signed-off-by: SuperQ <superq@gmail.com>
2021-08-27 10:24:14 +02:00
Augustin Husson
54dfee02b2
move codemirror-promql as a prometheus web module ( #9188 )
...
* move codemirror-promql as a prometheus web module
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* remove unecessary file for the codemirror module
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* change license for Apache
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
* fix codemirror build
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
2021-08-20 11:39:07 +02:00
Dorian JAMINAIS
05dba96ebf
Add option for the number of ticks in PromConsole.Graph ( #9223 )
...
Signed-off-by: Dorian Jaminais-Grellier <dorian@jaminais.fr>
2021-08-20 08:24:31 +02:00