-
Notifications
You must be signed in to change notification settings - Fork 1.8k
doc/user: Add metrics and service-monitor docs #719
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
Conversation
As agreed offline: we want to also a |
13605b9
to
1654c1f
Compare
97cbe94
to
a73a77d
Compare
@shawn-hurley You mentioned you wanted me to add a |
a73a77d
to
28dd07c
Compare
Blocked until #1037 is merged, but ready for review. |
Happy with all the suggestions here, docs are not my strong point. :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks pretty good to me. I have a couple of suggestions. Also, should we link to these from the user guide?
doc/user/metrics/service_monitor.md
Outdated
} | ||
``` | ||
|
||
*Note:* Create one `ServiceMonitor` per application and per `Namespace`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe expand on this a little bit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved this as a comment in code example so it hopefully makes more sense.
Renamed the file as well to |
@joelanford Made some adjustments, can you please have another look.
Yes, was thinking the same but wasn't sure where it should be placed, if you have any suggestions? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM other than a couple more suggestions.
@lilic I'd say under the "Advanced Topics" section would be a good spot. WDYT? https://github.com/operator-framework/operator-sdk/blob/master/doc/user-guide.md#advanced-topics |
b4d83dc
to
ff0c644
Compare
ff0c644
to
a117683
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple minor nits, but overall LGTM
Co-Authored-By: LiliC <cosiclili@gmail.com>
Co-Authored-By: LiliC <cosiclili@gmail.com>
Co-Authored-By: LiliC <cosiclili@gmail.com>
Co-Authored-By: LiliC <cosiclili@gmail.com>
Done, PTALA @hasbro17 |
Perhaps this is outside the scope of this PR and we can do a follow up but I don't see any documentation on what the actual metrics being exposed are.
|
Co-Authored-By: LiliC <cosiclili@gmail.com>
Co-Authored-By: LiliC <cosiclili@gmail.com>
Co-Authored-By: LiliC <cosiclili@gmail.com>
Co-Authored-By: LiliC <cosiclili@gmail.com>
Co-Authored-By: LiliC <cosiclili@gmail.com>
Co-Authored-By: LiliC <cosiclili@gmail.com>
@hasbro17 Done, addressed the comments. I opened issue for the above suggestion to tackle in a follow up PR, when I am back from vacation. PTALA, thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description of the change:
Basic documentation for monitoring.