Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Paulin Todev <[email protected]>
  • Loading branch information
clayton-cornell and ptodev authored Dec 6, 2023
1 parent 7a8e17f commit 42ba914
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ This conversion will enable you to take full advantage of the many additional fe

### Debugging

1. If the convert command can't convert a Prometheus configuration, diagnostic information is sent to `stderr`.\
1. If the `convert` command can't convert a Prometheus configuration, diagnostic information is sent to `stderr`.\
You can bypass any non-critical issues and output the {{< param "PRODUCT_NAME" >}} configuration using a best-effort conversion by including the `--bypass-errors` flag.

{{% admonition type="caution" %}}
Expand Down
4 changes: 2 additions & 2 deletions docs/sources/flow/getting-started/migrating-from-promtail.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,11 @@ This conversion will enable you to take full advantage of the many additional fe
{{< code >}}

```static-binary
AGENT_MODE=flow grafana-agent convert --source-format=promtail --report=OUTPUT_REPORT_PATH --output=<OUTPUT_CONFIG_PATH> <INPUT_CONFIG_PATH>
AGENT_MODE=flow grafana-agent convert --source-format=promtail --report=<OUTPUT_REPORT_PATH> --output=<OUTPUT_CONFIG_PATH> <INPUT_CONFIG_PATH>
```

```flow-binary
grafana-agent-flow convert --source-format=promtail --report=OUTPUT_REPORT_PATH --output=<OUTPUT_CONFIG_PATH> <INPUT_CONFIG_PATH>
grafana-agent-flow convert --source-format=promtail --report=<OUTPUT_REPORT_PATH> --output=<OUTPUT_CONFIG_PATH> <INPUT_CONFIG_PATH>
```

{{< /code >}}
Expand Down

0 comments on commit 42ba914

Please sign in to comment.