Skip to content
Snippets Groups Projects
  1. Jul 18, 2019
  2. Jul 17, 2019
  3. Jul 16, 2019
  4. Jul 15, 2019
    • Robert Fratto's avatar
      promtail: Add systemd journal support (#730) · 9eb3098d
      Robert Fratto authored
      Support for reading systemd journal entries has been added. 
      promtail will look for a job in scrape_configs with a journal key 
      to activate the journal target. 
      
      If GOOS=linux and CGO_ENABLED=1, promtail will now require 
      libsystemd headers to be available for building. If GOOS is not 
      linux or CGO_ENABLED is not 1, journal support will be unavailable
      and a log message will be printed warning the user that their config 
      file has journal tailing configured without it being built into promtail. 
      
      See docs/promtail-examples.md for a concrete example of 
      using journal support. 
      
      Other structural changes made: 
      
        1. Ability for checking if scrape.Config.ServiceDiscoveryConfig is 
           non-zero has been added. 
      
           This was chosen over making ServiceDiscoveryConfig a pointer
           as yaml.v2 cannot parse an inline struct into a pointer value. 
      
        2. Updated pipeline logger component name to journal_pipeline and
           file_pipeline for JournalTargetManager and FileTargetManager
           respectively.
      
        3. The positions file will now store positions as strings instead of 
           integers. Existing positions will be read in properly but written out 
           as strings the next time the positions file is saved. This is done to 
           be able to store the journal cursor, which is a string. The positions 
           API has been updated to support reading in the old integer values 
           and the new string values. 
      9eb3098d
    • Marco Pracucci's avatar
      94c252b9
    • Marco Pracucci's avatar
      d235e483
    • Marco Pracucci's avatar
    • Marco Pracucci's avatar
      812aecc7
  5. Jul 11, 2019
  6. Jul 10, 2019
  7. Jul 09, 2019
    • Edward Welch's avatar
      prune interval is configurable · eedd3d9f
      Edward Welch authored
      canary will suspend all operations on SIGINT but not exit, allowing you to shutdown the canary without it being restarted by docker/kubernetes
      SIGTERM will shutdown everything and end the process
      eedd3d9f
  8. Jul 08, 2019
  9. Jul 02, 2019
  10. Jun 20, 2019
  11. Jun 19, 2019
    • Sandeep Sukhani's avatar
      Improvements in live tailing of logs (#541) · 2a8a0379
      Sandeep Sukhani authored
      * Improvements in live tailing of logs
      
      Instead of polling for new logs, a grpc stream is opened between ingester and querier to get live logs
      Querier reconnects to disconnected or newly added ingesters
      
      * Added more comments to code for live log tailing
      
      * Some code refactoring in live log tailing
      
      * handling delayfor in logcli, max delayfor to be 5 seconds
      
      * some changes in tail response in live tailing
      
      * Fixed issue with stopping ingesters gracefully when live tailing is being used
      
      * Added tests for tailer in querier
      
      * Live tailing made logql compatible, some code refactoring suggested in PR
      2a8a0379
  12. Jun 17, 2019
    • Edward Welch's avatar
      Removing the pre-allocation of a buffer when serializing blocks, in most of my... · c3084dbd
      Edward Welch authored
      Removing the pre-allocation of a buffer when serializing blocks, in most of my empirical testing we were using 9-10k out of the 32k allocated leaving about 2/3 of the buffer allocated and unused times the number of blocks per chunk, times the number of chunks kept in memory.  This was adding up to a fair amount of allocated but unused space.
      c3084dbd
  13. Jun 13, 2019
  14. Jun 12, 2019
  15. Jun 10, 2019
  16. Jun 07, 2019
    • sh0rez's avatar
      feat(promtail): initContainers (#655) · 11ad3563
      sh0rez authored
      * fix(promtail/targets): remove dependency on prometheus/relabel
      
      `filetargetmanager.go` had a dependency on prometheus/relabel, a package that
      has been removed in favor of prometheus/pkg/relabel.
      This converts the code to the new package, to allow the prometheus vendor be
      updated to master
      
      * chore(vendor): update prometheus vendor
      
      Updates prometheus vendor to current master, to add support for InitContainers
      in kubernetes service discovery
      
      * chore(vendor): do dep's homework
      
      Gives dep hints on how to resolve the vendor so that it work
      
      * fix(promtail/targets): non-nil check
      
      Accidentally checked against the wrong labelSet, this one can never get nil
      11ad3563
    • Xiang Dai's avatar
      Remove 404 link (#637) · 3021d6f2
      Xiang Dai authored
      
      Signed-off-by: default avatarXiang Dai <764524258@qq.com>
      3021d6f2
  17. Jun 04, 2019
  18. Jun 03, 2019
  19. May 31, 2019
Loading