Skip to content
Snippets Groups Projects
  1. May 03, 2019
  2. May 02, 2019
  3. Apr 26, 2019
  4. Apr 12, 2019
    • Sandeep Sukhani's avatar
      Move live log tailing behind websocket on server (#439) · 1f1706f4
      Sandeep Sukhani authored
      * Move live log tailing behind websocket on server
      
      Live log tailing now requires client to just open a websocket and keep listening to it for getting live logs for matching query
      
      * Fixed linting errors
      
      * Unexported tailQuery querier method
      
      * Added a delay in querying of logs to not miss delayed entries
      
      * Renamed variable for better readability
      
      * Some code refactoring suggested in PR review
      
      * Fixed linter errors
      
      * Code refactoring requested in PR review
      
      * Disabling linting for writeHTTPErrorResponse since same value for an input is being passed from all function calls for now
      
      * Removed a function which already existed
      
      * Improved printing of log entries using cli and some other code refactoring
      
      * Checking no-labels flag before printing log stream while tailing
      1f1706f4
  5. Apr 09, 2019
  6. Apr 02, 2019
  7. Mar 28, 2019
  8. Mar 15, 2019
  9. Mar 06, 2019
  10. Feb 22, 2019
  11. Feb 13, 2019
    • Ed's avatar
      Adding a sync() function to filetarget (#293) · f6d0857d
      Ed authored
      * Adding a sync() function to filetarget which runs on a timer to catch any events missed by fsnotify
      
      * moving where we mark the final position to avoid a race condition exposed in testing, we want to stop the tailer before shutting down our tailer loop
      
      * Fix changes from PR and refactor to remove circular imports and make config consistent
      
      * Adding an "integration" type unit test which tests promtail as a whole
      
      * fixing a bunch of imports I munged
      moved tailer to its own file
      refactoring filetarget to make synclogic easier to follow and reused as much as possible
      f6d0857d
  12. Feb 07, 2019
  13. Feb 04, 2019
  14. Feb 01, 2019
  15. Jan 31, 2019
  16. Jan 17, 2019
    • Anthony Woods's avatar
      allow promtail path to be a glob match (#206) · fed39435
      Anthony Woods authored
      * allow promtail target path to be a glob match
      
      Promtail now expects __path__ to be a glob. All files that match
      the glob expression will be tailed.  If new files are created that
      match the glob, they will immediately be tailed.
      
      * remove entry from positions file when file is deleted
      
      * fix syncing the current positions to positions file
      
      * handle file renames
      
      When a file is renamed a "rename" and a "create" event are sent.
      We need to treat the rename as a remove.  If the new filename matches
      the path glob, then we will start tailing it when the "create" event
      is reveived.
      
      * lint
      fed39435
    • Xiang Dai's avatar
      logcli: remove default url (#194) · cd270dc4
      Xiang Dai authored
      
      Signed-off-by: default avatarXiang Dai <764524258@qq.com>
      cd270dc4
  17. Jan 14, 2019
  18. Dec 20, 2018
  19. Dec 17, 2018
  20. Dec 11, 2018
  21. Dec 05, 2018
  22. Dec 04, 2018
  23. Nov 25, 2018
  24. Nov 24, 2018
  25. Nov 22, 2018
  26. Nov 20, 2018
  27. Nov 19, 2018
Loading