Results 1 to 1 of 1

Thread: ManagedMetric functionality using Spring 2.5

  1. #1
    Join Date
    Sep 2004
    Posts
    127

    Default ManagedMetric functionality using Spring 2.5

    @ManagedMetric in Spring 3.0 makes it very easy to make custom metrics available to Hyperic 4.2.

    Now I'd like to do the same for an existing application based on Spring 2.5, where @ManagedMetric isn't available (Spring open source, not the instrumented version).

    The way I understand it, @ManagedMetric is just a plain vanilla JMX attribute plus some naming conventions, so that Hyperic can auto-discover the attribute and deduce the metric type.

    If that's correct, then it should be possible to achieve the same effect using a @ManagedAttribute and by following some naming conventions.

    Can anyone confirm this, or even provide sample code?

    Thanks in advance,
    Dan
    Last edited by dan.baumann; May 11th, 2010 at 05:54 AM. Reason: clarified title

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •