pcp
[Top] [All Lists]

Re: [performancecopilot/parfait] parfait-agent initializes before main a

To: performancecopilot/parfait <parfait@xxxxxxxxxxxxxxxxxx>
Subject: Re: [performancecopilot/parfait] parfait-agent initializes before main app so JMX MBeans do not exist (#32)
From: Paul Smith <notifications@xxxxxxxxxx>
Date: Sun, 28 Aug 2016 18:12:35 -0700
Delivered-to: pcp@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1472433155; bh=B8j4GA6y2140Kk3tmMxieOl7EdUAONPixBGsQYEqC9g=; h=From:Reply-To:To:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=iRscgUTKSGIS3FCE89VdIVxSkH2UceY6ZOZM6pGOEze1eVX2jX4VCc0jgZLO8eChz Pw12DSeit1e5lazDIVoGqLu+RS6I5VtPhyQUWEt30M1B0QLpYOeFGRQ8NsDBvKsk4T 4qvBo013K3iwDpFiMQ6WM/OiIdJ0YN4cZhBRG9Ow=
In-reply-to: <performancecopilot/parfait/issues/32@xxxxxxxxxx>
List-archive: https://github.com/performancecopilot/parfait
List-id: performancecopilot/parfait <parfait.performancecopilot.github.com>
List-post: <mailto:reply+00bd08b61e26ef517ac6602ed915db3403102b4340be95cb92cf0000000113db4e0392a169ce0a57c254@reply.github.com>
List-unsubscribe: <mailto:unsub+00bd08b61e26ef517ac6602ed915db3403102b4340be95cb92cf0000000113db4e0392a169ce0a57c254@reply.github.com>, <https://github.com/notifications/unsubscribe/AL0Itkc7wIYLKmAbKvQ50HFEduJO7R4nks5qkjIDgaJpZM4JuYXL>
References: <performancecopilot/parfait/issues/32@xxxxxxxxxx>
Reply-to: performancecopilot/parfait <reply+00bd08b61e26ef517ac6602ed915db3403102b4340be95cb92cf0000000113db4e0392a169ce0a57c254@xxxxxxxxxxxxxxxx>

@natoscott will have to comment directly here on the current state, but I believe right now parfait-agent will only export some known JVM metrics, there's not yet a mechanism to export custom (application-specific) metrics as yet (though that is definitely the plan).

Part of the Parfait lifecycle requires a 'quiet' period for new metrics to appear - it waits up to 5 seconds after the last detected metric has been registered before (re)starting the export. This prevents a large application starting up, registering a lot from tripping a blitz of registrations to PCP. Once the application has quieted down, Parfait will begin exporting to PCP.

Eventually your own JMX/custom metrics will be registered by a mechanism like an XML config.

You might also want to look at the Parfait-DropWizard integration (part of this module). If you are using DropWizard metrics in the application, it's pretty easy to have these exported to PCP.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

<Prev in Thread] Current Thread [Next in Thread>