Julien Pivotto
f9692a6846
Release 2.25.2
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
David Leadbeater
168d8d4f5f
Ensure that timestamp comparison uses wall clock time (backport #8601 )
...
It's not possible to assume subtraction and addition of a time.Time will
result in consistent values.
Signed-off-by: David Leadbeater <dgl@dgl.cx>
4 years ago
Julien Pivotto
e14176756f
Merge pull request #8601 from dgl/fix-8243
...
Ensure that timestamp comparison uses wall clock time
4 years ago
Callum Styan
289ba11b79
Add circular in-memory exemplars storage ( #6635 )
...
* Add circular in-memory exemplars storage
Signed-off-by: Callum Styan <callumstyan@gmail.com>
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Signed-off-by: Martin Disibio <mdisibio@gmail.com>
Co-authored-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Co-authored-by: Tom Wilkie <tom.wilkie@gmail.com>
Co-authored-by: Martin Disibio <mdisibio@gmail.com>
* Fix some comments, clean up exemplar metrics struct and exemplar tests.
Signed-off-by: Callum Styan <callumstyan@gmail.com>
* Fix exemplar query api null vs empty array issue.
Signed-off-by: Callum Styan <callumstyan@gmail.com>
Co-authored-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
Co-authored-by: Tom Wilkie <tom.wilkie@gmail.com>
Co-authored-by: Martin Disibio <mdisibio@gmail.com>
4 years ago
Ben Kochie
789d49668e
Merge pull request #8605 from prometheus/superq/debug_sync
...
Improve sync_repo_files.sh
4 years ago
Ben Kochie
2d9f3e34dd
Improve sync_repo_files.sh
...
* Add github_api function to make curl use consistent.
* Fix up some shellcheck warnings.
* Add some more output debugging to detect failed pushes.
* Fix git push auth string.
* Fix open PR pre-check.
Signed-off-by: Ben Kochie <superq@gmail.com>
4 years ago
Julius Volz
1cba174182
Document lack of metadata deletion in deletion API ( #8376 )
...
* Document lack of metadata deletion in deletion API
See also https://github.com/prometheus/prometheus/issues/7932
I also fixed the other "NOTE" callouts to be formatted in such a way that our
docs system formats them as callout boxes.
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* WIP
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Improve wordings
Signed-off-by: Julius Volz <julius.volz@gmail.com>
4 years ago
jessicagreben
e3a8132bb3
fix block alignment, add sample alignment
...
Signed-off-by: jessicagreben <jessicagrebens@gmail.com>
4 years ago
Julien Pivotto
2713bddc2c
Merge pull request #8599 from prometheus/release-2.25
...
Merge back release 2.25
4 years ago
Julien Pivotto
3c7d90c520
Merge pull request #8603 from pracucci/add-tracing-span-to-eval
...
Added tracing span to evaluator.eval()
4 years ago
Julien Pivotto
228d23f377
Merge pull request #8590 from roidelapluie/scaleway-more-labels
...
Scaleway SD: Add more labels to the instance role
4 years ago
Marco Pracucci
7bbab380b6
Added tracing span to evaluator.eval()
...
Signed-off-by: Marco Pracucci <marco@pracucci.com>
4 years ago
David Leadbeater
21a282fabe
Ensure that timestamp comparison uses wall clock time
...
It's not possible to assume subtraction and addition of a time.Time will
result in consistent values.
Signed-off-by: David Leadbeater <dgl@dgl.cx>
4 years ago
Julien Pivotto
76750d2a96
Merge pull request #8585 from pracucci/optimize-buffered-iterator
...
Optimized vectorSelectorSingle()
4 years ago
Marco Pracucci
6f050f66c7
Update storage/memoized_iterator.go
...
Signed-off-by: Marco Pracucci <marco@pracucci.com>
Co-authored-by: Julien Pivotto <roidelapluie@gmail.com>
4 years ago
jessicagreben
7c26642460
add block alignment and write in 2 hr blocks
...
Signed-off-by: jessicagreben <jessicagrebens@gmail.com>
4 years ago
Julien Pivotto
34ca0bb20a
Merge pull request #8597 from roidelapluie/release2251
...
Release 2.25.1
4 years ago
Julien Pivotto
d9c8a0504e
Release Prometheus 2.25.1
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Julius Volz
df7541b899
Fix sample deduplication in chainSampleIterator (backport #8591 )
...
Fixes https://github.com/prometheus/prometheus/issues/8558
Signed-off-by: Julius Volz <julius.volz@gmail.com>
4 years ago
Julien Pivotto
97fb4a34ae
Fix subqueries with default resolution in promql unit tests (backport #8569 )
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Łukasz Mierzwa
30b0cfecda
use golang/snappy v0.0.3 (backport #8593 )
...
v0.0.2 crashes on arm64 (at least on M1 mac), v0.0.3 contains a fix for that.
See 674baa8c7f
Signed-off-by: Łukasz Mierzwa <l.mierzwa@gmail.com>
4 years ago
Julien Pivotto
e9de5b9192
Merge pull request #8591 from prometheus/fix/chainsampleiterator-deduping-8558
...
Fix sample deduplication in chainSampleIterator
4 years ago
Julien Pivotto
4577a295c5
Merge pull request #8593 from prymitive/snappy-v0.3
...
use golang/snappy v0.0.3
4 years ago
Julien Pivotto
bab0fb81ef
Rename to or ID
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Łukasz Mierzwa
d941634926
use golang/snappy v0.0.3
...
v0.0.2 crashes on arm64 (at least on M1 mac), v0.0.3 contains a fix for that.
See 674baa8c7f
Signed-off-by: Łukasz Mierzwa <l.mierzwa@gmail.com>
4 years ago
Julius Volz
cf4250cff3
Fix sample deduplication in chainSampleIterator
...
Fixes https://github.com/prometheus/prometheus/issues/8558
Signed-off-by: Julius Volz <julius.volz@gmail.com>
4 years ago
Julien Pivotto
d1c8550894
Scaleway SD: Add more labels to the instance role
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Julien Pivotto
82ffdae1f3
Merge pull request #8588 from roidelapluie/instance-test
...
Scaleway SD: Add instance test
4 years ago
Julien Pivotto
990d01631f
Scaleway SD: Add instance test
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Julien Pivotto
fcfc0e8888
Merge pull request #8587 from knrybarczyk/doc/fix-install-from-source-in-readme
...
Fix the installation from source instruction in README
4 years ago
krrybarc
bc53e7b98c
Fix the installation from source instruction in README
...
Signed-off-by: krrybarc <981627+knrybarczyk@users.noreply.github.com>
4 years ago
Matthias Loibl
369aae93a8
web/ui: Hitting enter on range input creates a new query ( #8581 )
...
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
4 years ago
Marco Pracucci
b92c03023d
Optimized vector selector
...
Signed-off-by: Marco Pracucci <marco@pracucci.com>
4 years ago
Julien Pivotto
3e17eaada5
Merge pull request #8574 from roidelapluie/dgl-promtool-maintainer
...
Add @dgl as maintainer of promtool
4 years ago
Julien Pivotto
63ea88af82
Merge pull request #8575 from pfreixes/add-scrapes-parameter
...
Add num scrapes as tsdb write benchmark command flag
4 years ago
Rémy Léone
f690b811c5
add support for scaleway service discovery ( #8555 )
...
Co-authored-by: Patrik <patrik@ptrk.io>
Co-authored-by: Julien Pivotto <roidelapluie@inuits.eu>
Signed-off-by: Rémy Léone <rleone@scaleway.com>
4 years ago
Pau Freixes
b1ac4a45e6
Add num scrapes as tsdb write benchmark command flag
...
By default same value that was hardcoded is used, but with the
new flag added the number of scrapes can be increased to any value.
Signed-off-by: Pau Freixes <pfreixes@gmail.com>
4 years ago
Julien Pivotto
ad5ed416ba
Merge pull request #8487 from pschou/dev_neg_offset
...
allow negative offset
4 years ago
Julien Pivotto
f2fc05fd5f
Merge pull request #8569 from roidelapluie/fix-default-resolution
...
Fix subqueries with default resolution in promql unit tests
4 years ago
Julien Pivotto
515edbba94
Add @dgl as maintainer of promtool
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Julien Pivotto
d17bd9fdd4
Merge pull request #8573 from simonpasquier/remove-myself-as-promtool-maintainer
...
MAINTAINERS.md: remove myself from promtool maintainers
4 years ago
Robert Fratto
5b78aa0649
Contribute grafana/agent sigv4 code ( #8509 )
...
* Contribute grafana/agent sigv4 code
* address review feedback
- move validation logic for RemoteWrite into unmarshal
- copy configuration fields from ec2 SD config
- remove enabled field, use pointer for enabling sigv4
* Update config/config.go
* Don't provide credentials if secret key / access key left blank
* Add SigV4 headers to the list of unchangeable headers.
* sigv4: don't include all headers in signature
* only test for equality in the authorization header, not the signed date
* address review feedback
1. s/httpClientConfigEnabled/httpClientConfigAuthEnabled
2. bearer_token tuples to "authorization"
3. Un-export NewSigV4RoundTripper
* add x-amz-content-sha256 to list of unchangeable headers
* Document sigv4 configuration
* add suggestion for using default AWS SDK credentials
Signed-off-by: Robert Fratto <robertfratto@gmail.com>
Co-authored-by: Julien Pivotto <roidelapluie@gmail.com>
4 years ago
alex-petrov-vt
4f03df8c55
Fix inconsistent display of word 'ago' on rules page ( #8566 )
...
* Fix inconsistent display of word 'ago' in last evaluation column on rules page
Signed-off-by: Alex Petrov <alex.petrov.vt@gmail.com>
* Extract adding word 'ago' to relativeDuration util function
Signed-off-by: Alex Petrov <alex.petrov.vt@gmail.com>
4 years ago
Simon Pasquier
c556ccb8dc
MAINTAINERS.md: remove myself from promtool maintainers
...
Unfortunately I don't have enough time to take care of promtool
currently.
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
4 years ago
Julien Pivotto
5742a18590
Fix subqueries with default resolution in promql unit tests
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Julien Pivotto
8d2a8f4939
Merge pull request #8563 from ldhnam/update-contributing
...
Update master branch to main in CONTRIBUTING.md
4 years ago
ldhnam
45e9037467
Update master branch to main
...
Signed-off-by: Nam Le <namhoai95@gmail.com>
Signed-off-by: ldhnam <namhoai95@gmail.com>
4 years ago
Julien Pivotto
266e5e6c6c
Merge pull request #8544 from roidelapluie/move-to-go1.16
...
Upgrade to golang 1.16
4 years ago
Julien Pivotto
75e505babb
Upgrade to golang 1.16
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Ganesh Vernekar
e92bf2ebaa
Add codesome (tsdb, promql) and roidelapluie (promql) in CODEOWNERS file ( #8560 )
...
* Add codesome in CODEOWNERS file for tsdb and promql
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
* Add Julien to promql
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
4 years ago