-
- All Implemented Interfaces:
-
com.datadog.trace.api.naming.NamingSchema.ForDatabase
public class DatabaseNamingV1 implements NamingSchema.ForDatabase
-
-
Method Summary
Modifier and Type Method Description StringnormalizedName(@NonNull() String rawName)Normalize the cache name from the raw parsed one. Stringoperation(@NonNull() String databaseType)Calculate the operation name for a database span. Stringservice(@NonNull() String databaseType)Calculate the service name for a database span. -
-
Method Detail
-
normalizedName
String normalizedName(@NonNull() String rawName)
Normalize the cache name from the raw parsed one.
- Parameters:
rawName- the raw name
-
operation
@NonNull() String operation(@NonNull() String databaseType)
Calculate the operation name for a database span.
- Parameters:
databaseType- the database type (e.g.
-
-
-
-