Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

latest master #1

Merged
merged 271 commits into from
Jul 30, 2019
Merged

latest master #1

merged 271 commits into from
Jul 30, 2019
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Apr 26, 2019

  1. Make sure the default for EnforceMetricName is ✅ (#518)

    Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
    gouthamve authored Apr 26, 2019
    Configuration menu
    Copy the full SHA
    199746a View commit details
    Browse the repository at this point in the history
  2. Enable tracing loki in helm chart (#496)

    * Enable tracing loki in helm chart
    
    Tracing support from #328, need to support config in helm chart
    
    Signed-off-by: Xiang Dai <764524258@qq.com>
    
    * Use camel case for variables
    
    Signed-off-by: Xiang Dai <764524258@qq.com>
    
    * update condition
    
    Signed-off-by: Xiang Dai <764524258@qq.com>
    daixiang0 authored and cyriltovena committed Apr 26, 2019
    Configuration menu
    Copy the full SHA
    80fdece View commit details
    Browse the repository at this point in the history
  3. Update troubleshooting (#498)

    * Update troubleshooting
    
    - remove "no label" title
    - add tracing part
    
    Signed-off-by: Xiang Dai <764524258@qq.com>
    
    * Add helm help
    
    Signed-off-by: Xiang Dai <764524258@qq.com>
    daixiang0 authored and cyriltovena committed Apr 26, 2019
    Configuration menu
    Copy the full SHA
    9440dc9 View commit details
    Browse the repository at this point in the history
  4. Take 2 for fix the limit settings (#519)

    * Revert "Make sure the default for EnforceMetricName is ✅ (#518)"
    
    This reverts commit 199746a.
    
    * Fix overrides unmarshalling properly
    
    Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
    gouthamve authored Apr 26, 2019
    Configuration menu
    Copy the full SHA
    e2b2561 View commit details
    Browse the repository at this point in the history
  5. Add target config (#486)

    * Add target config
    
    Support costomize target config.
    
    Signed-off-by: Xiang Dai <764524258@qq.com>
    
    * Update default value
    
    Signed-off-by: Xiang Dai <764524258@qq.com>
    
    * bump helm version
    
    Signed-off-by: Xiang Dai <764524258@qq.com>
    daixiang0 authored and cyriltovena committed Apr 26, 2019
    Configuration menu
    Copy the full SHA
    e506f16 View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2019

  1. fix a typo

    Signed-off-by: Xiang Dai <764524258@qq.com>
    daixiang0 committed Apr 28, 2019
    Configuration menu
    Copy the full SHA
    b95805d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2ce5af1 View commit details
    Browse the repository at this point in the history
  3. bump up chart version

    Signed-off-by: Xiang Dai <764524258@qq.com>
    daixiang0 committed Apr 28, 2019
    Configuration menu
    Copy the full SHA
    7c41a09 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1390854 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2019

  1. support config chunk size (#464)

    * support config chunk size
    
    Signed-off-by: Xiang Dai <764524258@qq.com>
    
    * fix lint
    
    Signed-off-by: Xiang Dai <764524258@qq.com>
    
    * review feedback
    daixiang0 authored and gouthamve committed Apr 29, 2019
    Configuration menu
    Copy the full SHA
    aa4684e View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2019

  1. Add option (#528)

    * Add chunk_block_size option
    
    Introduce by #464.
    
    Signed-off-by: Xiang Dai <764524258@qq.com>
    
    * fix white noise
    
    Signed-off-by: Xiang Dai <764524258@qq.com>
    
    * Bump up helm version
    
    Signed-off-by: Xiang Dai <764524258@qq.com>
    daixiang0 authored and gouthamve committed Apr 30, 2019
    Configuration menu
    Copy the full SHA
    89ffbf7 View commit details
    Browse the repository at this point in the history
  2. Fix typo in example config (#530)

    Legogris authored and gouthamve committed Apr 30, 2019
    Configuration menu
    Copy the full SHA
    5221ff3 View commit details
    Browse the repository at this point in the history

Commits on May 1, 2019

  1. Fix #531 chunk_block_size not found

    Signed-off-by: Steven Sheehy <ssheehy@firescope.com>
    Steven Sheehy authored and slim-bean committed May 1, 2019
    Configuration menu
    Copy the full SHA
    85a9e82 View commit details
    Browse the repository at this point in the history

Commits on May 2, 2019

  1. don't delete elements from a map while iterating over it

    improve locking of positions
    slim-bean committed May 2, 2019
    Configuration menu
    Copy the full SHA
    fc389b6 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2019

  1. Configuration menu
    Copy the full SHA
    42e5bf1 View commit details
    Browse the repository at this point in the history
  2. Adding make debug support to build debug binaries and debug contain…

    …ers which wrap the binary with delve and allow for remote debugging
    slim-bean committed May 3, 2019
    Configuration menu
    Copy the full SHA
    916124b View commit details
    Browse the repository at this point in the history

Commits on May 5, 2019

  1. using the timestamp from the log file might lead to undesired behavio…

    …r as it could be way in the past or future depending on the clock for the source system generating the logs. Given that it's compared to the servers time.Now() when looking for idle chunks it's probably best to use the server time when setting the value. (#546)
    slim-bean authored and gouthamve committed May 5, 2019
    Configuration menu
    Copy the full SHA
    fe53924 View commit details
    Browse the repository at this point in the history

Commits on May 6, 2019

  1. Better buckets for chunk sizes (#529)

    Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
    gouthamve authored May 6, 2019
    Configuration menu
    Copy the full SHA
    017bcef View commit details
    Browse the repository at this point in the history
  2. switch to golangci-lint linter (#539)

    * switch to golangci-lint linter
    
    * fixes for review comments
    cyriltovena authored May 6, 2019
    Configuration menu
    Copy the full SHA
    8d7efdd View commit details
    Browse the repository at this point in the history
  3. Promtail targets and service discovery pages (#532)

    * 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
    cyriltovena authored May 6, 2019
    Configuration menu
    Copy the full SHA
    b8b7caa View commit details
    Browse the repository at this point in the history

Commits on May 7, 2019

  1. Configuration menu
    Copy the full SHA
    fa4f936 View commit details
    Browse the repository at this point in the history
  2. Send logs to multiple loki instances (#536)

    * Adds the ability to provide multiple Loki URL
    
    For backward compatibility `client:` still works with flag.
    
    * add some tests for multi client
    
    * update ksonnet module to support multiple client
    
    * fix comment
    
    * fix lint issues
    cyriltovena authored May 7, 2019
    Configuration menu
    Copy the full SHA
    53075db View commit details
    Browse the repository at this point in the history
  3. fix backward compatibility with client config (#554)

    * fix backward compatibility with client config
    
    * fix comment
    cyriltovena authored May 7, 2019
    Configuration menu
    Copy the full SHA
    862491e View commit details
    Browse the repository at this point in the history
  4. Add scrape config for control plane static pods

    Signed-off-by: Steven Sheehy <ssheehy@firescope.com>
    Steven Sheehy authored and slim-bean committed May 7, 2019
    Configuration menu
    Copy the full SHA
    e794147 View commit details
    Browse the repository at this point in the history
  5. make clean removes pkg/promtail/server/ui/assets_vfsdata.go which m…

    …eant the `pkg/promtail/server/ui/assets_vfsdata.go: assets` target is never activated causing a build error, updating to make the target hit on `server.go` which has a dependency on the deleted `assets_vfsdata.go` triggering a run of `make assets` before go builds that file (#555)
    slim-bean authored and cyriltovena committed May 7, 2019
    Configuration menu
    Copy the full SHA
    54340e7 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2019

  1. Support CRI 1.14+ directory change

    Signed-off-by: Steven Sheehy <ssheehy@firescope.com>
    Steven Sheehy authored and slim-bean committed May 8, 2019
    Configuration menu
    Copy the full SHA
    ceffcb7 View commit details
    Browse the repository at this point in the history
  2. Parse pipelines of regex matches.

    Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
    tomwilkie committed May 8, 2019
    Configuration menu
    Copy the full SHA
    b16da1d View commit details
    Browse the repository at this point in the history
  3. Errors and wiring.

    Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
    tomwilkie committed May 8, 2019
    Configuration menu
    Copy the full SHA
    5e36308 View commit details
    Browse the repository at this point in the history
  4. Wire up LogQL filters in the ingester.

    Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
    tomwilkie committed May 8, 2019
    Configuration menu
    Copy the full SHA
    bfb34e4 View commit details
    Browse the repository at this point in the history
  5. Remove RegexpIter, we don't need it.

    Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
    tomwilkie committed May 8, 2019
    Configuration menu
    Copy the full SHA
    e73024d View commit details
    Browse the repository at this point in the history
  6. Fix logcli.

    Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
    tomwilkie committed May 8, 2019
    Configuration menu
    Copy the full SHA
    c71a9b0 View commit details
    Browse the repository at this point in the history
  7. Document the filter expression sytax.

    Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
    tomwilkie committed May 8, 2019
    Configuration menu
    Copy the full SHA
    fc20f8c View commit details
    Browse the repository at this point in the history
  8. Fix ingester test.

    Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
    tomwilkie committed May 8, 2019
    Configuration menu
    Copy the full SHA
    32d2f64 View commit details
    Browse the repository at this point in the history
  9. Add an extra filter step if the user specifies a regex using old API.

    Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
    tomwilkie committed May 8, 2019
    Configuration menu
    Copy the full SHA
    80bbd04 View commit details
    Browse the repository at this point in the history
  10. Better error messages.

    Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
    tomwilkie committed May 8, 2019
    Configuration menu
    Copy the full SHA
    d1b8731 View commit details
    Browse the repository at this point in the history
  11. Review feedback.

    Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
    tomwilkie committed May 8, 2019
    Configuration menu
    Copy the full SHA
    1319b62 View commit details
    Browse the repository at this point in the history
  12. link to helm/README.md

    rmetzler authored and tomwilkie committed May 8, 2019
    Configuration menu
    Copy the full SHA
    5079cfc View commit details
    Browse the repository at this point in the history
  13. Typo

    base698 authored and tomwilkie committed May 8, 2019
    Configuration menu
    Copy the full SHA
    333be55 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    ff3e456 View commit details
    Browse the repository at this point in the history
  15. Close all chunks before flushing.

    Moved the check for already closed to make sure we honor this check when `immediate` flushing is requested
    slim-bean committed May 8, 2019
    Configuration menu
    Copy the full SHA
    6446503 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    8dd490d View commit details
    Browse the repository at this point in the history
  17. starting to add label extraction, super rough but need to do some wor…

    …k in a different branch
    slim-bean committed May 8, 2019
    Configuration menu
    Copy the full SHA
    2e098c8 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    ed962f2 View commit details
    Browse the repository at this point in the history
  19. rebase to the new structure

    cyriltovena authored and slim-bean committed May 8, 2019
    Configuration menu
    Copy the full SHA
    2abce2c View commit details
    Browse the repository at this point in the history
  20. Plug the log entry pipeline into promtail

    Co-authored-by: Edward Welch <edward.welch@grafana.com>
    cyriltovena and slim-bean committed May 8, 2019
    Configuration menu
    Copy the full SHA
    a9b9e22 View commit details
    Browse the repository at this point in the history
  21. Polish json entry stage

    cyriltovena authored and slim-bean committed May 8, 2019
    Configuration menu
    Copy the full SHA
    7b085e1 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    0fac618 View commit details
    Browse the repository at this point in the history
  23. updating tests

    adding CRI and Docker format pipeline stage extensions
    adding backwards compatibility with current config
    slim-bean committed May 8, 2019
    Configuration menu
    Copy the full SHA
    ebb4f48 View commit details
    Browse the repository at this point in the history
  24. adding benchmarks

    slim-bean committed May 8, 2019
    Configuration menu
    Copy the full SHA
    0a9beea View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    97e4a12 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    3d94603 View commit details
    Browse the repository at this point in the history
  27. Updating helm/ksonnet to use new pipeline config

    Updating docs
    Rebase fixes
    slim-bean committed May 8, 2019
    Configuration menu
    Copy the full SHA
    2c4e30f View commit details
    Browse the repository at this point in the history

Commits on May 9, 2019

  1. Remove unnecessarily long wait times in tests.

    Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
    tomwilkie committed May 9, 2019
    Configuration menu
    Copy the full SHA
    beb0052 View commit details
    Browse the repository at this point in the history
  2. Explictly listen on localhost in tests, to stop warning on MacOS.

    Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
    tomwilkie committed May 9, 2019
    Configuration menu
    Copy the full SHA
    06f41e7 View commit details
    Browse the repository at this point in the history
  3. Update vendor for weaveworks/commont to Tom's fork, for now.

    Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
    tomwilkie committed May 9, 2019
    Configuration menu
    Copy the full SHA
    13c667c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9290a5d View commit details
    Browse the repository at this point in the history
  5. fix review feedback

    cyriltovena authored and tomwilkie committed May 9, 2019
    Configuration menu
    Copy the full SHA
    48def27 View commit details
    Browse the repository at this point in the history
  6. Add a histogram for chunk encoding time (#565)

    Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
    gouthamve authored and cyriltovena committed May 9, 2019
    Configuration menu
    Copy the full SHA
    3d7119d View commit details
    Browse the repository at this point in the history
  7. add optional PodDisruptionBudget to helm chart (#515)

    * add optional PodDisruptionBudget to helm chart
    
    * address comments
    
    * add back new line - no change to helpers template
    
    * fix silly typo in loki-stack version
    victoriaalee authored and cyriltovena committed May 9, 2019
    Configuration menu
    Copy the full SHA
    e6503a5 View commit details
    Browse the repository at this point in the history
  8. Fix a bug where we should use the glob matcher on fsnotify new file c…

    …reate.
    
    Changed the timing of the sync function in the unit test to fix flakiness in the test.
    slim-bean committed May 9, 2019
    Configuration menu
    Copy the full SHA
    bb89b9b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    6596acc View commit details
    Browse the repository at this point in the history
  10. Clean up the metric for pipeline duration to keep it within the pipel…

    …ine file, also changing unit to seconds and namespace to logentry
    slim-bean committed May 9, 2019
    Configuration menu
    Copy the full SHA
    87d25fa View commit details
    Browse the repository at this point in the history

Commits on May 10, 2019

  1. initial checkin

    mostly working, need to extract out the config
    needs a proper ksonnet or helm deployment or both
    needs a makefile
    slim-bean committed May 10, 2019
    Configuration menu
    Copy the full SHA
    8340232 View commit details
    Browse the repository at this point in the history

Commits on May 14, 2019

  1. improving metrics

    improving tests
    config via flags
    added ksonnet config
    slim-bean committed May 14, 2019
    Configuration menu
    Copy the full SHA
    45a7556 View commit details
    Browse the repository at this point in the history
  2. Add support for memcaches (#564)

    * vendor: update cortex
    
    Don't be blocked on cortexproject/cortex#1345 to
    be merged and still maintain the fork
    
    Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
    
    * add memcached ksonnet
    
    Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
    
    * commit generated proto
    
    Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
    gouthamve authored May 14, 2019
    Configuration menu
    Copy the full SHA
    0e86bfd View commit details
    Browse the repository at this point in the history
  3. Merge pull request #448 from daixiang0/add-help

    Add custom help info
    davkal authored May 14, 2019
    Configuration menu
    Copy the full SHA
    39ec520 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #491 from daixiang0/debug-helm

    Add doc about how to contribute helm
    davkal authored May 14, 2019
    Configuration menu
    Copy the full SHA
    6c3b9ba View commit details
    Browse the repository at this point in the history
  5. fix minor issues with memcached config in ksonnet (#578)

    Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
    gouthamve authored May 14, 2019
    Configuration menu
    Copy the full SHA
    d50acbe View commit details
    Browse the repository at this point in the history
  6. Add LICENSE

    slim-bean authored May 14, 2019
    Configuration menu
    Copy the full SHA
    50ff10d View commit details
    Browse the repository at this point in the history
  7. using an environment variable passed into an arg instead of reading t…

    …he pod name from a file and the downardApi
    
    added a makefile
    slim-bean committed May 14, 2019
    Configuration menu
    Copy the full SHA
    34bb9db View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    5fe4ccb View commit details
    Browse the repository at this point in the history
  9. fixing how auth is applied

    slim-bean committed May 14, 2019
    Configuration menu
    Copy the full SHA
    9dde2c4 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2019

  1. Configuration menu
    Copy the full SHA
    cc60398 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5aac00f View commit details
    Browse the repository at this point in the history
  3. Limiting query start time with config (#572)

    * Limiting query start time with config
    
    * Fixed maxLookBackPeriod check, added it to existing configs, some other fixes
    
    * gofmted file
    
    * Changed maxLookBackPeriod to 4 weeks in helm chart
    
    * Setting maxLookBackPeriod in helm chart to 0 and bumping up the helm chart version
    
    * changed maxLookBackPeriod in yaml in cmd to 0 and some nit
    sandeepsukhani authored and gouthamve committed May 15, 2019
    Configuration menu
    Copy the full SHA
    7b584b5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    75b6832 View commit details
    Browse the repository at this point in the history
  5. Create CODE_OF_CONDUCT.md (#516)

    Steven Sheehy authored and cyriltovena committed May 15, 2019
    Configuration menu
    Copy the full SHA
    3bd38ec View commit details
    Browse the repository at this point in the history
  6. Add a pull request template (#517)

    Steven Sheehy authored and cyriltovena committed May 15, 2019
    Configuration menu
    Copy the full SHA
    9b91580 View commit details
    Browse the repository at this point in the history
  7. Helm: Allow custom pipeline stages (#580)

    Signed-off-by: Steven Sheehy <ssheehy@firescope.com>
    Steven Sheehy authored and cyriltovena committed May 15, 2019
    Configuration menu
    Copy the full SHA
    7f542c2 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0734c9f View commit details
    Browse the repository at this point in the history
  9. impr/logcli: Added label output filters + tests (#563)

    * impr/logcli: Added label filters + tests
    
    * Address review
    
    * udpate readme
    CyrilPeponnet authored and cyriltovena committed May 15, 2019
    Configuration menu
    Copy the full SHA
    0885f64 View commit details
    Browse the repository at this point in the history
  10. updating README

    slim-bean committed May 15, 2019
    Configuration menu
    Copy the full SHA
    d5d4e33 View commit details
    Browse the repository at this point in the history
  11. adding diagram

    slim-bean committed May 15, 2019
    Configuration menu
    Copy the full SHA
    17419c6 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2019

  1. impr/clients: Handle TLS config and MTLS for logcli and promtail (#540)

    * impr/clients: Handle TLS config and MTLS for logcli and promtail
    
    * fix/tls: Please gofmt...
    
    * impr/clients: use prometheus HTTPClientConfig for logcli and promtail
    
    * fix/promtail: Set proper Client config name
    
    * impr/promtail: Use prometheus HTTPClientConfig configuration
    
    * adapt with master
    
    * address review
    
    * fix conflicts
    
    * address requested changes
    
    * remove file
    
    Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
    CyrilPeponnet authored and gouthamve committed May 16, 2019
    Configuration menu
    Copy the full SHA
    7942493 View commit details
    Browse the repository at this point in the history
  2. Change tail response for backward compatibilty with future changes (#590

    )
    
    Changed it to dict with single key called "streams" and value set to list of logproto.Stream
    sandeepsukhani authored and gouthamve committed May 16, 2019
    Configuration menu
    Copy the full SHA
    f5c8b22 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    23c16a9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3f704de View commit details
    Browse the repository at this point in the history
  5. Improve readiness probe output (#556)

    Signed-off-by: Steven Sheehy <ssheehy@firescope.com>
    Steven Sheehy authored and cyriltovena committed May 16, 2019
    Configuration menu
    Copy the full SHA
    c160336 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2019

  1. bump up promtail chart version

    Signed-off-by: Xiang Dai <764524258@qq.com>
    daixiang0 committed May 17, 2019
    Configuration menu
    Copy the full SHA
    82635f6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4ebd6c7 View commit details
    Browse the repository at this point in the history
  3. fixes chunks lazy loading (#595)

    cyriltovena authored and gouthamve committed May 17, 2019
    Configuration menu
    Copy the full SHA
    2ad9800 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ec7d453 View commit details
    Browse the repository at this point in the history
  5. Get rid of the cortex fork with lazy loading upstreamed (#596)

    Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
    gouthamve authored May 17, 2019
    Configuration menu
    Copy the full SHA
    75fbe01 View commit details
    Browse the repository at this point in the history
  6. Fix local config: Use DayTime (#598)

    * Fix local config: Use DayTime
    
    Psst, the date is the first commit date for loki ;)
    
    Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
    
    * Fix the config in ksonnet and helm too
    
    Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
    gouthamve authored May 17, 2019
    Configuration menu
    Copy the full SHA
    f2fb161 View commit details
    Browse the repository at this point in the history
  7. Typo (#588)

    Fix typo
    
    Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
    raravena80 authored and gouthamve committed May 17, 2019
    Configuration menu
    Copy the full SHA
    d2ee905 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2019

  1. Configuration menu
    Copy the full SHA
    f59eb41 View commit details
    Browse the repository at this point in the history

Commits on May 23, 2019

  1. Update operations.md (#615)

    Small update to fix the link to the Cortex project.
    wagdav authored and cyriltovena committed May 23, 2019
    Configuration menu
    Copy the full SHA
    dc1c31a View commit details
    Browse the repository at this point in the history
  2. Also bumping lok-stack version which needs to be done if the loki or …

    …promtail chart versions are changed (#612)
    slim-bean authored and cyriltovena committed May 23, 2019
    Configuration menu
    Copy the full SHA
    a48cc04 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2019

  1. Configuration menu
    Copy the full SHA
    95310d4 View commit details
    Browse the repository at this point in the history
  2. This add make target to deploy a dev version using helm (#586)

    * add a dev target to deploy the current image in k8s
    
    * impr/clients: Handle TLS config and MTLS for logcli and promtail (#540)
    
    * impr/clients: Handle TLS config and MTLS for logcli and promtail
    
    * fix/tls: Please gofmt...
    
    * impr/clients: use prometheus HTTPClientConfig for logcli and promtail
    
    * fix/promtail: Set proper Client config name
    
    * impr/promtail: Use prometheus HTTPClientConfig configuration
    
    * adapt with master
    
    * address review
    
    * fix conflicts
    
    * address requested changes
    
    * remove file
    
    * add helm dev targets
    
    * adding back assets
    
    * fix review comments
    
    * Review feedback
    cyriltovena authored May 24, 2019
    Configuration menu
    Copy the full SHA
    4733221 View commit details
    Browse the repository at this point in the history
  3. Update cortex vendor (#610)

    * 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
    sandeepsukhani authored and cyriltovena committed May 24, 2019
    Configuration menu
    Copy the full SHA
    3d3c057 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b4dafac View commit details
    Browse the repository at this point in the history
  5. Update readme (loki-stack)

    davkal authored May 24, 2019
    Configuration menu
    Copy the full SHA
    3151f07 View commit details
    Browse the repository at this point in the history

Commits on May 27, 2019

  1. Configuration menu
    Copy the full SHA
    d338732 View commit details
    Browse the repository at this point in the history
  2. ksonnet changes for running loki in single binary (#622)

    * ksonnet changes for running loki in single bianry
    Added retention config with default values
    
    * Fixed indentation
    sandeepsukhani authored and gouthamve committed May 27, 2019
    Configuration menu
    Copy the full SHA
    39bbd73 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2019

  1. provide Cassandra Index Store Example (#625)

    Mentioned in title. To save new beginner's time, provide one config example for use Cassandra as Index Storage.
    mizeng authored and cyriltovena committed May 29, 2019
    Configuration menu
    Copy the full SHA
    3ff62d7 View commit details
    Browse the repository at this point in the history
  2. Helm chart tracing variable fix (#621)

    * loki chart deployment.yaml: Only set JAEGER_AGENT_HOST if set.
    
    * docs/troubleshooting.md: Fixed variable name for chart option.
    
    * Bumped loki chart version for variable fix.
    jpds authored and cyriltovena committed May 29, 2019
    Configuration menu
    Copy the full SHA
    e58b1db View commit details
    Browse the repository at this point in the history
  3. Switch Loki to StatefulSet (#585)

    Signed-off-by: Steven Sheehy <ssheehy@firescope.com>
    Steven Sheehy authored and cyriltovena committed May 29, 2019
    Configuration menu
    Copy the full SHA
    18392ea View commit details
    Browse the repository at this point in the history

Commits on May 30, 2019

  1. Configuration menu
    Copy the full SHA
    cff6124 View commit details
    Browse the repository at this point in the history
  2. Limits: Reject entries based on age set in limits (#631)

    * Reject entries based on age set in limits
    sandeepsukhani authored May 30, 2019
    Configuration menu
    Copy the full SHA
    f7f09e2 View commit details
    Browse the repository at this point in the history

Commits on May 31, 2019

  1. Configuration menu
    Copy the full SHA
    6060162 View commit details
    Browse the repository at this point in the history
  2. Save people time until #535 is resolved.

    RobertHeim authored and slim-bean committed May 31, 2019
    Configuration menu
    Copy the full SHA
    7c229aa View commit details
    Browse the repository at this point in the history
  3. working version with Gatherer

    cyriltovena authored and slim-bean committed May 31, 2019
    Configuration menu
    Copy the full SHA
    feba6ab View commit details
    Browse the repository at this point in the history
  4. better counters

    cyriltovena authored and slim-bean committed May 31, 2019
    Configuration menu
    Copy the full SHA
    ee0b502 View commit details
    Browse the repository at this point in the history
  5. implements json stage metrics

    cyriltovena authored and slim-bean committed May 31, 2019
    Configuration menu
    Copy the full SHA
    6c7d564 View commit details
    Browse the repository at this point in the history
  6. adds test for json metrics

    cyriltovena authored and slim-bean committed May 31, 2019
    Configuration menu
    Copy the full SHA
    fea52f6 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a5e47a5 View commit details
    Browse the repository at this point in the history
  8. tidy up

    cyriltovena authored and slim-bean committed May 31, 2019
    Configuration menu
    Copy the full SHA
    df0fdbc View commit details
    Browse the repository at this point in the history
  9. add more memory to circle ci

    cyriltovena authored and slim-bean committed May 31, 2019
    Configuration menu
    Copy the full SHA
    adc18bf View commit details
    Browse the repository at this point in the history
  10. tweaking test target

    cyriltovena authored and slim-bean committed May 31, 2019
    Configuration menu
    Copy the full SHA
    a037f19 View commit details
    Browse the repository at this point in the history
  11. fix typo

    cyriltovena authored and slim-bean committed May 31, 2019
    Configuration menu
    Copy the full SHA
    65b4cbb View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    69d732b View commit details
    Browse the repository at this point in the history
  13. fix linter

    cyriltovena authored and slim-bean committed May 31, 2019
    Configuration menu
    Copy the full SHA
    9c21460 View commit details
    Browse the repository at this point in the history
  14. Refactor to make everything a stage.

    Still needs:  Matcher stage work, pipeline test work
    slim-bean committed May 31, 2019
    Configuration menu
    Copy the full SHA
    07da8e1 View commit details
    Browse the repository at this point in the history
  15. Making the pipeline itself a Stage so that we can use it to better im…

    …plement the Match stage (and it cleans up the Docker and CRI extensions some too)
    
    Still needs to fix the metrics test
    slim-bean committed May 31, 2019
    Configuration menu
    Copy the full SHA
    eaecf0f View commit details
    Browse the repository at this point in the history
  16. implementing all the functions for the counter and gauge metric types

    metric test is still failing because of missing metrics when the counter is 0
    added a lot of TODO's I need to go back and cleanup
    slim-bean committed May 31, 2019
    Configuration menu
    Copy the full SHA
    29eaec1 View commit details
    Browse the repository at this point in the history
  17. cleaned up most of the TODO's

    refactored and improved some of the tests, each stage type should now have a test using actual YAML
    A few TODO's remaining and some comment cleanup
    slim-bean committed May 31, 2019
    Configuration menu
    Copy the full SHA
    9a91d58 View commit details
    Browse the repository at this point in the history
  18. cleaning up remaining TODO's, adding tests

    cleaning up GoDoc
    pipeline_name is now optional for matcher stage
    slim-bean committed May 31, 2019
    Configuration menu
    Copy the full SHA
    3a2ac64 View commit details
    Browse the repository at this point in the history
  19. Remove LogCount

    cyriltovena authored and slim-bean committed May 31, 2019
    Configuration menu
    Copy the full SHA
    2a7a97d View commit details
    Browse the repository at this point in the history
  20. fix flaky timestamp test

    cyriltovena authored and slim-bean committed May 31, 2019
    Configuration menu
    Copy the full SHA
    ab2bc87 View commit details
    Browse the repository at this point in the history
  21. PR feedback

    slim-bean committed May 31, 2019
    Configuration menu
    Copy the full SHA
    d60b6f5 View commit details
    Browse the repository at this point in the history
  22. renaming metric stage to metrics as it defines multiple metrics, …

    …similar to labels stage which is also plural.
    
    Adding a couple unit tests to regex and json stage to act as examples
    slim-bean committed May 31, 2019
    Configuration menu
    Copy the full SHA
    51bdd15 View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2019

  1. Configuration menu
    Copy the full SHA
    0a80472 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2019

  1. updating docs for new pipeline config.

    removed helm entry in scrape_config.sh because there doesn't seem to be anyway to make it work with new pipeline config
    slim-bean committed Jun 3, 2019
    Configuration menu
    Copy the full SHA
    04facc4 View commit details
    Browse the repository at this point in the history
  2. PR Feedback

    slim-bean committed Jun 3, 2019
    Configuration menu
    Copy the full SHA
    1dc130d View commit details
    Browse the repository at this point in the history
  3. adding a release process

    slim-bean committed Jun 3, 2019
    Configuration menu
    Copy the full SHA
    c326d6b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    63aec06 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e11cd61 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4439828 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    747771c View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2019

  1. Configuration menu
    Copy the full SHA
    922f1da View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2019

  1. chore(vendor): update cortex vendor

    Updates cortex vendor to get the changes from cortexproject/cortex#1431.
    Required for making promtail build on Windows
    
    Signed-off-by: sh0rez <me@shorez.de>
    sh0rez authored and slim-bean committed Jun 6, 2019
    Configuration menu
    Copy the full SHA
    421265c View commit details
    Browse the repository at this point in the history
  2. feat(ci): promtail cross platform

    Build promtail on linux and windows, discard artifacts
    sh0rez authored and slim-bean committed Jun 6, 2019
    Configuration menu
    Copy the full SHA
    ba54f51 View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2019

  1. Remove 404 link (#637)

    Signed-off-by: Xiang Dai <764524258@qq.com>
    daixiang0 authored and cyriltovena committed Jun 7, 2019
    Configuration menu
    Copy the full SHA
    3021d6f View commit details
    Browse the repository at this point in the history
  2. feat(promtail): initContainers (#655)

    * 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
    sh0rez authored and cyriltovena committed Jun 7, 2019
    Configuration menu
    Copy the full SHA
    11ad356 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2019

  1. fix(loki): honor log level from config file (#657)

    Because of the logger being initialized before the configuration file is parsed,
    the log_level from the config file is ignored.
    To solve this, the logger is reinitialized after the file is parsed, as it is
    already being done in promtail.
    sh0rez authored and cyriltovena committed Jun 10, 2019
    Configuration menu
    Copy the full SHA
    6fac954 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f939e42 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2019

  1. refactoring things so that the comparator can use the reader to make …

    …a direct query to loki to look for logs not received over the websocket before reporting them as missing
    slim-bean committed Jun 12, 2019
    Configuration menu
    Copy the full SHA
    02aed71 View commit details
    Browse the repository at this point in the history
  2. Helm: Integration testing (#641)

    * Helm chart integration testing
    
    Signed-off-by: Steven Sheehy <ssheehy@firescope.com>
    
    * Don't check helm version on every push
    
    Signed-off-by: Steven Sheehy <ssheehy@firescope.com>
    
    * Remove chart upgrade testing
    
    Signed-off-by: Steven Sheehy <ssheehy@firescope.com>
    Steven Sheehy authored and cyriltovena committed Jun 12, 2019
    Configuration menu
    Copy the full SHA
    44c3213 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7cfce6e View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2019

  1. adding a list of received entries (acknowledged) to use for compariso…

    …n against entries which were not expected so that we can report them as duplicates.
    slim-bean committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    7cf05c5 View commit details
    Browse the repository at this point in the history
  2. Docker Logging Driver (#663)

    * 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
    cyriltovena authored Jun 13, 2019
    Configuration menu
    Copy the full SHA
    2909fe5 View commit details
    Browse the repository at this point in the history
  3. fix docker plugin ci (#664)

    * fix docker plugin ci
    
    * use binary cache
    cyriltovena authored Jun 13, 2019
    Configuration menu
    Copy the full SHA
    be66648 View commit details
    Browse the repository at this point in the history
  4. Fix publish-helm failure (#665)

    Signed-off-by: Steven Sheehy <ssheehy@firescope.com>
    Steven Sheehy authored and cyriltovena committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    ec915d4 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2019

  1. Configuration menu
    Copy the full SHA
    ff2c567 View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2019

  1. Merge pull request #667 from grafana/20190614_rename_fluent_plugin

    component/integrations: rename fluent plugin
    briangann authored Jun 17, 2019
    Configuration menu
    Copy the full SHA
    3b24a25 View commit details
    Browse the repository at this point in the history
  2. Removing the pre-allocation of a buffer when serializing blocks, in m…

    …ost 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.
    slim-bean committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    c3084db View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    aecf867 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dc2190f View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2019

  1. Configuration menu
    Copy the full SHA
    0761d65 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #676 from grafana/fix-gateway-metrics

    updating the loki dashboards to use the metrics from the new gateway
    jtlisi authored Jun 18, 2019
    Configuration menu
    Copy the full SHA
    314fe78 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2019

  1. fix helm lint issue

    Signed-off-by: Xiang Dai <764524258@qq.com>
    daixiang0 committed Jun 19, 2019
    Configuration menu
    Copy the full SHA
    2715306 View commit details
    Browse the repository at this point in the history
  2. Improvements in live tailing of logs (#541)

    * 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
    sandeepsukhani authored Jun 19, 2019
    Configuration menu
    Copy the full SHA
    2a8a037 View commit details
    Browse the repository at this point in the history
  3. Fix helm test error

    Signed-off-by: Xiang Dai <764524258@qq.com>
    daixiang0 authored and sandeepsukhani committed Jun 19, 2019
    Configuration menu
    Copy the full SHA
    b389e44 View commit details
    Browse the repository at this point in the history
  4. Update chart version

    Signed-off-by: Xiang Dai <764524258@qq.com>
    daixiang0 committed Jun 19, 2019
    Configuration menu
    Copy the full SHA
    7794e21 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    274170f View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2019

  1. Merge pull request #469 from daixiang0/reduce-config-option

    Remove useless config option
    davkal authored Jun 20, 2019
    Configuration menu
    Copy the full SHA
    7fc8863 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4c71382 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2019

  1. Configuration menu
    Copy the full SHA
    4bfcd09 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2019

  1. changing the default prune interval to 60 seconds, at the previous 1 …

    …second it would cause some way too aggressive querying when scaled out over all our clusters and loki had a hiccup
    slim-bean committed Jun 26, 2019
    Configuration menu
    Copy the full SHA
    bcccbbf View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2019

  1. fix logcli code src path

    Dieterbe authored Jul 1, 2019
    Configuration menu
    Copy the full SHA
    b8866b2 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #706 from grafana/Dieterbe-fix-logcli-src-path

    fix logcli code src path
    Dieterbe authored Jul 1, 2019
    Configuration menu
    Copy the full SHA
    2f46a3c View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2019

  1. changing the log length histogram to be a normal histogram with only …

    …a `path` label, also removing the label values when no longer tailing the file. Following the same pattern we used for readBytes and totalBytes.
    slim-bean authored and tomwilkie committed Jul 2, 2019
    Configuration menu
    Copy the full SHA
    922b2d0 View commit details
    Browse the repository at this point in the history
  2. removing entries.go as we are no longer using the custom Histogram fo…

    …r the log_entries_bytes histogram
    slim-bean authored and tomwilkie committed Jul 2, 2019
    Configuration menu
    Copy the full SHA
    3b02474 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2019

  1. Configuration menu
    Copy the full SHA
    e156d3b View commit details
    Browse the repository at this point in the history
  2. fluent-plugin: Mark as multi-workers ready (#709)

    * fluent-plugin: Mark as multi-workers ready
    
    * fluent-plugin: Add info on multi-worker usage to README
    laitalaj authored and cyriltovena committed Jul 5, 2019
    Configuration menu
    Copy the full SHA
    82b232b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e33bf5e View commit details
    Browse the repository at this point in the history
  4. fix(loki|promtail): logger re-init nil config panic (#697)

    When a more or less invalid config (e.g. `null`) is supplied, the log level prop
    of the config receives an invalid value which causes the logger to panic on
    re-init.
    
    Prevents this by checking for a nil log-level and notifies the user in case
    sh0rez authored and cyriltovena committed Jul 5, 2019
    Configuration menu
    Copy the full SHA
    420a359 View commit details
    Browse the repository at this point in the history
  5. BREAKING fix(loki-mixin): rename rules key (#691)

    Renames the `prometheus_rules` key to `prometheusRules` to comply to the
    spec (https://github.com/monitoring-mixins/docs/blob/master/design.pdf)
    
    BREAKING `prometheus_rules` is not available anymore
    sh0rez authored and cyriltovena committed Jul 5, 2019
    Configuration menu
    Copy the full SHA
    6595d8d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1c95a5b View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2019

  1. fluent-plugin: Add separate license to fluent-plugin-grafana-loki to …

    …fix gem installation (#682)
    laitalaj authored and cyriltovena committed Jul 8, 2019
    Configuration menu
    Copy the full SHA
    4fccb28 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2bbb464 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    909adf6 View commit details
    Browse the repository at this point in the history
  4. feat(docker): multi-arch Dockerfile (#668)

    Adds an entirely new Dockerfile to the repository root which is capable of:
    
    - building promtail and loki from the same image
    - based on `scratch`, so that the final image can be executed on every supported
      GOARCH
    
    Please note that this Dockerfile should always be built using
    BuildKit (`buildctl` or `DOCKER_BUILDKIT=1` in recent versions) for maximum
    performance, as BuildKit's DAG allows for smart skipping of uneeded stages.
    
    These changes were proposed in #659
    sh0rez authored and cyriltovena committed Jul 8, 2019
    Configuration menu
    Copy the full SHA
    813f0d2 View commit details
    Browse the repository at this point in the history
  5. fix(loki): panic on missing config (#720)

    * fix(loki): pass missing config error to user
    
    Missing config errors are handled at the library level. Our own check mitigated
    this and causes loki to SEGFAULT later on
    
    * feat(loki): default config file in container
    
    The container provides a default config file. Use it by default
    
    * Revert "fix(loki): pass missing config error to user"
    
    This reverts commit b2744fc, because loki it
    assumed loki was incapable of running without config, which is not the case.
    sh0rez authored and cyriltovena committed Jul 8, 2019
    Configuration menu
    Copy the full SHA
    4779b8b View commit details
    Browse the repository at this point in the history
  6. move Dockerfile multi-arch to build and ignore that folder (#723)

    * move Dockerfile multi-arch to build and ignore that folder
    
    * docker-driver fix
    cyriltovena authored Jul 8, 2019
    Configuration menu
    Copy the full SHA
    d3ab486 View commit details
    Browse the repository at this point in the history
  7. Query label values and names are now fetched from the store. (#521)

    * Query label values and names are now fetched from the store.
    
    A time range is now required by the /api/prom/label with a sane default (6 hours from now).
    
    * fix http querystring and update doc
    
    * update vendor
    
    * rebased
    cyriltovena authored Jul 8, 2019
    Configuration menu
    Copy the full SHA
    86bc3c0 View commit details
    Browse the repository at this point in the history

Commits on Jul 9, 2019

  1. Typo on values.yaml (#728)

    prometherion authored and cyriltovena committed Jul 9, 2019
    Configuration menu
    Copy the full SHA
    1cc25f8 View commit details
    Browse the repository at this point in the history
  2. prune interval is configurable

    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
    slim-bean committed Jul 9, 2019
    Configuration menu
    Copy the full SHA
    eedd3d9 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2019

  1. Add support to timestamp stage to parse Unix seconds, milliseconds, a…

    …nd nanosecond timestamps
    slim-bean committed Jul 10, 2019
    Configuration menu
    Copy the full SHA
    de83272 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2019

  1. Configuration menu
    Copy the full SHA
    f7cc7b0 View commit details
    Browse the repository at this point in the history
  2. Fixed RFC3339Nano examples in doc

    pracucci authored and slim-bean committed Jul 11, 2019
    Configuration menu
    Copy the full SHA
    ba0261f View commit details
    Browse the repository at this point in the history
  3. use strconf.FormatFloat instead of fmt.Sprintf for converting floats …

    …to strings, this way we can eliminate non significant trailing zeros such that the float value 1 would be "1" as a string instead of "1.000000"
    slim-bean committed Jul 11, 2019
    Configuration menu
    Copy the full SHA
    1249e92 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d5688b5 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2019

  1. Configuration menu
    Copy the full SHA
    a2ceb8d View commit details
    Browse the repository at this point in the history
  2. feat(logcli): query from absolute timestamp (#736)

    * feat(logcli): query from absolute timestamp
    
    Adds a new flag (`--from`) as to complement `--since`.
    While since subtracts a relative duration from the current time, from allows to
    specify the absolute start of the lookback window.
    
    Note: `--from` takes precedence over `--since`, but only if set.
    
    * fix(logcli): use RFC3339Nano for -from
    
    To comply with Prometheus, this flag now honors Nanoseconds as well (was using
    RFC3339 so far)
    sh0rez authored and cyriltovena committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    d43de72 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    812aecc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0a79e2a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d235e48 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    94c252b View commit details
    Browse the repository at this point in the history
  7. feat(logcli): output modes (#731)

    * feat(logcli): quiet mode
    
    Adds a quiet mode (-q / --quiet) to suppress the debug messages to stderr
    
    * feat(logcli): output modes
    
    Adds two alternative output modes (-o / --output)
    
    - raw: emits the line as parsed
    - jsonl: emits the line plus all known metadata as JSONL (JSON Line)
    
    Usage: -o [default, raw, jsonl]
    
    * feat(logcli): quiet tailing mode
    
    * feat(logcli): output modes while tailing
    
    Supports the three different output modes in tail mode as well
    
    * feat(logcli): print labels in jsonl tail mode
    
    * refactor(logcli): clean up entry printing
    
    Moves the entry printing into a standardized interface, implements this three
    times:
    
    - default (human readable)
    - jsonl (for scripts)
    - raw ('as is')
    sh0rez authored and cyriltovena committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    9d5630d View commit details
    Browse the repository at this point in the history
  8. fluentd-plugin-grafana-loki: change log.info to log.debug (#751)

    Reduces background chatter which in turn can trigger more log writes
    
    Signed-off-by: Brian Candler <b.candler@pobox.com>
    candlerb authored and cyriltovena committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    662ef32 View commit details
    Browse the repository at this point in the history
  9. fluentd-plugin-grafana-loki: avoid exception when remove/label_keys i…

    …s unset (#750)
    
    Fixes #749
    
    Signed-off-by: Brian Candler <b.candler@pobox.com>
    candlerb authored and cyriltovena committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    6b4a934 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    c58eacf View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    eb33e81 View commit details
    Browse the repository at this point in the history
  12. promtail: Add systemd journal support (#730)

    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.
    rfratto authored Jul 15, 2019
    Configuration menu
    Copy the full SHA
    9eb3098 View commit details
    Browse the repository at this point in the history
  13. Merge pull request #757 from grafana/20190715_bump_fluent_plugin_version

    cleanup rake warnings, bump version
    briangann authored Jul 15, 2019
    Configuration menu
    Copy the full SHA
    f6d26e2 View commit details
    Browse the repository at this point in the history
  14. Rollback changes to Makefile and build/Dockerfile from #730 (#758)

    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
    rfratto authored and cyriltovena committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    8b06eb6 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2019

  1. Storage memory improvement (#713)

    * add benchmark for storage queries
    * improve iterator to load only on next
    * fix memory retained by lazy chunks
    * reverse backward lazy iterator
    cyriltovena authored Jul 16, 2019
    Configuration menu
    Copy the full SHA
    3346ce1 View commit details
    Browse the repository at this point in the history
  2. fixed helm installation instructions (#761)

    Daniel Ulman authored and cyriltovena committed Jul 16, 2019
    Configuration menu
    Copy the full SHA
    fc729e2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e6f8d6f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c08ec79 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2019

  1. Added tail length limit to limit duration of live tailing of logs to …

    …1 hour (#756)
    
    * Added tail length limit to limit duration of live tailing of logs to 1 hour
    
    * Some code refactoring suggested from PR review for live tailing duration limit
    
    * Fixed error messages in live tailing of logs
    
    * Fixed lint errors
    sandeepsukhani authored and cyriltovena committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    3a2b569 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cd5368a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    75ef8c5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e6f431a View commit details
    Browse the repository at this point in the history
  5. Merge pull request #772 from grafana/loki-canary

    moving loki-canary project under loki repo
    slim-bean authored Jul 17, 2019
    Configuration menu
    Copy the full SHA
    688056b View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2019

  1. rounds nanoseconds boundaries to milliseconds (#771)

    * rounds nanoseconds boundaries to milliseconds
    
    * convert also store query
    cyriltovena authored Jul 18, 2019
    Configuration menu
    Copy the full SHA
    4bf7766 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f74f2c8 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    03dc4e6 View commit details
    Browse the repository at this point in the history
  4. fix path escape (#779)

    cyriltovena authored Jul 18, 2019
    Configuration menu
    Copy the full SHA
    c3e74b3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    da6a133 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2019

  1. feat(loki): extended tailing (#764)

    * 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
    sh0rez authored Jul 19, 2019
    Configuration menu
    Copy the full SHA
    38cb093 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d31577f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f289384 View commit details
    Browse the repository at this point in the history
  4. Use prometheus pool for line buffer. (#790)

    * Use prometheus pool for line buffer.
    cyriltovena authored Jul 19, 2019
    Configuration menu
    Copy the full SHA
    cb7c8f6 View commit details
    Browse the repository at this point in the history

Commits on Jul 22, 2019

  1. Document centos dep

    - document centos dep
    - add `-y` option
    
    Signed-off-by: Xiang Dai <764524258@qq.com>
    daixiang0 committed Jul 22, 2019
    Configuration menu
    Copy the full SHA
    a15e661 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2019

  1. add missing `

    Signed-off-by: Xiang Dai <764524258@qq.com>
    daixiang0 committed Jul 23, 2019
    Configuration menu
    Copy the full SHA
    01a0762 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #793 from daixiang0/centos-support

    Document centos dep
    rfratto authored Jul 23, 2019
    Configuration menu
    Copy the full SHA
    2d44486 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8feadf7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3d5319e View commit details
    Browse the repository at this point in the history
  5. ingester: support chunk transfers on ingester shutdown.

    This commit introduces chunk transfers, borrowing the mechanism from
    Cortex's implementation: when an ingester is shut down with claim
    on rollout enabled, the ingester will find a pending ingester and
    transfer all of its chunks to it.
    rfratto committed Jul 23, 2019
    Configuration menu
    Copy the full SHA
    d34b1f7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2eb666b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f8155a1 View commit details
    Browse the repository at this point in the history
  8. add a Name() method to the stage interface so that debug logging can …

    …show you the name of the pipeline stage which just processed the log
    
    remove some unnecessary logging around fsnotify events we don't care about and saving positions
    Make the Processing Log Lines doc a first class citizen, I reference this a lot and currently it's hidden behind 3 clicks
    slim-bean committed Jul 23, 2019
    Configuration menu
    Copy the full SHA
    7deb02b View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2019

  1. Configuration menu
    Copy the full SHA
    15cbba7 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2019

  1. Configuration menu
    Copy the full SHA
    e4e5e3c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e64c7e5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    476c396 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    72a76fa View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2019

  1. Configuration menu
    Copy the full SHA
    4a569f2 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #794 from rfratto/forward-ingester-chunks

    ingester: support chunk transfers on ingester shutdown.
    rfratto authored Jul 26, 2019
    Configuration menu
    Copy the full SHA
    d21c30d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    24f5706 View commit details
    Browse the repository at this point in the history
  4. promtail: restore ability to show target labels in promtail UI

    PR #791 accidentally removed the ability to use the promtail UI
    by removing methods from the Target interface that were only
    used within the HTML templates.
    
    Along with restoring the methods in the Target interface, this
    commit also introduces details for the JournalTarget, which
    currently only provides the position in the journal being
    tracked.
    rfratto committed Jul 26, 2019
    Configuration menu
    Copy the full SHA
    f2bec3b View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2019

  1. ingester: register Ingester service in gRPC on loki start

    Registering the Ingester service to gRPC enables the chunk transfer
    mechanism to work.
    rfratto committed Jul 29, 2019
    Configuration menu
    Copy the full SHA
    d8ee6b8 View commit details
    Browse the repository at this point in the history
  2. Simplify our makefile as much as possible (#753)

    refactor(makefile): simplify makefile by removing the autogenerated targets and make building binaries and dockerfiles separate operations.
    slim-bean authored Jul 29, 2019
    Configuration menu
    Copy the full SHA
    573673a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b946343 View commit details
    Browse the repository at this point in the history
  4. docker-driver-push does a build of all the go files and as such needs…

    … to make called with BUILD_IN_CONTAINER=false from circleci
    slim-bean committed Jul 29, 2019
    Configuration menu
    Copy the full SHA
    b8d5868 View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2019

  1. fix tail library logs to use our own log format (#579)

    * fix tail library logs to use our own log format
    
    * PR Feedbacks
    cyriltovena authored Jul 30, 2019
    Configuration menu
    Copy the full SHA
    2561a70 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    459e4e3 View commit details
    Browse the repository at this point in the history