Examples of MetricConfig


Examples of org.platformlayer.ops.model.metrics.MetricConfig

      @Override
      public MetricInfoCollection call() throws Exception {
        BindingScope bindingScope = BindingScope.push(managedItem, managedItem);
        try {
          Object controller = serviceProvider.getController(managedItem);
          MetricConfig metricConfig = opsContext.getMetricInfo(controller);

          return MetricCollector.toMetricInfo(metricConfig);
        } finally {
          bindingScope.pop();
        }
View Full Code Here

Examples of org.tehuti.metrics.MetricConfig

                keyBytesParentSensors[i] = parents[i].keyBytesSensor;
            }
        }

        // Initialize MetricConfig
        MetricConfig metricConfig = new MetricConfig().timeWindow(durationMs, TimeUnit.MILLISECONDS);

        // Time Sensor

        String timeSensorName = name + ".time";
        this.timeSensor =
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.