Ganesh Vernekar
087e3c7360
Fix queries after a failed snapshot replay ( #9980 ) ( #9986 )
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
3 years ago
Ganesh Vernekar
902817e17f
Fix queries after a failed snapshot replay ( #9980 ) ( #9987 )
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
3 years ago
Ganesh Vernekar
227d155e3f
Fix queries after a failed snapshot replay ( #9980 )
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
3 years ago
Matheus Alcantara
c965a7555b
web: use t.TempDir instead of ioutil.TempDir on tests ( #9981 )
...
Signed-off-by: Matheus Alcantara <matheusssilv97@gmail.com>
3 years ago
Ganesh Vernekar
05d4d97bcd
Fix queries after a failed snapshot replay ( #9980 )
...
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
3 years ago
Sebastian Rabenhorst
d8b8678bd1
Log time series details for out-of-order samples in remote write receiver ( #9894 )
...
* Improved out-of-order sample logs in write handler
Signed-off-by: Sebastian Rabenhorst <sebastian.rabenhorst@shopify.com>
sign commit
Signed-off-by: Sebastian Rabenhorst <sebastian.rabenhorst@shopify.com>
Inlined logAppendError
Signed-off-by: Sebastian Rabenhorst <sebastian.rabenhorst@shopify.com>
Update storage/remote/write_handler.go
Co-authored-by: Ganesh Vernekar <15064823+codesome@users.noreply.github.com>
Fixed fmt
Signed-off-by: Sebastian Rabenhorst <sebastian.rabenhorst@shopify.com>
* Improved out-of-order sample logs in write handler
Signed-off-by: Sebastian Rabenhorst <sebastian.rabenhorst@shopify.com>
sign commit
Signed-off-by: Sebastian Rabenhorst <sebastian.rabenhorst@shopify.com>
Inlined logAppendError
Signed-off-by: Sebastian Rabenhorst <sebastian.rabenhorst@shopify.com>
3 years ago
dependabot[bot]
655e2d2879
build(deps): bump github.com/digitalocean/godo from 1.72.0 to 1.73.0 ( #9963 )
...
Bumps [github.com/digitalocean/godo](https://github.com/digitalocean/godo ) from 1.72.0 to 1.73.0.
- [Release notes](https://github.com/digitalocean/godo/releases )
- [Changelog](https://github.com/digitalocean/godo/blob/main/CHANGELOG.md )
- [Commits](https://github.com/digitalocean/godo/compare/v1.72.0...v1.73.0 )
---
updated-dependencies:
- dependency-name: github.com/digitalocean/godo
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>
3 years ago
Julius Volz
8ec50b9181
Merge pull request #9950 from roidelapluie/cpuyuni
...
Fix Uyuni SD initialization (#9924 )
3 years ago
Julius Volz
755efd38f9
Merge pull request #9969 from prometheus/cut-2-32-rc1
...
Cut v2.32.0-rc.1
3 years ago
Julius Volz
7040ae3db1
Cut v2.32.0-rc.1
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 years ago
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>
3 years ago
dependabot[bot]
f87de1afc7
build(deps): bump golang.org/x/tools from 0.1.7 to 0.1.8 ( #9962 )
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.1.7 to 0.1.8.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.1.7...v0.1.8 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
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>
3 years ago
detailyang
3e482c905f
fix:storage:avoid panic when iterater exhauested ( #9945 )
...
Signed-off-by: detailyang <detailyang@gmail.com>
3 years ago
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>
3 years ago
dependabot[bot]
cfa008ee2a
build(deps): bump google.golang.org/api from 0.60.0 to 0.61.0 ( #9959 )
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.60.0 to 0.61.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.60.0...v0.61.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
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>
3 years ago
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>
3 years ago
dependabot[bot]
f303571248
build(deps): bump github.com/aws/aws-sdk-go from 1.42.16 to 1.42.20 ( #9955 )
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.42.16 to 1.42.20.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.42.16...v1.42.20 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
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>
3 years ago
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>
3 years ago
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>
3 years ago
Julius Volz
46529bf851
Merge pull request #9942 from prometheus/add-go-license-notice
...
Add license notice for code adapted from Go
3 years ago
Witek Bedyk
412b6a0591
Fix Uyuni SD initialization ( #9924 )
...
* Fix Uyuni SD initialization
The change prevents null pointer exception during SD initialization.
Signed-off-by: Witek Bedyk <witold.bedyk@suse.com>
3 years ago
Ed Schouten
a3e9628e0c
Kubernetes service discovery: add provider ID label ( #9603 )
...
When using Kubernetes on cloud providers, nodes will have the
spec.providerID field populated to contain the cloud provider specific
name of the EC2/GCE/... instance.
Let's expose this information as an additional label, so that it's
easier to annotate metrics and alerts to contain the cloud provider
specific name of the instance to which it pertains.
Signed-off-by: Ed Schouten <eschouten@apple.com>
3 years ago
Nick Pillitteri
084bd70708
Convert atomic Int64 to native type when logging value ( #9938 )
...
The atomic Int64 type wasn't able to be represented when logging
via go-kit log and ended up as `"unsupported value type"`.
Signed-off-by: Nick Pillitteri <nick.pillitteri@grafana.com>
3 years ago
XU
3563db20e0
Fix docs/configuration typo ( #9922 )
...
Signed-off-by: qqbuby <qqbuby@gmail.com>
3 years ago
Julius Volz
eeaa57e515
Merge pull request #9943 from prometheus/clarify-agent-message
...
Improve message wording on /agent page
3 years ago
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>
3 years ago
Julius Volz
979db4fe44
Merge pull request #9941 from rlankfo/agent-status-page-alertmanagers
...
disable fetching alertmanagers on status page in agent mode
3 years ago
Robbie Lankford
5fb63c1071
remove unused agentMode param
...
Signed-off-by: Robbie Lankford <robert.lankford@grafana.com>
3 years ago
Robbie Lankford
6df47766b2
disable fetching alertmanagers on status page in agent mode
...
Signed-off-by: Robbie Lankford <robert.lankford@grafana.com>
3 years ago
Julius Volz
2c49860f69
Add license notice for code adapted from Go
...
Fix https://github.com/prometheus/prometheus/issues/9884
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 years ago
Witek Bedyk
14986e52cf
Fix Uyuni SD initialization ( #9924 )
...
* Fix Uyuni SD initialization
The change prevents null pointer exception during SD initialization.
Signed-off-by: Witek Bedyk <witold.bedyk@suse.com>
3 years ago
Ben Ye
d9bbe7f3dd
mention agent mode in enable-feature flag help description ( #9939 )
...
Signed-off-by: Ben Ye <ben.ye@bytedance.com>
3 years ago
Julius Volz
d61d31b3b4
Merge pull request #9933 from Nexucis/bugfix/typo-codemirror
...
fix branch referenced in the codemirror-promql readme
3 years ago
Bryan Boreham
50878ebe5e
remote-write: buffer struct instead of interface
...
This reduces the amount of individual objects allocated, allowing sends
to run a bit faster.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
3 years ago
Augustin Husson
ed0543f6bd
fix branch referenced in the codemirror-promql readme
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
3 years ago
Bryan Boreham
c478d6477a
remote-write: benchmark just sending, on 20 shards
...
Previously BenchmarkSampleDelivery spent a lot of effort checking each
sample had arrived, so was largely showing the performance of test-only
code.
Increase the number of shards to be more realistic for a large
workload.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
3 years ago
Jessica G
b9b57f9900
Merge pull request #9909 from zzehring/add-syntax-only-flag-to-promtool-config-check
...
promtool: Add `--syntax-only` flag for `check config`
3 years ago
zzehring
42628899b5
promtool: Add `--syntax-only` flag for `check config`
...
This commit adds a `--syntax-only` flag for `promtool check config`.
When passing in this flag, promtool will omit various file existence
checks that would cause the check to fail (e.g. the check would not
fail if `rule_files` files don't exist at their respective paths).
This functionality will allow CI systems to check the syntax of
configs without worrying about referenced files.
Fixes : #5222
Signed-off-by: zzehring <zack.zehring@grafana.com>
3 years ago
Julius Volz
54e2efcda0
Cut Prometheus 2.32.0-rc.0 ( #9919 ) ( #9925 )
...
* Cut Prometheus 2.32.0-rc.0
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Address review comments
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Address more review comments
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Remove some non-user-visible changelog items
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Remove one more non-user-visible change
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 years ago
Julius Volz
bfa200c7a7
Cut Prometheus 2.32.0-rc.0 ( #9919 )
...
* Cut Prometheus 2.32.0-rc.0
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Address review comments
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Address more review comments
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Remove some non-user-visible changelog items
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Remove one more non-user-visible change
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 years ago
Chris Marchbanks
e95d4ec3f1
Merge pull request #9830 from prometheus/batch-queues
...
Batch samples before sending them to channels
3 years ago
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>
3 years ago
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>
3 years ago
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>
3 years ago
Julius Volz
2d34856e44
Update Go dependencies before 2.32 release ( #9913 )
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
3 years ago
Augustin Husson
96af0f64b9
update web deps before 2.32 release ( #9916 )
...
Signed-off-by: Augustin Husson <husson.augustin@gmail.com>
3 years ago
jessicagreben
99bb56fc46
add errcodes from sd file
...
Signed-off-by: jessicagreben <jessicagrebens@gmail.com>
3 years ago
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>
3 years ago
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>
3 years ago
Callum Styan
086ca90b24
Update exemplar docs based on changes to exemplar storage configuration ( #9868 )
...
* Update exemplar docs based on changes from #8974
Signed-off-by: Callum Styan <callumstyan@gmail.com>
* Fix missing code block closing + unindent one level.
Signed-off-by: Callum Styan <callumstyan@gmail.com>
3 years ago