Enum Class MongodbObservation.CommandLowCardinalityKeyNames
java.lang.Object
java.lang.Enum<MongodbObservation.CommandLowCardinalityKeyNames>
com.mongodb.observability.micrometer.MongodbObservation.CommandLowCardinalityKeyNames
- All Implemented Interfaces:
io.micrometer.common.docs.KeyName,Serializable,Comparable<MongodbObservation.CommandLowCardinalityKeyNames>,java.lang.constant.Constable
- Enclosing class:
- MongodbObservation
public static enum MongodbObservation.CommandLowCardinalityKeyNames
extends Enum<MongodbObservation.CommandLowCardinalityKeyNames>
implements io.micrometer.common.docs.KeyName
Low cardinality key names for command-level observations.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe database collection name (db.collection.name).The database command name (db.command.name).The database namespace (db.namespace).The network transport (network.transport).The database query summary (db.query.summary).The database response status code (db.response.status_code).The server address (server.address).The server port (server.port).The database system name (db.system.name). -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface io.micrometer.common.docs.KeyName
asString, isRequired, withValue, withValue
-
Enum Constant Details
-
SYSTEM
The database system name (db.system.name). -
NAMESPACE
The database namespace (db.namespace). -
COLLECTION
The database collection name (db.collection.name). -
COMMAND_NAME
The database command name (db.command.name). -
QUERY_SUMMARY
The database query summary (db.query.summary). -
NETWORK_TRANSPORT
The network transport (network.transport). -
SERVER_ADDRESS
The server address (server.address). -
SERVER_PORT
The server port (server.port). -
RESPONSE_STATUS_CODE
The database response status code (db.response.status_code).
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-