From c19f19f97491c5f8ed403c1a0a3a92f7c20c759c Mon Sep 17 00:00:00 2001 From: Sylvain Witmeyer Date: Mon, 23 Oct 2023 02:48:45 -0400 Subject: [PATCH] docs: Update sampling.md (#10987) **What this PR does / why we need it**: Fix parsing error in the doc **Special notes for your reviewer**: **Checklist** - [X] Reviewed the [`CONTRIBUTING.md`](https://github.com/grafana/loki/blob/main/CONTRIBUTING.md) guide (**required**) - [x] Documentation added - [ ] Tests updated - [ ] `CHANGELOG.md` updated - [ ] If the change is worth mentioning in the release notes, add `add-to-release-notes` label - [ ] Changes that require user attention or interaction to upgrade are documented in `docs/sources/setup/upgrade/_index.md` - [ ] For Helm chart changes bump the Helm chart version in `production/helm/loki/Chart.yaml` and update `production/helm/loki/CHANGELOG.md` and `production/helm/loki/README.md`. [Example PR](https://github.com/grafana/loki/commit/d10549e3ece02120974929894ee333d07755d213) - [ ] If the change is deprecating or removing a configuration option, update the `deprecated-config.yaml` and `deleted-config.yaml` files respectively in the `tools/deprecated-config-checker` directory. --- docs/sources/send-data/promtail/stages/sampling.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sources/send-data/promtail/stages/sampling.md b/docs/sources/send-data/promtail/stages/sampling.md index 5c7c68f42d..00127b431d 100644 --- a/docs/sources/send-data/promtail/stages/sampling.md +++ b/docs/sources/send-data/promtail/stages/sampling.md @@ -47,7 +47,7 @@ pipeline_stages: app: - match: pipeline_name: "app2" - selector: "{app="poki"}" + selector: '{app="poki"}' stages: - sampling: rate: 0.1