Commit Graph

139 Commits (439e7bb7d66fac44f5c85d5937df057348101824)

Author SHA1 Message Date
Edward Welch 4b8eda64f5 PR feedback 6 years ago
Edward Welch db31d96425 Cleaning up metrics when files are deleted, adding tests to verify the metrics. 6 years ago
Edward Welch c681c76cc8 periodically clean up positions file, removing any files which no longer exist 6 years ago
Edward Welch 3f8963ce01 Updating hpcloud tail library to forked version modified for our purposes. 6 years ago
Sandeep Sukhani 1f1706f467 Move live log tailing behind websocket on server (#439) 6 years ago
Steven Sheehy 8c0b3d8099 Add a /ready endpoint to promtail 6 years ago
Xiang Dai b5e632f62c Remove useless func (#472) 6 years ago
Sandeep Sukhani bc571c54c9 Fix failing test `TestGlobWithMultipleFiles` in pkg/promtail/targets (#466) 6 years ago
Edward Welch 947428d77e Adding a check to make sure we don't set tailer offset past the end of the file. 6 years ago
Edward Welch c994823369 Change hpcloud tailer library to poll mode to workaround bugs in the event driven code within the library 6 years ago
Xiang Dai 2c2b42f885 Add comment about external_labels 6 years ago
Tom Wilkie d495c68ef9 Need to set the number of bytes read, not add them. 6 years ago
Tom Wilkie 9ab14c9e0a Add readLines.Inc() call back. 6 years ago
Tom Wilkie b2fafdf360 Export position in file, not bytes read. 6 years ago
Ed ca1a5be975 Adding metric and alert to notify promtail falling behind (#412) 6 years ago
Goutham Veeramachaneni b8d81ababa
Add tracing to Loki (#328) 6 years ago
Goutham Veeramachaneni ddddd14726
Update cortex vendoring (#325) 6 years ago
Edward Welch 972531d3e5 fixed one bug which was probably unrelated to the test failure and broke out the test to avoid some non-deterministic behaviors in querying the ingester 6 years ago
Steven Sheehy 600b6c1aa9 Allow blank log lines for CRI 6 years ago
Ed 46334ed5da adding a few more test cases for entry parsing docker format (#369) 6 years ago
Ed 19260d4425
Adding a configurable timeout for calls to the loki server. (#368) 6 years ago
Steven Sheehy fa917b61b2 Address code review items 6 years ago
Steven Sheehy 9d0a8c1370 Add stream label to CRI 6 years ago
Steven Sheehy f13b232de7 Rename to CRI as CRI-O also implements standard 6 years ago
Steven Sheehy 3d664474ec Add containerd log format support 6 years ago
Baokun Lee e6192a6908 Fix start tailing panic 6 years ago
Xiang Dai 351b4c69ac delete all duplicate empty blanks (#344) 6 years ago
Tom Wilkie b115835487
Test & fix queries return multiple streams. (#341) 6 years ago
Ed 0fdbf24b79
adding third party lib for Glob pattern matching which supports /**/ style subdirectory matching (#331) 6 years ago
Ed f6d0857ddf Adding a sync() function to filetarget (#293) 6 years ago
Justin Thomas e1bc7ea6bb typo in EntryParser comment 6 years ago
Tom Wilkie 40ae03b48a
Include the stream's labels in OOO error responses. (#304) 6 years ago
Anthony Woods 61fc02a002 set currLabels when currEntry is set. (#308) 6 years ago
Tom Wilkie e1c5c4be4a Basic distributor & ingester tests. 6 years ago
Tom Wilkie 7527487f31 Track the right number of streams, and cancel the push when the request is cancelled. 6 years ago
Tom Wilkie 961dd3513f Typo. 6 years ago
Tom Wilkie db26fd3691 Update comment. 6 years ago
Tom Wilkie 44814cc274 Compare lines directly. 6 years ago
Tom Wilkie 42df286b7e Factor out mostCommon function, test it, fix it. 6 years ago
Tom Wilkie db36b3c74e Update heap iterator to allow for entries with duplicate timestamps. 6 years ago
Tom Wilkie 26f3b52096 Relax restriction on timestamp reuse in chunks, add test. 6 years ago
woodsaj 93fbd40e2f fix promtail_request_duration metric 6 years ago
Tom Wilkie 2365004683 Explicty encode the chunk. 6 years ago
Tom Wilkie 10d49e798b Remove stream from index when its remove from memory. 6 years ago
woodsaj 4582c4303b more nits 6 years ago
woodsaj ceb9205ad2 address review feedback 6 years ago
woodsaj 329ed9a123 start and stop modules in correct order 6 years ago
Tom Wilkie f6acb87d1f Correctly propagate errors in the distributor; should now return 4xx on OOO entries. 6 years ago
Tom Wilkie 68e1a049a0 lint 6 years ago
Tom Wilkie 9d7691a52e Move stuff from file -> targets to prevent the stutter; move tests about; update broken rebase. 6 years ago