Interface MetricsEndpointBuilderFactory.MetricsBuilders

All Known Subinterfaces:
EndpointBuilderFactory
All Known Implementing Classes:
EndpointRouteBuilder, EndpointRouteConfigurationBuilder
Enclosing interface:
MetricsEndpointBuilderFactory

public static interface MetricsEndpointBuilderFactory.MetricsBuilders
  • Method Details

    • metrics

      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
      Returns:
      the dsl builder for the headers' name.
    • metrics

      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