Skip to content
Snippets Groups Projects
  1. 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
  2. Jul 08, 2019
  3. Jul 05, 2019
  4. Jun 13, 2019
    • Cyril Tovena's avatar
      Docker Logging Driver (#663) · 2909fe54
      Cyril Tovena authored
      * adds first version of docker driver
      
      * without logrus and fixes some linter issue
      
      * fix the driver and start a build system
      
      * adds swarm label discovery
      
      * Add documentation and more targets
      
      * make the linter happy ❤️
      
      * indent config.json
      
      * with circleci steps for master and branch
      
      * Review Feebacks
      2909fe54
  5. 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
  6. Jun 06, 2019
  7. May 31, 2019
  8. May 24, 2019
    • Sandeep Sukhani's avatar
      Update cortex vendor (#610) · 3d3c0571
      Sandeep Sukhani authored
      * Update cortex vendor
      Use query max look back from cortex
      Update config changes from cortex
      Fixed breaking code due to updating cortex vendor
      
      * fixed linter error
      3d3c0571
  9. May 17, 2019
  10. May 14, 2019
  11. May 09, 2019
  12. May 06, 2019
    • Cyril Tovena's avatar
      Promtail targets and service discovery pages (#532) · b8b7caa4
      Cyril Tovena authored
      * add a custom server for loki with assets embedded
      
      * adds a targets page for promtail to see discovered files and labels
      
      * lint fixes
      
      * fix css table size
      
      * add service discovery logic
      
      * add service discovery template
      
      * add promtail pages documentation
      
      * ignored gen file in linter
      b8b7caa4
  13. Apr 25, 2019
  14. Apr 17, 2019
  15. 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
  16. Mar 15, 2019
  17. Feb 14, 2019
  18. Jan 31, 2019
  19. Jan 17, 2019
  20. Jan 11, 2019
  21. Dec 20, 2018
  22. Dec 11, 2018
  23. Dec 10, 2018
  24. Dec 05, 2018
  25. Dec 04, 2018
  26. Nov 25, 2018
  27. Nov 24, 2018
  28. Nov 22, 2018
  29. Nov 19, 2018
  30. Jun 24, 2018
  31. May 18, 2018
  32. May 16, 2018
  33. May 14, 2018
  34. Apr 23, 2018
Loading