Package org.apache.druid.server.metrics
Class MonitorsConfig
- java.lang.Object
-
- org.apache.druid.server.metrics.MonitorsConfig
-
public class MonitorsConfig extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringAPACHE_DRUID_PACKAGE_NAMEstatic StringIO_DRUID_PACKAGEstatic StringMETAMX_PACKAGEPrior to 0.12.0, Druid used Monitor classes from the `com.metamx.metrics` package.static StringMETRIC_DIMENSION_PREFIX
-
Constructor Summary
Constructors Constructor Description MonitorsConfig(List<String> monitorNames)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Map<String,String[]>extractDimensions(Properties props, List<String> dimensions)List<Class<? extends org.apache.druid.java.util.metrics.Monitor>>getMonitors()static Map<String,String[]>mapOfDatasourceAndTaskID(String datasource, String taskId)StringtoString()
-
-
-
Field Detail
-
METRIC_DIMENSION_PREFIX
public static final String METRIC_DIMENSION_PREFIX
- See Also:
- Constant Field Values
-
METAMX_PACKAGE
public static final String METAMX_PACKAGE
Prior to 0.12.0, Druid used Monitor classes from the `com.metamx.metrics` package. In 0.12.0, these Monitor classes were moved to the Druid repo under `org.apache.druid.java.util.metrics`. In 0.13.0, they were moved again to `org.apache.druid.java.util.metrics`. See https://github.com/apache/druid/pull/5289 and https://github.com/apache/druid/pull/6266 for details. We automatically adjust old package references to `org.apache.druid.java.util.metrics` for backwards compatibility purposes, easing the upgrade process for users.- See Also:
- Constant Field Values
-
IO_DRUID_PACKAGE
public static final String IO_DRUID_PACKAGE
- See Also:
- Constant Field Values
-
APACHE_DRUID_PACKAGE_NAME
public static final String APACHE_DRUID_PACKAGE_NAME
- See Also:
- Constant Field Values
-
-