[Hawkular-dev] Application Performance Metrics within minishift

Abdel Hegazi abdo.hegazy at gmail.com
Fri May 26 11:22:17 EDT 2017


Hi,

I am trying to find a way to visualize APM within each container running
which is something I am not able to do with Prometheus (I am running
Openshift Origin/ minishift)

With some help from google, I found this blog post from openshift guys
https://blog.openshift.com/performance-metrics-apm-spring-boot-microservices-openshift/

which (theoretically) is exactly what I am looking for but it looks like
nothing it really working as the documentation says as I am always hit by
this error message which I already posted at the comment section but no one
replied
ERROR: Neither $JAVA_MAIN_CLASS nor $JAVA_APP_JAR is set and 0 found in
/deployments (1 expected)

As I see the ENTRYPOINT is missing, so regardless the the value of the
$JAVA_OPTIONS env variable it doesn't look like it feels it.


So, with some more search I found this blog post by you which seemed great,
http://www.hawkular.org/blog/2017/03/25/collecting-application-metrics-openshift.html

but the thing even starting $minishift --metrics but I am still not able to
receive any metrics as it always says metrics isn't enabled within the
cluster.

I tried to run some of the example mentioned wildfly, java, python ..etc
something is still missing, I am not able to find-out what should I do as
to get some metrics I am assuming all of these base images in all your
examples will have hawkular agent .jar injected within them so that they
should be able to export metrics to wherever endpoint, what I would like to
have either to visualize these metrics at grafana (which I assume via
prometheus) or at hawkular server interface.


Is there any working documentation which is actually updated and tested?

Thanks,

-- 
Abdel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hawkular-dev/attachments/20170526/1c6cecbe/attachment.html 


More information about the hawkular-dev mailing list