README.md in opentelemetry-instrumentation-trilogy-0.57.0 vs README.md in opentelemetry-instrumentation-trilogy-0.58.0

- old
+ new

@@ -49,9 +49,22 @@ OpenTelemetry::Instrumentation::Trilogy.with_attributes('pizzatoppings' => 'mushrooms') do client.query('SELECT 1') end ``` +## Semantic Conventions + +This instrumentation generally uses [Database semantic conventions](https://opentelemetry.io/docs/specs/semconv/database/database-spans/). + +| Attribute Name | Type | Notes | +| - | - | - | +| `db.instance.id` | String | The name of the DB host executing the query e.g. `SELECT @@hostname` | +| `db.name` | String | The name of the database from connection_options | +| `db.statement` | String | SQL statement being executed | +| `db.user` | String | The username from connection_options | +| `db.system` | String | `mysql` | +| `net.peer.name` | String | The name of the remote host from connection_options | + ## How can I get involved? The `opentelemetry-instrumentation-trilogy` gem source is [on github][repo-github], along with related gems including `opentelemetry-api` and `opentelemetry-sdk`. The OpenTelemetry Ruby gems are maintained by the OpenTelemetry-Ruby special interest group (SIG). You can get involved by joining us in [GitHub Discussions][discussions-url] or attending our weekly meeting. See the [meeting calendar][community-meetings] for dates and times. For more information on this and other language SIGs, see the OpenTelemetry [community page][ruby-sig].