- Feb 06, 2019
-
-
woodsaj authored
-
- Feb 05, 2019
-
-
Tom Wilkie authored
I broke this when I updated the vendored Cortex, which includes https://github.com/cortexproject/cortex/commit/ac653065193fc9f9b91d0a3da38886cd20b816e5#diff-42196489d8c6339357699ab3656cb2e1R315 . Signed-off-by:
Tom Wilkie <tom.wilkie@gmail.com>
-
Tom Wilkie authored
Signed-off-by:
Tom Wilkie <tom.wilkie@gmail.com>
-
Tom Wilkie authored
Signed-off-by:
Tom Wilkie <tom.wilkie@gmail.com>
-
woodsaj authored
-
woodsaj authored
-
woodsaj authored
When starting up, start all dependencies first then start the target module. When stopping, reverse the order to ensure we dont try and stop a module while there is still something running that needs it. fixes #105
-
Tom Wilkie authored
Signed-off-by:
Tom Wilkie <tom.wilkie@gmail.com>
-
Tom Wilkie authored
Signed-off-by:
Tom Wilkie <tom.wilkie@gmail.com>
-
- Feb 04, 2019
-
-
Tom Wilkie authored
Signed-off-by:
Tom Wilkie <tom.wilkie@gmail.com>
-
Tom Wilkie authored
Signed-off-by:
Tom Wilkie <tom.wilkie@gmail.com>
-
Tom Wilkie authored
Signed-off-by:
Tom Wilkie <tom.wilkie@gmail.com>
-
Tom Wilkie authored
Signed-off-by:
Tom Wilkie <tom.wilkie@gmail.com>
-
Christian Simon authored
This allows easier integration of other targets than files for promtail. Signed-off-by:
Tom Wilkie <tom.wilkie@gmail.com>
-
Anthony Woods authored
tail all container log files
-
woodsaj authored
kubelet creates a new log file when a container is restarted. So we need to catpure all log files in the `/var/logs/pods/<uid>/<container_name>/` dir.
-
- Feb 03, 2019
-
-
Mike Splain authored
-
- Feb 01, 2019
-
-
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.
-
Goutham Veeramachaneni authored
* Flush idle chunks properly Signed-off-by:
Goutham Veeramachaneni <gouthamve@gmail.com> * Review feedback Signed-off-by:
Goutham Veeramachaneni <gouthamve@gmail.com> * Review feedback. Signed-off-by:
Tom Wilkie <tom.wilkie@gmail.com> * Check the correct chunk is full before appending a new chunk. Signed-off-by:
Tom Wilkie <tom.wilkie@gmail.com> * Add the config to helm and ksonnet too. Signed-off-by:
Tom Wilkie <tom.wilkie@gmail.com>
-
David authored
* Clarify links to other sections * Expanded setup sections * Clarified usage docs * Extracted contributing.md * Extracted provisioning.md * Operations docs * Troubleshooting docs started * Review feedback. Signed-off-by:
Tom Wilkie <tom.wilkie@gmail.com>
-
- Jan 31, 2019
-
-
Tom Wilkie authored
* Update cortex to include optionally-enforce-metric-name Signed-off-by:
Tom Wilkie <tom.wilkie@gmail.com> * Configure validation to allow 'metrics' without metric names. Signed-off-by:
Tom Wilkie <tom.wilkie@gmail.com>
-
Tom Wilkie authored
Signed-off-by:
Tom Wilkie <tom.wilkie@gmail.com>
-
Tom Wilkie authored
Signed-off-by:
Tom Wilkie <tom.wilkie@gmail.com>
-
Tom Wilkie authored
Signed-off-by:
Tom Wilkie <tom.wilkie@gmail.com>
-
Tom Wilkie authored
Signed-off-by:
Tom Wilkie <tom.wilkie@gmail.com>
-
Tom Wilkie authored
Signed-off-by:
Tom Wilkie <tom.wilkie@gmail.com>
-
Tom Wilkie authored
Signed-off-by:
Tom Wilkie <tom.wilkie@gmail.com>
-
Tom Wilkie authored
Signed-off-by:
Tom Wilkie <tom.wilkie@gmail.com>
-
Tom Wilkie authored
Signed-off-by:
Tom Wilkie <tom.wilkie@gmail.com>
-
Tom Wilkie authored
Also, make ErrOutOfOrder a HTTP 4xx error and continue to append even when we encourter an out of order entry. Signed-off-by:
Tom Wilkie <tom.wilkie@gmail.com>
-
Andrew Fake authored
-
- Jan 29, 2019
-
-
Ed authored
removing incorrect calling of positions.Stop from within a target as it runs single instance within promtail, moved the call to Stop up to promtail.go within the Shutdown() method. Should Fix #249 (#252)
-
Tom Wilkie authored
Signed-off-by:
Tom Wilkie <tom.wilkie@gmail.com>
-
Tom Wilkie authored
* Fix the mixin to reference the mixin-utils pkg. Signed-off-by:
Tom Wilkie <tom.wilkie@gmail.com> * s/g.selector/utils.selector/ Signed-off-by:
Tom Wilkie <tom.wilkie@gmail.com> * Actually import utils. Signed-off-by:
Tom Wilkie <tom.wilkie@gmail.com> * Don't cut corners with replacing. Signed-off-by:
Tom Wilkie <tom.wilkie@gmail.com>
-
Tom Wilkie authored
Signed-off-by:
Tom Wilkie <tom.wilkie@gmail.com>
-
Anthony Woods authored
__path__ is now expected to be a `glob` match, not a directory. In k8s the "glob" expression needed is just the exact file path of the container log, which is `/var/log/pods/<podUID>/<container_name>/0.log`
-
Ed authored
* Adding a test for target.go Fixing some shutdown issues where tailers were stopped but didn't properly wait for the current position to be saved to file Fixed an issue where an empty directory would lead to nothing being tailed * adding more tests for target.go * renaming quitComplete -> done per feedback making PositionsFile private again, no reason for it to be public removed unnecessary save of empty file on creation of positions file * fixing lint errors * cleaning up some comments removing TODO around directories, added a test to verify behavior some more cleanup per review * fixing imports
-
- Jan 22, 2019
-
-
Anthony Woods authored
fix container_name label
-
woodsaj authored
-
- Jan 21, 2019
-
-
Anthony Woods authored
add external_labels support to promtail ksonnet
-