Interface OpenTelemetryEndpointBuilderFactory.OpenTelemetryEndpointBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
OpenTelemetryEndpointBuilderFactory
public static interface OpenTelemetryEndpointBuilderFactory.OpenTelemetryEndpointBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint for the OpenTelemetry Metrics component.
-
Method Summary
Modifier and TypeMethodDescriptionAction expression when using timer type.advanced()attributes(String key, Object value) metric attributes.attributes(Map values) metric attributes.Decrement value expression when using counter type.Increment value expression when using counter type.metricsDescription(String metricsDescription) Description of metrics.The time unit when using the timer type.The time unit when using the timer type.Value expression when using histogram type.Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUriMethods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
-
Method Details
-
advanced
-
action
Action expression when using timer type. The option is a:java.lang.Stringtype. Group: producer- Parameters:
action- the value to set- Returns:
- the dsl builder
-
attributes
default OpenTelemetryEndpointBuilderFactory.OpenTelemetryEndpointBuilder attributes(String key, Object value) metric attributes. This is a multi-value option with prefix: attributes. The option is a:java.util.Map<java.lang.String, java.lang.String>type. The option is multivalued, and you can use the attributes(String, Object) method to add a value (call the method multiple times to set more values). Group: producer- Parameters:
key- the option keyvalue- the option value- Returns:
- the dsl builder
-
attributes
metric attributes. This is a multi-value option with prefix: attributes. The option is a:java.util.Map<java.lang.String, java.lang.String>type. The option is multivalued, and you can use the attributes(String, Object) method to add a value (call the method multiple times to set more values). Group: producer- Parameters:
values- the values- Returns:
- the dsl builder
-
decrement
default OpenTelemetryEndpointBuilderFactory.OpenTelemetryEndpointBuilder decrement(String decrement) Decrement value expression when using counter type. The option is a:java.lang.Stringtype. Group: producer- Parameters:
decrement- the value to set- Returns:
- the dsl builder
-
increment
default OpenTelemetryEndpointBuilderFactory.OpenTelemetryEndpointBuilder increment(String increment) Increment value expression when using counter type. The option is a:java.lang.Stringtype. Group: producer- Parameters:
increment- the value to set- Returns:
- the dsl builder
-
metricsDescription
default OpenTelemetryEndpointBuilderFactory.OpenTelemetryEndpointBuilder metricsDescription(String metricsDescription) Description of metrics. The option is a:java.lang.Stringtype. Group: producer- Parameters:
metricsDescription- the value to set- Returns:
- the dsl builder
-
unit
The time unit when using the timer type. The option is a:java.util.concurrent.TimeUnittype. Default: MILLISECONDS Group: producer- Parameters:
unit- the value to set- Returns:
- the dsl builder
-
unit
The time unit when using the timer type. The option will be converted to ajava.util.concurrent.TimeUnittype. Default: MILLISECONDS Group: producer- Parameters:
unit- the value to set- Returns:
- the dsl builder
-
value
Value expression when using histogram type. The option is a:java.lang.Stringtype. Group: producer- Parameters:
value- the value to set- Returns:
- the dsl builder
-