open-telemetry / opentelemetry-ruby-contrib

Contrib Packages for the OpenTelemetry Ruby API and SDK implementation.
https://opentelemetry.io
Apache License 2.0
79 stars 160 forks source link

Add the `db.collection.name` attribute to `pg` instrumentation #1059

Closed kaylareopelle closed 1 week ago

kaylareopelle commented 1 month ago

The db.collection.name attribute is conditionally required for Database spans.

Currently, pg instrumentation does not emit this attribute.

Update the opentelemetry-instrumentation-pg library to emit this attribute.

kaylareopelle commented 1 month ago

Assigned to: @hannahramadan

hannahramadan commented 1 month ago

I'll grab this one!

github-actions[bot] commented 2 weeks ago

👋 This issue has been marked as stale because it has been open with no activity. You can: comment on the issue or remove the stale label to hold stale off for a while, add the keep label to hold stale off permanently, or do nothing. If you do nothing this issue will be closed eventually by the stale bot.