- 14 Nov, 2019 4 commits
-
-
Julius Volz authored
* React UI: Add better docs for the React UI Signed-off-by:
Julius Volz <julius.volz@gmail.com> * Fixups Signed-off-by:
Julius Volz <julius.volz@gmail.com> * Fixup Signed-off-by:
Julius Volz <julius.volz@gmail.com>
-
Julius Volz authored
It being a Reach Router <Link> caused the Reach router to not actually leave the React app, even though the destination path was not a path handled by the Reach Router. Signed-off-by:
Julius Volz <julius.volz@gmail.com>
-
Julius Volz authored
Fixes https://github.com/prometheus/prometheus/issues/6163 Signed-off-by:
Julius Volz <julius.volz@gmail.com>
-
Tobias Guggenmos authored
According to the documentation, the target metadata API accepts it, if no value for match_target has been provided. This was not the case in the implementation. This commit make the API behave as described in the docs. Signed-off-by:
Tobias Guggenmos <tguggenm@redhat.com>
-
- 13 Nov, 2019 2 commits
-
-
Boyko authored
Signed-off-by:
Boyko Lalov <boyskila@gmail.com>
-
Julius Volz authored
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:
Julius Volz <julius.volz@gmail.com>
-
- 12 Nov, 2019 4 commits
-
-
Boyko authored
* replace fetching hooks with class render prop component Signed-off-by:
Boyko Lalov <boyskila@gmail.com> Signed-off-by:
blalov <boyko.lalov@tick42.com> Signed-off-by:
Boyko Lalov <boyskila@gmail.com> * rename Fetcher Signed-off-by:
blalov <boyko.lalov@tick42.com> Signed-off-by:
Boyko Lalov <boyskila@gmail.com> * status page markup separated from fetcher component Signed-off-by:
blalov <boyko.lalov@tick42.com> Signed-off-by:
Boyko Lalov <boyskila@gmail.com> * fetch api reusability Signed-off-by:
blalov <boyko.lalov@tick42.com> Signed-off-by:
Boyko Lalov <boyskila@gmail.com> * extract Config and Flags pages as 'dumb' components Signed-off-by:
blalov <boyko.lalov@tick42.com> Signed-off-by:
Boyko Lalov <boyskila@gmail.com> * more components splitting Signed-off-by:
blalov <boyko.lalov@tick42.com> Signed-off-by:
Boyko Lalov <boyskila@gmail.com> * implement fetchWithstatus HOC Signed-off-by:
blalov <boyko.lalov@tick42.com> Signed-off-by:
Boyko Lalov <boyskila@gmail.com> * refactor changed files tests Signed-off-by:
blalov <boyko.lalov@tick42.com> Signed-off-by:
Boyko Lalov <boyskila@gmail.com> * switching back to hooks. Signed-off-by:
blalov <boyko.lalov@tick42.com> Signed-off-by:
Boyko Lalov <boyskila@gmail.com> * fetch response bug fix Signed-off-by:
Boyko Lalov <boyskila@gmail.com> * make wrapped by withstatusIndicator components names consistent Signed-off-by:
Boyko Lalov <boyskila@gmail.com>
-
Sharad Gaur authored
Signed-off-by:
Sharad Gaur <sgaur@splunk.com>
-
Boyko authored
Signed-off-by:
Boyko Lalov <boyskila@gmail.com>
-
Dipack P Panjabi authored
* Compute WAL size and account for it when applying the retention settings. Signed-off-by:
Dipack P Panjabi <dpanjabi@hudson-trading.com>
-
- 11 Nov, 2019 4 commits
-
-
Dustin Hooten authored
* Add LastScrapeDuration to targets endpoint Signed-off-by:
Dustin Hooten <dhooten@splunk.com> * Add Scrape job name to targets endpoint Signed-off-by:
Dustin Hooten <dhooten@splunk.com> * Implement the /targets page in react Signed-off-by:
Dustin Hooten <dhooten@splunk.com> * Add state query param to targets endpoint Signed-off-by:
Dustin Hooten <dhooten@splunk.com> * Use state filter in api call Signed-off-by:
Dustin Hooten <dhooten@splunk.com> * api feedback Signed-off-by:
Dustin Hooten <dhooten@splunk.com> * pr feedback frontend Signed-off-by:
Dustin Hooten <dhooten@splunk.com> * Implement and use localstorage hook Signed-off-by:
Dustin Hooten <dhooten@splunk.com> * PR feedback Signed-off-by:
Dustin Hooten <dhooten@splunk.com>
-
Chris Marchbanks authored
Merge release-2.14 into master
-
Chris Marchbanks authored
Signed-off-by:
Chris Marchbanks <csmarchbanks@gmail.com>
-
Harkishen Singh authored
* fix space issue in duration range promql Signed-off-by:
Harkishen-Singh <harkishensingh@hotmail.com> * updated logic Signed-off-by:
Harkishen-Singh <harkishensingh@hotmail.com> * fixed lexer to skip over the spaces Signed-off-by:
Harkishen-Singh <harkishensingh@hotmail.com> * added unittests for updated lexer Signed-off-by:
Harkishen-Singh <harkishensingh@hotmail.com> * added unittests for updated lexer Signed-off-by:
Harkishen-Singh <harkishensingh@hotmail.com>
-
- 09 Nov, 2019 2 commits
-
-
Sally Lehman authored
Signed-off-by:
Sally Lehman <slehman@ripple.com>
-
Ganesh Vernekar authored
Add a README.md to textparse package about how to update lexers.
-
- 07 Nov, 2019 1 commit
-
-
Chris Marchbanks authored
* Make WAL replay benchmark more representative Signed-off-by:
Chris 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:
Chris Marchbanks <csmarchbanks@gmail.com>
-
- 06 Nov, 2019 3 commits
-
-
Chris Marchbanks authored
Signed-off-by:
Chris Marchbanks <csmarchbanks@gmail.com>
-
Julien Pivotto authored
Closes #6272 Signed-off-by:
Julien Pivotto <roidelapluie@inuits.eu>
-
David Leadbeater authored
Signed-off-by:
David Leadbeater <dgl@dgl.cx>
-
- 05 Nov, 2019 4 commits
-
-
Julius Volz authored
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:
Julius Volz <julius.volz@gmail.com>
-
Chris Marchbanks authored
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:
Chris Marchbanks <csmarchbanks@gmail.com>
-
Julius Volz authored
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:
Julius Volz <julius.volz@gmail.com>
-
Sharad Gaur authored
* Adding TSDB Head Stats like cardinality to Status Page Signed-off-by:
Sharad Gaur <sgaur@splunk.com> * Moving mutx to Head Signed-off-by:
Sharad Gaur <sgaur@splunk.com> * Renaming variabls Signed-off-by:
Sharad Gaur <sgaur@splunk.com> * Renaming variabls and html Signed-off-by:
Sharad Gaur <sgaur@splunk.com> * Removing unwanted whitespaces Signed-off-by:
Sharad Gaur <sgaur@splunk.com> * Adding Tests, Banchmarks and Max Heap for Postings Stats Signed-off-by:
Sharad Gaur <sgaur@splunk.com> * Adding more tests for postingstats and web handler Signed-off-by:
Sharad Gaur <sgaur@splunk.com> * Adding more tests for postingstats and web handler Signed-off-by:
Sharad Gaur <sgaur@splunk.com> * Remove generated asset file that is no longer used Signed-off-by:
Chris Marchbanks <csmarchbanks@gmail.com> * Changing comment and variable name for more readability Signed-off-by:
Sharad Gaur <sgaur@splunk.com> * Using time.Duration in postings status function and removing refresh button from web page Signed-off-by:
Sharad Gaur <sgaur@splunk.com>
-
- 04 Nov, 2019 3 commits
-
-
Alex Dzyoba authored
Part of the fix for #3242. Signed-off-by:
Alex Dzyoba <alex@dzyoba.com>
-
Boyko authored
* pass the value to the input instead to downshift Signed-off-by:
blalov <boyko.lalov@tick42.com> * adjust expression input tests Signed-off-by:
blalov <boyko.lalov@tick42.com> * improve ExpressionInput test coverage Signed-off-by:
blalov <boyko.lalov@tick42.com>
-
Julius Volz authored
* 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/6163 Signed-off-by:
Julius Volz <julius.volz@gmail.com> * Review feedback Signed-off-by:
Julius Volz <julius.volz@gmail.com>
-
- 03 Nov, 2019 2 commits
-
-
Julius Volz authored
I prefer just keeping it dumb (and it helps with a current Netlify deploy hack I have). Signed-off-by:
Julius Volz <julius.volz@gmail.com>
-
Julius Volz authored
* 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:
Julius Volz <julius.volz@gmail.com> * Address review feedback Signed-off-by:
Julius Volz <julius.volz@gmail.com>
-
- 02 Nov, 2019 5 commits
-
-
Julius Volz authored
* React UI: More conversions to Function Components Signed-off-by:
Julius Volz <julius.volz@gmail.com> * Address chat feedback over Riot Signed-off-by:
Julius Volz <julius.volz@gmail.com>
-
Julius Volz authored
* Document new status API endpoints These were added in https://github.com/prometheus/prometheus/pull/6243 for the React UI. Signed-off-by:
Julius Volz <julius.volz@gmail.com> * Update new-in notices Signed-off-by:
Julius Volz <julius.volz@gmail.com>
-
Boyko authored
* status page initial commit Signed-off-by:
Boyko Lalov <boyskila@gmail.com> Signed-off-by:
blalov <boyko.lalov@tick42.com> * refactor useFetch Signed-off-by:
Boyko Lalov <boyskila@gmail.com> Signed-off-by:
blalov <boyko.lalov@tick42.com> * refactoring Signed-off-by:
Boyko Lalov <boyskila@gmail.com> Signed-off-by:
blalov <boyko.lalov@tick42.com> * adding tests Signed-off-by:
Boyko Lalov <boyskila@gmail.com> Signed-off-by:
blalov <boyko.lalov@tick42.com> * snapshot testing Signed-off-by:
Boyko Lalov <boyskila@gmail.com> Signed-off-by:
blalov <boyko.lalov@tick42.com> * fix wrong go files formatting Signed-off-by:
Boyko Lalov <boyskila@gmail.com> Signed-off-by:
blalov <boyko.lalov@tick42.com> * change the snapshot library Signed-off-by:
Boyko Lalov <boyskila@gmail.com> Signed-off-by:
blalov <boyko.lalov@tick42.com> * update api paths Signed-off-by:
Boyko Lalov <boyskila@gmail.com> Signed-off-by:
blalov <boyko.lalov@tick42.com> * move test folder outside src Signed-off-by:
Boyko Lalov <boyskila@gmail.com> Signed-off-by:
blalov <boyko.lalov@tick42.com> * useFetches tests Signed-off-by:
blalov <boyko.lalov@tick42.com> * sticky navbar Signed-off-by:
Boyko Lalov <boyskila@gmail.com> Signed-off-by:
blalov <boyko.lalov@tick42.com> * handle runtimeInfo error on Gather() and add json tags to RuntimeInfo struct Signed-off-by:
blalov <boyko.lalov@tick42.com> * refactor alert managers section Signed-off-by:
blalov <boyko.lalov@tick42.com>
-
mattrussi authored
* Fixes prometheus/docs#1418 Signed-off-by:
Matt Russi <mattrussi@users.noreply.github.com>
-
Chris Marchbanks authored
* Implement the /flags page in react Signed-off-by:
Chris Marchbanks <csmarchbanks@gmail.com> * Use custom react hook for calling api Signed-off-by:
Chris Marchbanks <csmarchbanks@gmail.com>
-
- 30 Oct, 2019 3 commits
-
-
Björn Rabenstein authored
Fix the description template for PrometheusRemoteWriteDesiredShards
-
beorn7 authored
Signed-off-by:
beorn7 <beorn@grafana.com>
-
Tariq Ibrahim authored
Signed-off-by:
Tariq Ibrahim <tariq181290@gmail.com>
-
- 29 Oct, 2019 3 commits
-
-
Björn Rabenstein authored
Fix PrometheusRemoteWriteDesiredShards
-
Michał authored
* local storage selectedTab on targets tab was renamed Signed-off-by:
Michał Szczygieł <1153719+mszczygiel@users.noreply.github.com> * added filters when displaying alerts Signed-off-by:
Michał Szczygieł <1153719+mszczygiel@users.noreply.github.com> * function was simplified Signed-off-by:
Michał Szczygieł <1153719+mszczygiel@users.noreply.github.com> * fixed rebase Signed-off-by:
Michał Szczygieł <1153719+mszczygiel@users.noreply.github.com> * minor rename Signed-off-by:
Michał Szczygieł <1153719+mszczygiel@users.noreply.github.com> * Active -> Pending Signed-off-by:
Michał Szczygieł <1153719+mszczygiel@users.noreply.github.com>
-
Benoit Gagnon authored
* add test to custom-sd/adapter writeOutput() function Signed-off-by:
Benoit 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:
Benoit Gagnon <benoit.gagnon@ubisoft.com> * add missing dot to comment Signed-off-by:
Benoit Gagnon <benoit.gagnon@ubisoft.com>
-