code: @Override
      public void applicationStopped(ApplicationInfo appInfo) {
          MetricRegistry registry = sharedMetricRegistry.getOrCreate(MetricRegistry.Type.APPLICATION.getName());
          if (MetricRegistryImpl.class.isInstance(registry)) {
              MetricRegistryImpl impl = (MetricRegistryImpl) registry;
              impl.unRegisterApplicationMetrics(appInfo.getDeploymentName());
          }
      }
docs: {@inheritDoc}