Krasimir Georgiev
ddd49b743c
Update README.md
5 years ago
Krasimir Georgiev
cf6144a98f
Update README.md
5 years ago
Hrishikesh Barman
3476555d31
Add Github Actions workflow to run Prombench ( #6703 )
...
* Adding prombench github actions workflow.
Signed-off-by: Hrishikesh Barman <plain.hrishikeshbman@gmail.com>
5 years ago
Anand Singh Kunwar
aa61e392b2
Make remote client `Store` use passed context ( #6673 )
...
* Remote store client's `Store` API currently doesn't use passed
context, but instead just constructs a new `context.Background()`
Signed-off-by: Anand Singh Kunwar <anandkunwar95@gmail.com>
5 years ago
Julien Pivotto
56ebd5afde
Delete prometheus_rule_group metrics when groups are removed ( #6693 )
...
* Delete prometheus_rule_group metrics when groups are removed
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
5 years ago
Julien Pivotto
cf42888e4d
Fix order of testutil.Equals ( #6695 )
...
Equals takes the expected value as first parameter, and the actual value
as second parameter.
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
5 years ago
Julien Pivotto
5f27ac3583
Refactor query log fields ( #6694 )
...
* Refactor query log fields
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
5 years ago
Harkishen Singh
c1e49d50c5
Adds support for rules screen in react-ui ( #6503 )
...
* base
Signed-off-by: Harkishen Singh <harkishensingh@hotmail.com>
* base of rules page
Signed-off-by: Harkishen Singh <harkishensingh@hotmail.com>
* initial version
Signed-off-by: Harkishen Singh <harkishensingh@hotmail.com>
* removed unused function
Signed-off-by: Harkishen Singh <harkishensingh@hotmail.com>
* version 1
Signed-off-by: Harkishen Singh <harkishensingh@hotmail.com>
* implemented suggestions
Signed-off-by: Harkishen Singh <harkishensingh@hotmail.com>
* implemented suggestions
Signed-off-by: Harkishen Singh <harkishensingh@hotmail.com>
* implemented suggestions.
Signed-off-by: Harkishen Singh <harkishensingh@hotmail.com>
* new fetching pattern
Signed-off-by: Harkishen Singh <harkishensingh@hotmail.com>
* implemented suggestions
Signed-off-by: Harkishen Singh <harkishensingh@hotmail.com>
5 years ago
Julius Volz
d996ba20ec
React UI: Support local timezone on /graph ( #6692 )
...
* React UI: Support local timezone on /graph
This partially implements
https://github.com/prometheus/prometheus/issues/500 in the sense that it
only addresses the /graph page, and only allows toggling between UTC and
local (browser) time, but no arbitrary timezone selection yet.
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Fixup: Also display TZ offset in tooltip
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Just show offset, not timezone name abbreviation
Signed-off-by: Julius Volz <julius.volz@gmail.com>
5 years ago
Julien Pivotto
67cf21f9a1
remove extra line
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
5 years ago
Julien Pivotto
4832f148ff
fix nit
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
5 years ago
Julien Pivotto
ac30d54e89
Update issue templates
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
5 years ago
Julien Pivotto
fafb7940b1
Pass over scrape cache to the next scrape ( #6670 )
...
* Pass over scrape cache to the next scrape
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
5 years ago
Julien Pivotto
3fbeee07fa
Fix flaky windows test ( #6677 )
...
The windows clock is sometime off by 25ms, and as precise as 15ms.
Let's give it more time to avoid flaky tests.
Fix #6672
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
5 years ago
johncming
17683d074c
discovery: fix bug that use rlock for read. ( #5928 )
...
Signed-off-by: johncming <johncming@yahoo.com>
5 years ago
Björn Rabenstein
7d159b2f01
Merge pull request #6666 from roidelapluie/deps2
...
Add a note about updating deps
5 years ago
Julien Pivotto
372039530b
Add a note about updating deps
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
5 years ago
Julius Volz
a677622184
React UI: Send cookies on fetch() on older browsers ( #6553 )
...
* React UI: Send cookies on fetch() on older browsers
Fixes https://github.com/prometheus/prometheus/issues/6428
Signed-off-by: Julius Volz <julius.volz@gmail.com>
* Fix fetch() tests to expect new options
Signed-off-by: Julius Volz <julius.volz@gmail.com>
5 years ago
Ganesh Vernekar
21a5cf5d1d
Bring back tombstones to Head block ( #6542 )
...
* Bring back tombstones to Head block
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
* Add test cases
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
* Cleanup
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
5 years ago
Julien Pivotto
2b2eb79e8b
Add windows tests for query logger ( #6653 )
...
* Add windows tests
* Do not rely on time.Time in timer
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
5 years ago
Julien Pivotto
46d18112a3
tsdb: error on series with duplicate labels ( #6664 )
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
5 years ago
Ganesh Vernekar
08d6ddc7f2
Merge pull request #6667 from codesome/expose-compact
...
Expose DB.compact() method
5 years ago
Ganesh Vernekar
e0733a99e3
Expose DB.Compact()
...
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
5 years ago
Julien Pivotto
0eb34299da
End-to-end Query Log test ( #6600 )
...
* End-to-end Query Log test
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
5 years ago
Joaquín Fernández Campo
088614a17f
Added the version to tsdb stats api methods ( #6656 )
...
* Added the version to tsdb stats api methods
* Updated changelog.md with references to the status page PRs
Signed-off-by: Joaquin Fernandez Campo <jfcampo@gmail.com>
5 years ago
Julien Pivotto
1a58d2657d
Removed compilation step inside main_test ( #6658 )
...
Inspired by https://github.com/prometheus/prometheus/pull/6347 and
https://github.com/prometheus/prometheus/pull/6347#issuecomment-570151979
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
5 years ago
Julien Pivotto
29086533fd
web: use chained WithInstrumentation ( #6661 )
...
* web: use chained WithInstrumentation
Requires an update of github.com/prometheus/common
* Update yaml.v2
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
5 years ago
Boyko
0f84d5b2cf
React UI: broken graph page browser history ( #6659 )
...
* add panel state for the expression input
Signed-off-by: blalov <boiskila@gmail.com>
* remove redundant test
Signed-off-by: blalov <boiskila@gmail.com>
5 years ago
John McBride
669592a2c4
Exports metric for WAL write errors ( #6647 )
...
* Exports metric for WAL write errors
Signed-off-by: John McBride <jpmmcbride@gmail.com>
* Correct name for counter
Signed-off-by: John McBride <jpmmcbride@gmail.com>
* Move WAL write failure to wal.go
Signed-off-by: John McBride <jpmmcbride@gmail.com>
* WAL write fail metric moved to Log for external consumers
Signed-off-by: John McBride <jpmmcbride@gmail.com>
5 years ago
Tobias Guggenmos
2aacd807b3
PromQL: Various small improvements in the parser ( #6652 )
...
* Move check for empty VectorSelector to typeChecking
* Move check for twice set metric name to typeChecking
* Make child of MatrixSelector a general Node
* rename checkType to checkAST
* Rename fail to addParseErr
* Remove trailing whitespace
Signed-off-by: Tobias Guggenmos <tguggenm@redhat.com>
5 years ago
Tobias Guggenmos
f5eed7ae0a
PromQL: Fix panic in parser ( #6650 )
...
Fixes #6649 .
The crash is fixed here, was caused because some AST sanity checks were performed on the syntax tree while assembling it. In case of previous parsing errors this could lead to undefined behaviour.
The fix is to move the checks to the typechecking phase, which runs only when a syntax tree was assembled without there being parsing errors.
There are other places, where similiar checks are performed while assembling the syntax tree. It might be a good idea to move those to the typechecking phase, too. Should I do this in the same or a separate PR?
Signed-off-by: Tobias Guggenmos <tguggenm@redhat.com>
5 years ago
Björn Rabenstein
7d627da97f
Merge pull request #6648 from cstyan/cstyan-release-2.16
...
Add myself (@cstyan ) as 2.16 release shepherd.
5 years ago
Callum Styan
329046a5ab
Add myself as 2.16 release shepherd.
...
Signed-off-by: Callum Styan <callumstyan@gmail.com>
5 years ago
Boyko
c8469ecaf5
React UI: hide non selected alert types ( #6642 )
...
* hide non selected alert types
Signed-off-by: Boyko Lalov <boiskila@gmail.com>
* revert 'show annotations' checkbox to be always visible
Signed-off-by: blalov <boiskila@gmail.com>
5 years ago
Tobias Guggenmos
2ca25d1c96
PromQL: Don't panic on syntax errors ( #6643 )
...
Signed-off-by: Tobias Guggenmos <tguggenm@redhat.com>
5 years ago
Ganesh Vernekar
bc42cf6806
Merge pull request #6559 from yeya24/tomb-test
...
Add a tomb interval test case
5 years ago
Björn Rabenstein
949e4d12a4
Merge pull request #6633 from roidelapluie/215b
...
merge release-2.15
5 years ago
Tobias Guggenmos
d642570924
PromQL: Use PositionRange in parser errors ( #6634 )
...
Signed-off-by: Tobias Guggenmos <tguggenm@redhat.com>
5 years ago
Harkishen Singh
84e6459c4d
Adds support for line-column numbers for invalid rules, promtool ( #6533 )
...
Signed-off-by: Harkishen Singh <harkishensingh@hotmail.com>
5 years ago
Julien Pivotto
f069074dd9
Merge remote-tracking branch 'origin/release-2.15'
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
5 years ago
Tobias Guggenmos
3a204be6b7
PromQL: Fix string and parentheses handling in engine ( #6612 )
...
* WIP: PromQL: Allow engine to return strings
Signed-off-by: Tobias Guggenmos <tguggenm@redhat.com>
* Add test suggested by @roidelapluie
Signed-off-by: Tobias Guggenmos <tguggenm@redhat.com>
* Fix typo in React UI
Signed-off-by: Tobias Guggenmos <tguggenm@redhat.com>
* Fix parenthesis handling for functions and aggregator params
Signed-off-by: Tobias Guggenmos <tguggenm@redhat.com>
* Add more tests
Signed-off-by: Tobias Guggenmos <tguggenm@redhat.com>
* Fix React UI test
Signed-off-by: Tobias Guggenmos <tguggenm@redhat.com>
5 years ago
beorn7
ee03dbe011
v2.5.0
...
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE8GG9G6RqQ7DWttOfd0GlJ4KpAGkFAlvhfW8ACgkQd0GlJ4Kp
AGla+w//Xys6sGO6w9hN8NlBhKHyU6Ubj17cWRNLhKArZyqcBJxFoqd3ew1UmpbN
YebGeHb3H2GV+HMPzHdhCrKQMAm/CLtCragYk+AJVWXJ8DEEbBzdSCdG+7wm0aBL
5zImzVzFIyQD+rfoBqKNrSekPGJuWJmDpUFaZRsJOQA/N5KdeqTRyaYUQP+HmheY
E/2PLQQ+3uV5GKguAOxML0FDjwpV6k92kZcZyMvvfzdnVyaHL55b03wI8CaLRMEC
bd8s6SRt68Sz/ctenPx4KnTf4Ikdwqaok0qbsme9VLiyC7EYy6FWw9x1O7p28Wfw
HW6P8Qk3MZhjUxwr28LZJ+loIGiikahK4haTCytILg1C76t/42EGqDiD3HqfGtFw
OzZT8oU9kL0Pogp+2mhzZykOSYVGLedzA8lnHvSrYhpZP5RwNT9t17RDGI1YmZXp
MG8RVaW2o+RYLUPqGlHMVvI0Em+kzRFRT4LxZpVrXLM/jue2si0ecHfwjZ8xHsLR
5p3H3RbbEeS9FkWsEAL513LTPm2yHAf6Pd8hHE7V+2AKm9aGtP2t13QTcJMGcB7d
qa2RT+3GrQP1yvVbQJfaGfDZlMHLykS2qiX0j8lK0sFwy3nr+24XPSTsl7mLcT5v
ibS+yGgJcs0Hr66kmO8g0Z8qDW2DHGoLoMsIFXcG2/2vvkdcX20=
=y9a/
-----END PGP SIGNATURE-----
Merge tag 'v2.5.0'
v2.5.0
5 years ago
beorn7
d9607a7070
Merge branch 'release-2.11'
5 years ago
beorn7
bfa277ddac
Merge branch 'release-2.13'
5 years ago
Boyko
bab47b58f5
ReactUI: folder re-organization ( #6601 )
...
* remove redundant sanitizeHTML abstraction
Signed-off-by: blalov <boiskila@gmail.com>
* organize folders
Signed-off-by: blalov <boiskila@gmail.com>
* move hooks outside common folder
Signed-off-by: blalov <boiskila@gmail.com>
* move PathPrefix interface in types
Signed-off-by: blalov <boiskila@gmail.com>
* remove config folder
Signed-off-by: blalov <boiskila@gmail.com>
* remove redundant snapshots
Signed-off-by: blalov <boiskila@gmail.com>
* rename common folder
Signed-off-by: blalov <boiskila@gmail.com>
* merge utils files
Signed-off-by: Boyko Lalov <boiskila@gmail.com>
* sync with master
Signed-off-by: blalov <boiskila@gmail.com>
5 years ago
Tobias Guggenmos
0c8e9ef09e
PromQL: Add position metadata to the AST ( #6615 )
...
Signed-off-by: Tobias Guggenmos <tguggenm@redhat.com>
Co-authored-by: Julius Volz <julius.volz@gmail.com>
5 years ago
Boyko
e12e5ecc8f
ReactUI: adopt grafana flot fix for stacked graphs ( #6603 )
...
* adopt grafana flot fix for stacked graphs
Signed-off-by: blalov <boiskila@gmail.com>
Signed-off-by: Boyko Lalov <boiskila@gmail.com>
* remove flot as dependencie
Signed-off-by: blalov <boiskila@gmail.com>
Signed-off-by: Boyko Lalov <boiskila@gmail.com>
* disable eslint error in flot.js
Signed-off-by: blalov <boiskila@gmail.com>
Signed-off-by: Boyko Lalov <boiskila@gmail.com>
* fix broken test due to wrong import
Signed-off-by: blalov <boiskila@gmail.com>
Signed-off-by: Boyko Lalov <boiskila@gmail.com>
* bring back flot crosshair plugin
Signed-off-by: blalov <boiskila@gmail.com>
Signed-off-by: Boyko Lalov <boiskila@gmail.com>
* trying to prevent CI out of memory by adding test script --runInBand flag
Signed-off-by: blalov <boiskila@gmail.com>
Signed-off-by: Boyko Lalov <boiskila@gmail.com>
* additional notices regarding origin of the flot vendor
Signed-off-by: Boyko Lalov <boiskila@gmail.com>
* move flot in own folder
Signed-off-by: Boyko Lalov <boiskila@gmail.com>
* move text on top
Signed-off-by: Boyko Lalov <boiskila@gmail.com>
5 years ago
Ganesh Vernekar
3b9304d22e
Merge pull request #6626 from claytono/fix-curl-args
...
Fix curl args for data-urlencode in docs
5 years ago
Clayton O'Neill
7e76edc300
Fix curl args for data-urlencode
...
The curl argument `--data-urlencode` doesn't accept equal signs between
the arg and the value, but needs whitespace instead.
Signed-off-by: Clayton O'Neill <claytono@github.com>
5 years ago
Julien Pivotto
201491fd1b
Remove old checkpoint dir if it still exists ( #6621 )
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
5 years ago