mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joseph Wu <>
Subject Re: Metrics for custom modules
Date Thu, 14 Jul 2016 00:46:59 GMT
As long as you're using libprocess to write your modules, you can add your
metrics via `process::metrics::add(...)`.  Those will be exposed via the
same old `/metrics/snapshot` endpoint.

On Wed, Jul 13, 2016 at 5:39 PM, Zhitao Li <> wrote:

> Hi,
> I'm not sure whether this has been mentioned, but is it possible to reuse
> Mesos's metric system for custom modules?
> For context, we are planning to turn on some agent-side modules at many
> machines, but we face the question of how we'll monitor their behavior: we
> can reinvent some wheels to export metrics by ourselves (or probably even
> use libprocess code), but I wonder whether Mesos should provide an easier
> solution to allow metrics be reported to the same metrics system of
> master/agent (either merged with standard metrics, or reported separately).
> Any thought about this?
> --
> Cheers,
> Zhitao Li

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message