Commit Graph

14671 Commits (af2a1cb10c89de496cd4309ac532624b34112d74)

Author SHA1 Message Date
Julien 3a8131b3f1
Merge pull request #15032 from prometheus/dependabot/go_modules/go-opentelemetry-io-449d04d146
Bump the go-opentelemetry-io group with 9 updates
2024-10-04 09:43:03 +02:00
machine424 83ee57343a
fix(notifier): stop dropping known alertmanagers on each ApplyConfig and waiting on SD to update them.
Signed-off-by: machine424 <ayoubmrini424@gmail.com>
2024-10-03 11:24:01 +02:00
Julien b6158e8956 Notify web UI when starting up and shutting down
Signed-off-by: Julien <roidelapluie@o11y.eu>
2024-10-03 10:27:04 +02:00
Björn Rabenstein 199d2fb492
Merge pull request #14989 from NeerajGartia21/eval_info
Adds eval_info command to PromQL testing framework
2024-10-02 16:53:24 +02:00
Julius Volz 20bf32b9d5
Merge pull request #15074 from jadolg/synchronized-RandomUnprivilegedPort
Add a mutex and used ports list to the tests random port generator to avoid port collisions
2024-10-02 16:02:41 +02:00
Jorge Alberto Díaz Orozco 06945b3933
Add a mutex and used ports list to the random port generator
to avoid port collisions

Signed-off-by: Jorge Alberto Díaz Orozco <diazorozcoj@gmail.com>
2024-10-02 15:27:40 +02:00
Julius Volz e1f8a79142
Merge pull request #15069 from prometheus/allow-blank-issues
Allow blank issue reports again
2024-10-02 15:19:18 +02:00
Björn Rabenstein 78f792135c
Merge pull request #15025 from prometheus/notreset-bug
Fix bug in rate vs float and histogram mixup
2024-10-02 14:17:55 +02:00
György Krajcsovits 44ebbb8458 Fix missing histogram copy in sampleRing
The specialized version of sample add to the ring:
func addH(s hSample, buf []hSample, r *sampleRing) []hSample
func addFH(s fhSample, buf []fhSample, r *sampleRing) []fhSample
already correctly copy histogram samples from the reused hReader, fhReader
buffers, but the generic version does not. This means that the
data is overwritten on the next read if the sample ring has seen histogram
and float samples at the same time and switched to generic mode.

The `genericAdd` function (which was commented anyway) is by now quite
different from the specialized functions so that this commit deletes
it.

Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
2024-10-02 13:57:28 +02:00
György Krajcsovits b5479831b8 Unit test for regression in rate vs float and histogram mixup
Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
2024-10-02 13:56:33 +02:00
Manik Rana f1c57a95ed
change: No longer ingest OM _created as timeseries if feature-flag 'enable-ct-zero-ingestion' is enabled; fixed OM text CT conversion bug (#14738)
* chore: revert TypeRequiresCT to private

Signed-off-by: Manik Rana <manikrana54@gmail.com>

* feat: init NewOpenMetricsParser with skipCT true

Signed-off-by: Manik Rana <manikrana54@gmail.com>

* refac: allow opt-in to OM CT ingestion

Signed-off-by: Manik Rana <manikrana54@gmail.com>

* chore: lint

Signed-off-by: Manik Rana <manikrana54@gmail.com>

* chore: use textparse interface to set om options

Signed-off-by: Manik Rana <manikrana54@gmail.com>

* fix: set skipOMSeries in test

Signed-off-by: Manik Rana <manikrana54@gmail.com>

* chore: gofumpt

Signed-off-by: Manik Rana <manikrana54@gmail.com>

* wip: add tests for OM CR parse

Signed-off-by: Manik Rana <manikrana54@gmail.com>

* chore: merge ct tests

Signed-off-by: Manik Rana <manikrana54@gmail.com>

* tests: add cases for OM text

Signed-off-by: Manik Rana <manikrana54@gmail.com>

* fix: check correct test cases

Signed-off-by: Manik Rana <manikrana54@gmail.com>

* chore: use both scrape protocols in config

Signed-off-by: Manik Rana <manikrana54@gmail.com>

* fix: fix inputs and output tests for OM

Signed-off-by: Manik Rana <manikrana54@gmail.com>

* chore: cleanup

Signed-off-by: Manik Rana <manikrana54@gmail.com>

* refac: rename skipOMSeries to skipOMCTSeries

Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com>
Signed-off-by: Manik Rana <Manikrana54@gmail.com>

* fix: finish refac

Signed-off-by: Manik Rana <manikrana54@gmail.com>

* refac: move setup code outside test

Signed-off-by: Manik Rana <manikrana54@gmail.com>

* tests: verify _created lines create new metric in certain cases

Signed-off-by: Manik Rana <manikrana54@gmail.com>

* fix: post merge fixes

Signed-off-by: Manik Rana <manikrana54@gmail.com>

* chore: lint

Signed-off-by: Manik Rana <manikrana54@gmail.com>

* manager: Fixed CT OMText conversion bug; Refactored tests.

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

* chore: lint

Signed-off-by: Manik Rana <manikrana54@gmail.com>

* chore: gofumpt

Signed-off-by: Manik Rana <manikrana54@gmail.com>

* chore: imports

Signed-off-by: Manik Rana <manikrana54@gmail.com>

---------

Signed-off-by: Manik Rana <manikrana54@gmail.com>
Signed-off-by: Manik Rana <Manikrana54@gmail.com>
Signed-off-by: bwplotka <bwplotka@gmail.com>
Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com>
Co-authored-by: bwplotka <bwplotka@gmail.com>
2024-10-02 11:52:03 +01:00
Jesus Vazquez e99e7ca9cf
README: Update readme with API flag change for the otlp receiver (#15073)
Signed-off-by: Jesus Vazquez <jesusvzpg@gmail.com>
2024-10-02 10:40:31 +00:00
Manik Rana 98cd80b2e2
feat: add microbenchmarks for OM CT parsing (#14933)
* test: benchmark OM CT parsing

Signed-off-by: Manik Rana <manikrana54@gmail.com>

* refac: move OM ct benchmark to promparse_test

Signed-off-by: Manik Rana <manikrana54@gmail.com>

* chore: stricter comparison

Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com>
Signed-off-by: Manik Rana <Manikrana54@gmail.com>

* feat: use richer OM test data

Signed-off-by: Manik Rana <manikrana54@gmail.com>

* refac: move parse-ct test outside of inner loop

Signed-off-by: Manik Rana <manikrana54@gmail.com>

* refac: separate benchmarks for om and prom parsers

Signed-off-by: Manik Rana <manikrana54@gmail.com>

* chore: remove unused code

Signed-off-by: Manik Rana <manikrana54@gmail.com>

* chore: remove more unused code

Signed-off-by: Manik Rana <manikrana54@gmail.com>

* refac: rename to BenchmarkOMParseCreatedTimestamp

Co-authored-by: Bartlomiej Plotka <bwplotka@gmail.com>
Signed-off-by: Manik Rana <Manikrana54@gmail.com>

---------

Signed-off-by: Manik Rana <manikrana54@gmail.com>
Signed-off-by: Manik Rana <Manikrana54@gmail.com>
Co-authored-by: Arthur Silva Sens <arthursens2005@gmail.com>
Co-authored-by: Bartlomiej Plotka <bwplotka@gmail.com>
2024-10-02 07:48:27 +01:00
Julius Volz bcd9ce1d43
Merge pull request #15061 from prometheus/dependabot/npm_and_yarn/web/ui/postcss-8.4.47
Bump postcss from 8.4.44 to 8.4.47 in /web/ui
2024-10-02 08:24:41 +02:00
Julius Volz 4edbe3f70a
Merge pull request #15055 from prometheus/dependabot/npm_and_yarn/web/ui/globals-15.10.0
Bump globals from 15.9.0 to 15.10.0 in /web/ui
2024-10-02 08:24:24 +02:00
Julius Volz 8fe5f36a37
Merge pull request #15058 from prometheus/dependabot/npm_and_yarn/web/ui/tabler/icons-react-3.19.0
Bump @tabler/icons-react from 2.47.0 to 3.19.0 in /web/ui
2024-10-02 08:19:23 +02:00
Julius Volz d3b0ab453c Fix tabler icon props import after version bump
Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-10-02 08:05:20 +02:00
dependabot[bot] 4f448d4c4c
Bump @tabler/icons-react from 2.47.0 to 3.19.0 in /web/ui
Bumps [@tabler/icons-react](https://github.com/tabler/tabler-icons/tree/HEAD/packages/icons-react) from 2.47.0 to 3.19.0.
- [Release notes](https://github.com/tabler/tabler-icons/releases)
- [Commits](https://github.com/tabler/tabler-icons/commits/v3.19.0/packages/icons-react)

---
updated-dependencies:
- dependency-name: "@tabler/icons-react"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-02 05:56:23 +00:00
dependabot[bot] c0a0520b54
Bump globals from 15.9.0 to 15.10.0 in /web/ui
Bumps [globals](https://github.com/sindresorhus/globals) from 15.9.0 to 15.10.0.
- [Release notes](https://github.com/sindresorhus/globals/releases)
- [Commits](https://github.com/sindresorhus/globals/compare/v15.9.0...v15.10.0)

---
updated-dependencies:
- dependency-name: globals
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-02 05:55:37 +00:00
Julius Volz e32dbeb384
Merge pull request #15056 from prometheus/dependabot/npm_and_yarn/web/ui/eslint-9.11.1
Bump eslint from 9.9.1 to 9.11.1 in /web/ui
2024-10-02 07:54:54 +02:00
Julius Volz 9c0fe8e452
Merge pull request #15057 from prometheus/dependabot/npm_and_yarn/web/ui/codemirror/autocomplete-6.18.1
Bump @codemirror/autocomplete from 6.18.0 to 6.18.1 in /web/ui
2024-10-02 07:54:37 +02:00
Julius Volz fad9859d51
Merge pull request #15065 from prometheus/dependabot/github_actions/actions/setup-node-4.0.4
Bump actions/setup-node from 4.0.3 to 4.0.4
2024-10-02 07:29:50 +02:00
dependabot[bot] 98cf5942ae
Bump postcss from 8.4.44 to 8.4.47 in /web/ui
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.44 to 8.4.47.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.44...8.4.47)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-02 05:07:46 +00:00
dependabot[bot] ab808f6e64
Bump eslint from 9.9.1 to 9.11.1 in /web/ui
Bumps [eslint](https://github.com/eslint/eslint) from 9.9.1 to 9.11.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/v9.9.1...v9.11.1)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-02 05:07:01 +00:00
Julius Volz 05668c5928
Merge pull request #15059 from prometheus/dependabot/npm_and_yarn/web/ui/vite-5.4.8
Bump vite from 5.4.2 to 5.4.8 in /web/ui
2024-10-02 07:06:39 +02:00
Julius Volz 64c990937a
Merge pull request #15063 from prometheus/dependabot/npm_and_yarn/web/ui/types/jest-29.5.13
Bump @types/jest from 29.5.12 to 29.5.13 in /web/ui
2024-10-02 07:06:12 +02:00
Julius Volz 26058254a4
Merge pull request #15062 from prometheus/dependabot/npm_and_yarn/web/ui/eslint/js-9.11.1
Bump @eslint/js from 9.9.1 to 9.11.1 in /web/ui
2024-10-02 07:05:53 +02:00
Julius Volz cb895264a1
Merge pull request #15060 from prometheus/dependabot/npm_and_yarn/web/ui/mantine/code-highlight-7.13.1
Bump @mantine/code-highlight from 7.12.2 to 7.13.1 in /web/ui
2024-10-02 07:05:29 +02:00
Julius Volz 6685222252
Merge pull request #15054 from prometheus/dependabot/npm_and_yarn/web/ui/tanstack/react-query-5.59.0
Bump @tanstack/react-query from 5.53.2 to 5.59.0 in /web/ui
2024-10-02 07:05:05 +02:00
Julius Volz 889588317e
Merge pull request #15053 from prometheus/dependabot/npm_and_yarn/web/ui/mantine/notifications-7.13.1
Bump @mantine/notifications from 7.12.2 to 7.13.1 in /web/ui
2024-10-02 07:04:38 +02:00
Julius Volz afbe72f7b1
Merge pull request #15068 from prometheus/dependabot/github_actions/bufbuild/buf-setup-action-1.43.0
Bump bufbuild/buf-setup-action from 1.39.0 to 1.43.0
2024-10-02 06:55:48 +02:00
Julius Volz 1b856bbe80
Merge pull request #15037 from prometheus/dependabot/npm_and_yarn/web/ui/jsdom-25.0.1
Bump jsdom from 25.0.0 to 25.0.1 in /web/ui
2024-10-02 06:49:36 +02:00
dependabot[bot] 4782b75d11
Bump @codemirror/autocomplete from 6.18.0 to 6.18.1 in /web/ui
Bumps [@codemirror/autocomplete](https://github.com/codemirror/autocomplete) from 6.18.0 to 6.18.1.
- [Changelog](https://github.com/codemirror/autocomplete/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codemirror/autocomplete/compare/6.18.0...6.18.1)

---
updated-dependencies:
- dependency-name: "@codemirror/autocomplete"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-02 04:48:12 +00:00
Julius Volz 45efd01768
Merge pull request #15052 from prometheus/dependabot/npm_and_yarn/web/ui/uiw/react-codemirror-4.23.3
Bump @uiw/react-codemirror from 4.23.1 to 4.23.3 in /web/ui
2024-10-02 06:47:02 +02:00
Julius Volz 764b1227bc
Merge pull request #15067 from prometheus/dependabot/github_actions/github/codeql-action-3.26.10
Bump github/codeql-action from 3.26.6 to 3.26.10
2024-10-02 06:45:43 +02:00
Julius Volz 4d4fe3c789
Merge pull request #15066 from prometheus/dependabot/github_actions/scripts/actions/checkout-4.2.0
Bump actions/checkout from 4.1.7 to 4.2.0 in /scripts
2024-10-02 06:39:59 +02:00
Julius Volz fc01573daa Allow blank issue reports again
I frequently find myself in the situation where the standard bug issue template
fields are all irrelevant for what I want to report, and then I have to first
shoehorn my info into the template somehow, save the issue, edit it, and remove
all the unnecessary parts. This demotivates me from filing casual issues, e.g.
when I see a CI test fail. We should have a way of still filing custom issues
without all the templatey bits.

Signed-off-by: Julius Volz <julius.volz@gmail.com>
2024-10-02 06:30:13 +02:00
Julius Volz 72a0d2cb3f
Merge pull request #15047 from prometheus/dependabot/npm_and_yarn/web/ui/codemirror/view-6.34.1
Bump @codemirror/view from 6.33.0 to 6.34.1 in /web/ui
2024-10-02 06:23:40 +02:00
dependabot[bot] 1e18e5c661
Bump vite from 5.4.2 to 5.4.8 in /web/ui
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.4.2 to 5.4.8.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.8/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.4.8/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-02 04:13:57 +00:00
dependabot[bot] 0e2623910f
Bump jsdom from 25.0.0 to 25.0.1 in /web/ui
Bumps [jsdom](https://github.com/jsdom/jsdom) from 25.0.0 to 25.0.1.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/main/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/25.0.0...25.0.1)

---
updated-dependencies:
- dependency-name: jsdom
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-02 04:13:09 +00:00
Julius Volz 357e64dbe9
Merge pull request #15050 from prometheus/dependabot/npm_and_yarn/web/ui/eslint-plugin-react-refresh-0.4.12
Bump eslint-plugin-react-refresh from 0.4.11 to 0.4.12 in /web/ui
2024-10-02 06:12:06 +02:00
dependabot[bot] 1da185244e
Bump @tanstack/react-query from 5.53.2 to 5.59.0 in /web/ui
Bumps [@tanstack/react-query](https://github.com/TanStack/query/tree/HEAD/packages/react-query) from 5.53.2 to 5.59.0.
- [Release notes](https://github.com/TanStack/query/releases)
- [Commits](https://github.com/TanStack/query/commits/v5.59.0/packages/react-query)

---
updated-dependencies:
- dependency-name: "@tanstack/react-query"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-02 04:09:28 +00:00
dependabot[bot] f24e2109ad
Bump @uiw/react-codemirror from 4.23.1 to 4.23.3 in /web/ui
Bumps [@uiw/react-codemirror](https://github.com/uiwjs/react-codemirror) from 4.23.1 to 4.23.3.
- [Release notes](https://github.com/uiwjs/react-codemirror/releases)
- [Commits](https://github.com/uiwjs/react-codemirror/compare/v4.23.1...v4.23.3)

---
updated-dependencies:
- dependency-name: "@uiw/react-codemirror"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-02 04:09:11 +00:00
Julius Volz c43da57a21
Merge pull request #15051 from prometheus/dependabot/npm_and_yarn/web/ui/types/lodash-4.17.9
Bump @types/lodash from 4.17.7 to 4.17.9 in /web/ui
2024-10-02 06:08:21 +02:00
dependabot[bot] bcaf1084e6
Bump @mantine/code-highlight from 7.12.2 to 7.13.1 in /web/ui
Bumps [@mantine/code-highlight](https://github.com/mantinedev/mantine/tree/HEAD/packages/@mantine/code-highlight) from 7.12.2 to 7.13.1.
- [Release notes](https://github.com/mantinedev/mantine/releases)
- [Changelog](https://github.com/mantinedev/mantine/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mantinedev/mantine/commits/7.13.1/packages/@mantine/code-highlight)

---
updated-dependencies:
- dependency-name: "@mantine/code-highlight"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-02 04:03:48 +00:00
dependabot[bot] 6d4de28918
Bump @mantine/notifications from 7.12.2 to 7.13.1 in /web/ui
Bumps [@mantine/notifications](https://github.com/mantinedev/mantine/tree/HEAD/packages/@mantine/notifications) from 7.12.2 to 7.13.1.
- [Release notes](https://github.com/mantinedev/mantine/releases)
- [Changelog](https://github.com/mantinedev/mantine/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mantinedev/mantine/commits/7.13.1/packages/@mantine/notifications)

---
updated-dependencies:
- dependency-name: "@mantine/notifications"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-02 04:03:42 +00:00
Julius Volz 885138861e
Merge pull request #15041 from prometheus/dependabot/npm_and_yarn/web/ui/vitest-2.1.1
Bump vitest from 2.0.5 to 2.1.1 in /web/ui
2024-10-02 06:03:18 +02:00
Julius Volz f1f63a19a4
Merge pull request #15044 from prometheus/dependabot/npm_and_yarn/web/ui/react-router-dom-6.26.2
Bump react-router-dom from 6.26.1 to 6.26.2 in /web/ui
2024-10-02 06:02:47 +02:00
Julius Volz d745e762bb
Merge pull request #15048 from prometheus/dependabot/npm_and_yarn/web/ui/mantine/dates-7.13.1
Bump @mantine/dates from 7.12.2 to 7.13.1 in /web/ui
2024-10-02 06:02:28 +02:00
dependabot[bot] 2a69565cef
Bump bufbuild/buf-setup-action from 1.39.0 to 1.43.0
Bumps [bufbuild/buf-setup-action](https://github.com/bufbuild/buf-setup-action) from 1.39.0 to 1.43.0.
- [Release notes](https://github.com/bufbuild/buf-setup-action/releases)
- [Commits](54abbed4fe...62ee92603c)

---
updated-dependencies:
- dependency-name: bufbuild/buf-setup-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-01 23:46:19 +00:00