Class OracleIncubatingAttributes

java.lang.Object
io.opentelemetry.semconv.incubating.OracleIncubatingAttributes

public final class OracleIncubatingAttributes extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final io.opentelemetry.api.common.AttributeKey<String>
    The database domain associated with the connection.
    static final io.opentelemetry.api.common.AttributeKey<String>
    The instance name associated with the connection in an Oracle Real Application Clusters environment.
    static final io.opentelemetry.api.common.AttributeKey<String>
    The database name associated with the connection.
    static final io.opentelemetry.api.common.AttributeKey<String>
    The pluggable database (PDB) name associated with the connection.
    static final io.opentelemetry.api.common.AttributeKey<String>
    The service name currently associated with the database connection.
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • ORACLE_DB_DOMAIN

      public static final io.opentelemetry.api.common.AttributeKey<String> ORACLE_DB_DOMAIN
      The database domain associated with the connection.

      Notes:

      This attribute SHOULD be set to the value of the DB_DOMAIN initialization parameter, as exposed in v$parameter. DB_DOMAIN defines the domain portion of the global database name and SHOULD be configured when a database is, or may become, part of a distributed environment. Its value consists of one or more valid identifiers (alphanumeric ASCII characters) separated by periods.

    • ORACLE_DB_INSTANCE_NAME

      public static final io.opentelemetry.api.common.AttributeKey<String> ORACLE_DB_INSTANCE_NAME
      The instance name associated with the connection in an Oracle Real Application Clusters environment.

      Notes:

      There can be multiple instances associated with a single database service. It indicates the unique instance name to which the connection is currently bound. For non-RAC databases, this value defaults to the oracle.db.name.

    • ORACLE_DB_NAME

      public static final io.opentelemetry.api.common.AttributeKey<String> ORACLE_DB_NAME
      The database name associated with the connection.

      Notes:

      This attribute SHOULD be set to the value of the parameter DB_NAME exposed in v$parameter.

    • ORACLE_DB_PDB

      public static final io.opentelemetry.api.common.AttributeKey<String> ORACLE_DB_PDB
      The pluggable database (PDB) name associated with the connection.

      Notes:

      This attribute SHOULD reflect the PDB that the session is currently connected to. If instrumentation cannot reliably obtain the active PDB name for each operation without issuing an additional query (such as SELECT SYS_CONTEXT), it is RECOMMENDED to fall back to the PDB name specified at connection establishment.

    • ORACLE_DB_SERVICE

      public static final io.opentelemetry.api.common.AttributeKey<String> ORACLE_DB_SERVICE
      The service name currently associated with the database connection.

      Notes:

      The effective service name for a connection can change during its lifetime, for example after executing sql, ALTER SESSION. If an instrumentation cannot reliably obtain the current service name for each operation without issuing an additional query (such as SELECT SYS_CONTEXT), it is RECOMMENDED to fall back to the service name originally provided at connection establishment.