# Functions

NewClient is constructor of Client.
NewOpenTelemetryWriter return new Writer of OpenTelemetry.
NewWorker returns the new stats collector.
NewZapWriter return new Writer of *zap.Logger.

# Constants

StatDuration10Min focus 10 minutes.
StatDurationHour focus 1 hour.
StatDurationMin focus 1 minute.

# Structs

Client wrapped *spanner.Client for easy to use stats collect.
LockStat track the lock columns during a specific time period followed https://cloud.google.com/spanner/docs/introspection/lock-statistics.
QueryStat track the queries with the highest CPU usage during a specific time period followed https://cloud.google.com/spanner/docs/query-stats-tables.
TransactionStat track the transactions during a specific time period followed https://cloud.google.com/spanner/docs/introspection/transaction-statistics.
Worker of stats collector.

# Interfaces

Writer for stats collection.

# Type aliases

No description provided by the author