-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Using MonitorService to setup Prometheus #1030
Conversation
f1fb007
to
3989fc4
Compare
58503d6
to
3958305
Compare
HI @DirectXMan12, It is done now. Please, feel free to review it. Cheers, |
/assign @mengqiy PTAL |
When updating the scaffolding, please ensure to run |
HI @mengqiy, Thank you I am doing it now. If is it required, should not be better call it in the default make command and add a ci test to ensure that it is updated? Wdyt? Let's track an issue for that? |
/retest |
@camilamacedo86: Cannot trigger testing until a trusted user reviews the PR and leaves an In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
48e94ca
to
db760db
Compare
The code LG, but we need to make travis happen to merge the PR. It is complaining about
We probably should add |
c059ef4
to
b3241bd
Compare
I'd rather figure out what's going on than just increasing the timelimit. It looks like it's failing on download dependencies... |
for instance: https://travis-ci.org/kubernetes-sigs/kubebuilder/jobs/596368671#L571 Why is that just hanging? Perhaps we can run with |
oh, hey, @camilamacedo86 already has a fix up @ #1090 :-) |
b3241bd
to
e75b02a
Compare
e75b02a
to
bec8316
Compare
Hi @mengqiy, Shows that all is OK now :-) Really tks for your guidance and help here. |
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.
Thanks for your hard work to get this through!
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: camilamacedo86, mengqiy The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
the searched result in prometheus UI do not show anything about the monitor? |
Hi @caneGuy the documentation explains how to configure it with kubebuilder is in: https://book.kubebuilder.io/reference/metrics.html?highlight=metr#metrics However, if you face any problem or have any question could you please address it in an issue in the repo which would be a better place? Feel free to ping me there if you wish. |
Thanks @camilamacedo86 |
#1522 a new issue here @camilamacedo86 thanks |
Description of the change:
Scaffold out optional ServiceMonitor objects to setup monitor metrics for Prometheus
Motivation for the change:
SDK Integration:
Prometheus upstream no longer recommends using annotations.
Following the steps to test it
$ mkdir monitor $ cd monitor/ $ kubebuilder init --domain monitor.domain $ kubebuilder create api --group example --version v1 --kind MonitorTest
config/default/kustomization.yaml
to apply the ServiceMonitorSearch:
{namespace="monitor-system"}