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
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
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
schou
3bafe17870
add negative offset to printer
...
Signed-off-by: schou <pschou@users.noreply.github.com>
4 years ago