Interface MetricsEndpointBuilderFactory.MetricsBuilders

    • Method Detail

      • metrics

        default MetricsEndpointBuilderFactory.MetricsEndpointBuilder metrics​(String path)
        Metrics (camel-metrics) Collect various metrics directly from Camel routes using the DropWizard metrics library. Category: monitoring Since: 2.14 Maven coordinates: org.apache.camel:camel-metrics Syntax: metrics:metricsType:metricsName Path parameter: metricsType (required) Type of metrics There are 5 enums and the value can be one of: gauge, counter, histogram, meter, timer Path parameter: metricsName (required) Name of metrics
        Parameters:
        path - metricsType:metricsName
        Returns:
        the dsl builder
      • metrics

        default MetricsEndpointBuilderFactory.MetricsEndpointBuilder metrics​(String componentName,
                                                                             String path)
        Metrics (camel-metrics) Collect various metrics directly from Camel routes using the DropWizard metrics library. Category: monitoring Since: 2.14 Maven coordinates: org.apache.camel:camel-metrics Syntax: metrics:metricsType:metricsName Path parameter: metricsType (required) Type of metrics There are 5 enums and the value can be one of: gauge, counter, histogram, meter, timer Path parameter: metricsName (required) Name of metrics
        Parameters:
        componentName - to use a custom component name for the endpoint instead of the default name
        path - metricsType:metricsName
        Returns:
        the dsl builder