-
Notifications
You must be signed in to change notification settings - Fork 51
[WP] Attempt to enable che-master monitoring #950
Conversation
Can one of the admins verify this patch? |
[test] |
1 similar comment
[test] |
@skabashnyuk The che server [build 630] has been successfully deployed. |
@davidfestal could you please review the PR and provide some feedback / recommendations since have precious experience of setting up jolokia for che-tenant-maintainer |
Sure, I'm looking into it |
Seems good to me.
|
@@ -43,6 +43,22 @@ RUN mkdir -p /etc/pcp /var/run/pcp /var/lib/pcp /var/log/pcp | |||
RUN chmod -R 0777 /etc/pcp /var/run/pcp /var/lib/pcp /var/log/pcp | |||
EXPOSE 44321 | |||
|
|||
|
|||
# Agent bond including Jolokia and jmx_exporter |
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.
Since there is a centos image with JDK 8 and Agent Bond
here I think we should use it instead of manually adding all of this into RhChe repo.
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.
@ibuziuk @davidfestal @l0rd @amisevsk WDYT?
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.
The question is: is there the equivalent for RHEL. We now manage 2 versions of the DockerFile.
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.
BTW @skabashnyuk Do you plan to do the same changes in Dockerfile.rhel ?
That would be needed to have JMX on prod and prod-preview I assume, no ?
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.
ur right, there is no rhel version. Maybe we should ask to provide one
cool! |
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.
@davidfestal Is it possible to test these changes on dev-cluster at all? I'm not sure we can do that without merging and delivering to prod-preview |
@garagatyi I don't see why we wouldn't be able to test this on dev-cluster. But I might be missing some point. |
@davidfestal I just don't understand how to test it on dev cluster. Could you elaborate? I would really love to understand that and the whole team would also benefit from sharing this info |
When a server is deployed with Jolokia enabled, the Openshift console allows accessing the JMX web console through a link available on the POD configuration page: You can test it (if you have edit rights on prod-preview) on the maintainer POD config page: I don't see why it wouldn't work on dev-cluster the same way. |
@skabashnyuk Shouldn't you enable the jolokia port in the RhChe deployment yaml file ? by adding these options to the Che server container ports:
|
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.
Test to check what is wrong with my ability to comment other comments in the PR
Now it is clear. Thanks! |
Sorry for the late response The reason why I did this pr in downstream first is that in upstream Che is quite challenging to enable metrics. |
what is the state of this PR? |
Sorry for late response. Unfortunately, due to the shift in priorities, I won't be able to finalize this PR |
@skabashnyuk The che server [build 729] has been successfully deployed. |
I'll test it and finalize it as necessary |
@davidfestal thank you. |
will be done as part of #1111 |
What does this PR do?
https://github.com/fabric8io-images/java/tree/master/images/centos/openjdk8/jdk
https://github.com/fabric8io/agent-bond
https://github.com/rhuss/jolokia
https://github.com/prometheus/jmx_exporter
What issues does this PR fix or reference?
How have you tested this PR?