lokitool

module
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2019 License: Apache-2.0

README

lokitool: tooling for Grafana Loki

Promtail pipeline unit testing

How it works:

usage: lokitool test pipeline --config.file=CONFIG.FILE [<flags>] <test-file>...

Run unit tests for Promtail pipeline.

Flags:
  -h, --help                     Show context-sensitive help (also try --help-long and --help-man).
      --verbose                  Enable verbose output.
      --config.file=CONFIG.FILE  Promtail config file.

Args:
  <test-file>  The unit test file.

Example:

$ ./lokitool test pipeline --config.file=./examples/test-pipeline/promtail-config.yaml ./examples/test-pipeline/test.yaml
..

========== SUMMARY ===========

All 2 tests have passed

Directories

Path Synopsis
cmd
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL