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

Update documentation for percentage_format_string and alerta_timeout #65

Closed
wants to merge 2 commits into from

Conversation

nsano-rururu
Copy link
Collaborator

@@ -1277,6 +1277,10 @@ evaluated separately against the threshold(s).
For example, "%.2f" will round it to 2 decimal places.
See: https://docs.python.org/3.4/library/string.html#format-specification-mini-language

.. note:: If you want to change the percentage format inside your alert, you must specify the format there cause ``percentage_format_string`` wont't be applied.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some typos on this new text. I suggest the following instead:

If you want to change the percentage format inside your alert, you must specify the format there because percentage_format_string won't be applied.

Example: alerta_value: "%(percentage).2f%%"

@nsano-rururu
Copy link
Collaborator Author

I will put it out again so I will close it.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants