package
1.5.1
Repository: https://github.com/hechen0/influxdb.git
Documentation: pkg.go.dev

# Functions

Database returns a field for tracking the name of a database.
No description provided by the author
IsTerminal checks if w is a file and whether it is an interactive terminal session.
No description provided by the author
NewConfig returns a new instance of Config with defaults.
NewOperation uses the exiting log to create a new logger with context containing a trace id and the operation.
OperationElapsed returns a field for tracking the duration of an operation.
OperationEventFinish returns a field for tracking the end of an operation.
OperationEventStart returns a field for tracking the start of an operation.
OperationName returns a field for tracking the name of an operation.
Database returns a field for tracking the name of a database.
Shard returns a field for tracking the shard identifier.
ShardGroup returns a field for tracking the shard group identifier.
TraceID returns a field for tracking the trace identifier.

# Constants

DBInstanceKey is the logging context key used for identifying name of the relevant database.
DBRetentionKey is the logging context key used for identifying name of the relevant retention policy.
DBShardGroupKey is the logging context key used for identifying relevant shard group.
DBShardIDKey is the logging context key used for identifying name of the relevant shard number.
OperationElapsedKey is the logging context key used for identifying time elapsed to finish an operation.
OperationEventKey is the logging context key used for identifying a notable event during the course of an operation.
OperationNameKey is the logging context key used for identifying name of an operation.
No description provided by the author
TraceIDKey is the logging context key used for identifying unique traces.

# Structs

No description provided by the author