Skip to content
This repository has been archived by the owner on Jan 31, 2024. It is now read-only.

Add Prometheus servicemonitor for Jupyterhub service #239

Merged

Conversation

4n4nd
Copy link
Member

@4n4nd 4n4nd commented Nov 9, 2020

No description provided.

@openshift-ci-robot
Copy link
Collaborator

Hi @4n4nd. Thanks for your PR.

I'm waiting for a opendatahub-io member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

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.

@anishasthana
Copy link
Member

/ok-to-test

Copy link
Member

@anishasthana anishasthana left a comment

Choose a reason for hiding this comment

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

kind: ServiceMonitor
metadata:
labels:
app: jupyterhub
Copy link
Member

Choose a reason for hiding this comment

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

Would changing the name to odh-jupyterhub be safer?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think jupyterhub is better since all other JH components have this label

Copy link
Member

@anishasthana anishasthana Nov 9, 2020

Choose a reason for hiding this comment

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

Fine by me. I'll defer to @nakfour re: the label

Copy link
Contributor

Choose a reason for hiding this comment

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

The label is bound to the team right? In that case, I think we're fine

Copy link

Choose a reason for hiding this comment

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

@anishasthana is this supposed to scrape metrics from KF jupyter ? If not, we need to say it is odh-jupyterhub. I know KF does not have jupyterhub but there is always confusion between what odh has and what KF has.

Copy link
Member Author

Choose a reason for hiding this comment

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

I think a lot of ODH JH components have this label.
Are we planning to rename them to odh-jupyterhub?

Copy link
Contributor

Choose a reason for hiding this comment

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

Not particular plan, we have other labels too, if you want to be more specific component.opendatahub.io/name: jupyterhub

Copy link
Member Author

Choose a reason for hiding this comment

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

I think we should keep it as app=jypyterhub rn and create a new PR to update labels for all the JH components.

Copy link

Choose a reason for hiding this comment

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

ok thats fine, please open the issue to change all labels to jupyterhub

@nakfour nakfour added this to In progress in ODH 0.9.0 Nov 9, 2020
@vpavlin
Copy link
Contributor

vpavlin commented Nov 9, 2020

/lgtm

@openshift-ci-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: 4n4nd, nakfour

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-robot openshift-merge-robot merged commit 58e1d23 into opendatahub-io:master Nov 9, 2020
@4n4nd 4n4nd deleted the jh-servicemonitor branch November 9, 2020 20:34
@nakfour nakfour moved this from In progress to Done in ODH 0.9.0 Nov 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
ODH 0.9.0
  
Done
6 participants