-
Enhancement
-
Resolution: Obsolete
-
Major
-
None
-
None
-
None
-
False
-
False
-
%
-
?
-
Undefined
-
In order to monitor a Fuse app, we need to create a servicemonitor for the app :
We might be able to save a step in monitoring setup if we configured f-m-p or openshift-maven-plugin to configure the servicemonitor in a "monitoring" or the openshift profile. In recent versions of openshift, the servicemonitor CRD will be there - maybe we could do something smart and try to detect the version of openshift we're installing on.
I don't think the servicemonitor CRD will be there out of the box in openshift 3 or openshift <= 4.2, so we wouldn't want to do that there because it might cause an error.
example
mvn -Popenshift,monitoring fabric8:deploy