doc: Cleanup formatting (#3017)

* doc: Add missing backticks

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* doc: Use absolute path to positions.yaml file

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* doc: Remove .. from URL paths

I'm not sure what the `..` means exactly.

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
k39
Jack Baldry 5 years ago committed by GitHub
parent 315972409b
commit 794c324e64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      docs/sources/getting-started/troubleshooting.md

@ -46,11 +46,11 @@ Promtail yet. There may be one of many root causes:
Promtail exposes two web pages that can be used to understand how its service
discovery works.
The service discovery page (../service-discovery`) shows all
The service discovery page (`/service-discovery`) shows all
discovered targets with their labels before and after relabeling as well as
the reason why the target has been dropped.
The targets page (../targets`) displays only targets that are being actively
The targets page (`/targets`) displays only targets that are being actively
scraped and their respective labels, files, and positions.
On Kubernetes, you can access those two pages by port-forwarding the Promtail
@ -109,7 +109,7 @@ kubectl exec -it promtail-bth9q -- /bin/sh
Once connected, verify the config in `/etc/promtail/promtail.yml` has the
contents you expect.
Also check `/var/log/positions.yaml` (../run/promtail/positions.yaml` when
Also check `/var/log/positions.yaml` (`/run/promtail/positions.yaml` when
deployed by Helm or whatever value is specified for `positions.file`) and make
sure Promtail is tailing the logs you would expect.

Loading…
Cancel
Save