Search in sources :

Example 1 with FileDescriptorMetric

use of com.navercorp.pinpoint.profiler.monitor.metric.filedescriptor.FileDescriptorMetric in project pinpoint by naver.

the class FileDescriptorMetricProvider method get.

@Override
public FileDescriptorMetric get() {
    final JvmVersion jvmVersion = JvmUtils.getVersion();
    final JvmType jvmType = getJvmType();
    final OsType osType = getOsType();
    final String classToLoad = getMetricClassName(osType, jvmVersion, jvmType);
    FileDescriptorMetric fileDescriptorMetric = createFileDescriptorMetric(classToLoad);
    logger.info("loaded : {}", fileDescriptorMetric);
    return fileDescriptorMetric;
}
Also used : JvmVersion(com.navercorp.pinpoint.common.util.JvmVersion) OsType(com.navercorp.pinpoint.common.util.OsType) JvmType(com.navercorp.pinpoint.common.util.JvmType) FileDescriptorMetric(com.navercorp.pinpoint.profiler.monitor.metric.filedescriptor.FileDescriptorMetric)

Aggregations

JvmType (com.navercorp.pinpoint.common.util.JvmType)1 JvmVersion (com.navercorp.pinpoint.common.util.JvmVersion)1 OsType (com.navercorp.pinpoint.common.util.OsType)1 FileDescriptorMetric (com.navercorp.pinpoint.profiler.monitor.metric.filedescriptor.FileDescriptorMetric)1