Interface MetricsEndpointBuilderFactory.MetricsBuilders
-
- All Known Subinterfaces:
EndpointBuilderFactory
- All Known Implementing Classes:
EndpointRouteBuilder
,EndpointRouteConfigurationBuilder
- Enclosing interface:
- MetricsEndpointBuilderFactory
public static interface MetricsEndpointBuilderFactory.MetricsBuilders
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default MetricsEndpointBuilderFactory.MetricsHeaderNameBuilder
metrics()
Metrics (camel-metrics) Collect various metrics directly from Camel routes using the DropWizard metrics library.default MetricsEndpointBuilderFactory.MetricsEndpointBuilder
metrics(String path)
Metrics (camel-metrics) Collect various metrics directly from Camel routes using the DropWizard metrics library.default MetricsEndpointBuilderFactory.MetricsEndpointBuilder
metrics(String componentName, String path)
Metrics (camel-metrics) Collect various metrics directly from Camel routes using the DropWizard metrics library.
-
-
-
Method Detail
-
metrics
default MetricsEndpointBuilderFactory.MetricsHeaderNameBuilder 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
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 namepath
- metricsType:metricsName- Returns:
- the dsl builder
-
-