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
Rémy Léone
6962e44618
Discovery docs: add a pull requests examples section ( #8556 )
...
* add a pull requests examples section
Signed-off-by: Rémy Léone <rleone@scaleway.com>
4 years ago
schou
65658091ed
moved details of feature to disabled features.md
...
Signed-off-by: schou <pschou@users.noreply.github.com>
4 years ago
schou
946dba6a7f
small suggested changes
...
Signed-off-by: schou <pschou@users.noreply.github.com>
4 years ago
Julien Pivotto
dd5a46aa47
Merge pull request #8523 from roidelapluie/edge-case-test-relabeling
...
Add hashmod relabeling test with hasmod and a newline
4 years ago
pschou
c15f15d6fd
revert disabled_features.md to previous wording.
...
Signed-off-by: schou <pschou@users.noreply.github.com>
4 years ago
Julien Pivotto
22cfa10685
Add hashmod relabeling test with hasmod and a newline
...
Currently hashmod hashes all the labels, even if there is a newline. To
ensure it still works in the future, let's add a test.
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Julien Pivotto
77e648534e
Merge pull request #8553 from prometheus/brancz-codeowner
...
Add @brancz as CODEOWNER of kubernetes discovery
4 years ago
Frederic Branczyk
2f9af2c5a1
Add @brancz as CODEOWNER of kubernetes discovery
...
Signed-off-by: Frederic Branczyk <fbranczyk@gmail.com>
4 years ago
Julius Volz
0fef342816
Add initial CODEOWNERS GitHub config file ( #8552 )
...
* Add initial CODEOWNERS GitHub config file
See https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Add Tom as a remote storage maintainer
Signed-off-by: Julius Volz <julius.volz@gmail.com>
4 years ago
Julien Pivotto
646556a263
Merge pull request #8546 from roidelapluie/follow-redirect
...
Support follow_redirect
4 years ago
jessicagreben
591e719dc1
fix failing blockwriter tests
...
Signed-off-by: jessicagreben <jessicagrebens@gmail.com>
4 years ago
jessicagreben
9fc53b7edf
fix appender.Add -> appender.Append
...
Signed-off-by: jessicagreben <jessicagrebens@gmail.com>
4 years ago
Julien Pivotto
93c6139bc1
Support follow_redirect
...
This PR introduces support for follow_redirect, to enable users to
disable following HTTP redirects.
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Julien Pivotto
9c4bc38c94
Merge pull request #8516 from Harkishen-Singh/headers-remote-read-on-round-tripper
...
Custom headers on remote-read and refactor implementation to roundtripper
4 years ago
Tom Wilkie
ce97cdd477
Move remote read handler to remote package. ( #8536 )
...
* Move remote read handler to remote package.
This follows the pattern I started with the remote write handler. The api/v1 package is getting pretty cluttered. Moving code to other packages helps reduce this size and also makes it reusable - eg Cortex doesn't do streaming remote writes yet, and will very soon.
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
* Deal with a nil remoteReadHandler for tests.
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
* Remove the global metrics.
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
* Fix test.
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
* Review feedback.
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
4 years ago
Julien Pivotto
17688550d7
Merge pull request #8545 from prometheus/bwplotka-patch-1
...
Volunteering Myself & Chris for next releases.
4 years ago
Bartlomiej Plotka
8f748b2e24
Volunteering Myself & Chris for next releases.
4 years ago
Harkishen-Singh
79ba53a6c4
Custom headers on remote-read and refactor implementation to roundtripper.
...
Signed-off-by: Harkishen-Singh <harkishensingh@hotmail.com>
4 years ago
Arthur Silva Sens
537c0aff49
Prometheus and Promtool binaries now print help and usage to stdout ( #8542 )
...
Signed-off-by: ArthurSens <arthursens2005@gmail.com>
4 years ago
Julien Pivotto
0e24f246cc
Merge pull request #8540 from roidelapluie/fix-sync-repo
...
sync_repo_files: Normalize usage of git_user
4 years ago
Bartlomiej Plotka
8bf7bc68f1
Fixed TestChunkDiskMapper_WriteChunk_Chunk_IterateChunks for go1.16 ( #8538 )
...
Fixes https://github.com/prometheus/prometheus/issues/8403
Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
4 years ago
Julien Pivotto
c0173072e2
sync_repo_files: Normalize usage of git_user
...
Fix ./scripts/sync_repo_files.sh: line 141: GITHUB_USER: unbound variable
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
4 years ago
Simon Pasquier
fe23360d0f
web/ui/react-app: update dependencies ( #8529 )
...
Fix lodash security issue.
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
4 years ago
jessicagreben
78e84aed89
resolve merge conflict
...
Signed-off-by: jessicagreben <jessicagrebens@gmail.com>
4 years ago
jessicagreben
f2db9dc722
add multi rule integration tests
...
Signed-off-by: jessicagreben <jessicagrebens@gmail.com>
4 years ago
schou
3bafe17870
add negative offset to printer
...
Signed-off-by: schou <pschou@users.noreply.github.com>
4 years ago
pschou
f80b52be69
Merge branch 'main' into dev_neg_offset
4 years ago
schou
efbf3af05d
reduce addOffst to 2 parameters
...
Signed-off-by: schou <pschou@users.noreply.github.com>
4 years ago
schou
75d932a172
var init for bool
...
Signed-off-by: schou <pschou@users.noreply.github.com>
4 years ago
schou
22bfc11738
aggregate booleans for ease of reading
...
Signed-off-by: schou <pschou@users.noreply.github.com>
4 years ago
schou
71712183ac
minor wording updates
...
Signed-off-by: schou <pschou@users.noreply.github.com>
4 years ago
schou
9621f6d549
wording for shift correctness
...
Signed-off-by: schou <pschou@users.noreply.github.com>
4 years ago