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
Christian Simon 3d941ccccb
Update alpine images to 3.15.4 (#5780)
4 years ago
..
Dockerfile Update alpine images to 3.15.4 (#5780) 4 years ago
README.md Loki/Promtail: Client Refactor (#3623) 5 years ago
config.go Upgrade Cortex, Prometheus and Thanos (#4830) 4 years ago
config.json Loki/Promtail: Client Refactor (#3623) 5 years ago
config_test.go Chore: Add pkg/util/log package (#5187) 4 years ago
docker-compose.yaml Loki/Promtail: Client Refactor (#3623) 5 years ago
driver.go Replacing go-kit/kit/log with go-kit/log (#4484) 4 years ago
http.go Loki/Promtail: Client Refactor (#3623) 5 years ago
loki.go [promtail] Refactor promtail client metrics so that we can't have duplicate metrics collected for the lag metric. (#5521) 4 years ago
loki_test.go Chore: Add pkg/util/log package (#5187) 4 years ago
main.go Chore: Add pkg/util/log package (#5187) 4 years ago
pipeline-example.yaml Loki/Promtail: Client Refactor (#3623) 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.