-
- All Implemented Interfaces:
-
com.datadog.trace.api.naming.NamingSchema.ForServer
public class ServerNamingV1 implements NamingSchema.ForServer
-
-
Method Summary
Modifier and Type Method Description StringoperationForProtocol(@NonNull() String protocol)Calculate the operation name for a server span. StringoperationForComponent(@NonNull() String component)Calculate the operation name for a server span. -
-
Method Detail
-
operationForProtocol
@NonNull() String operationForProtocol(@NonNull() String protocol)
Calculate the operation name for a server span.
- Parameters:
protocol- the protocol used (e.g.
-
operationForComponent
@NonNull() String operationForComponent(@NonNull() String component)
Calculate the operation name for a server span.
- Parameters:
component- the name of the instrumentation component
-
-
-
-