Commit Graph

418 Commits (c58e20ad0eb4d2fbce202ae537b2bc81509ec420)

Author SHA1 Message Date
Tom Wilkie d479151f1f Various enhancements and refactorings for remote write receiver:
4 years ago
fuling 72475b8a0c [ENHANCEMENT] remote storage:Add default api implementation of remote write
4 years ago
Julien Pivotto 06e53b7ecf
API: Fix global URL when external address has no port (#8359)
4 years ago
Nguyen Le Vu Long cd1dafc2fd
tsdb: Expose total number of label pairs in head in TSDB stats page (#8343)
4 years ago
Bartlomiej Plotka 70c69aaa6c
Small cleanup of API code. (#8258)
4 years ago
Ben Ye caa173d2aa
Support matchers for Labels API (#8301)
4 years ago
Julien Pivotto 8dc53c2218
Api: Verify that at every matcher in api/v1/series is not empty (#8288)
4 years ago
gotjosh 4eca4dffb8
Allow metric metadata to be propagated via Remote Write. (#6815)
4 years ago
Marco Pracucci db19e05d93
Add option to customise head chunks write buffer size (#8201)
4 years ago
Julien Pivotto 7558e9d3c3
API: Make snapshot length always the same size (#8138)
4 years ago
Julien Pivotto 6c56a1faaa
Testify: move to require (#8122)
4 years ago
Julien Pivotto 4e5b1722b3
Move away from testutil, refactor imports (#8087)
4 years ago
Goutham Veeramachaneni 1cc02930b6
Implement series API query hint to not hit chunks (#8050)
4 years ago
Dustin Hooten 916dbd4c8a
React UI: Implement missing TSDB head stats section (#7876)
4 years ago
Julien Pivotto e208afcc95
web: Remove APIv2 (#7935)
4 years ago
Julien Pivotto a6ee1f8517
Merge pull request #7913 from prometheus/release-2.21
4 years ago
showuon dfdc358a5b
Fix the duplicated results issue from /api/v1/series (#7862)
4 years ago
johncming a14245b4b1
web/api/v1: rename http status code. (#7864)
4 years ago
johncming 2f2a51a43a
web/api/v1: make names consistent. (#7841)
4 years ago
Li Zhijian 6f6ef1451e
Cleanup tempfiles (#7696)
4 years ago
Bartlomiej Plotka e6d7cc5fa4
tsdb: Added ChunkQueryable implementations to db; unified MergeSeriesSets and vertical to single struct. (#7069)
4 years ago
Bartlomiej Plotka b788986717
storage: Adjusted fully storage layer support for chunk iterators: Remote read client, readyStorage, fanout. (#7059)
4 years ago
Marco Pracucci 153f859b74
Fixed returned API status code on error (#7435)
4 years ago
Kemal Akkoyun 66dfb951c4
*: Consistent Error/Warning handling for SeriesSet iterator: Allowing Async Select (#7251)
5 years ago
Jess G fdc49fae5b
Added time range parameters to labelNames API (#7288)
5 years ago
Ganesh Vernekar 1c99adb9fd
Callbacks for lifecycle of series in TSDB (#7159)
5 years ago
gotjosh bfcd9282a8
API: Allow AlertmanagerRetriever and RulesRetriever to receive a Context (#7256)
5 years ago
Ganesh Vernekar d4b9fe801f
M-map full chunks of Head from disk (#6679)
5 years ago
Ben Ye 1e4e37144d
Fixed wrongly handled not ready TSDB on web and API. (#7182)
5 years ago
Julien Pivotto fc3fb3265a
Merge pull request #7145 from prometheus/release-2.17
5 years ago
Julien Pivotto 9072cf7203
Merge pull request #7137 from roidelapluie/cherrypicks
5 years ago
beorn7 69ac27e1b4 Make `series` method return a finalizer, too
5 years ago
Julien Pivotto a2fcdeb1ef Defer finalizer (#7129)
5 years ago
beorn7 f9f423ec0a Ensure queries are closed in API calls
5 years ago
Julien Pivotto 209d4bb8a1
Defer finalizer (#7129)
5 years ago
gotjosh 24af5049bb
API: Allow `TargetRetriever` to receive a Context (#7125)
5 years ago
Marek Slabicki 8224ddec23
Capitalizing first letter of all log lines (#7043)
5 years ago
Brian Brazil 7646cbca32
Use .UTC everywhere we use time.Unix (#7066)
5 years ago
Bartlomiej Plotka d5c33877f9
storage: Added Chunks{Queryable/Querier/SeriesSet/Series/Iteratable. Added generic Merge{SeriesSet/Querier} implementation. (#7005)
5 years ago
Ben Kochie 269e7c8091
Fix golint issues.
5 years ago
Bartlomiej Plotka c4eefd1b3a storage: Removed SelectSorted method; Simplified interface; Added requirement for remote read to sort response.
5 years ago
Bartlomiej Plotka fe802f29c9 storage: Removed SelectSorted method; Simplified interface; Added requirement for remote read to sort response.
5 years ago
Boyko 84b00564f4
API_V1: Extract time param parsing logic (#6860)
5 years ago
Bartlomiej Plotka c4e74e241f
Merge pull request #6744 from slrtbtfs/split_parser
5 years ago
Tobias Guggenmos 4835bbf376
Merge branch 'master' into split_parser
5 years ago
Peter Štibraný 318cd413fc Don't return error in ContextFromRequest function.
5 years ago
Bartlomiej Plotka cfba92a133 Addressed comments.
5 years ago
Bartlomiej Plotka fb79f515fc Fixed second bug.
5 years ago
Harkishen Singh 489a9aa7b9
Adds normalization of localhost urls in targets page react (#6794)
5 years ago
Tobias Guggenmos 6c00f2ffcb Comment fixes
5 years ago
Tobias Guggenmos 20b1f596f6 Fix build errors in rest of prometheus
5 years ago
Julien Pivotto 135cc30063
rules: Make deleted rule series as stale after a reload (#6745)
5 years ago
Julien Pivotto 0e912faf4f
rules: Cleanup unused function alert.Duration (#6734)
5 years ago
Thor 17d8c49919
made stripe size configurable (#6644)
5 years ago
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 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
Julien Pivotto e7f7b6a06f Query Log: Add source IP from console queries (#6593)
5 years ago
Julien Pivotto 9d9bc524e5 Add query log (#6520)
5 years ago
Brian Brazil 767fa704b6 Load only some offsets into the symbol table into memory.
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
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
Tom Wilkie de0a772b8e Port tsdb to use pkg/labels. (#6326)
5 years ago
Tobias Guggenmos be2bcc50a2 Fix target metadata API for empty match_targets (#6303)
5 years ago
Sharad Gaur a85e7aac0e Adding TSDB Stats Page in React UI (#6281)
5 years ago
Dustin Hooten ca60bf298c React UI: Implement /targets page (#6276)
5 years ago
Boyko cb7cbad5f9 WIP: status page - API and UI (#6243)
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
Yao Zengzeng 21c9789083 multiple queries test for StreamRead (#5969)
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
@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
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
Simon Pasquier 45506841e6
*: enable all default linters (#5504)
6 years ago
Bjoern Rabenstein 38d518c0fe Rework #5009 after comments
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
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
Tom Wilkie c7b3535997 Use pkg/relabelling in remote write.
6 years ago
Palash Nigam 09208b1a58 queryRange: Add more descriptive error messages (#5229)
6 years ago
Callum Styan 6f69e31398 Tail the TSDB WAL for remote_write
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
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
Ben Kochie c6399296dc
Fix spelling/typos (#4921)
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
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
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 a308a186e4 web/api/v1: fix targets endpoint
6 years ago
Brian Brazil 9c03e11c2c Hook OpenMetrics parser into scraping.
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
Tariq Ibrahim d371697841 Adding new metric type to track in-flight queries via the remote read API endpoint. (#4699)
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 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
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
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
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
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 057a5ae2b1 Address comments
7 years ago
Fabian Reinartz ad4c33c1ff scrape,api: provide per-target metric metadata
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
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
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
Simon Pasquier 83325c8d82 web: replace deprecated InstrumentHandler() (#3862)
7 years ago
Fabian Reinartz 3e6c890aea api: add flag to skip head on snapshots
7 years ago