You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/docker-driver/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ The Docker daemon on each Docker host has a default logging driver; each contain
37
37
38
38
When you start a container, you can configure it to use a different logging driver than the Docker daemon’s default, using the `--log-driver` flag. If the logging driver has configurable options, you can set them using one or more instances of the `--log-opt <NAME>=<VALUE>` flag. Even if the container uses the default logging driver, it can use different configurable options.
39
39
40
-
The following command configure the container `grafana` to start with the loki drivers which will send logs to `logs-us-west1.grafana.net` Loki instance, using a batch size of 400 entries and will retry maximum 5 times if it fails.
40
+
The following command configure the container `grafana` to start with the Loki drivers which will send logs to `logs-us-west1.grafana.net` Loki instance, using a batch size of 400 entries and will retry maximum 5 times if it fails.
Copy file name to clipboardExpand all lines: production/README.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ The demo includes complimentary metrics (Prometheus or Graphite) that help illus
20
20
21
21
The Docker images for [Loki](https://hub.docker.com/r/grafana/loki/) and [Promtail](https://hub.docker.com/r/grafana/promtail/) are available on DockerHub.
22
22
23
-
To test locally, we recommend using the `docker-compose.yaml` file in this directory. Docker starts containers for promtail, Loki, and Grafana.
23
+
To test locally, we recommend using the `docker-compose.yaml` file in this directory. Docker starts containers for Promtail, Loki, and Grafana.
24
24
25
25
1. Either `git clone` this repository locally and `cd loki/production`, or download a copy of the [docker-compose.yaml](docker-compose.yaml) locally.
26
26
@@ -38,14 +38,14 @@ To test locally, we recommend using the `docker-compose.yaml` file in this direc
38
38
39
39
1. Grafana should now be available at http://localhost:3000/. Log in with `admin` / `admin` and follow the [steps for configuring the datasource in Grafana](../docs/querying.md#grafana), using `http://loki:3100` for the URL field.
40
40
41
-
**Note:** When running locally, promtail starts before loki is ready. This can lead to the error message "Data source connected, but no labels received." After a couple seconds, Promtail will forward all newly created log messages correctly.
41
+
**Note:** When running locally, Promtail starts before Loki is ready. This can lead to the error message "Data source connected, but no labels received." After a couple seconds, Promtail will forward all newly created log messages correctly.
42
42
Until this is fixed we recommend [building and running from source](#build-and-run-from-source).
43
43
44
44
For instructions on how to query Loki, see [our usage docs](../docs/querying.md).
45
45
46
46
## Using Helm to deploy on Kubernetes
47
47
48
-
There is a [Helm chart](helm) to deploy Loki and promtail to Kubernetes.
48
+
There is a [Helm chart](helm) to deploy Loki and Promtail to Kubernetes.
49
49
50
50
## Build and run from source
51
51
@@ -69,7 +69,7 @@ To build Promtail on non-Linux platforms, use the following command:
69
69
$ go build ./cmd/promtail
70
70
```
71
71
72
-
On Linux, promtail requires the systemd headers to be installed for
72
+
On Linux, Promtail requires the systemd headers to be installed for
73
73
Journal support.
74
74
75
75
With Journal support on Ubuntu, run with the following commands:
Grafana should now be available at http://localhost:3000/. Follow the [steps for configuring the datasource in Grafana](../docs/querying.md) and set the URL field to `http://host.docker.internal:3100`.
110
110
111
-
For instructions on how to use loki, see [our usage docs](../docs/querying.md).
111
+
For instructions on how to use Loki, see [our usage docs](../docs/querying.md).
0 commit comments