Like Prometheus, but for logs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
loki/cmd/docker-driver
Cyril Tovena e6778e9827
Update to go 1.15 (#2877)
5 years ago
..
Dockerfile Update to go 1.15 (#2877) 5 years ago
README.md Docker driver doc (#2389) 5 years ago
config.go Promtail: (and also fluent-bit) change the max batch size to 1MB (#2710) 5 years ago
config.json Remove mount in the docker driver. (#2295) 5 years ago
config_test.go Docker driver relabeling (#2199) 5 years ago
docker-compose.yaml Allows to pass inlined pipeline stages to the docker driver. (#2076) 5 years ago
driver.go Log docker driver config map. (#1903) 5 years ago
http.go Docker Logging Driver (#663) 6 years ago
loki.go Change ignoring empty line to debug logging. (#2343) 5 years ago
main.go Add goimport local-prefixes configuration to .golangci.yml (#1710) 5 years ago
pipeline-example.yaml Fix regex pipeline-example.yml (#1707) 5 years ago

README.md

Loki Docker Logging Driver

Overview

Docker logging driver plugins extends Docker's logging capabilities. You can use Loki Docker logging driver plugin to send Docker container logs directly to your Loki instance or Grafana Cloud.

Docker plugins are not yet supported on Windows; see Docker's logging driver plugin documentation

If you have any questions or issues using the Docker plugin feel free to open an issue in this repository.

The documentation source code of the plugin is available in the documentation folder.

Contributing

This directory contains the code source of the docker driver. To build and contribute. you will need:

  • Docker
  • Makefile
  • Optionally go 1.14 installed.

To build the driver you can use make docker-driver, then you can install this driver using make docker-driver-enable. If you want to uninstall the driver simply run make docker-driver-clean.

Make you update the documentation accordingly when submitting a new change.