Re: Parfait agent, docs, rpm updates

"Nathan Scott" <[email protected]>
Newsgroups gmane.comp.sysutils.pcp
Message-ID <[email protected]>
Hi Marko,

----- Original Message -----
> On 2016-11-25 01:55, Nathan Scott wrote:
> > 
> >> Defining the same cluster ID for two different agents using different
> >> name seems to work, it should probably fail to prevent accidents as
> >> their PMID is the same in this case.
> > 
> > pmdammv is actually capable of stitching together metrics from multiple
> > files - people even use this to provide different instances of a metric
> > from different applications for example.  So, its not necessarily an
> > accident when it happens, which makes guarding against accidents tricky.
> 
> Ok, perhaps a quick note on the man page might be helpful?
> 

Yep.

> >> With WildFly (10.1.0.Final) I still see the same logging related
> >> exception when trying to start it up after adding this to start script:
> >>
> >> JAVA_OPTS="-Djava.util.logging.manager=org.jboss.logmanager.LogManager
> >> -Dparfait.name=wildfly -javaagent:/usr/share/java/parfait/parfait.jar
> >> $JAVA_OPTS"
> > 
> > Not sure this is going to be fixable ... still looking for solutions, but
> > its Wildfly being really paranoid about logging.  This may end up being a
> > case where the proxy mode has to be used I guess, good thing we have that
> > solution up our sleeve now.
> 
> After discussing with some Java folks here gave me impression that it's
> not exceptional at all that JMX is used in production for metrics (after
> all, the metric values don't appear out of thin air and in some cases
> require the application to do some additional work making them available
> so the cost of transportation (memory vs socket) to a client is not
> necessarily the key factor), however in some cases JMX is not viable

OK, interesting stuff - thanks for the summary.

> - in order for PCP/Java being a compelling offer on this front a
> complete set of metrics at least from the OpenJDK JVM should be
> available and preferably from some of the most ubiquitous components
> (WildFly, Cassandra, Tomcat, etc) as well

+1  (and per-thread stats, and ..., and ... there are Tomcat stats hiding
somewhere, I believe, like the per-thread stats - just need to find 'em &
stitch them into the parfait-agent spring configs)

> - there should be a couple of examples on how to add new metrics for
> in-house applications

There are some simple examples now, incl. the Acme example from other MMV
implementations.  It would be good to add a Spring implementation of that
as well.

> - BCI (byte code instrumentation) integration / support would be great
> although I'm not yet completely sure what this actually means :-) A
> trivial example could be that in R&D/QA BCI may be helpful to verify
> class usage is as expected (so instead of the total class load count JVM
> provides break that down to class level metrics). Byteman seems to enjoy
> popularity on this front, not sure what it would take to for example
> connect with it using Parfait or JSON or something lese. Or are there
> some more elegant solutions that could be considered here for such cases.

Yep - definitely an interesting area to explore.

cheers.

--
Nathan

-=-=-=-=-=-=-=-=-=-=-=-
pcp mailing list
[email protected]
https://groups.io/g/pcp/messages
-=-=-
Groups.io Links:

You receive all messages sent to this group.

View/Reply Online (#14836): https://groups.io/g/pcp/message/14836
View All Messages In Topic (6): https://groups.io/g/pcp/topic/2984744
Mute This Topic: https://groups.io/mt/2984744?uid=174580
New Topic: https://groups.io/g/pcp/post

Change Your Subscription: https://groups.io/g/pcp/editsub?uid=174580

Group Home: https://groups.io/g/pcp
Contact Group Owner: [email protected]

Terms of Service: https://groups.io/static/tos

Unsubscribe: https://groups.io/g/pcp/leave/354243/563757577/xyzzy
-=-=-=-=-=-=-=-=-=-=-=-
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.