Class DbInfo
java.lang.Object
io.opentelemetry.instrumentation.jdbc.internal.dbinfo.DbInfo
This class is internal and is hence not for public use. Its APIs are unstable and can change at
any time.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis class is internal and is hence not for public use. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DbInfo.Builderbuilder()abstract Stringabstract Stringabstract Stringabstract Stringabstract StringThe stable/new db.system.name value (e.g., "h2database", "microsoft.sql_server").abstract Stringfinal StringgetHost()final StringgetName()final IntegergetPort()abstract Stringabstract Integerfinal Stringabstract Stringfinal Stringfinal StringgetUser()
-
Field Details
-
DEFAULT
-
-
Constructor Details
-
DbInfo
public DbInfo()
-
-
Method Details
-
builder
-
getDbSystemName
The stable/new db.system.name value (e.g., "h2database", "microsoft.sql_server"). -
getDbSystem
-
getSubtype
-
getDbConnectionString
-
getDbUser
-
getDbName
-
getDbNamespace
-
getServerAddress
-
getServerPort
-
getSystem
-
getShortUrl
-
getUser
-
getName
-
getHost
-
getPort
-
toBuilder
-