Skip to content
Snippets Groups Projects
  1. Jul 26, 2019
  2. Jul 25, 2019
  3. Jul 24, 2019
  4. Jul 23, 2019
  5. Jul 22, 2019
  6. Jul 19, 2019
    • Cyril Tovena's avatar
      Use prometheus pool for line buffer. (#790) · cb7c8f62
      Cyril Tovena authored
      * Use prometheus pool for line buffer.
      cb7c8f62
    • Robert Fratto's avatar
      f289384a
    • Cyril Tovena's avatar
    • sh0rez's avatar
      feat(loki): extended tailing (#764) · 38cb0933
      sh0rez authored
      * refactor(querier/ingester): TailRequest Lookback window
      
      Moves the specifications of the Lookback Window out of the
      logproto.QueryRequest into it's own type logproto.Lookback.
      This is required, because the Lookback Window will be used in the TailRequest
      as well.
      
      * feat(querier): parse Lookback from HTTP Request
      
      * feat(logcli): send Lookback Window spec with tail request
      
      * feat(querier): include historic entries in tail mode
      
      Extends tailing by sending a configurable amount of historic entries with
      before the live entries. This enables a behaviour that is closer to kubectl logs
      -f and docker logs -f.
      
      It is implemented by running a regular Query before subscribing to the ingesters.
      
      * fix: adapt tests to Lookback change
      
      * feat(querier): check all errors to make the linter happy
      
      * fix(logproto): flatten Lookback window spec
      
      Flattens the Lookback window spec into the individual queries
      
      * fix(ingester): adapt test to Lookback flatten
      38cb0933
  7. Jul 18, 2019
  8. Jul 17, 2019
  9. Jul 16, 2019
  10. Jul 15, 2019
    • Robert Fratto's avatar
      Rollback changes to Makefile and build/Dockerfile from #730 (#758) · 8b06eb66
      Robert Fratto authored
      This commit rolls back the changes to the Makefile and build/Dockerfile
      that caused CGO_ENABLED=1 to be present during some builds. This commit
      causes the journal support to be disabled in any build produced by make.
      
      Journal support can still be enabled in a manual build:
      
        go build -o cmd/promtail/promtail cmd/promtail
      8b06eb66
    • Brian Gann's avatar
      Merge pull request #757 from grafana/20190715_bump_fluent_plugin_version · f6d26e20
      Brian Gann authored
      cleanup rake warnings, bump version
      f6d26e20
    • 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
    • Brian Gann's avatar
      cleanup rake warnings, bump version · eb33e810
      Brian Gann authored
      eb33e810
    • Marco Pracucci's avatar
Loading