glassfish
  1. glassfish
  2. GLASSFISH-16158

Register monitoring probes for deployed applications

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 3.1
    • Fix Version/s: future release
    • Component/s: deployment
    • Labels:
      None

      Description

      To consider in 3.2:

      If an application has defined Probes and ProbeProviders, during deployment we should register the Probes/ProbeProviders with GlassFish Monitoring.

      In MonitoringBootstrap (admin/monitor) we have registerProbes which can be used.

      public synchronized void registerProbes(String appName, File appDir, ClassLoader cl) {

      This is currently used by connector module to register the system app jdbcra when it gets loaded.

      Then a user does not need to call probeProviderFactory.getProbeProvider(getClass());
      http://blogs.sun.com/foo/entry/mort_learns_how_to_use

      Maybe there is also some way we can handle any ProbeListeners that are defined.

        Activity

          People

          • Assignee:
            Hong Zhang
            Reporter:
            Jennifer Chou
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: