Commit Graph

1109 Commits (05dba96ebfff955a2cce32e47240e405116d780b)

Author SHA1 Message Date
gotjosh 8b49c9285d
scrape: Add metrics to track bytes and entries in the metadata cache (#6675)
5 years ago
Julien Pivotto 9adad8ad30 Remove MaxConcurrent from the PromQL engine opts (#6712)
5 years ago
Brian Brazil 540dc7dfb0
Merge pull request #6651 from prometheus/sort-block
5 years ago
Boyko 41071278b6 Change old UI link to React App to point to graph page (#6697)
5 years ago
Brian Brazil 38d32e0686 Don't sort postings if we only have one block.
5 years ago
Harkishen Singh c1e49d50c5 Adds support for rules screen in react-ui (#6503)
5 years ago
Julius Volz d996ba20ec
React UI: Support local timezone on /graph (#6692)
5 years ago
Julius Volz a677622184
React UI: Send cookies on fetch() on older browsers (#6553)
5 years ago
Julien Pivotto 29086533fd web: use chained WithInstrumentation (#6661)
5 years ago
Boyko 0f84d5b2cf React UI: broken graph page browser history (#6659)
5 years ago
Boyko c8469ecaf5 React UI: hide non selected alert types (#6642)
5 years ago
Tobias Guggenmos 3a204be6b7 PromQL: Fix string and parentheses handling in engine (#6612)
5 years ago
Boyko bab47b58f5 ReactUI: folder re-organization (#6601)
5 years ago
Boyko e12e5ecc8f ReactUI: adopt grafana flot fix for stacked graphs (#6603)
5 years ago
Julien Pivotto e7f7b6a06f Query Log: Add source IP from console queries (#6593)
5 years ago
Daniel Swarbrick 097fda1440 Match closing tag to opening button tag (#6587)
5 years ago
Julien Pivotto 9d9bc524e5 Add query log (#6520)
5 years ago
Tobias Guggenmos 3d6cf1c289 PromQL: Make parser completely generated (#6548)
5 years ago
Boyko 1637ad2717 ReactUI: replace togglers tabs with checkboxes (#6543)
5 years ago
Josh Soref 91d76c8023 Spelling (#6517)
5 years ago
Harkishen Singh edf8f135bc Adds support service discovery page in react ui (#6394)
5 years ago
Brian Brazil 767fa704b6 Load only some offsets into the symbol table into memory.
5 years ago
Boyko b90b5736b9 Allow sec timestamp (#6460)
5 years ago
Dustin Hooten fce2e131db React UI: Fix issue when changing query then time, the old query executed (#6437)
5 years ago
gotjosh e1f2da74a3 api: provide metadata for a single metric
5 years ago
gotjosh 4a13c844b7 Add periods to comments on tests.
5 years ago
gotjosh 0a0a228db3 api: provide per metric metadata (#6420)
5 years ago
Boyko 1c66aea992 React UI: Implement alerts page (#6402)
5 years ago
gotjosh 7bb73a9abd fix: flaky test for api/v1/targets/metadata. (#6436)
5 years ago
Tobias Guggenmos 35c1f31721 PromQL: Use more standart format for error positions (#6433)
5 years ago
gotjosh 428089f83f api: tests for /target/metadata API endpoint
5 years ago
gotjosh 4bf9c6bb82 Allow targets to be injected as arguments when creating a testTargetRetriever
5 years ago
Boyko 315b28439f Graph multi series select (#6391)
5 years ago
Boyko 28470c229c React UI: Graph refactoring (#6382)
5 years ago
Boyko fa1489e35c React UI: Improve graph legend hover performance (#6367)
5 years ago
Boyko 731ca08acd React UI: Graph legend (#6321)
5 years ago
Julius Volz cb92a45bf3
React UI: Make test spy attachment more jest-y (#6361)
5 years ago
Julius Volz 22d884b38e
React UI: Fix tests harder (#6316)
5 years ago
Julius Volz 20ec57160c
React UI: Clarify VSCode usage requirements (#6357)
5 years ago
Julius Volz d2cb05846b
React UI: Add /tsdb-status to React-handled routes (#6313)
5 years ago
Boyko 3e3b7ceb0b React UI: Change the dynamic react key with static id (#6325)
5 years ago
Tom Wilkie de0a772b8e Port tsdb to use pkg/labels. (#6326)
5 years ago
Julius Volz 85cae37107
React UI: Add better docs for the React UI (#6315)
5 years ago
Julius Volz 2a6df53416
React UI: Make link to classic UI work (#6320)
5 years ago
Julius Volz 8ee3b8c848
React UI: Fix "<path-prefix>/new" -> "<path-prefix>/new/" redirect (#6319)
5 years ago
Tobias Guggenmos be2bcc50a2 Fix target metadata API for empty match_targets (#6303)
5 years ago
Boyko 12d347e4db unit test fixes (#6314)
5 years ago
Julius Volz e110402d44
React UI: Fix build (#6312)
5 years ago
Boyko 8a9509b0a8 Replace fetching hooks with class render prop component (#6267)
5 years ago
Sharad Gaur a85e7aac0e Adding TSDB Stats Page in React UI (#6281)
5 years ago
Boyko fc309a35bb update panels on back button pressed (#6300)
5 years ago
Dustin Hooten ca60bf298c React UI: Implement /targets page (#6276)
5 years ago
Julien Pivotto d2257cb7d8 React UI: Display small numbers correctly (#6274)
5 years ago
David Leadbeater 129dbdaf74 Ensure warnings are escaped (#6279)
5 years ago
Julius Volz 431844f0a7
React UI: Mark not-yet-done pages as under construction (#6277)
5 years ago
Julius Volz 3836cc1997 React UI: Fix left/right icons in the time picker (#6275)
5 years ago
Sharad Gaur e94503ff5c Head Cardinality Status Page (#6125)
5 years ago
Boyko 7293c859ab pass the value to the input instead to downshift (#6235)
5 years ago
Julius Volz 95554074d8
React UI: Support custom path prefixes (#6264)
5 years ago
Julius Volz 5bc935337a
React UI: Simpler and relative-only query URL building (#6263)
5 years ago
Julius Volz 8c0b76d1da
React UI: Improve styling of autocomplete sections (#6228)
5 years ago
Julius Volz fffb5ca1e9
React UI: More conversions to Function Components (#6259)
5 years ago
Boyko cb7cbad5f9 WIP: status page - API and UI (#6243)
5 years ago
Chris Marchbanks f17a0e17aa Implement the /flags page in react (#6248)
5 years ago
Michał 040425b0eb filtering alerts by state and display count of alerts in each state (#5758)
5 years ago
Dustin Hooten e0443e6fa3 Add unit tests for react-app (#6234)
5 years ago
CSTDev 3b39f6ae45 WIP: React UI Linting rules (#6206)
5 years ago
Julius Volz e8027ba515
React UI: Serve React UI under /new (#6229)
5 years ago
Ben Kochie 3f3986ed53 Adjust React query stats font (#6238)
5 years ago
Julius Volz c83094b443
React UI: Implement /config page (#6236)
5 years ago
Boyko 8afa8452fd reach router integration initial commit (#6232)
5 years ago
Julius Volz db76da7603
React UI: Fix initial setting of past queries (#6226)
5 years ago
Julius Volz 9698262b63
React UI: Simplify query history setting code (#6225)
5 years ago
Boyko dab87ca281 split autocomplete dropdown in to groups (#6211)
5 years ago
Julius Volz 8cf054849f
Update more web/ui/README.md bits for new UI (#6197)
5 years ago
Boyko e235af9c47 migrate query history (#6193)
5 years ago
CSTDev 4262ad92ce React ui add query stats (#6190)
5 years ago
Julius Volz 1c238ac086
Add links between classic and new UIs (#6191)
5 years ago
Boyko b5a16a8f86 make expression input controlled (#6174)
5 years ago
Ritesh Shrivastav 0f91ff4540 React UI: Sanitize HTML string to allow only supported elements (#6165)
5 years ago
Julius Volz ccac71ca5a
Update all React app node modules (#6153)
5 years ago
Julius Volz 63899f5529
Remove obsolete console.log() statements (#6159)
5 years ago
Julius Volz bca6e90ea6
Integrate beginning of React UI (#5694)
5 years ago
Krasi Georgiev 81d284f806
Merge the 2.13 release branch to master (#6117)
5 years ago
Giedrius Statkevičius ad58fc4765 ui: handle null response properly (#6071)
5 years ago
Sven Nebel 27bbc235e0 Improve message when Lifecycle API is not enabled
5 years ago
Sven Nebel d186d85649 Return 403 with PUT verb if lifecycle is not enabled
5 years ago
Yao Zengzeng 8744afdd1e cleanup redundant code of `TestEndpoints` (#6022)
5 years ago
Goutham Veeramachaneni 4c648eddf4
vendor: Update json-iterator (#6030)
5 years ago
Simon Pasquier 26e8d25e0b
web/ui: avoid truncated Y-axis values (#6014)
5 years ago
Harkishen-Singh 74a9422147 move "remove graph" close to query area
5 years ago
Max cb5213e914 Change the global variable 'name' to a local variable so that it can not populate the global space. (#5970)
5 years ago
Yao Zengzeng 21c9789083 multiple queries test for StreamRead (#5969)
5 years ago
Stanislav Putrya 6141a8bd7c Show warnings in UI if query have returned some warnings (#5964)
5 years ago
Harkishen Singh f0bb8129c3 Fixes service-discovery view when accessed from unhealthy targets (#5915)
5 years ago
Bartek Płotka 48b2c9c8ea
remote-read: streamed chunked server side; Extended protobuf; Added chunked, checksumed reader (#5703)
5 years ago
Ganesh Vernekar 5ecef3542d
Cleanup after merging tsdb into prometheus
5 years ago
Chris Marchbanks 0685eb5395
Refactor testutil.NewStorage into a new package
5 years ago
slava 5e974d3170 Fix context for the showWarning function (#5833)
5 years ago
@aifsair 0f00737308 Fix log config setup (#5807)
5 years ago
Tariq Ibrahim 9fe9e66cfd
remove the dependency on cockroachdb in prometheus
5 years ago
Thomas Jackson fef150f1b5 Add tests to ensure we can marshal and unmarshal our min/max times (#5734)
5 years ago
Sylvain Rabot 7cd5cf0b69 Sanitize HTML output (#5665)
6 years ago
Simon Pasquier be67b8d460
web: fix flaky TestHTTPMetrics() (#5695)
6 years ago
Simon Pasquier d7f38dfdde
web: add 'code' label to HTTP metrics (#5640)
6 years ago
Thomas Jackson 91d7175eaa Add storage.Warnings to LabelValues and LabelNames (#5673)
6 years ago
Alex Salt d6a4daa26a web api: handle alert with Infinity/NaN values (#5582)
6 years ago
Tariq Ibrahim c4b57ac4e2
fix minor issue in the <a> tag of rules.html
6 years ago
pbhudiaBAE 43953b105b Sorting alerts by group name in /alerts (#5448)
6 years ago
mrasu 3a7a743bc4 Consistent Content-Type for js and css (#5551)
6 years ago
Simon Pasquier 45506841e6
*: enable all default linters (#5504)
6 years ago
Simon Pasquier 03b90b4645
web/ui: update to Bootstrap 4.3.1 (#5506)
6 years ago
Bjoern Rabenstein 38d518c0fe Rework #5009 after comments
6 years ago
Bjoern Rabenstein a92ef68dd8 Fix staticcheck errors
6 years ago
Sylvain Rabot 335a34486e Add external labels to template expansion
6 years ago
Simon Pasquier 81c4248081
*: bump gRPC and protobuf dependencies (#5367)
6 years ago
Bob Shannon 8c8bb82d04 Add support for POSTing to /series endpoint (#5422)
6 years ago
Ganesh Vernekar 0afd172224
Merge pull request #5416 from prometheus/release-2.8
6 years ago
Simon Pasquier 7328cb6cc2 web/ui: display the job label in /targets
6 years ago
Tariq Ibrahim 8fdfa8abea refine error handling in prometheus (#5388)
6 years ago
Bharath 91306bdf24 Support non POST methods for Lifecycle and Admin APIs (#5376)
6 years ago
Matthias Loibl b7e978d255 web/ui: Fix padding in navbar container (#5371)
6 years ago
Tom Wilkie c7b3535997 Use pkg/relabelling in remote write.
6 years ago
Julien Pivotto 6c72cdb1e1 Add GODEBUG to the runtime page (#5324)
6 years ago
Tariq Ibrahim d6f0e14ac6 fix redundant err!=nil check in web.go (#5346)
6 years ago
Krasi Georgiev 9d96ada510 Display correct values for the retention in the flags web gui. (#5322)
6 years ago
Julien Pivotto 6152df44c2 ui: Expand expression_select to 220px
6 years ago
Ganesh Vernekar 46e0587cb3
Merge pull request #5318 from roidelapluie/sdtag
6 years ago
Julien Pivotto 5a162dc1ab
ui: remove extra table tag in service discovery
6 years ago
Julien Pivotto 981f9208fb
ui: Remove time picker borders
6 years ago
David 38fea83c1f Debounce input key press handling (#5309)
6 years ago
Julius Volz 795c989d36 Merge branch 'master' into bootstrap4
6 years ago
Palash Nigam 09208b1a58 queryRange: Add more descriptive error messages (#5229)
6 years ago
Julius Volz fdbaef86df Re-add typeahead license header to minified file
6 years ago
Julius Volz 661f0127bc Rebuild web assets
6 years ago
Julius Volz ed635190ba Re-add popper.js to fix target label tooltips
6 years ago
Julius Volz 7b724cea3a Whitespace and other cleanups
6 years ago
Julius Volz 7244ef3783 Add more top/bottom spacing for All/Unhealthy buttons
6 years ago
Julius Volz 028e99e3d6 Remove spacing between All/Unhealthy buttons
6 years ago
Julius Volz 45b91e8e80 Fix copy&paste button on /config, move pre style to CSS
6 years ago
Julius Volz cd569b51d9 Merge branch 'master' into bootstrap4
6 years ago
Callum Styan 6f69e31398 Tail the TSDB WAL for remote_write
6 years ago
Maria Nemtinova 8e3a39f725 Web UI QoL improvements (#5201)
6 years ago
Minh-Long Do b26b5c9e96 Add rendering test of template based web endpoints (#5188)
6 years ago
jritchieBAE b8f0a41745 Update to Bootstrap 4.1.3 (#5192)
6 years ago
zhulongcheng fd964426a7 web: predeclare and reuse errors (#5180)
6 years ago
zhulongcheng a75f8a8e05 update error message in extractTimeRange (#5179)
6 years ago
Simon Pasquier a60431f3cd Merge v2.7.1 into master (#5170)
6 years ago
Vishnunarayan K I 108b9b0e5f Limit number of merics in prometheus UI (#5139)
6 years ago
Hrishikesh Barman a1f34bec2e Added CORS Origin flag (#5011)
6 years ago
Matt Layher 302148fd69 *: apply gofmt -s
6 years ago
Callum Styan 5358f76c5c update remote write path proto so that Labels/Timeseries can't be nil (#4957)
6 years ago
Simon Pasquier 375ad1185c
*: bump gRPC dependencies (#5075)
6 years ago
Simon Pasquier f678e27eb6
*: use latest release of staticcheck (#5057)
6 years ago
Tom Wilkie 6e08029b56
Move err to be the last return value from storage.Select. (#5054)
6 years ago
SenXuDC 8fd0c0ab2e fix typo imeplements -> implements (#4979)
6 years ago
Julius Volz 11a52be1d8
Better rounding for incoming query timestamps (#4941)
6 years ago
mknapphrt f0e9196dca Return warnings on a remote read fail (#4832)
6 years ago
Simon Pasquier 77ee41084f
web: group targets by job then instance (#4898)
6 years ago
Simon Pasquier 632626b553
web: deduplicate handler label for HTTP metrics (#4752)
6 years ago
Ben Kochie c6399296dc
Fix spelling/typos (#4921)
6 years ago
Simon Pasquier 0bb810d126
discovery/marathon: fix leaked connections (#4915)
6 years ago
Stafford Williams 328d81999a /config: Added `Copy to clipboard` button for /config (#4410)
6 years ago
Frederic Branczyk f9c93b3686
Merge pull request #4905 from simonpasquier/cherrypick-4840
6 years ago
David Coles 1591ebf985 ui: Fix hover when metric has null value. (#4906)
6 years ago
Fabian Reinartz a9803e9ecb Correctly skip mismatching targets
6 years ago
Alex Yu 5dcce32ef8 update promlog to latest version (#4876)
6 years ago
achiuBAE a9050c45f6 Allow setting the Prometheus instance document title through a flag. (#4841)
6 years ago
Simon Pasquier 87abb279e4
web: log stack traces on panic (#4221)
6 years ago
Ganesh Vernekar ca93fd544b /api/v1/labels endpoint for getting all label names (#4835)
6 years ago
Simon Pasquier 6fa8de132b
web/v1/api: add tests for admin actions (#4767)
6 years ago
Frederic Branczyk 5464c64853
Merge pull request #4802 from simonpasquier/go-modules
6 years ago
Goutham Veeramachaneni 7acedbce64
web(api): Make query and range api errors match
6 years ago
Simon Pasquier 181f07ef26
web: avoid proxy to connect to the local gRPC server (#4572)
6 years ago
Simon Pasquier d89c01b065 web/ui: fix asset generation for Go modules installs
6 years ago
Simon Pasquier bf9a1d3d15 *: fix assets generation
6 years ago
Simon Pasquier 0a319b001a Update documentation
6 years ago
Simon Pasquier 5230e2730a
*: check that assets are up-to-date (#4731)
6 years ago
Simon Pasquier 147f2061d5 web: display job label in targets page
6 years ago
Frederic Branczyk ad5139fcba
Merge pull request #4783 from simonpasquier/fix-targets-api
6 years ago
Wei Guo 742583e836 Support to query elements by a specific time (#4764)
6 years ago
Simon Pasquier a308a186e4 web/api/v1: fix targets endpoint
6 years ago
Brian Brazil 9c03e11c2c Hook OpenMetrics parser into scraping.
6 years ago
Ariya Hidayat a0ba9b7f3e Avoid browser's spell-checking the Expression field (#4728)
6 years ago
Simon Pasquier c4a6acfb1e
*: move to go 1.11 (#4626)
6 years ago
Goutham Veeramachaneni ffb7f829ec
Merge pull request #4730 from prometheus/release-2.4
6 years ago
Will Hegedus 193ebe7e34 Updates to /targets and /rules (scrape duration, last evaluation time) (#4722)
6 years ago
Tariq Ibrahim d371697841 Adding new metric type to track in-flight queries via the remote read API endpoint. (#4699)
6 years ago
Benji Visser eb4cc37e50 Update moment.js and moment-timezone.js (#4679)
6 years ago
Julien Pivotto 17fea5478a Improve rule views by wrapping lines (#4702)
6 years ago
Callum Styan 9bca041285 WIP: keep track of samples per query, set a max # of samples (#4513)
6 years ago
Simon Pasquier 3c00eeaf16 web/api/v1: fix optional skip_head for snapshot (#4674)
6 years ago
Krasi Georgiev 47a673c3a0
process scrape loops reloading in parallel (#4526)
6 years ago
Tom Wilkie 4c52400708
Limit concurrent remote reads. (#4656)
6 years ago
Tom Wilkie d3a1ff1abf
Reduce memory usage of remote read by reducing pointer usage. (#4655)
6 years ago
Goutham Veeramachaneni 1a5a3d3be6
Merge pull request #4645 from prometheus/release-2.4
6 years ago
Simon Pasquier 2d7f562ed6 web: fix asset paths for Windows platforms (#4616)
6 years ago
Goutham Veeramachaneni 9ee4b05d16
Better link for docs (#4593)
6 years ago
Goutham Veeramachaneni 3e87c04b83
Logger is nil for API. Fixes #4577 (#4583)
6 years ago
Tom Wilkie 457e4bb58e
Limit the number of samples remote read can return. (#4532)
6 years ago
Simon Pasquier 75bd348135 web: clean up api/v2 (#4554)
6 years ago
Thomas Jackson f0a1ebc19d Add SelectParams to Select for federation (#4546)
6 years ago
Simon Pasquier 3581377e5d Replace go-bindata with vfsgen (#4430)
6 years ago
Max Inden ecf676cf97 web/api: Expose rule health and last error (#4501)
6 years ago
Julius Volz 8fbe1b5133
Handle a bunch of unchecked errors (#4461)
6 years ago
Benji Visser 8bb6e0dd6e Show rule evaluation errors on rules page (#4457)
6 years ago
Julius Volz 159e1537d2
Remove /heap endpoint (#4460)
6 years ago
Ganesh Vernekar f1db699dff Persist alert 'for' state across restarts (#4061)
6 years ago
Max Leonard Inden 71fafad099
api/v1: Coninue work exposing rules and alerts
6 years ago
mg03 31f8ca0dfb
api v1 alerts/rules json endpoint
6 years ago
Julius Volz 8763dedb9d
Update method name in rules template, fix rendering (#4416)
6 years ago
Tom Wilkie b1f600343f
Merge pull request #4359 from prometheus/report-errors
6 years ago
Tom Wilkie 02534510ca Review feedback.
6 years ago
Tom Wilkie 901e6d1f82 Review feedback.
6 years ago
Stafford Williams 286a8e0554 go-bindata debug clarification (#4411)
6 years ago
Adam Shannon 566c80b47c web: add named anchors for each rule group (#4130)
6 years ago
Alin Sinpalean e3b775b78b Simplify BufferedSeriesIterator usage (#4294)
6 years ago
Martin Lee d0f11a3cc6 Forbid rule-abiding robots from indexing. (#4266)
6 years ago
Thomas Jackson 92c6f0c92e Add offset to selectParams (#4226)
6 years ago
Tom Wilkie f83155b11e Review feedback.
6 years ago
Tom Wilkie ccb2ee607b Log errors encountered when marshalling and writing responses.
6 years ago
Tom Wilkie fcc3f43acd spelling.
7 years ago
Tom Wilkie ae29512444 Extend API tests to cover remote read API.
7 years ago
Fabian Reinartz e7cfc7dae5 web: restore old path prefix behavior
7 years ago
Fabian Reinartz 7a74689973
Merge pull request #4258 from prometheus/rmsecheaders
7 years ago
Fabian Reinartz 8a4bda8d57 web: remove security headers
7 years ago
Fabian Reinartz 057a5ae2b1 Address comments
7 years ago
Fabian Reinartz ad4c33c1ff scrape,api: provide per-target metric metadata
7 years ago
Fabian Reinartz 9c83e815d1 Merge branch 'release-2.2' into update
7 years ago
Simon Pasquier 097439b0f9 web: limit the number of dropped targets (#4212)
7 years ago
Brian Brazil dd6781add2 Optimise PromQL (#3966)
7 years ago
Henri DF 2952387ed1 Pass query hints down into remote read query proto (#4122)
7 years ago
Ivan Voronchihin b3441cb0e7 Fix graph page for IE11 (#4148)
7 years ago
Eric V c207920500 Added HTTP security headers to web.go (#3583)
7 years ago
Karsten Weiss d79d573f71 Fix spelling mistakes found by codespell (#4065)
7 years ago
beorn7 94ff07b81d Merge branch 'release-2.2'
7 years ago
Krasi Georgiev ddd46de6f4 Races/3994 (#4005)
7 years ago
Mario Trangoni 464e747f1e fix some comments typos (#4059)
7 years ago
Ganesh Vernekar b44ce11d1b Added test to check pathPrefix
7 years ago
Ganesh Vernekar cd2820e165 Fix pathPrefix bug from PR-4025
7 years ago
Ganesh Vernekar f30b37e00b Fixed pathPrefix for web pages
7 years ago
Krasi Georgiev 5fec98d0a7 simplify server error handling (#4006)
7 years ago
Marek Siarkowicz bb86c3f62b Report internal runtime information on status page (#3921)
7 years ago
Brian Brazil cc39021b2b Provide custom marshalling for Point
7 years ago
Brian Brazil 299b78a887 Switch to json-iterator for v1 api.
7 years ago
Brian Brazil 8ede14b24c Add unittests for Point json output
7 years ago
Brian Brazil ecd0a9c6ba web: Add benchmark for respond()
7 years ago
Anton Tereshchenkov 4cb8f6c260 web: remove unused MetricsPath option (#3964)
7 years ago
Simon Pasquier 83325c8d82 web: replace deprecated InstrumentHandler() (#3862)
7 years ago
James Turnbull 4486ef013b Make show annotations checkbox match query history checkbox (#3936)
7 years ago