- Jul 15, 2019
-
-
Marco Pracucci authored
-
Brian Candler authored
Fixes #749 Signed-off-by:
Brian Candler <b.candler@pobox.com>
-
Brian Candler authored
Reduces background chatter which in turn can trigger more log writes Signed-off-by:
Brian Candler <b.candler@pobox.com>
-
sh0rez authored
* 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')
-
Marco Pracucci authored
-
Marco Pracucci authored
-
Marco Pracucci authored
-
Marco Pracucci authored
-
sh0rez authored
* 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)
-
Marco Pracucci authored
-
- Jul 11, 2019
-
-
Edward Welch authored
-
Edward Welch authored
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"
-
Marco Pracucci authored
-
Marco Pracucci authored
-
- Jul 10, 2019
-
-
Edward Welch authored
-
- Jul 09, 2019
-
-
Dario Tranchitella authored
-
- Jul 08, 2019
-
-
Cyril Tovena authored
* 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
-
Cyril Tovena authored
* move Dockerfile multi-arch to build and ignore that folder * docker-driver fix
-
sh0rez authored
* 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 b2744fcf427b2b386dce5e999c855ae5c899e4e2, because loki it assumed loki was incapable of running without config, which is not the case.
-
sh0rez authored
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
-
Dawid Malinowski authored
-
Marco Pracucci authored
-
Julius Laitala authored
-
- Jul 05, 2019
-
-
Cyril Tovena authored
-
sh0rez authored
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
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
-
Zeng Ming authored
-
Julius Laitala authored
* fluent-plugin: Mark as multi-workers ready * fluent-plugin: Add info on multi-worker usage to README
-
Gene Liverman authored
Fixes #715
-
- Jul 02, 2019
-
-
Edward Welch authored
removing entries.go as we are no longer using the custom Histogram for the log_entries_bytes histogram
-
Edward Welch authored
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.
-
- Jul 01, 2019
-
-
Dieter Plaetinck authored
fix logcli code src path
-
Dieter Plaetinck authored
-
- Jun 20, 2019
-
-
Sandeep Sukhani authored
-
David authored
Remove useless config option
-
- Jun 19, 2019
-
-
Xiang Dai authored
-
Xiang Dai authored
Signed-off-by:
Xiang Dai <764524258@qq.com>
-
Xiang Dai authored
Signed-off-by:
Xiang Dai <764524258@qq.com>
-
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
-
Xiang Dai authored
Signed-off-by:
Xiang Dai <764524258@qq.com>
-