Apply a Go template to the korrel8r engine.

Synopsis

Apply a Go template to the korrel8r engine. Reads stdin by default if neither --file nor --template is provided. Useful for testing rule and store templates.

korrel8r template [--file FILE|--template STRING] [flags]

Options

  -f, --file string       read template from file
  -h, --help              help for template
  -t, --template string   use template string

Options inherited from parent commands

  -c, --config string        Configuration file (default "/etc/korrel8r/korrel8r.yaml")
  -o, --output string        Output format: [json, json-pretty, yaml] (default "yaml")
      --profile string       Enable profiling, one of [block, cpu, goroutine, mem, alloc, heap, mutex, clock, http]
      --profilePath string   Output path for profile
  -v, --verbose int          Verbosity for logging (0: notice/error/warn, 1: info, 2: debug, 3: trace-per-request, 4: trace-per-rule, 5: trace-per-object)

SEE ALSO

  • korrel8r - REST service to correlate observability data