Björn Rabenstein
19da579799
Merge pull request #12821 from rexagod/12769
...
parser: support underscores
5 months ago
Pranshu Srivastava
3c9e3ee552
parser: support underscores
...
Support underscores in numbers, namely, decimals, hexadecimals, and
exponentials.
Fixes #12769
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
5 months ago
Arve Knudsen
d902116b41
Fix various linting errors
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
5 months ago
🌲 Harry 🌊 John 🏔
d5f6887294
Pass limit param as hint to storage.Querier
...
Signed-off-by: 🌲 Harry 🌊 John 🏔 <johrry@amazon.com>
6 months ago
György Krajcsovits
fcabffb999
Merge branch 'release-2.53' into merge-2.53-to-main
6 months ago
György Krajcsovits
e121d07388
Prepare release 2.53.0
...
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
6 months ago
Arve Knudsen
b7320ef636
Merge remote-tracking branch 'prometheus/main' into arve/close-engine
6 months ago
György Krajcsovits
dd8676218b
Prepare 2.53.0-rc.1 release
...
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
6 months ago
Bryan Boreham
64c5cc5134
Merge pull request #14209 from bboreham/api-error-url
...
[ENHANCEMENT] HTTP API: Add url to errors logged while sending response
6 months ago
Ben Kochie
51e303d450
Merge pull request #14244 from prometheus/dependabot/npm_and_yarn/web/ui/http-proxy-middleware-3.0.0
...
build(deps): bump http-proxy-middleware from 2.0.6 to 3.0.0 in /web/ui
6 months ago
Ben Kochie
be0d51278c
Merge pull request #14270 from prometheus/dependabot/npm_and_yarn/web/ui/types/sinon-17.0.3
...
build(deps-dev): bump @types/sinon from 10.0.20 to 17.0.3 in /web/ui
6 months ago
Ben Kochie
3ca40003e3
Merge pull request #14272 from prometheus/dependabot/npm_and_yarn/web/ui/eslint-config-prettier-9.1.0
...
build(deps-dev): bump eslint-config-prettier from 8.10.0 to 9.1.0 in /web/ui
6 months ago
dependabot[bot]
3db2d8ef2e
build(deps-dev): bump eslint-config-prettier in /web/ui
...
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier ) from 8.10.0 to 9.1.0.
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v8.10.0...v9.1.0 )
---
updated-dependencies:
- dependency-name: eslint-config-prettier
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
6 months ago
dependabot[bot]
f58f539c53
build(deps): bump @codemirror/commands from 6.3.2 to 6.6.0 in /web/ui
...
Bumps [@codemirror/commands](https://github.com/codemirror/commands ) from 6.3.2 to 6.6.0.
- [Changelog](https://github.com/codemirror/commands/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codemirror/commands/compare/6.3.2...6.6.0 )
---
updated-dependencies:
- dependency-name: "@codemirror/commands"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
6 months ago
dependabot[bot]
9bfc47f1f7
build(deps-dev): bump @types/sinon from 10.0.20 to 17.0.3 in /web/ui
...
Bumps [@types/sinon](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sinon ) from 10.0.20 to 17.0.3.
- [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-major
...
Signed-off-by: dependabot[bot] <support@github.com>
6 months ago
Ben Kochie
687b9c2d62
Merge pull request #14262 from prometheus/dependabot/npm_and_yarn/web/ui/types/node-20.14.2
...
build(deps-dev): bump @types/node from 20.10.4 to 20.14.2 in /web/ui
6 months ago
dependabot[bot]
0661b9076f
build(deps): bump http-proxy-middleware from 2.0.6 to 3.0.0 in /web/ui
...
Bumps [http-proxy-middleware](https://github.com/chimurai/http-proxy-middleware ) from 2.0.6 to 3.0.0.
- [Release notes](https://github.com/chimurai/http-proxy-middleware/releases )
- [Changelog](https://github.com/chimurai/http-proxy-middleware/blob/master/CHANGELOG.md )
- [Commits](https://github.com/chimurai/http-proxy-middleware/compare/v2.0.6...v3.0.0 )
---
updated-dependencies:
- dependency-name: http-proxy-middleware
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
6 months ago
Ben Kochie
ee0527e0c6
Merge pull request #14260 from prometheus/dependabot/npm_and_yarn/web/ui/types/jquery-3.5.30
...
build(deps-dev): bump @types/jquery from 3.5.29 to 3.5.30 in /web/ui
6 months ago
Ben Kochie
89ab04b3ef
Merge pull request #14265 from prometheus/dependabot/npm_and_yarn/web/ui/downshift-9.0.6
...
build(deps): bump downshift from 7.6.2 to 9.0.6 in /web/ui
6 months ago
Ben Kochie
5f12cf5bbd
Merge pull request #14257 from prometheus/dependabot/npm_and_yarn/web/ui/moment-timezone-0.5.45
...
build(deps): bump moment-timezone from 0.5.43 to 0.5.45 in /web/ui
6 months ago
Ben Kochie
afd26e5019
Merge pull request #14264 from prometheus/dependabot/npm_and_yarn/web/ui/lezer/generator-1.7.0
...
build(deps-dev): bump @lezer/generator from 1.5.1 to 1.7.0 in /web/ui
6 months ago
Ben Kochie
fed911e8e0
Merge pull request #14233 from prometheus/dependabot/npm_and_yarn/web/ui/fortawesome/free-solid-svg-icons-6.5.2
...
build(deps): bump @fortawesome/free-solid-svg-icons from 6.5.1 to 6.5.2 in /web/ui
6 months ago
Ben Kochie
d433d200f6
Merge pull request #14263 from prometheus/dependabot/npm_and_yarn/web/ui/codemirror/language-6.10.2
...
build(deps): bump @codemirror/language from 6.9.3 to 6.10.2 in /web/ui
6 months ago
Ben Kochie
50e3712651
Merge pull request #14266 from prometheus/dependabot/npm_and_yarn/web/ui/nock-13.5.4
...
build(deps-dev): bump nock from 13.4.0 to 13.5.4 in /web/ui
6 months ago
dependabot[bot]
6205b54e7d
build(deps): bump @codemirror/language from 6.9.3 to 6.10.2 in /web/ui
...
Bumps [@codemirror/language](https://github.com/codemirror/language ) from 6.9.3 to 6.10.2.
- [Changelog](https://github.com/codemirror/language/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codemirror/language/compare/6.9.3...6.10.2 )
---
updated-dependencies:
- dependency-name: "@codemirror/language"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
6 months ago
dependabot[bot]
5c498b7202
build(deps): bump moment-timezone from 0.5.43 to 0.5.45 in /web/ui
...
Bumps [moment-timezone](https://github.com/moment/moment-timezone ) from 0.5.43 to 0.5.45.
- [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.43...0.5.45 )
---
updated-dependencies:
- dependency-name: moment-timezone
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
6 months ago
Ben Kochie
22bad5ab20
Merge pull request #14259 from prometheus/dependabot/npm_and_yarn/web/ui/codemirror/lint-6.8.0
...
build(deps): bump @codemirror/lint from 6.4.2 to 6.8.0 in /web/ui
6 months ago
dependabot[bot]
638a11b797
build(deps-dev): bump nock from 13.4.0 to 13.5.4 in /web/ui
...
Bumps [nock](https://github.com/nock/nock ) from 13.4.0 to 13.5.4.
- [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.4.0...v13.5.4 )
---
updated-dependencies:
- dependency-name: nock
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
6 months ago
dependabot[bot]
35704bee02
build(deps): bump downshift from 7.6.2 to 9.0.6 in /web/ui
...
Bumps [downshift](https://github.com/downshift-js/downshift ) from 7.6.2 to 9.0.6.
- [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/v7.6.2...v9.0.6 )
---
updated-dependencies:
- dependency-name: downshift
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
6 months ago
dependabot[bot]
9ebc630d10
build(deps-dev): bump @lezer/generator from 1.5.1 to 1.7.0 in /web/ui
...
Bumps [@lezer/generator](https://github.com/lezer-parser/generator ) from 1.5.1 to 1.7.0.
- [Changelog](https://github.com/lezer-parser/generator/blob/main/CHANGELOG.md )
- [Commits](https://github.com/lezer-parser/generator/compare/1.5.1...1.7.0 )
---
updated-dependencies:
- dependency-name: "@lezer/generator"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
6 months ago
dependabot[bot]
1e904a7aa9
build(deps-dev): bump @types/node from 20.10.4 to 20.14.2 in /web/ui
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 20.10.4 to 20.14.2.
- [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>
6 months ago
dependabot[bot]
da6bfe62d1
build(deps): bump moment from 2.29.4 to 2.30.1 in /web/ui
...
Bumps [moment](https://github.com/moment/moment ) from 2.29.4 to 2.30.1.
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md )
- [Commits](https://github.com/moment/moment/compare/2.29.4...2.30.1 )
---
updated-dependencies:
- dependency-name: moment
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
6 months ago
dependabot[bot]
aec8355b80
build(deps-dev): bump @types/jquery from 3.5.29 to 3.5.30 in /web/ui
...
Bumps [@types/jquery](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jquery ) from 3.5.29 to 3.5.30.
- [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>
6 months ago
dependabot[bot]
38d459968c
build(deps): bump @codemirror/lint from 6.4.2 to 6.8.0 in /web/ui
...
Bumps [@codemirror/lint](https://github.com/codemirror/lint ) from 6.4.2 to 6.8.0.
- [Changelog](https://github.com/codemirror/lint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codemirror/lint/compare/6.4.2...6.8.0 )
---
updated-dependencies:
- dependency-name: "@codemirror/lint"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
6 months ago
dependabot[bot]
f6fcca5800
build(deps): bump @fortawesome/free-solid-svg-icons in /web/ui
...
Bumps [@fortawesome/free-solid-svg-icons](https://github.com/FortAwesome/Font-Awesome ) from 6.5.1 to 6.5.2.
- [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.5.1...6.5.2 )
---
updated-dependencies:
- dependency-name: "@fortawesome/free-solid-svg-icons"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
6 months ago
Ben Kochie
74184e137a
Merge pull request #14234 from prometheus/dependabot/npm_and_yarn/web/ui/fortawesome/fontawesome-svg-core-6.5.2
...
build(deps): bump @fortawesome/fontawesome-svg-core from 6.5.1 to 6.5.2 in /web/ui
6 months ago
Ben Kochie
8be25db175
Merge pull request #14243 from prometheus/dependabot/npm_and_yarn/web/ui/multi-d5aa6c7bb7
...
build(deps): bump sanitize-html and @types/sanitize-html in /web/ui
6 months ago
dependabot[bot]
d060c1668e
build(deps-dev): bump webpack-dev-middleware in /web/ui
...
Bumps [webpack-dev-middleware](https://github.com/webpack/webpack-dev-middleware ) from 5.3.3 to 5.3.4.
- [Release notes](https://github.com/webpack/webpack-dev-middleware/releases )
- [Changelog](https://github.com/webpack/webpack-dev-middleware/blob/v5.3.4/CHANGELOG.md )
- [Commits](https://github.com/webpack/webpack-dev-middleware/compare/v5.3.3...v5.3.4 )
---
updated-dependencies:
- dependency-name: webpack-dev-middleware
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
6 months ago
Ben Kochie
2544066169
Merge pull request #14239 from prometheus/dependabot/npm_and_yarn/web/ui/lezer/lr-1.4.1
...
build(deps): bump @lezer/lr from 1.3.14 to 1.4.1 in /web/ui
6 months ago
dependabot[bot]
aa25f2f3b2
build(deps): bump @fortawesome/fontawesome-svg-core in /web/ui
...
Bumps [@fortawesome/fontawesome-svg-core](https://github.com/FortAwesome/Font-Awesome ) from 6.5.1 to 6.5.2.
- [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.5.1...6.5.2 )
---
updated-dependencies:
- dependency-name: "@fortawesome/fontawesome-svg-core"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
6 months ago
Ben Kochie
883c2f6d56
Merge pull request #13875 from prometheus/dependabot/npm_and_yarn/web/ui/forevolve/bootstrap-dark-4.0.2
...
build(deps): bump @forevolve/bootstrap-dark from 2.1.1 to 4.0.2 in /web/ui
6 months ago
Ben Kochie
583e3842e5
Merge pull request #14237 from prometheus/dependabot/npm_and_yarn/web/ui/codemirror/autocomplete-6.16.2
...
build(deps): bump @codemirror/autocomplete from 6.11.1 to 6.16.2 in /web/ui
6 months ago
Ben Kochie
c9b081c4fa
Merge pull request #14241 from prometheus/dependabot/npm_and_yarn/web/ui/ts-jest-29.1.4
...
build(deps-dev): bump ts-jest from 29.1.1 to 29.1.4 in /web/ui
6 months ago
Ben Kochie
2e622392d4
Merge pull request #14246 from prometheus/dependabot/npm_and_yarn/web/ui/types/jest-29.5.12
...
build(deps-dev): bump @types/jest from 29.5.11 to 29.5.12 in /web/ui
6 months ago
Ben Kochie
7e94ce1d68
Merge pull request #14248 from prometheus/dependabot/npm_and_yarn/web/ui/codemirror/search-6.5.6
...
build(deps): bump @codemirror/search from 6.5.5 to 6.5.6 in /web/ui
6 months ago
dependabot[bot]
cfde13f60d
build(deps): bump sanitize-html and @types/sanitize-html in /web/ui
...
Bumps [sanitize-html](https://github.com/apostrophecms/sanitize-html ) and [@types/sanitize-html](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/sanitize-html ). These dependencies needed to be updated together.
Updates `sanitize-html` from 2.11.0 to 2.13.0
- [Changelog](https://github.com/apostrophecms/sanitize-html/blob/main/CHANGELOG.md )
- [Commits](https://github.com/apostrophecms/sanitize-html/compare/2.11.0...2.13.0 )
Updates `@types/sanitize-html` from 2.9.5 to 2.11.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/sanitize-html )
---
updated-dependencies:
- dependency-name: sanitize-html
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: "@types/sanitize-html"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
6 months ago
Ben Kochie
0d5d687fd8
Merge pull request #14249 from prometheus/dependabot/npm_and_yarn/web/ui/sass-1.77.4
...
build(deps): bump sass from 1.69.5 to 1.77.4 in /web/ui
6 months ago
Ben Kochie
1b71f422ad
Merge pull request #14250 from prometheus/dependabot/npm_and_yarn/web/ui/sinon-18.0.0
...
build(deps-dev): bump sinon from 14.0.2 to 18.0.0 in /web/ui
6 months ago
dependabot[bot]
a16573dbad
build(deps): bump @lezer/lr from 1.3.14 to 1.4.1 in /web/ui
...
Bumps [@lezer/lr](https://github.com/lezer-parser/lr ) from 1.3.14 to 1.4.1.
- [Changelog](https://github.com/lezer-parser/lr/blob/main/CHANGELOG.md )
- [Commits](https://github.com/lezer-parser/lr/compare/1.3.14...1.4.1 )
---
updated-dependencies:
- dependency-name: "@lezer/lr"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
6 months ago
György Krajcsovits
8397c7bc48
Version bump to v2.53.0-rc.0
...
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
6 months ago
dependabot[bot]
a4bcd6a7d1
build(deps): bump @lezer/common from 1.1.1 to 1.2.1 in /web/ui
...
Bumps [@lezer/common](https://github.com/lezer-parser/common ) from 1.1.1 to 1.2.1.
- [Changelog](https://github.com/lezer-parser/common/blob/main/CHANGELOG.md )
- [Commits](https://github.com/lezer-parser/common/compare/1.1.1...1.2.1 )
---
updated-dependencies:
- dependency-name: "@lezer/common"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
6 months ago
dependabot[bot]
c481b0eccf
build(deps-dev): bump sinon from 14.0.2 to 18.0.0 in /web/ui
...
Bumps [sinon](https://github.com/sinonjs/sinon ) from 14.0.2 to 18.0.0.
- [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/v14.0.2...v18.0.0 )
---
updated-dependencies:
- dependency-name: sinon
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
6 months ago
dependabot[bot]
331de1603e
build(deps): bump sass from 1.69.5 to 1.77.4 in /web/ui
...
Bumps [sass](https://github.com/sass/dart-sass ) from 1.69.5 to 1.77.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.69.5...1.77.4 )
---
updated-dependencies:
- dependency-name: sass
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
6 months ago
dependabot[bot]
f0e7cc4ba2
build(deps): bump @codemirror/search from 6.5.5 to 6.5.6 in /web/ui
...
Bumps [@codemirror/search](https://github.com/codemirror/search ) from 6.5.5 to 6.5.6.
- [Changelog](https://github.com/codemirror/search/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codemirror/search/compare/6.5.5...6.5.6 )
---
updated-dependencies:
- dependency-name: "@codemirror/search"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
6 months ago
dependabot[bot]
d18fd35fad
build(deps-dev): bump @types/jest from 29.5.11 to 29.5.12 in /web/ui
...
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ) from 29.5.11 to 29.5.12.
- [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>
6 months ago
dependabot[bot]
5cc1a36917
build(deps-dev): bump ts-jest from 29.1.1 to 29.1.4 in /web/ui
...
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest ) from 29.1.1 to 29.1.4.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases )
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v29.1.1...v29.1.4 )
---
updated-dependencies:
- dependency-name: ts-jest
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
6 months ago
dependabot[bot]
35b228b50f
build(deps): bump @codemirror/autocomplete in /web/ui
...
Bumps [@codemirror/autocomplete](https://github.com/codemirror/autocomplete ) from 6.11.1 to 6.16.2.
- [Changelog](https://github.com/codemirror/autocomplete/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codemirror/autocomplete/compare/6.11.1...6.16.2 )
---
updated-dependencies:
- dependency-name: "@codemirror/autocomplete"
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
6 months ago
Arve Knudsen
e57aac8084
Merge remote-tracking branch 'prometheus/main' into arve/close-engine
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
6 months ago
Bryan Boreham
4ce26288e0
[ENHANCEMENT] HTTP API: Add url to errors logged while sending response
...
Give more clues when troubleshooting.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
6 months ago
Arthur Silva Sens
d73537ccc0
Merge branch 'main' into resolveconflicts-2.52.1
6 months ago
Arthur Silva Sens
3c1aadd942
Prepare v2.52.1 release
...
Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com>
6 months ago
Arve Knudsen
0cc99e677a
promql.Engine: Add Close method
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
6 months ago
Arve Knudsen
b2396c0c8f
Upgrade to golangci-lint v1.59.0
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
6 months ago
Ayoub Mrini
fabcd7e7c6
fix(api): Send warnings only if the limit is really exceeded ( #14116 )
...
for the the series, label names and label values APIs
Add warnings count check to TestEndpoints
The limit param was added in https://github.com/prometheus/prometheus/pull/13396
Signed-off-by: machine424 <ayoubmrini424@gmail.com>
7 months ago
George Krajcsovits
52f68a96a4
web/api: export defaultStatsRenderer ( #14121 )
...
defaultStatsRenderer->DefaultStatsRenderer
Add short docstrings.
I'd like to use the stats renderer to peek at the statistics in
https://github.com/grafana/mimir/pull/7966
However I cannot call the original function without this export afterwards.
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
7 months ago
Oleksandr Redko
f10c3454e9
Enable perfsprint linter and fix up code
...
Signed-off-by: Oleksandr Redko <oleksandr.red+github@gmail.com>
7 months ago
Bryan Boreham
3fd24d1cd7
Merge pull request #13999 from bboreham/extract-promqltest
...
[Test] Extract most PromQL test code into separate packages
7 months ago
Bryan Boreham
8fd96241ab
test: add promqltest package references
...
To packages outside of promql.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
7 months ago
Arthur Silva Sens
df05132f19
Prepare v2.52.0 release
...
Signed-off-by: Arthur Silva Sens <arthursens2005@gmail.com>
7 months ago
Arthur Silva Sens
2e323af50f
Merge branch 'main' into resolve-conflicts-2.52
...
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
7 months ago
Arthur Silva Sens
48e6e16943
Prepare v2.52.0-rc.1 release ( #14050 )
...
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
7 months ago
AVejahat
56fd8a1e4a
bugfix: add missing comma in vector/matrix array ( #14047 )
...
* bugfix: Add missing comma when encoding JSON results in web API
---------
Signed-off-by: Amir Vejahat <amir.vejahat.av@gmail.com>
Co-authored-by: Arthur Silva Sens <arthur.sens@coralogix.com>
7 months ago
Arthur Silva Sens
650f4d7a72
Merge remote-tracking branch 'origin/main' into resolve-conflicts-2.52
7 months ago
Arthur Silva Sens
f170a014f3
Merge pull request #13969 from prometheus/prepare-v2.52
...
Prepare v2.52.0-rc.0 release
7 months ago
Bryan Boreham
5c8ffaa77c
bugfix: API: encode empty Vector/Matrix as []
...
If the underlying data is `nil` the default encoding
will render `"null"` which is not accepted by
(some) Prometheus client libraries.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
7 months ago
Bryan Boreham
00247b5d87
test: API: check empty responses
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
7 months ago
Bryan Boreham
e0a00f45db
refactor: API: separate typed and unsafe marshalling
...
The typed versions are used when we call from one marshaller to another.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
7 months ago
Bryan Boreham
66a1c3daad
refactor: API: be explicit that we marshal empty objects
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
7 months ago
Bryan Boreham
c8aed6b0ec
tests: API: Let nil expected response mean skip check
...
When we want to check just the json encoding.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
7 months ago
Bryan Boreham
5a339ba359
tests: API: Use jsoniter when encoding
...
So that tests use the same encoding as the api.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
7 months ago
Bryan Boreham
2c4a36376d
tests: API: simplify check of error response
...
Since we already use require.JSONEq in similar cases.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
7 months ago
Neeraj Gartia
99f9d32499
UTF-8: updates UI parser to support UTF-8 characters ( #13590 )
...
Signed-off-by: Neeraj Gartia <neerajgartia211002@gmail.com>
7 months ago
Arthur Silva Sens
9195d51469
Prepare v2.52 release
...
Signed-off-by: Arthur Silva Sens <arthur.sens@coralogix.com>
7 months ago
dependabot[bot]
41ea62acba
build(deps): bump @forevolve/bootstrap-dark in /web/ui
...
Bumps [@forevolve/bootstrap-dark](https://github.com/ForEvolve/bootstrap-dark ) from 2.1.1 to 4.0.2.
- [Release notes](https://github.com/ForEvolve/bootstrap-dark/releases )
- [Commits](https://github.com/ForEvolve/bootstrap-dark/compare/v2.1.1...v4.0.2 )
---
updated-dependencies:
- dependency-name: "@forevolve/bootstrap-dark"
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
8 months ago
Julius Volz
5827772f69
Merge branch 'main' into mantine-ui
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
8 months ago
Julius Volz
e8bbe191d4
Build both old & new UI into Prometheus, allow choosing via feature flag
...
This keeps the old "react-app" directory in its existing location (to make
it easier to merge changes from the main branch), but separates it from the
npm workspaces setup. Thus it now needs to be npm-installed/built/linted
separately. This is a bit hacky, but should only be needed temporarily,
until the old UI can be removed.
Signed-off-by: Julius Volz <julius.volz@gmail.com>
8 months ago
Julius Volz
a057601771
Fix a few Mantine UI lint errors
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
8 months ago
Julius Volz
54dc1455d7
Merge branch 'main' into mantine-ui
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
8 months ago
Julius Volz
5524a03d29
Remove files erroneously added to old React app
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
8 months ago
Bryan Boreham
e1dd8e72df
Merge branch 'main' into merge-2.51.2-into-main
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
8 months ago
Bryan Boreham
b4c0ab52c3
Cut release 2.51.2
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
8 months ago
Julius Volz
50118dc174
Change icon for state multiselect
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
8 months ago
Julius Volz
1049c90cb5
Clean up file hierarchy a bit, add some more comments
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
8 months ago
Matthieu MOREL
d496687c8e
golangci-lint: enable usestdlibvars linter
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
8 months ago
Julius Volz
b778c0a249
Change /graph to /query as default homepage in Go backend
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
8 months ago
Julius Volz
cdc4bf0ebc
Various tiny code cleanups
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
8 months ago
Julius Volz
0cc6645c2d
Some improvements to completion info tooltip for new CM version
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
8 months ago
Julius Volz
a1f36de67c
Add missing alerts page redux slice file
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
8 months ago
Julius Volz
719b31f1b5
Show rules page as collapsed accordion instead of rules table
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
8 months ago
Julius Volz
8165a6e337
Better color for "unknown" health badge
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
8 months ago
Julius Volz
c2eb4007bb
Better top nav page titles, clickable Prometheus brand logo
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
8 months ago
Julius Volz
b40a029599
More timestamp handling fixes/improvements
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
8 months ago
Julius Volz
3c44f43815
Add state filtering to alerts page
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
8 months ago
Julius Volz
2be782df77
Various query page improvements
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
8 months ago
Julius Volz
684698b827
Remove unused old multiselect code
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
8 months ago
Julius Volz
1f5605fe63
Time formatting / parsing improvements
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
8 months ago
Julius Volz
70221fc4a0
Build initial targets page
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
8 months ago
Bryan Boreham
e1a5886c88
Merge branch 'main' into merge-2.51-into-main
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
8 months ago
Bryan Boreham
855b5ac4b8
Cut release 2.51.1 ( #13853 )
...
* Cut release 2.51.1
Co-authored-by: George Krajcsovits <krajorama@users.noreply.github.com>
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
8 months ago
Björn Rabenstein
7ba218fbd0
Merge pull request #13791 from bboreham/merge-2.51.0
...
Merge 2.51.0 into main
9 months ago
Erlan Zholdubai uulu
742196b6c4
add context cancellation check at get series result iteration ( #13766 )
...
* add context cancellation check at get series iteration
* add warnings and closer on error
* add test
---------
Signed-off-by: Erlan Zholdubai uulu <erlanz@amazon.com>
9 months ago
Bryan Boreham
0630e49c0d
Merge branch 'main' into merge-2.51.0
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
9 months ago
Bryan Boreham
c05c15512a
Cut v2.51.0 ( #13787 )
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
9 months ago
Julius Volz
a699cbefae
Try making /rules timing badges clearer by adding text
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
9 months ago
Julius Volz
64dabd4379
Use redux-based settings in expression input component
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
9 months ago
Julius Volz
9fe8a5dba7
Make spacing, shadows, and radius sizes more consistent
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
9 months ago
Julius Volz
627826783c
Add state and label/alertname filter mockups to Alerts page
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
9 months ago
Julius Volz
2f95bbe570
Improve humanizeDuration() code and output
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
9 months ago
Julius Volz
00d2a49f4d
Better gray tones for "Unknown" health color
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
9 months ago
Julius Volz
796d1806da
Add Settings menu, make menu links left-justified again
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
9 months ago
Julius Volz
121d92209d
Make Status menu wide enough for new icon size
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
9 months ago
Julius Volz
dee41028f7
Fix path prefix handling for "/"
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
9 months ago
Julius Volz
143917cfe0
Nav link size cleanups
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
9 months ago
Julius Volz
e29ad4a83b
Add "Scroll to Top" component
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
9 months ago
Julius Volz
6ff7857313
Add codeicon font for autocompletion icons
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
9 months ago
Bartlomiej Plotka
312e3fd728
Merge pull request #13713 from charleskorn/query-engine-interface
...
rules: allow using alternative PromQL engines for rule evaluation by callers using Prometheus as a lib.
9 months ago
Charles Korn
26262a1eb7
Remove unnecessary `SetQueryLogger` method on `QueryEngine` interface
...
Signed-off-by: Charles Korn <charles.korn@grafana.com>
9 months ago
guoguangwu
1cccdbaedb
chore: use constant instead of numeric literal
...
Signed-off-by: guoguangwu <guoguangwug@gmail.com>
9 months ago
Bryan Boreham
8d53e7ba90
Cut v2.51.0-rc.0 ( #13729 )
...
* Cherry-pick [BUGFIX] Azure SD: Fix 'error: parameter virtualMachineScaleSetName cannot be empty' (#13702 )
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
9 months ago
Julius Volz
ebb468cedf
Add graphing component stub
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
9 months ago
Julius Volz
9093e0ab91
Cleanups in DataTable code
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
9 months ago
Julius Volz
b17dae1dab
Increase range input width
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
9 months ago
Julius Volz
d9768a70b6
Add missing response type file
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
9 months ago
Julius Volz
d5a1e71f6c
Make time and range input controls prettier
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
9 months ago
Julius Volz
2b12ff7ce8
Fix query_format path
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
9 months ago
Julius Volz
d2f913ac1e
Implement initial time check and fetching of metric names
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
9 months ago
Julius Volz
33a753c2f8
Implement pathPrefix handling
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
9 months ago
Julius Volz
5fea050fed
Refactor API fetching code, handle all possible errors correctly
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
9 months ago
Björn Rabenstein
9acae57937
Merge pull request #13681 from krajorama/native-latency-histograms
...
Add native histograms to latency/duration metrics
9 months ago
Julius Volz
92195e3fb6
Implement expression formatting
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
9 months ago
Julius Volz
074b4eb36e
Smaller font size for data table
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
9 months ago
Julius Volz
124f36e670
Add back removing panels via menu
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
9 months ago
Julius Volz
1e523b204d
Improve query panel / data table layout and spacing
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
9 months ago
Julius Volz
2bb14c5787
Lots of more progress on the new Mantine UI
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
9 months ago
Bryan Boreham
25f200bf85
API tests: fix flaky TestEndpoints
...
When a limit is specified, the API may return arbitrary rows, so don't
check specific response values.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
9 months ago
Charles Korn
4e77e8e5ef
Allow using alternative PromQL engines for rule evaluation
...
Signed-off-by: Charles Korn <charles.korn@grafana.com>
9 months ago
György Krajcsovits
4d4d822c36
Add native histograms to latency/duration metrics
...
Dogfood native histograms.
Allow dependent projects to migrate to native histograms.
I took the defaults from client_golang.
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
9 months ago
Kartikay
8736772053
web/api: add limit param on series, labels, label-values ( #13396 )
...
Support limit parameter in queries to restrict output data to the specified size, on the following endpoints:
/api/v1/series
/api/v1/labels
/api/v1/label/:name:/values
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
Signed-off-by: Kartikay <kartikay_2101ce32@iitp.ac.in>
9 months ago
Manik Rana
ab9b770aea
ui (histograms): Add native histogram chart to Table view ( #13658 )
...
* feat: initial add histogram table
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* feat: add x-axis scale toggle
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* refac: adjust histogram summary styles
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* feat: initial add histogram table
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* feat: add x-axis scale toggle
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* refac: adjust histogram summary styles
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* chore: remove unused code
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* tests: test for HistogramChart instead of HistogramString
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* fix: remove histogramChart from a test
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* chore: rename style classes
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* refac: suppress test errors
Signed-off-by: Manik Rana <manikrana54@gmail.com>
---------
Signed-off-by: Manik Rana <manikrana54@gmail.com>
9 months ago
machine424
f477e0539a
Move from golang.org/x/exp/slices into slices now that we only support Go >= 1.21
...
Prevent adding back golang.org/x/exp/slices.
Signed-off-by: machine424 <ayoubmrini424@gmail.com>
9 months ago
Bryan Boreham
d2817e9c91
Merge pull request #12304 from bboreham/labels-symboltable
...
Labels: reduce memory by de-duplicating strings in SymbolTables
9 months ago
Bryan Boreham
518ab179fb
Merge branch 'release-2.50' into merge-2.50.1
9 months ago
Bryan Boreham
9ba13de220
scraping: pass a Builder to get Target labels
...
This saves memory allocations from making a new Builder every time.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
9 months ago
Bryan Boreham
eff3a13e19
model/textparse: parsers take a labels SymbolTable
...
This allows strings to be interned to save memory.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
9 months ago
Bryan Boreham
e537d6d1c1
Cut 2.50.1 with metadata api bugfix
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
9 months ago
ismail simsek
eecaa71ff1
Fix: metadata API using wrong field names ( #13633 )
...
Fix is to add json tags to `Metadata` struct. Absence of these tags
causes Go to use the field name, which starts with an upper-case
letter and breaks the protocol.
Extend tests to verify the JSON response.
Signed-off-by: ismail simsek <ismailsimsek09@gmail.com>
9 months ago
ismail simsek
2507469291
Fix: metadata API using wrong field names ( #13633 )
...
Fix is to add json tags to `Metadata` struct. Absence of these tags
causes Go to use the field name, which starts with an upper-case
letter and breaks the protocol.
Extend tests to verify the JSON response.
Signed-off-by: ismail simsek <ismailsimsek09@gmail.com>
9 months ago
Julius Volz
89ecb3a3f2
Add input field to /graph page.
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
9 months ago
Julius Volz
128b6461e9
Start working on /alerts page, factor out rule definition display
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
9 months ago
Julius Volz
65cc7b058e
Remove index.css from initial default app
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
9 months ago
Julius Volz
ce1ca6481e
Better navbar icon sizes
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
9 months ago
Manik Rana
08832e2db8
histogram: add UI tests for rendering histogram ( #13631 )
...
* histogram: add tests for rendering histograms
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* histogram: add tests for rendering histograms
Signed-off-by: Manik Rana <manikrana54@gmail.com>
* chore: remove unused import
Signed-off-by: Manik Rana <manikrana54@gmail.com>
---------
Signed-off-by: Manik Rana <manikrana54@gmail.com>
9 months ago
Augustin Husson
9738e48a7d
Merge pull request #13629 from prometheus/release-2.50
...
merge back release 2.50
9 months ago
Augustin Husson
814b920e8a
Cut v2.50.0 ( #13612 )
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
9 months ago
Julius Volz
096acdce7e
Fix npm workspaces build for Mantine UI
...
Thanks to input by @nexucis :)
Signed-off-by: Julius Volz <julius.volz@gmail.com>
10 months ago
Julius Volz
cc38c1426a
Attempt to integrate Mantine UI into npm workspaces + Prometheus binary
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
10 months ago
Julius Volz
d6a347e5de
Implement several status pages and other general aspects
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
10 months ago
Augustin Husson
93591ec5cc
Cut v2.50.0-rc.1 ( #13602 )
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
10 months ago
Bryan Boreham
aba0071480
Merge pull request #13589 from bboreham/trace_id
...
Standardise exemplar label as "trace_id"
10 months ago
Julius Volz
dfabda7507
Add scaffold for new Mantine-based UI
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
10 months ago
Owen Williams
a28d7865ad
UTF-8: Add support for parsing UTF8 metric and label names
...
This adds support for the new grammar of `{"metric_name", "l1"="val"}` to promql and some of the exposition formats.
This grammar will also be valid for non-UTF-8 names.
UTF-8 names will not be considered valid unless model.NameValidationScheme is changed.
This does not update the go expfmt parser in text_parse.go, which will be addressed by https://github.com/prometheus/common/issues/554/ .
Part of https://github.com/prometheus/prometheus/issues/13095
Signed-off-by: Owen Williams <owen.williams@grafana.com>
10 months ago
Bryan Boreham
c0e36e6bb3
Standardise exemplar label as "trace_id"
...
This is consistent with the OpenTelemetry standard, and an example in OpenMetrics.
https://github.com/open-telemetry/opentelemetry-specification/blob/89aa01348139/specification/metrics/data-model.md#exemplars
https://github.com/OpenObservability/OpenMetrics/blob/138654493130/specification/OpenMetrics.md#exemplars-1
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
10 months ago
Augustin Husson
452f4c96b7
Cut v2.50.0-rc.0 ( #13465 )
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
10 months ago
Bryan Boreham
39af788dbd
Tests: use replacement DeepEquals using go-cmp
...
Use DeepEqual replacement using go-cmp, which is more flexible.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
10 months ago
Bryan Boreham
98c4889029
Merge pull request #9298 from Creatone/creatone/use-testify
...
tests: Move from t.Errorf and others.
10 months ago
Faustas Butkus
6feffeb92e
promql: add histogram_avg function ( #13467 )
...
Add histogram_avg function
---------
Signed-off-by: Faustas Butkus <faustas.butkus@gmail.com>
Signed-off-by: Björn Rabenstein <github@rabenste.in>
Co-authored-by: Björn Rabenstein <github@rabenste.in>
10 months ago
Bryan Boreham
16e68c01e4
tests: remove err from message when testify prints it already
...
For instance `require.NoError` will print the unexpected error; we don't
need to include it in the message.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
10 months ago
Paweł Szulik
6e9cca8158
Refactor web tests to use testify.
...
Signed-off-by: Paweł Szulik <paul.szulik@gmail.com>
10 months ago
Leegin
19efd0a675
api: Serialize discovered labels into JSON directly in dropped targets ( #13484 )
...
Converted maps into labels.Labels to avoid a lot of copying of data which leads to very high memory consumption while opening the /service-discovery endpoint in the Prometheus UI
Signed-off-by: Leegin <114397475+Leegin-darknight@users.noreply.github.com>
10 months ago
Leegin
e3040bfabc
api: Serialize discovered and target labels into JSON directly ( #13469 )
...
Converted maps into labels.Labels to avoid a lot of copying of data which leads to very high memory consumption while opening the /service-discovery endpoint in the Prometheus UI
Signed-off-by: Leegin <114397475+Leegin-darknight@users.noreply.github.com>
10 months ago
Yury Molodov
a598ddfbc4
ui/fix: correct url handling for stacked graphs ( #13460 )
...
Signed-off-by: Yury Moladau <yurymolodov@gmail.com>
10 months ago
Augustin Husson
52fa5863a2
Merge branch 'main' into nexucis/merge-back
10 months ago
Filip Petkovski
583f3e587c
Optimize histogram iterators ( #13340 )
...
Optimize histogram iterators
Histogram iterators allocate new objects in the AtHistogram and
AtFloatHistogram methods, which makes calculating rates over long
ranges expensive.
In #13215 we allowed an existing object to be reused
when converting an integer histogram to a float histogram. This commit follows
the same idea and allows injecting an existing object in the AtHistogram and
AtFloatHistogram methods. When the injected value is nil, iterators allocate
new histograms, otherwise they populate and return the injected object.
The commit also adds a CopyTo method to Histogram and FloatHistogram which
is used in the BufferedIterator to overwrite items in the ring instead of making
new copies.
Note that a specialized HPoint pool is needed for all of this to work
(`matrixSelectorHPool`).
---------
Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>
Co-authored-by: George Krajcsovits <krajorama@users.noreply.github.com>
10 months ago
tyltr
f97fa2736c
remove obsolete build tag
...
Signed-off-by: tyltr <tylitianrui@126.com>
11 months ago
bwplotka
216b5edb41
Cut 2.49.1 web package.
...
Signed-off-by: bwplotka <bwplotka@gmail.com>
11 months ago
Bartlomiej Plotka
db3544c552
Merge branch 'main' into merge-2.49.0-back
...
Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
11 months ago
Ayoub Mrini
ace9c8a3da
promtool: allow setting multiple matchers to "promtool tsdb dump" command. ( #13296 )
...
Conditions are ANDed inside the same matcher but matchers are ORed
Including unit tests for "promtool tsdb dump".
Refactor some matchers scraping utils.
Signed-off-by: machine424 <ayoubmrini424@gmail.com>
11 months ago
bwplotka
cf50f85faa
Cut 2.49.0
...
Signed-off-by: bwplotka <bwplotka@gmail.com>
11 months ago
bwplotka
abbcdc61f5
Cut 2.49.0-rc.2
...
Signed-off-by: bwplotka <bwplotka@gmail.com>
11 months ago
Bartlomiej Plotka
d4a6bc03f2
Merge pull request #13371 from kevinmingtarja/fix-isHeatmapData
...
ui: fix handling of scalar and string in isHeatmapData
11 months ago
Bartlomiej Plotka
775d955919
Merge pull request #13371 from kevinmingtarja/fix-isHeatmapData
...
ui: fix handling of scalar and string in isHeatmapData
11 months ago
Kevin Mingtarja
40941d450b
Fix handling of scalar and string in isHeatmapData
...
Signed-off-by: Kevin Mingtarja <kevin.mingtarja@gmail.com>
11 months ago
Kevin Mingtarja
c126c21baa
Fix DataTableProps['data'] for resultType string
...
Signed-off-by: Kevin Mingtarja <kevin.mingtarja@gmail.com>
11 months ago
bwplotka
20b4ef5d58
Cut v2.49.0-rc.1
...
Signed-off-by: bwplotka <bwplotka@gmail.com>
12 months ago
Bryan Boreham
8065bef172
Move metric type definitions to common/model
...
They are used in multiple repos, so common is a better place for them.
Several packages now don't depend on `model/textparse`, e.g.
`storage/remote`.
Also remove `metadata` struct from `api.go`, since it was identical to
a struct in the `metadata` package.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
12 months ago
Bryan Boreham
99c17b4319
Merge pull request #13177 from bboreham/less-madness
...
scrape: consistent function names for metadata
12 months ago
machine424
ea97086484
ui: create a reproduction for https://github.com/prometheus/prometheus/issues/13292
...
Signed-off-by: machine424 <ayoubmrini424@gmail.com>
12 months ago
Bartlomiej Plotka
c4c8d59c14
Cut 2.49.0-rc.0 ( #13270 )
...
* Cut 2.49.0-rc.0
Signed-off-by: bwplotka <bwplotka@gmail.com>
* Removed the duplicate.
Signed-off-by: bwplotka <bwplotka@gmail.com>
---------
Signed-off-by: bwplotka <bwplotka@gmail.com>
12 months ago
Björn Rabenstein
db915b07cb
Merge pull request #13215 from fpetkovski/float-histogram-reuse
...
Enable reusing memory when converting between histogram types
12 months ago
Bartlomiej Plotka
91a383f52c
Merge pull request #13059 from zenador/add-mad-function
...
Add mad_over_time function
1 year ago
Filip Petkovski
10a82f87fd
Enable reusing memory when converting between histogram types
...
The 'ToFloat' method on integer histograms currently allocates new memory
each time it is called.
This commit adds an optional *FloatHistogram parameter that can be used
to reuse span and bucket slices. It is up to the caller to make sure the
input float histogram is not used anymore after the call.
Signed-off-by: Filip Petkovski <filip.petkovsky@gmail.com>
1 year ago
dependabot[bot]
48b1818ee8
build(deps-dev): bump @types/node from 17.0.45 to 20.10.4 in /web/ui ( #13260 )
...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) from 17.0.45 to 20.10.4.
- [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>
1 year ago
Bartlomiej Plotka
bc4f8366c5
Upgraded npm dependencies pre 2.49-rc.0 ( #13256 )
...
Signed-off-by: bwplotka <bwplotka@gmail.com>
1 year ago
dependabot[bot]
b9960d6d8d
build(deps-dev): bump @babel/traverse from 7.19.3 to 7.23.3 in /web/ui ( #13137 )
...
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse ) from 7.19.3 to 7.23.3.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.23.3/packages/babel-traverse )
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 year ago
Matthieu MOREL
9c4782f1cc
golangci-lint: enable testifylint linter ( #13254 )
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
1 year ago
Julien Pivotto
6e8e16c050
Merge pull request #13227 from prometheus/release-2.48
...
Merge release-2.48 back into main
1 year ago
Jeanette Tan
9bf4cc993e
Add mad_over_time function
...
Signed-off-by: Jeanette Tan <jeanette.tan@grafana.com>
1 year ago
Alexander Trost
5051a993ab
promql: add sort_by_label and sort_by_label_desc functions
...
This adds functions to sort a vector by its label value.
Based on https://github.com/prometheus/prometheus/pull/1533
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
1 year ago
dependabot[bot]
8d058884a0
build(deps): bump sanitize-html from 2.10.0 to 2.11.0 in /web/ui ( #12513 )
...
Bumps [sanitize-html](https://github.com/apostrophecms/sanitize-html ) from 2.10.0 to 2.11.0.
- [Changelog](https://github.com/apostrophecms/sanitize-html/blob/main/CHANGELOG.md )
- [Commits](https://github.com/apostrophecms/sanitize-html/compare/2.10.0...2.11.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>
1 year ago
Yury Molodov
2e205ee95c
ui: heatmap visualization for histogram buckets ( #13096 )
...
ui: heatmap visualization for histogram buckets
Signed-off-by: Yury Moladau <yurymolodov@gmail.com>
---------
Signed-off-by: Yury Moladau <yurymolodov@gmail.com>
1 year ago
Bryan Boreham
34676a240e
scrape: consistent function names for metadata
...
Too confusing to have `MetadataList` and `ListMetadata`, etc.
I standardised on the ones which are in an interface.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
1 year ago
Levi Harrison
41c7253333
Release 2.48.0
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
1 year ago
Bryan Boreham
41758972e4
web/api: optimize labelnames/values with 1 set of matchers ( #12888 )
...
* web/api: optimize labelnames/values with 1 set of matchers
If there is exactly one set of matchers provided, we can skip adding
the results to a map and getting them back out again.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
---------
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
1 year ago
Jacob Baungård Hansen
80d2f992ae
codemirror-promql: Add request header to client ( #13118 )
...
With this commit we make it possible to adjust the request headers sent
to Prometheus by the codemirror-promql extension. This enables
customizing the headers sent, without re-implementing the Prometheus
client completely.
Signed-off-by: Jacob Baungard Hansen <jacobbaungard@redhat.com>
1 year ago
Matthieu MOREL
05fba53e57
web : use Go standard package
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
1 year ago
beorn7
5dca994f64
Merge branch 'release-2.48' into beorn7/release
1 year ago
Levi Harrison
8b87f3bbf1
Release 2.48.0-rc.2
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
1 year ago
Björn Rabenstein
a43669e611
Merge pull request #12928 from alexandear/ci-enable-godot
...
ci(lint): enable godot; append dot at the end of comments
1 year ago
Julien Pivotto
f568221610
Merge pull request #13057 from prometheus/release-2.48
...
Merge release-2.48 back into main
1 year ago
Oleksandr Redko
fa90ca46e5
ci(lint): enable godot; append dot at the end of comments
...
Signed-off-by: Oleksandr Redko <Oleksandr_Redko@epam.com>
1 year ago
Oleksandr Redko
8e5f0387a2
ci(lint): enable nolintlint and remove redundant comments ( #12926 )
...
Signed-off-by: Oleksandr Redko <Oleksandr_Redko@epam.com>
1 year ago
Julien Pivotto
156a23d06d
Merge pull request #12999 from rajagopalanand/filter-alerts
...
Adding a query parameter to filter out active alerts
1 year ago
Levi Harrison
8db8ad1bae
bump version ( #13032 )
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
1 year ago
Gilles De Mey
4912c82ed0
ui: Pass unexpected boot errors to StartingContent component ( #13016 )
...
Signed-off-by: Gilles De Mey <gilles.de.mey@gmail.com>
1 year ago
Anand Rajagopal
2ade8adf9e
Adding a query parameter to filter out active alerts
...
Signed-off-by: Anand Rajagopal <anrajag@amazon.com>
1 year ago
Levi Harrison
827804c79d
Release 2.48.0-rc0
...
Signed-off-by: Levi Harrison <git@leviharrison.dev>
1 year ago
Danny Kopping
d3554d8421
Show group interval in Rules display ( #12943 )
...
* Show group interval in Rules display
Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
* Humanise interval
Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
---------
Signed-off-by: Danny Kopping <danny.kopping@grafana.com>
1 year ago
Arve Knudsen
b43358fd43
API: Add tests for query timeout parameter ( #12927 )
...
Add unit tests for Web API's query endpoint (GET/POST).
Also modify the endpoint handler to use context.WithDeadline instead of
context.WithTimeout, so the deadline is deterministic for the tests.
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
1 year ago
Julien Pivotto
76ebd621d6
UI: Update word-wrap (GHSA-j8xg-fqg3-53r7)
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
1 year ago
Julien Pivotto
3d80cb1325
UI: Update json5 (GHSA-9c47-m6qq-7p4h)
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
1 year ago
Julien Pivotto
d50c7d3bfc
UI: Update loader-utils (GHSA-hhq3-ff78-jv3g GHSA-3rfm-jhwj-7488)
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
1 year ago
Julien Pivotto
f24dc17fcc
UI: Update semver (GHSA-c2qf-rxjj-qqgw)
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
1 year ago
Julien Pivotto
ca12cb8909
UI: Update tough-cookie (GHSA-72xf-g2v4-qvf3 GHSA-76p3-8jx3-jpfq)
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
1 year ago
Julien Pivotto
b6fbda0c8a
UI: Update Webpack (GHSA-hc6q-2mpp-qw7j)
...
Signed-off-by: Julien Pivotto <roidelapluie@o11y.eu>
1 year ago
Goutham Veeramachaneni
86729d4d7b
Update exp package ( #12650 )
1 year ago
zenador
69edd8709b
Add warnings (and annotations) to PromQL query results ( #12152 )
...
Return annotations (warnings and infos) from PromQL queries
This generalizes the warnings we have already used before (but only for problems with remote read) as "annotations".
Annotations can be warnings or infos (the latter could be false positives). We do not treat them different in the API for now and return them all as "warnings". It would be easy to distinguish them and return infos separately, should that appear useful in the future.
The new annotations are then used to create a lot of warnings or infos during PromQL evaluations. Partially these are things we have wanted for a long time (e.g. inform the user that they have applied `rate` to a metric that doesn't look like a counter), but the new native histograms have created even more needs for those annotations (e.g. if a query tries to aggregate float numbers with histograms).
The annotations added here are not yet complete. A prominent example would be a warning about a range too short for a rate calculation. But such a warnings is more tricky to create with good fidelity and we will tackle it later.
Another TODO is to take annotations into account when evaluating recording rules.
---------
Signed-off-by: Jeanette Tan <jeanette.tan@grafana.com>
1 year ago
Arve Knudsen
156222cc50
Add context argument to LabelQuerier.LabelValues ( #12665 )
...
Add context argument to LabelQuerier.LabelValues and
LabelQuerier.SortedLabelValues.
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
1 year ago
Arve Knudsen
a964349e97
Add context argument to LabelQuerier.LabelNames ( #12666 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
1 year ago
Arve Knudsen
6ef9ed0bc3
Add context argument to DB.Delete ( #12834 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
1 year ago
Arve Knudsen
6daee89e5f
Add context argument to Querier.Select ( #12660 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
1 year ago
Julius Volz
aa7bf083e9
Move /targets page discovered labels to expandable section ( #12824 )
...
* Move /targets page discovered labels to expandable section
The current tooltip for showing the pre-relabeling discovered labels for a
target is notoriously unreliable and can get cut off when there are many
labels. This PR introduces a (hopefully unobtuse enough) expander/collapser
button for the discovered labels of each target, and then the discovered labels
are shown in a more persistent way underneath the final target labels, instead
of using a tooltip.
Fixes https://github.com/prometheus/prometheus/issues/9175#issuecomment-1713074341
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Remove obsolete test snapshot
Signed-off-by: Julius Volz <julius.volz@gmail.com>
---------
Signed-off-by: Julius Volz <julius.volz@gmail.com>
1 year ago
Bryan Boreham
cfa78609f7
Merge branch 'release-2.47' into merge-2-47-0
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
1 year ago
Bryan Boreham
966dc0bf67
Release 2.47.0
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
1 year ago
Daniel Mellado
6ee3db15e4
Add version in web/ui/package-lock.json ( #12771 )
...
This commit adds the option --include-workspace-root in ui_release.sh
npm scripts in order to also include the version in web/ui/pagkage jsons
files when bumping the version. This also avoids issues when building
directly with npm install on some systems.
Signed-off-by: Daniel Mellado <dmellado@redhat.com>
1 year ago
arukiidou
1df0fb5569
build(deps): bump lru-cache from 6.0.0 to 7.18.3 in /web/ui ( #12768 )
...
Signed-off-by: junya koyama <arukiidou@yahoo.co.jp>
1 year ago
SuperQ
23988a9373
Update nodejs version
...
Update to the latest nodejs LTS release. The old v16 ends security
support 2023.09.11.
* https://nodejs.org/en/blog/announcements/v20-release-announce
* https://nodejs.org/en/blog/announcements/nodejs16-eol
Signed-off-by: SuperQ <superq@gmail.com>
1 year ago
Bryan Boreham
cebdc90f23
Release 2.47.0-rc.0
...
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
1 year ago
zenador
54aaa2bd7e
Add `histogram_stdvar` and `histogram_stddev` functions ( #12614 )
...
* Add new function: histogram_stdvar and histogram_stddev
Signed-off-by: Jeanette Tan <jeanette.tan@grafana.com>
1 year ago
beorn7
aa82fe198f
tsdb: Fix histogram validation
...
So far, `ValidateHistogram` would not detect if the count did not
include the count in the zero bucket. This commit fixes the problem
and updates all the tests that have been undetected offenders so far.
Note that this problem would only ever create false negatives, so we
never falsely rejected to store a histogram because of it.
On the other hand, `ValidateFloatHistogram` has been to strict with
the count being at least as large as the sum of the counts in all the
buckets. Float precision issues could create false positives here, see
products of PromQL evaluations, it's actually quite hard to put an
upper limit no the floating point imprecision. Users could produce the
weirdest expressions, maxing out float precision problems. Therefore,
this commit simply removes that particular check from
`ValidateFloatHistogram`.
Signed-off-by: beorn7 <beorn@grafana.com>
1 year ago
Michael Hoffmann
4d8e380269
promql: allow tests to be imported ( #12050 )
...
Signed-off-by: Michael Hoffmann <mhoffm@posteo.de>
1 year ago