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/clients/cmd/docker-driver
Dylan Guedes 4681386775
Update alpine versions (#10573)
2 years ago
..
Dockerfile Update alpine versions (#10573) 2 years ago
README.md Loki/Promtail: Client Refactor (#3623) 4 years ago
config.go Update prometheus/prometheus from 2.41 to 2.42 (#8571) 2 years ago
config.json Loki/Promtail: Client Refactor (#3623) 4 years ago
config_test.go Fix open "/tmp/*" the system cannot find the path specified on windows (#8170) 2 years ago
docker-compose.yaml Loki/Promtail: Client Refactor (#3623) 4 years ago
driver.go Replacing go-kit/kit/log with go-kit/log (#4484) 4 years ago
http.go Loki/Promtail: Client Refactor (#3623) 4 years ago
loki.go promtail: Add `max-line-size-truncate` (#8233) 2 years ago
loki_test.go Chore: Add pkg/util/log package (#5187) 3 years ago
main.go Remove unnecessary code after dskit log.Interface has been dereleased (#10434) 2 years ago
pipeline-example.yaml Loki/Promtail: Client Refactor (#3623) 4 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.