diff --git a/src/docs/sdk/performance/span-data-conventions.mdx b/src/docs/sdk/performance/span-data-conventions.mdx index 3461ac6ec3..e4cc24eb28 100644 --- a/src/docs/sdk/performance/span-data-conventions.mdx +++ b/src/docs/sdk/performance/span-data-conventions.mdx @@ -10,12 +10,12 @@ Keys on the `data` field should be lower-case and use underscores instead of cam Below describes the conventions for the Span interface for the `data` field on the span that are currently used by the product or are important to bring up. -## General +## HTTP -| Attribute | Type | Description | Examples | -| --------------- | ------ | ------------------------------------ | --------------------- | -| `http.query` | string | The Query string present in the URL. | `?foo=bar&bar=baz` | -| `http.fragment` | string | The Fragments present in the URL. | `#foo=bar` | +| Attribute | Type | Description | Examples | +| --------------- | ------ | ------------------------------------ | ------------------ | +| `http.query` | string | The Query string present in the URL. | `?foo=bar&bar=baz` | +| `http.fragment` | string | The Fragments present in the URL. | `#foo=bar` | ## Mobile @@ -26,12 +26,24 @@ Below describes the conventions for the Span interface for the `data` field on t ## Browser -| Attribute | Type | Description | Examples | -| ---------------------------------- | ------ | ------------------------------------------- | --------------------- | -| `url` | string | The URL of the resource that was fetched. | `https://example.com` | -| `method` | string | The HTTP method used. | `GET` | -| `type` | string | The type of the resource that was fetched. | `xhr` | -| `Encoded Body Size` | number | The encoded body size of the request. | `123` | -| `Decoded Body Size` | number | The decoded body size of the request. | `456` | -| `Transfer Size` | number | The transfer size of the request. | `789` | -| `resource.render_blocking_status` | string | The render blocking status of the resource. | `non-blocking` | +| Attribute | Type | Description | Examples | +| --------------------------------- | ------ | ------------------------------------------- | --------------------- | +| `url` | string | The URL of the resource that was fetched. | `https://example.com` | +| `method` | string | The HTTP method used. | `GET` | +| `type` | string | The type of the resource that was fetched. | `xhr` | +| `Encoded Body Size` | number | The encoded body size of the request. | `123` | +| `Decoded Body Size` | number | The decoded body size of the request. | `456` | +| `Transfer Size` | number | The transfer size of the request. | `789` | +| `resource.render_blocking_status` | string | The render blocking status of the resource. | `non-blocking` | + +## Database + +| Attribute | Type | Description | Examples | +| ----------- | ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------ | +| `db.system` | string | An identifier for the database management system (DBMS) product being used. See [OpenTelemetry docs for a list of well-known identifiers](https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/semantic_conventions/database.md#notes-and-well-known-identifiers-for-dbsystem). | `postgresql` | + +## Web Server + +| Attribute | Type | Description | Examples | +| ----------- | ------- | -------------------------------------- | -------- | +| `cache.hit` | boolean | If the cache was hit during this span. | `true` |