- 13 11月, 2019 1 次提交
-
-
由 Julius Volz 提交于
This fixes two TypeScript errors. Not sure why we didn't catch the breakage in the PR CI tests... also, updating TypeScript just for good measure. Signed-off-by: NJulius Volz <julius.volz@gmail.com>
-
- 12 11月, 2019 6 次提交
-
-
由 Boyko 提交于
* replace fetching hooks with class render prop component Signed-off-by: NBoyko Lalov <boyskila@gmail.com> Signed-off-by: Nblalov <boyko.lalov@tick42.com> Signed-off-by: NBoyko Lalov <boyskila@gmail.com> * rename Fetcher Signed-off-by: Nblalov <boyko.lalov@tick42.com> Signed-off-by: NBoyko Lalov <boyskila@gmail.com> * status page markup separated from fetcher component Signed-off-by: Nblalov <boyko.lalov@tick42.com> Signed-off-by: NBoyko Lalov <boyskila@gmail.com> * fetch api reusability Signed-off-by: Nblalov <boyko.lalov@tick42.com> Signed-off-by: NBoyko Lalov <boyskila@gmail.com> * extract Config and Flags pages as 'dumb' components Signed-off-by: Nblalov <boyko.lalov@tick42.com> Signed-off-by: NBoyko Lalov <boyskila@gmail.com> * more components splitting Signed-off-by: Nblalov <boyko.lalov@tick42.com> Signed-off-by: NBoyko Lalov <boyskila@gmail.com> * implement fetchWithstatus HOC Signed-off-by: Nblalov <boyko.lalov@tick42.com> Signed-off-by: NBoyko Lalov <boyskila@gmail.com> * refactor changed files tests Signed-off-by: Nblalov <boyko.lalov@tick42.com> Signed-off-by: NBoyko Lalov <boyskila@gmail.com> * switching back to hooks. Signed-off-by: Nblalov <boyko.lalov@tick42.com> Signed-off-by: NBoyko Lalov <boyskila@gmail.com> * fetch response bug fix Signed-off-by: NBoyko Lalov <boyskila@gmail.com> * make wrapped by withstatusIndicator components names consistent Signed-off-by: NBoyko Lalov <boyskila@gmail.com>
-
由 Sharad Gaur 提交于
Signed-off-by: NSharad Gaur <sgaur@splunk.com>
-
由 Boyko 提交于
Signed-off-by: NBoyko Lalov <boyskila@gmail.com>
-
由 Dipack P Panjabi 提交于
* Compute WAL size and account for it when applying the retention settings. Signed-off-by: NDipack P Panjabi <dpanjabi@hudson-trading.com>
-
由 Dustin Hooten 提交于
* Add LastScrapeDuration to targets endpoint Signed-off-by: NDustin Hooten <dhooten@splunk.com> * Add Scrape job name to targets endpoint Signed-off-by: NDustin Hooten <dhooten@splunk.com> * Implement the /targets page in react Signed-off-by: NDustin Hooten <dhooten@splunk.com> * Add state query param to targets endpoint Signed-off-by: NDustin Hooten <dhooten@splunk.com> * Use state filter in api call Signed-off-by: NDustin Hooten <dhooten@splunk.com> * api feedback Signed-off-by: NDustin Hooten <dhooten@splunk.com> * pr feedback frontend Signed-off-by: NDustin Hooten <dhooten@splunk.com> * Implement and use localstorage hook Signed-off-by: NDustin Hooten <dhooten@splunk.com> * PR feedback Signed-off-by: NDustin Hooten <dhooten@splunk.com>
-
由 Chris Marchbanks 提交于
Merge release-2.14 into master
-
- 11 11月, 2019 2 次提交
-
-
由 Chris Marchbanks 提交于
Signed-off-by: NChris Marchbanks <csmarchbanks@gmail.com>
-
由 Harkishen Singh 提交于
* fix space issue in duration range promql Signed-off-by: NHarkishen-Singh <harkishensingh@hotmail.com> * updated logic Signed-off-by: NHarkishen-Singh <harkishensingh@hotmail.com> * fixed lexer to skip over the spaces Signed-off-by: NHarkishen-Singh <harkishensingh@hotmail.com> * added unittests for updated lexer Signed-off-by: NHarkishen-Singh <harkishensingh@hotmail.com> * added unittests for updated lexer Signed-off-by: NHarkishen-Singh <harkishensingh@hotmail.com>
-
- 09 11月, 2019 2 次提交
-
-
由 Sally Lehman 提交于
Signed-off-by: NSally Lehman <slehman@ripple.com>
-
由 Ganesh Vernekar 提交于
Add a README.md to textparse package about how to update lexers.
-
- 08 11月, 2019 1 次提交
-
-
由 Chris Marchbanks 提交于
* Make WAL replay benchmark more representative Signed-off-by: NChris Marchbanks <csmarchbanks@gmail.com> * Move decoding records from the WAL into goroutine Decoding the WAL records accounts for a significant amount of time on startup, and can be done in parallel with creating series/samples to speed up startup. However, records still must be handled in order, so only a single goroutine can do the decoding. benchmark old ns/op new ns/op delta BenchmarkLoadWAL/batches=10,seriesPerBatch=100,samplesPerSeries=7200-8 481607033 391971490 -18.61% BenchmarkLoadWAL/batches=10,seriesPerBatch=10000,samplesPerSeries=50-8 836394378 629067006 -24.79% BenchmarkLoadWAL/batches=10,seriesPerBatch=1000,samplesPerSeries=480-8 348238658 234218667 -32.74% Signed-off-by: NChris Marchbanks <csmarchbanks@gmail.com>
-
- 07 11月, 2019 1 次提交
-
-
由 Chris Marchbanks 提交于
Signed-off-by: NChris Marchbanks <csmarchbanks@gmail.com>
-
- 06 11月, 2019 4 次提交
-
-
由 Julien Pivotto 提交于
Closes #6272 Signed-off-by: NJulien Pivotto <roidelapluie@inuits.eu>
-
由 David Leadbeater 提交于
Signed-off-by: NDavid Leadbeater <dgl@dgl.cx>
-
由 Julius Volz 提交于
This is a quick change because the release is about to be cut in a few hours and it would be good to clarify to users what the empty pages in the new UI are about. Signed-off-by: NJulius Volz <julius.volz@gmail.com>
-
由 Chris Marchbanks 提交于
Alert rules do not use the Record field, so any alerts with the same labels and different names would be counted as being duplicates. Promtool will now consider either field when finding duplicates. Signed-off-by: NChris Marchbanks <csmarchbanks@gmail.com>
-
- 05 11月, 2019 3 次提交
-
-
由 Julius Volz 提交于
https://github.com/prometheus/prometheus/pull/6193 removed these icons from the font library, but the non-React timepicker library requires these. Signed-off-by: NJulius Volz <julius.volz@gmail.com>
-
由 Sharad Gaur 提交于
* Adding TSDB Head Stats like cardinality to Status Page Signed-off-by: NSharad Gaur <sgaur@splunk.com> * Moving mutx to Head Signed-off-by: NSharad Gaur <sgaur@splunk.com> * Renaming variabls Signed-off-by: NSharad Gaur <sgaur@splunk.com> * Renaming variabls and html Signed-off-by: NSharad Gaur <sgaur@splunk.com> * Removing unwanted whitespaces Signed-off-by: NSharad Gaur <sgaur@splunk.com> * Adding Tests, Banchmarks and Max Heap for Postings Stats Signed-off-by: NSharad Gaur <sgaur@splunk.com> * Adding more tests for postingstats and web handler Signed-off-by: NSharad Gaur <sgaur@splunk.com> * Adding more tests for postingstats and web handler Signed-off-by: NSharad Gaur <sgaur@splunk.com> * Remove generated asset file that is no longer used Signed-off-by: NChris Marchbanks <csmarchbanks@gmail.com> * Changing comment and variable name for more readability Signed-off-by: NSharad Gaur <sgaur@splunk.com> * Using time.Duration in postings status function and removing refresh button from web page Signed-off-by: NSharad Gaur <sgaur@splunk.com>
-
由 Alex Dzyoba 提交于
Part of the fix for #3242. Signed-off-by: NAlex Dzyoba <alex@dzyoba.com>
-
- 04 11月, 2019 2 次提交
-
-
由 Boyko 提交于
* pass the value to the input instead to downshift Signed-off-by: Nblalov <boyko.lalov@tick42.com> * adjust expression input tests Signed-off-by: Nblalov <boyko.lalov@tick42.com> * improve ExpressionInput test coverage Signed-off-by: Nblalov <boyko.lalov@tick42.com>
-
由 Julius Volz 提交于
* React UI: Support custom path prefixes The challenge was that the path prefix can be set dynamically as a flag on Prometheus, but the React app bundle is statically compiled in to expect a given path prefix. By adding a placeholder value to the React app's index.html and replacing it in Prometheus with the right path prefix during serving, this injects Prometheus's path prefix into the React app via a global const. Threading the path prefix into the different React components could have been done with React's Contexts (https://reactjs.org/docs/context.html), but I found the consumer side of context values to be a bit cumbersome (wrapping entire components in context consumers), so I ended up preferring direct threading of the path prefix values to components that needed them. Also, using contexts in tests is more verbose than just passing in path prefix values directly. Fixes https://github.com/prometheus/prometheus/issues/6163Signed-off-by: NJulius Volz <julius.volz@gmail.com> * Review feedback Signed-off-by: NJulius Volz <julius.volz@gmail.com>
-
- 03 11月, 2019 4 次提交
-
-
由 Julius Volz 提交于
I prefer just keeping it dumb (and it helps with a current Netlify deploy hack I have). Signed-off-by: NJulius Volz <julius.volz@gmail.com>
-
由 Julius Volz 提交于
* React UI: Improve styling of autocomplete sections I removed the Card-related components and went back to normal <ul>/<li>, since the style that Cards added just got in the way (like adding extra borders and rounding, etc.), and from the examples at https://getbootstrap.com/docs/4.3/components/card/, it doesn't seem like multiple Cards are meant to be used as part of a larger list (style-wise). Signed-off-by: NJulius Volz <julius.volz@gmail.com> * Address review feedback Signed-off-by: NJulius Volz <julius.volz@gmail.com>
-
由 Julius Volz 提交于
* React UI: More conversions to Function Components Signed-off-by: NJulius Volz <julius.volz@gmail.com> * Address chat feedback over Riot Signed-off-by: NJulius Volz <julius.volz@gmail.com>
-
由 Julius Volz 提交于
* Document new status API endpoints These were added in https://github.com/prometheus/prometheus/pull/6243 for the React UI. Signed-off-by: NJulius Volz <julius.volz@gmail.com> * Update new-in notices Signed-off-by: NJulius Volz <julius.volz@gmail.com>
-
- 02 11月, 2019 3 次提交
-
-
由 Boyko 提交于
* status page initial commit Signed-off-by: NBoyko Lalov <boyskila@gmail.com> Signed-off-by: Nblalov <boyko.lalov@tick42.com> * refactor useFetch Signed-off-by: NBoyko Lalov <boyskila@gmail.com> Signed-off-by: Nblalov <boyko.lalov@tick42.com> * refactoring Signed-off-by: NBoyko Lalov <boyskila@gmail.com> Signed-off-by: Nblalov <boyko.lalov@tick42.com> * adding tests Signed-off-by: NBoyko Lalov <boyskila@gmail.com> Signed-off-by: Nblalov <boyko.lalov@tick42.com> * snapshot testing Signed-off-by: NBoyko Lalov <boyskila@gmail.com> Signed-off-by: Nblalov <boyko.lalov@tick42.com> * fix wrong go files formatting Signed-off-by: NBoyko Lalov <boyskila@gmail.com> Signed-off-by: Nblalov <boyko.lalov@tick42.com> * change the snapshot library Signed-off-by: NBoyko Lalov <boyskila@gmail.com> Signed-off-by: Nblalov <boyko.lalov@tick42.com> * update api paths Signed-off-by: NBoyko Lalov <boyskila@gmail.com> Signed-off-by: Nblalov <boyko.lalov@tick42.com> * move test folder outside src Signed-off-by: NBoyko Lalov <boyskila@gmail.com> Signed-off-by: Nblalov <boyko.lalov@tick42.com> * useFetches tests Signed-off-by: Nblalov <boyko.lalov@tick42.com> * sticky navbar Signed-off-by: NBoyko Lalov <boyskila@gmail.com> Signed-off-by: Nblalov <boyko.lalov@tick42.com> * handle runtimeInfo error on Gather() and add json tags to RuntimeInfo struct Signed-off-by: Nblalov <boyko.lalov@tick42.com> * refactor alert managers section Signed-off-by: Nblalov <boyko.lalov@tick42.com>
-
由 mattrussi 提交于
* Fixes prometheus/docs#1418 Signed-off-by: NMatt Russi <mattrussi@users.noreply.github.com>
-
由 Chris Marchbanks 提交于
* Implement the /flags page in react Signed-off-by: NChris Marchbanks <csmarchbanks@gmail.com> * Use custom react hook for calling api Signed-off-by: NChris Marchbanks <csmarchbanks@gmail.com>
-
- 30 10月, 2019 3 次提交
-
-
由 Björn Rabenstein 提交于
Fix the description template for PrometheusRemoteWriteDesiredShards
-
由 beorn7 提交于
Signed-off-by: Nbeorn7 <beorn@grafana.com>
-
由 Tariq Ibrahim 提交于
Signed-off-by: NTariq Ibrahim <tariq181290@gmail.com>
-
- 29 10月, 2019 6 次提交
-
-
由 Björn Rabenstein 提交于
Fix PrometheusRemoteWriteDesiredShards
-
由 Michał 提交于
* local storage selectedTab on targets tab was renamed Signed-off-by: NMichał Szczygieł <1153719+mszczygiel@users.noreply.github.com> * added filters when displaying alerts Signed-off-by: NMichał Szczygieł <1153719+mszczygiel@users.noreply.github.com> * function was simplified Signed-off-by: NMichał Szczygieł <1153719+mszczygiel@users.noreply.github.com> * fixed rebase Signed-off-by: NMichał Szczygieł <1153719+mszczygiel@users.noreply.github.com> * minor rename Signed-off-by: NMichał Szczygieł <1153719+mszczygiel@users.noreply.github.com> * Active -> Pending Signed-off-by: NMichał Szczygieł <1153719+mszczygiel@users.noreply.github.com>
-
由 Benoit Gagnon 提交于
* add test to custom-sd/adapter writeOutput() function Signed-off-by: NBenoit Gagnon <benoit.gagnon@ubisoft.com> * fix Adapter.writeOutput() function to work on Windows On that platform, files cannot be moved while a process holds a handle to them. Added an explicit Close() before that move. With this change, the unit test succeeds. Signed-off-by: NBenoit Gagnon <benoit.gagnon@ubisoft.com> * add missing dot to comment Signed-off-by: NBenoit Gagnon <benoit.gagnon@ubisoft.com>
-
由 beorn7 提交于
This rule has the same labels on both sides. We don't want `group_right` and `on`, we want nothing. Signed-off-by: Nbeorn7 <beorn@grafana.com>
-
由 Dustin Hooten 提交于
* Add MetricFormat unit tests Signed-off-by: NDustin Hooten <dhooten@splunk.com> * Add App unit tests; Add debug script Signed-off-by: NDustin Hooten <dhooten@splunk.com> * Add Checkbox unit tests Signed-off-by: NDustin Hooten <dhooten@splunk.com> * Add SeriesName unit tests Signed-off-by: NDustin Hooten <dhooten@splunk.com> * Add QueryStatsView unit test Signed-off-by: NDustin Hooten <dhooten@splunk.com> * Add Legend unit tests Signed-off-by: NDustin Hooten <dhooten@splunk.com> * Remove unused utils/func Signed-off-by: NDustin Hooten <dhooten@splunk.com> * Add utils/urlParams unit test Signed-off-by: NDustin Hooten <dhooten@splunk.com> * Add utils/timeFormat unit test Signed-off-by: NDustin Hooten <dhooten@splunk.com> * Add ExpressionInput unit tests Signed-off-by: NDustin Hooten <dhooten@splunk.com> * Add GraphControls unit test Signed-off-by: NDustin Hooten <dhooten@splunk.com> * Add TimeInput unit test Signed-off-by: NDustin Hooten <dhooten@splunk.com> * Add DataTable unit test Signed-off-by: NDustin Hooten <dhooten@splunk.com> * Add SanitizeHTML unit test Signed-off-by: NDustin Hooten <dhooten@splunk.com> * Add Graph unit test Signed-off-by: NDustin Hooten <dhooten@splunk.com> * Extract utils/html Signed-off-by: NDustin Hooten <dhooten@splunk.com> * Add PanelList unit test Signed-off-by: NDustin Hooten <dhooten@splunk.com> * Add Panel unit test Signed-off-by: NDustin Hooten <dhooten@splunk.com> * Add react-ui test coverage report to CI Signed-off-by: NDustin Hooten <dhooten@splunk.com>
-
由 Ben Kochie 提交于
Update the aggregation operator documentation. * Include before expression style syntax as valid. * Update examples to show before style. Signed-off-by: NBen Kochie <superq@gmail.com>
-
- 28 10月, 2019 2 次提交
-
-
由 CSTDev 提交于
* Initial react-ui linting rules Signed-off-by: Ncstdev <pietomb00@hotmail.com> * Add react linting to build process Move eslint config to its own file to keep package.json clearer. Signed-off-by: Ncstdev <pietomb00@hotmail.com> * Linting changes from master Signed-off-by: Ncstdev <pietomb00@hotmail.com> * Move CI linting to makefile and travis Also add trailing comma to multiline imports. Signed-off-by: Ncstdev <pietomb00@hotmail.com> * Add lint fix target to makefile Signed-off-by: Ncstdev <pietomb00@hotmail.com> * Lint latest master Signed-off-by: Ncstdev <pietomb00@hotmail.com>
-
由 Julius Volz 提交于
This makes React UI URLs look nicer than the previous /static/graph-new/app.html, but internally still serves all React UI files from the compiled-in static assets directory. Also, to allow future usage of the React / Reach router, we need to serve the main React app's index.html on certain sub-paths that correspond to current Prometheus's UI pages, instead of trying to serve actual files that match the provided path name. Signed-off-by: NJulius Volz <julius.volz@gmail.com>
-