Skip to content

Database client operation duration metric #512

@alanwest

Description

@alanwest

Timing database operations is important. I propose a new metric: db.client.operation.duration. This metric would apply to all types of database systems.

Currently, the only client-level database metrics defined are related to connections, i.e., db.client.connections.*.

The database span conventions already include a set of generic call-level attributes. Some of these attributes would be equally applicable to the db.client.operation.duration metric.

Minimally, the db.client.operation.duration metric should include the following attributes:

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions