Skip to content

Commit

Permalink
doc: Cleanup formatting (#3017)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
jdbaldry authored Dec 2, 2020
1 parent 3159724 commit 794c324
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/sources/getting-started/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.

Expand Down

0 comments on commit 794c324

Please sign in to comment.