-
- All Implemented Interfaces:
-
com.datadog.trace.api.naming.NamingSchema.ForMessaging
public class MessagingNamingV0 implements NamingSchema.ForMessaging
-
-
Constructor Summary
Constructors Constructor Description MessagingNamingV0(boolean allowInferredServices)
-
Method Summary
Modifier and Type Method Description StringoutboundOperation(@NonNull() String messagingSystem)Calculate the operation name for a messaging producer span. StringoutboundService(@NonNull() String messagingSystem, boolean useLegacyTracing)Calculate the service name for a messaging producer span. StringinboundOperation(@NonNull() String messagingSystem)Calculate the operation name for a messaging consumer span for process operation. StringinboundService(@NonNull() String messagingSystem, boolean useLegacyTracing)Calculate the service name for a messaging producer span. StringtimeInQueueService(@NonNull() String messagingSystem)Calculate the service name for a messaging time in queue synthetic span. StringtimeInQueueOperation(@NonNull() String messagingSystem)Calculate the operation name for a messaging time in queue synthetic span. -
Methods inherited from class com.datadog.trace.api.naming.NamingSchema.ForMessaging
inboundOperation, inboundService, outboundOperation, outboundService, timeInQueueService -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
outboundOperation
@NonNull() String outboundOperation(@NonNull() String messagingSystem)
Calculate the operation name for a messaging producer span.
- Parameters:
messagingSystem- the messaging system (e.g.
-
outboundService
String outboundService(@NonNull() String messagingSystem, boolean useLegacyTracing)
Calculate the service name for a messaging producer span.
- Parameters:
messagingSystem- the messaging system (e.g.useLegacyTracing- if true legacy tracing service naming will be applied if compatible
-
inboundOperation
@NonNull() String inboundOperation(@NonNull() String messagingSystem)
Calculate the operation name for a messaging consumer span for process operation.
- Parameters:
messagingSystem- the messaging system (e.g.
-
inboundService
String inboundService(@NonNull() String messagingSystem, boolean useLegacyTracing)
Calculate the service name for a messaging producer span.
- Parameters:
messagingSystem- the messaging system (e.g.useLegacyTracing- if true legacy tracing service naming will be applied if compatible
-
timeInQueueService
@NonNull() String timeInQueueService(@NonNull() String messagingSystem)
Calculate the service name for a messaging time in queue synthetic span.
- Parameters:
messagingSystem- the messaging system (e.g.
-
timeInQueueOperation
@NonNull() String timeInQueueOperation(@NonNull() String messagingSystem)
Calculate the operation name for a messaging time in queue synthetic span.
- Parameters:
messagingSystem- the messaging system (e.g.
-
-
-
-