Commit Graph

14580 Commits (975d5d7357a220192fe1307b10ded9b35130ab1c)

Author SHA1 Message Date
Julius Volz a0463f5501 Update UI docs to mention both old + new UIs
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-09 11:02:32 +02:00
Julius Volz 0c9a2c95bf Make "npm run start" from web/ui start the new UI
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-09 11:02:15 +02:00
Julius Volz f1e0939f2f Document /api/v1/parse_expr endpoint
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-09 10:27:24 +02:00
Charles Korn e8c7482137
Return negative counts when multiplied or divided by a negative value
Signed-off-by: Charles Korn <charles.korn@grafana.com>
2024-09-09 14:37:59 +10:00
Charles Korn 2bdb3452d1
Modify parser for native histograms to allow negative values where supported
Signed-off-by: Charles Korn <charles.korn@grafana.com>
2024-09-09 14:37:58 +10:00
Charles Korn 9852855084
Implement unary negation for native histograms
Signed-off-by: Charles Korn <charles.korn@grafana.com>
2024-09-09 14:37:55 +10:00
Julius Volz 2c2a653540 Git-ignore correct path for old web UI build
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-08 21:12:11 +02:00
Julius Volz d23872ef30 Graph range vector selectors as instant vector selectors with notice
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-08 21:11:06 +02:00
Julius Volz 1f1ca37fd7 Select root of tree by default in tree view
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-08 20:53:59 +02:00
Julius Volz cdcd43af5b Fix a lot of styling in tree view and binop explain view
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-08 20:53:44 +02:00
Julius Volz 91e93ab3cf Merge branch 'main' into mantine-ui
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-08 20:05:51 +02:00
Julius Volz 09c1e0b140
Limit memory usage Go tests with race detector (#14862)
* Limit memory usage Go tests with race detector

Preliminary fix for https://github.com/prometheus/prometheus/issues/14858

Signed-off-by: Julius Volz <julius.volz@gmail.com>

* Use CI job env var instead for Go memory limits

Signed-off-by: Julius Volz <julius.volz@gmail.com>

---------

Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-08 20:04:46 +02:00
Julius Volz c3f11a7407 Merge branch 'main' into mantine-ui
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-08 17:23:59 +02:00
Arve Knudsen 4fc562f9e7
OTLP: Support context cancellation/timeout during translation (#14612)
* OTLP: Support context cancellation/timeout during translation

---------

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2024-09-08 17:13:40 +02:00
Julius Volz 52a6e32fd0 Update all CodeMirror dependencies
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-08 17:06:21 +02:00
Julius Volz 0ac38a5fd6 Update mantine-ui package version to latest release
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-08 15:17:49 +02:00
Julius Volz 8b4291537b Clarify explain view, add tree view close button, fix callback bug
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-08 15:17:00 +02:00
Julius Volz 7e0cd2e0b4 Improve binop explain view styling
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-08 15:16:02 +02:00
Arve Knudsen db5e48dc33
promql.Engine.Close: No-op if nil (#14861)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2024-09-08 14:39:13 +02:00
Julius Volz a084a05897 Remove package-lock.json from root of repo
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-07 18:39:45 +02:00
Julius Volz d9fdb50a61 Remove file that was erroneously added to old UI
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-07 18:00:35 +02:00
Julius Volz 0c5e4ef803 git-ignore the correct build output dir for the old UI
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-06 23:29:02 +02:00
Julius Volz 89bfe813a9 Update UI tools Go version again to match rest of Prometheus
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-06 22:08:09 +02:00
Julius Volz 392e0a6554 Signed-off-by: Julius Volz <julius.volz@gmail.com> 2024-09-06 21:47:35 +02:00
Julius Volz cb66131974 Rename and restructure AST-to-JSON file
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-06 21:45:39 +02:00
Julius Volz 9b27e0d915 Only switch dir temporarily in build_ui.sh
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-06 21:40:29 +02:00
Julius Volz ad21ef3d76 Merge branch 'main' into mantine-ui
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-06 21:26:00 +02:00
Julius Volz 5c88aa4fea Add commented-out Prometheus demo server as alternative to vite proxy config
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-06 21:22:26 +02:00
Julius Volz ee4a06be37 Make new UI tools Go version the same as rest of Prometheus
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-06 20:59:49 +02:00
Julius Volz ae131e7d86 Install prettier deps for modules and old React app
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-06 20:48:55 +02:00
Julius Volz 5fd860f806 Complete building tree view and implement "Explain" tab
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-06 20:38:10 +02:00
Julius Volz b75a12b52f Remove unneeded <Group> in TSDBStatusPage
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-06 20:36:39 +02:00
Julius Volz 07856b4bb9 Make linter run by upgrading the ESLint config
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-09-06 20:35:55 +02:00
dependabot[bot] df750ef170
build(deps): bump github.com/go-zookeeper/zk from 1.0.3 to 1.0.4
Bumps [github.com/go-zookeeper/zk](https://github.com/go-zookeeper/zk) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/go-zookeeper/zk/releases)
- [Commits](https://github.com/go-zookeeper/zk/compare/v1.0.3...v1.0.4)

---
updated-dependencies:
- dependency-name: github.com/go-zookeeper/zk
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-06 15:58:34 +00:00
Julien 9f57f14d6c
Merge pull request #14803 from prometheus/dependabot/go_modules/github.com/docker/docker-27.2.0incompatible
Bump github.com/docker/docker from 27.1.1+incompatible to 27.2.0+incompatible
2024-09-06 17:57:33 +02:00
Björn Rabenstein 694d98032b
Merge pull request #14705 from prometheus/owilliams/default-on
utf8: enable utf-8 support by default
2024-09-06 17:24:37 +02:00
Julien cb671ef233
Merge pull request #14788 from prometheus/dependabot/go_modules/k8s-io-a0fc09b0c0
Bump the k8s-io group across 1 directory with 3 updates
2024-09-06 16:16:02 +02:00
Julien 3dc4a9cfa7 Bump klog-gokit
Signed-off-by: Julien <roidelapluie@o11y.eu>
2024-09-06 15:52:40 +02:00
Bartlomiej Plotka edc83ed164
Update storage.md with the latest around Remote Write 2.0 (#14848)
* Update storage.md with the latest around Remote Write 2.0

Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>

* Update storage.md

Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>

---------

Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
2024-09-06 13:50:10 +01:00
Owen Williams 88bb05c3e8 utf8: enable utf-8 support by default
This change causes Prometheus to allow all UTF-8 characters in metric and label names.
This means that names that were previously invalid and would have been previously rejected will be allowed through.

Signed-off-by: Owen Williams <owen.williams@grafana.com>
2024-09-06 08:48:11 -04:00
Julien 828f340aa9
Merge pull request #14791 from prometheus/dependabot/go_modules/github.com/miekg/dns-1.1.62
Bump github.com/miekg/dns from 1.1.61 to 1.1.62
2024-09-06 14:21:18 +02:00
dependabot[bot] 92004f18d0
Bump github.com/miekg/dns from 1.1.61 to 1.1.62
Bumps [github.com/miekg/dns](https://github.com/miekg/dns) from 1.1.61 to 1.1.62.
- [Changelog](https://github.com/miekg/dns/blob/master/Makefile.release)
- [Commits](https://github.com/miekg/dns/compare/v1.1.61...v1.1.62)

---
updated-dependencies:
- dependency-name: github.com/miekg/dns
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-06 11:20:18 +00:00
dependabot[bot] 0dfe326435
Bump github.com/docker/docker
Bumps [github.com/docker/docker](https://github.com/docker/docker) from 27.1.1+incompatible to 27.2.0+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](https://github.com/docker/docker/compare/v27.1.1...v27.2.0)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-06 11:19:51 +00:00
Julien f44304a6b5
Merge pull request #14804 from prometheus/dependabot/go_modules/github.com/linode/linodego-1.40.0
Bump github.com/linode/linodego from 1.38.0 to 1.40.0
2024-09-06 13:19:00 +02:00
Julien 51e8b6f21a
Merge pull request #14832 from prometheus/dependabot/go_modules/golang.org/x/text-0.18.0
Bump golang.org/x/text from 0.17.0 to 0.18.0
2024-09-06 13:18:29 +02:00
Julien a7a9dbaf1e
Merge pull request #14837 from prometheus/dependabot/go_modules/go-opentelemetry-io-14eb93439b
Bump the go-opentelemetry-io group across 1 directory with 6 updates
2024-09-06 13:17:52 +02:00
Julien 5a1f4a776a
Merge pull request #14842 from prometheus/dependabot/go_modules/github.com/digitalocean/godo-1.122.0
Bump github.com/digitalocean/godo from 1.121.0 to 1.122.0
2024-09-06 13:17:13 +02:00
Julien 8805301f58
Merge pull request #14851 from prometheus/dependabot/go_modules/github.com/prometheus/common-0.59.1
Bump github.com/prometheus/common from 0.58.0 to 0.59.1
2024-09-06 12:40:56 +02:00
dependabot[bot] 48746b1a6c
Bump github.com/prometheus/common from 0.58.0 to 0.59.1
Bumps [github.com/prometheus/common](https://github.com/prometheus/common) from 0.58.0 to 0.59.1.
- [Release notes](https://github.com/prometheus/common/releases)
- [Changelog](https://github.com/prometheus/common/blob/main/RELEASE.md)
- [Commits](https://github.com/prometheus/common/compare/v0.58.0...v0.59.1)

---
updated-dependencies:
- dependency-name: github.com/prometheus/common
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-06 10:04:00 +00:00
Julien 59402f8ab7
Merge pull request #14841 from prometheus/dependabot/go_modules/github.com/prometheus/exporter-toolkit-0.12.0
Bump github.com/prometheus/exporter-toolkit from 0.11.0 to 0.12.0
2024-09-06 12:02:21 +02:00