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

doc/metrics: mention that metrics authentication can be disabled #12021

Merged
merged 1 commit into from
Jul 18, 2023

Conversation

simondeziel
Copy link
Member

No description provided.

… recommended)

Signed-off-by: Simon Deziel <simon.deziel@canonical.com>
@github-actions github-actions bot added the Documentation Documentation needs updating label Jul 15, 2023
@@ -95,6 +95,13 @@ Then add this certificate to the list of trusted clients, specifying the type as

lxc config trust add metrics.crt --type=metrics

If requiring TLS client authentication isn't possible in your environment, the `/1.0/metrics` API endpoint can be made available to unauthenticated clients. While not recommended, this might be acceptable if you have other controls in place to restrict who can reach that API endpoint. To disable the authentication on the metrics API:
Copy link
Member

Choose a reason for hiding this comment

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

Can you add a line break before the word "While".

This won't result in any change of generated output in the docs itself, but makes review easier.

Copy link
Member

Choose a reason for hiding this comment

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

@ru-fu would you say that we should add a line break after each full stop?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, I always do it and I think it's very helpful.
There's no requirement for that, but as you're saying, it makes reviewing a lot easier. When we're updating the docs, changes are usually on a sentence level, so this gives a much nicer diff than having random line breaks at 80 characters.

@tomponline
Copy link
Member

Merging for now @simondeziel im sure will fix the newlines when he gets back.

@tomponline tomponline merged commit 7afe58b into canonical:main Jul 18, 2023
25 checks passed
@simondeziel simondeziel deleted the metrics-auth branch July 19, 2023 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Documentation needs updating
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants