change_type: enhancement
component: db
note: Add `error.type` attribute to the database span and operation duration metric.
issues: [975]