Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add optional metrics prefix #3

Merged
merged 2 commits into from
Aug 14, 2024
Merged

Add optional metrics prefix #3

merged 2 commits into from
Aug 14, 2024

Conversation

sdclarke
Copy link
Collaborator

@sdclarke sdclarke commented Aug 14, 2024

If the variable casd_metrics_prefix is set, the --metrics-prefix argument will be added to the command with that value

This PR additionally fixes some formatting errors in multiline strings in defaults/main.yml

@sdclarke sdclarke marked this pull request as draft August 14, 2024 09:56
The multiline strings in `defaults/main.yml` were incorrectly formatted,
which was causing them to contain literal `"` characters and to have
erroneous `\n` characters appended to the end of them.

This has been fixed by removing the quote characters and switching to
the `>-` block specifier which prevents the addition of a final newline.
If the variable `casd_metrics_prefix` is set, the `--metrics-prefix`
argument will be added to the command with that value
@sdclarke sdclarke marked this pull request as ready for review August 14, 2024 10:29
@sdclarke sdclarke merged commit ced1d51 into main Aug 14, 2024
1 check passed
@sdclarke sdclarke deleted the scott/metrics-prefix branch August 16, 2024 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants