Skip to content
This repository has been archived by the owner on Apr 26, 2021. It is now read-only.

Util for streaming logs from Docker and pass as metrics to monitoring systems – now it's DataDog only

License

Notifications You must be signed in to change notification settings

andre487/docker-log-monitor

Repository files navigation

docker-log-monitor

Util for streaming logs from docker and pass as metrics to monitoring systems

Build Status Maintainability Test Coverage npm version

Features:

  • Count statuses in logs: each debug, info, error, etc. becomes docker-log-monitor.status.${name} with tag container:${containerName}
  • Send timings: each line with Measure::duration::<label>: <time> becomes docker-log-monitor.timing.${label} with timing and tag container:${containerName}

Install:

  $ npm install -g forever docker-log-monitor
  $ docker-log-monitor container1 container2 containerN
  $ docker-log-monitor-daemon container1 container2 containerN

Usage:

usage: docker-log-monitor [-h] [-v] [--monitor {data-dog}] [--pass-pseudo] [--all]
           [containerName [containerName ...]]

Util for streaming logs from docker and pass as metrics to minitoring systemd

Positional arguments:
  containerName

Optional arguments:
  -h, --help            Show this help message and exit.
  -v, --version         Show program's version number and exit.
  --monitor {data-dog}
  --pass-pseudo         Pass pseudo increment for passing signal names to
                        system
  --all                 Listen for all containers

About

Util for streaming logs from Docker and pass as metrics to monitoring systems – now it's DataDog only

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published