consul-checks-logger

command module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2022 License: MIT Imports: 5 Imported by: 0

README

consul-checks-logger

A simple daemon that watches Consul health checks and writes them as JSON to standard output when they change. Available as Docker image at ghcr.io/lukas-w/consul-checks-logger. Configure Consul connection using standard environment variables CONSUL_HTTP_ADDR, CONSUL_HTTP_TOKEN, etc.

Sample output:

{
  "CheckID": "oxygen",
  "Name": "Oxygen status",
  "Node": "apollo",
  "Output": "we've had a problem here",
  "ServiceID": "life-support",
  "ServiceName": "Life Support",
  "ServiceTags": [],
  "Status": "warning",
  "Time": "1970-04-22:08:20-05:00",
  "Type": "ttl"
}

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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