Skip to content
Snippets Groups Projects
  1. Mar 07, 2019
  2. Mar 06, 2019
  3. Mar 05, 2019
    • Ed's avatar
      Adding a configurable timeout for calls to the loki server. (#368) · 19260d44
      Ed authored
      Adding a configurable timeout for calls to the loki server.
      Updating promtail test to set sane defaults for all configurations and then override for testing.
      Removing .idea folder from .gitignore, we should encourage people (and myself) to use global ignore for IDE configs
      Unverified
      19260d44
  4. Mar 04, 2019
  5. Feb 25, 2019
  6. Feb 20, 2019
  7. Feb 18, 2019
  8. Feb 14, 2019
  9. 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
  10. Feb 12, 2019
  11. Feb 11, 2019
  12. Feb 08, 2019
  13. Feb 07, 2019
  14. Feb 06, 2019
  15. Feb 05, 2019
  16. Feb 04, 2019
  17. Feb 01, 2019
    • Anthony Woods's avatar
      handle symbolic links correctly (#275) · df843647
      Anthony Woods authored
      * handle symbolic links correctly
      
      When tailing a file that is rotated we expect that a fsnotify.Rename
      event will be sent when the old file is renamed and a fsnotif.Create
      event will be sent when the replacement file is created. This allows
      us to close and re-open the file.  However if the file we are
      tailing is a symbolic link (and the target is in another directory)
      we wont get these events.  To address this we need to tail the target
      file directly.
      
      fixes #274
      
      * handle symlinks being re-linked
      
      When a symbolic link is re-linked we will only get a fsnotify.Create
      event. No rename or delete event will have been sent to trigger
      the tailer to be stoped.  When this happens we should stop the current
      tailer for the path and start a new one. This will allow us to perform
      a new Readink on the path to get the updated target filename.
      df843647
    • Goutham Veeramachaneni's avatar
      Flush idle chunks properly (#209) · 7763e8f3
      Goutham Veeramachaneni authored
      
      * Flush idle chunks properly
      
      Signed-off-by: default avatarGoutham Veeramachaneni <gouthamve@gmail.com>
      
      * Review feedback
      
      Signed-off-by: default avatarGoutham Veeramachaneni <gouthamve@gmail.com>
      
      * Review feedback.
      
      Signed-off-by: default avatarTom Wilkie <tom.wilkie@gmail.com>
      
      * Check the correct chunk is full before appending a new chunk.
      
      Signed-off-by: default avatarTom Wilkie <tom.wilkie@gmail.com>
      
      * Add the config to helm and ksonnet too.
      
      Signed-off-by: default avatarTom Wilkie <tom.wilkie@gmail.com>
      7763e8f3
  18. Jan 31, 2019
Loading