- 05 11月, 2019 2 次提交
-
-
由 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 5 次提交
-
-
由 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>
-
由 Ben Kochie 提交于
* Use root relative font size rather than px to avoid hidpi issues. * Darken to 50% saturation of base font color. Signed-off-by: NBen Kochie <superq@gmail.com>
-
由 Julius Volz 提交于
* React UI: Implement /config page Signed-off-by: NJulius Volz <julius.volz@gmail.com> * Address review comments Signed-off-by: NJulius Volz <julius.volz@gmail.com>
-
由 Boyko 提交于
Signed-off-by: Nblalov <boyko.lalov@tick42.com>
-
- 27 10月, 2019 3 次提交
-
-
由 Julius Volz 提交于
Signed-off-by: NJulius Volz <julius.volz@gmail.com>
-
由 Julius Volz 提交于
The metric names only get loaded once initially, so there is no reason to mix them up with the handling of ongoing query history. Signed-off-by: NJulius Volz <julius.volz@gmail.com>
-
由 Boyko 提交于
* split autocomplete dropdown in to groups Signed-off-by: Nblalov <boyko.lalov@tick42.com> * fix autocomplete flickering Signed-off-by: Nblalov <boyko.lalov@tick42.com> * fix expression input issue. Signed-off-by: Nblalov <boyko.lalov@tick42.com> * select autocomplete item issue fix Signed-off-by: Nblalov <boyko.lalov@tick42.com> * remove metric group abstraction Signed-off-by: Nblalov <boyko.lalov@tick42.com>
-
- 26 10月, 2019 1 次提交
-
-
由 Yao Zengzeng 提交于
Signed-off-by: NYaoZengzeng <yaozengzeng@huawei.com>
-
- 25 10月, 2019 3 次提交
-
-
由 Tobias Guggenmos 提交于
* Add documentation about comments Signed-off-by: NTobias Guggenmos <tguggenm@redhat.com>
-
由 Julius Volz 提交于
Signed-off-by: NJulius Volz <julius.volz@gmail.com>
-
由 Tobias Guggenmos 提交于
peek() already ensures to not return a ItemComment so checking for this is redundant. Signed-off-by: NTobias Guggenmos <tguggenm@redhat.com>
-
- 24 10月, 2019 5 次提交
-
-
由 Ganesh Vernekar 提交于
Edit TSDB README badges
-
由 Goutham Veeramachaneni 提交于
Signed-off-by: NGoutham Veeramachaneni <gouthamve@gmail.com>
-
由 Simon Pasquier 提交于
Signed-off-by: NSimon Pasquier <spasquie@redhat.com>
-
由 Krasimir Georgiev 提交于
github actions runs the comment validation for every comment which in turn downloads and runs a new container on every execution. This is wasting many resources and also there is a big delay when starting a test so need to think for a different design and for now will disable GH actions. An addition to this people are receiving an email for each posted comment that fails the validation Signed-off-by: NKrasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com>
-
由 Boyko 提交于
* migrate query history Signed-off-by: Nblalov <boyko.lalov@tick42.com> * update lock file Signed-off-by: Nblalov <boyko.lalov@tick42.com> * set expression input height when item is selected Signed-off-by: Nblalov <boyko.lalov@tick42.com> * pr review changes Signed-off-by: Nblalov <boyko.lalov@tick42.com>
-
- 23 10月, 2019 2 次提交
-
-
由 Tariq Ibrahim 提交于
Signed-off-by: NTariq Ibrahim <tariq181290@gmail.com>
-
由 CSTDev 提交于
* Adds the query stats to UI Adds the query load time, resolution and total number of time series, as the current UI has Signed-off-by: Ncstdev <pietomb00@hotmail.com> * Implement unit test for QueryStats Signed-off-by: Ncstdev <pietomb00@hotmail.com> * Tidy Query Stats component Rename it and expose a interface for the values it displays Make it a functional component as it has no state or lifecycle Better null/undefined checks Only render if needed, decided by the panel Remove old stats if the next errors Signed-off-by: Ncstdev <pietomb00@hotmail.com>
-
- 22 10月, 2019 1 次提交
-
-
由 Callum Styan 提交于
* Refactor calculateDesiredShards + don't reshard if we're having issues sending samples. * Track lastSendTimestamp via an int64 with atomic add/load, add a test for reshard calculation. * Simplify conditional for skipping resharding, add samplesIn/Out to shard testcase struct. Signed-off-by: NCallum Styan <callumstyan@gmail.com>
-