Tobias Guggenmos
454ba12676
Fix build errors in promtool
...
Signed-off-by: Tobias Guggenmos <tguggenm@redhat.com>
5 years ago
Tobias Guggenmos
20b1f596f6
Fix build errors in rest of prometheus
...
Signed-off-by: Tobias Guggenmos <tguggenm@redhat.com>
5 years ago
Tobias Guggenmos
273ea9093a
Fix promql tests
...
Signed-off-by: Tobias Guggenmos <tguggenm@redhat.com>
5 years ago
Tobias Guggenmos
1360f9ff12
Fix all build errors in promql package
...
Signed-off-by: Tobias Guggenmos <tguggenm@redhat.com>
5 years ago
Tobias Guggenmos
2164e366ea
Fix more identifiers
...
Signed-off-by: Tobias Guggenmos <tguggenm@redhat.com>
5 years ago
Tobias Guggenmos
5caf7ed6db
Fix more identifiers
...
Signed-off-by: Tobias Guggenmos <tguggenm@redhat.com>
5 years ago
Tobias Guggenmos
9a1366775e
Store function implementations independently of their signatures
...
Signed-off-by: Tobias Guggenmos <tguggenm@redhat.com>
5 years ago
Tobias Guggenmos
ff0ea1c1ac
Fix more identifiers
...
Signed-off-by: Tobias Guggenmos <tguggenm@redhat.com>
5 years ago
Tobias Guggenmos
6b1b323558
Export sequenceValue
...
Signed-off-by: Tobias Guggenmos <tguggenm@redhat.com>
5 years ago
Tobias Guggenmos
228967a507
Fix usages of more things that have moved the package
...
Signed-off-by: Tobias Guggenmos <tguggenm@redhat.com>
5 years ago
Tobias Guggenmos
4a4817a444
Fix usages of parser.Statement
...
Signed-off-by: Tobias Guggenmos <tguggenm@redhat.com>
5 years ago
Tobias Guggenmos
2f1113479f
Fix usages of ValueType
...
Signed-off-by: Tobias Guggenmos <tguggenm@redhat.com>
5 years ago
Tobias Guggenmos
65f5b9827d
Rename package
...
Signed-off-by: Tobias Guggenmos <tguggenm@redhat.com>
5 years ago
Tobias Guggenmos
98a9b7c90c
Remove engine specific types
...
Signed-off-by: Tobias Guggenmos <tguggenm@redhat.com>
5 years ago
Tobias Guggenmos
fab2373752
Add everything the parser needs to build
...
Signed-off-by: Tobias Guggenmos <tguggenm@redhat.com>
5 years ago
Tobias Guggenmos
e7c2716f55
Move files
...
Signed-off-by: Tobias Guggenmos <tguggenm@redhat.com>
5 years ago
Bartlomiej Plotka
88af973663
Merge pull request #6820 from codesome/break-compact
...
Break DB.Compact and DB.CompactHead and DB.CompactBlocks
5 years ago
Zhou Hao
e628fd7735
fix comments spelling ( #6829 )
...
Signed-off-by: Zhou Hao <zhouhao@cn.fujitsu.com>
5 years ago
Bartlomiej Plotka
384cba98fe
Merge pull request #6823 from johncming/fix-args
...
tsdb/wal: remove unused argument.
5 years ago
Aleksandra Gacek
8e53c19f9c
discovery/kubernetes: expose label_selector and field_selector
...
Close #6807
Co-authored-by @shuttie
Signed-off-by: Aleksandra Gacek <algacek@google.com>
5 years ago
Grebennikov Roman
b4445ff03f
discovery/kubernetes: expose label_selector and field_selector
...
Closes #6096
Signed-off-by: Grebennikov Roman <grv@dfdx.me>
5 years ago
johncming
c30abf1e2b
tsdb/wal: remove unused argument.
...
Signed-off-by: johncming <johncming@yahoo.com>
5 years ago
Ganesh Vernekar
6f1d2ec73e
Break DB.Compact and DB.compactHead and DB.compactBlocks. Add DB.CompactHead.
...
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
5 years ago
Björn Rabenstein
af04cb22c8
Merge pull request #6821 from prometheus/release-2.16
...
Release 2.16
5 years ago
Callum Styan
b90be6f32a
Release 2.16.0 ( #6817 )
...
Signed-off-by: Callum Styan <callumstyan@gmail.com>
5 years ago
Simon Pasquier
fe76ccbfe3
discovery/consul: fix logging of tags ( #6783 )
...
Signed-off-by: Simon Pasquier <spasquie@redhat.com>
5 years ago
Boqin Qin
cdbd42393e
scrape: fix goroutine leak in test ( #6812 )
...
* scrape: fix goroutine leak in test
Signed-off-by: BurtonQin <bobbqqin@gmail.com>
5 years ago
Julien Pivotto
135cc30063
rules: Make deleted rule series as stale after a reload ( #6745 )
...
* rules: Make deleted rule series as stale after a reload
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
5 years ago
Björn Rabenstein
c35438f2dd
Merge pull request #6811 from pracucci/fix-remote-write-alerts
...
Fix queue in alerts annotation
5 years ago
Marco Pracucci
1e1785690a
Fix queue in alerts annotation
...
Signed-off-by: Marco Pracucci <marco@pracucci.com>
5 years ago
李国忠
3cd6a5b050
Storage concurrently tests and bug fix ( #6808 )
...
* Storage concurrently tests and bug fix
Signed-off-by: fuling <fuling.lgz@alibaba-inc.com>
5 years ago
李国忠
40dd13b074
Storage concurrently ( #6770 )
...
* Storage concurrently
Signed-off-by: fuling <fuling.lgz@alibaba-inc.com>
5 years ago
Boyko
1c321ed047
React-UI: flex-wrap the content ( #6796 )
...
* flex-wrap the content
Signed-off-by: blalov <boiskila@gmail.com>
* wrap formatted series in a div
Signed-off-by: blalov <boiskila@gmail.com>
5 years ago
Nguyen Hai Truong
26574eb04d
docs: Fix typo in docs/storage.md ( #6799 )
...
`availiablity` -> `availability`
Signed-off-by: Nguyen Hai Truong <truongnh@vn.fujitsu.com>
5 years ago
Bartlomiej Plotka
56eaaadb54
Merge pull request #6800 from prometheus/cut-v2.16.0-rc.1
...
Cutting v2.16.0-rc.1
5 years ago
Bartlomiej Plotka
f94faafbda
Cutting v2.16.0-rc.1
...
Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
5 years ago
Bartlomiej Plotka
32c9670b7e
Merge pull request #6793 from roidelapluie/stepinterval
...
promql: fix promql query log step unit
5 years ago
Bartlomiej Plotka
916e66edf2
Merge pull request #6773 from codesome/head-test
...
Refactor TestGCChunkAccess and TestGCSeriesAccess to create chunks by appending samples
5 years ago
helenxu1221
7df4fe3faa
reset counter after collecting metric ( #6798 )
...
Signed-off-by: HelenXu <helenxu@Helens-MacBook-Pro.local>
5 years ago
Julien Pivotto
ff0003e072
Make lookbackDelta a option of QueryEngine ( #6746 )
...
* Make lookbackDelta a option of QueryEngine
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
* julius' suggestion
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
* remove trivial getter
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
* Assume lookback delta is always > 0
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
* add debug log
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
* don't expose loopback delta
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
* Specify that lookack delta is also used in federation
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
* Fix federation test
While we have added some logic to the promql engine to keep it backwards
compatible and have a 5 minute loopback by default, the web/ package is
likely to really be internal to Prometheus and we should not add the
same kind of heuritstics here.
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
* loopback delta: Fix debug log
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
5 years ago
Drumil Patel
b00023344e
Formatting short tables for readability ( #6762 )
...
* Formatting short tables for readability
Signed-off-by: Drumil Patel <drumilpatel720@gmail.com>
* Solving linting issues in DataTable.tsx
Signed-off-by: Drumil Patel <drumilpatel720@gmail.com>
* Increasing maxFormattable Size to 1000 and changing value of toFormatStyle
Signed-off-by: Drumil Patel <drumilpatel720@gmail.com>
* Solve tests failure for multiple alerts on size gretaer than 10000
Signed-off-by: Drumil Patel <drumilpatel720@gmail.com>
* Solve linting errors
Signed-off-by: Drumil Patel <drumilpatel720@gmail.com>
* Add tests for alert of not formatting
Signed-off-by: Drumil Patel <drumilpatel720@gmail.com>
5 years ago
Julius Volz
0a8acb654e
React UI: Use null value for determining consoles link display ( #6790 )
...
Signed-off-by: Julius Volz <julius.volz@gmail.com>
5 years ago
Julien Pivotto
d799078c88
also test start and end
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
5 years ago
Julien Pivotto
cbd0eec9fc
Avoid /1000
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
5 years ago
Julien Pivotto
881dde505a
promql: fix promql query log step unit
...
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
5 years ago
Drumil Patel
687a962bd1
Add conditional rendering of Navlink for Consoles ( #6761 )
...
* Add conditional rendering of Navlink for Consoles
Signed-off-by: Drumil Patel <drumilpatel720@gmail.com>
* Replacing if else with only if conditional rendering
Signed-off-by: Drumil Patel <drumilpatel720@gmail.com>
* Add tests and removing global declaration in Navbar
Signed-off-by: Drumil Patel <drumilpatel720@gmail.com>
* Correct Navbar Testcases and add types for ConsolesLink
Signed-off-by: Drumil Patel <drumilpatel720@gmail.com>
* Change names for Console link as per-naming convention
Signed-off-by: Drumil Patel <drumilpatel720@gmail.com>
* Change prop names to AppProps and NavbarProps respectively
Signed-off-by: Drumil Patel <drumilpatel720@gmail.com>
5 years ago
Julien Pivotto
40b66d29ff
OpenMetrics parse: avoid setting prev token ( #6781 )
...
We can avoid setting a prev token in the OM parser. The previous
coundition that checked for prev was unreacheable.
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
5 years ago
Andrew Hayworth
a336908678
Adds link to valid metric names ( #6774 )
...
One of our users today asked us if dashes were allowed in recording rule names.
We asserted that they were not, but also that we could not remember for certain.
After determining empirically that they are _not_ allowed, I realized that the
documentation could be slightly clearer about valid rule names.
This PR simply adds a note to the documentation re-iterating that the rules must
be valid metric names - and more importantly, adds a link to where a user can
read what those *are*, in case they were not aware (or did not know where to find it).
Signed-off-by: Andrew Hayworth <ahayworth@gmail.com>
5 years ago
Ben Ye
1a18594176
keep kubernetes metrics in global vars ( #6765 )
...
Signed-off-by: yeya24 <yb532204897@gmail.com>
5 years ago
Ganesh Vernekar
bc6fd96979
Refactor TestGCChunkAccess and TestGCSeriesAccess to create chunks by appending samples
...
Signed-off-by: Ganesh Vernekar <cs15btech11018@iith.ac.in>
5 years ago