Skip to content

Commit 813635f

Browse files
authored
Remove component attribute as per open-telemetry#271 (open-telemetry#447)
1 parent b2ac5bb commit 813635f

File tree

3 files changed

+0
-5
lines changed

3 files changed

+0
-5
lines changed

specification/data-database.md

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ attribute names.
1313

1414
| Attribute name | Notes and examples | Required? |
1515
| :------------- | :----------------------------------------------------------- | --------- |
16-
| `component` | Database driver name or database name (when known) `"JDBI"`, `"jdbc"`, `"odbc"`, `"postgreSQL"`. | Yes |
1716
| `db.type` | Database type. For any SQL database, `"sql"`. For others, the lower-case database category, e.g. `"cassandra"`, `"hbase"`, or `"redis"`. | Yes |
1817
| `db.instance` | Database instance name. E.g., In java, if the jdbc.url=`"jdbc:mysql://db.example.com:3306/customers"`, the instance name is `"customers"`. | Yes |
1918
| `db.statement` | A database statement for the given database type. Note, that the value may be sanitized to exclude sensitive information. E.g., for `db.type="sql"`, `"SELECT * FROM wuser_table"`; for `db.type="redis"`, `"SET mykey 'WuValue'"`. | Yes |

specification/data-http.md

-3
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ Note that the items marked with [1] are different from the mapping defined in th
7070

7171
| Attribute name | Notes and examples | Required? |
7272
| :------------- | :----------------------------------------------------------- | --------- |
73-
| `component` | Denotes the type of the span and needs to be `"http"`. | Yes |
7473
| `http.method` | HTTP request method. E.g. `"GET"`. | Yes |
7574
| `http.url` | Full HTTP request URL in the form `scheme://host[:port]/path?query[#fragment]`. Usually the fragment is not transmitted over HTTP, but if it is known, it should be included nevertheless. | Defined later. |
7675
| `http.target` | The full request target as passed in a [HTTP request line][] or equivalent, e.g. `"/path/12314/?q=ddds#123"`. | Defined later. |
@@ -216,7 +215,6 @@ Span name: `/webshop/articles/4` (NOTE: This is subject to change, see [open-tel
216215

217216
| Attribute name | Value |
218217
| :----------------- | :-------------------------------------------------------|
219-
| `component` | `"http"` |
220218
| `http.method` | `"GET"` |
221219
| `http.flavor` | `"1.1"` |
222220
| `http.url` | `"https://example.com:8080/webshop/articles/4?s=1"` |
@@ -230,7 +228,6 @@ Span name: `/webshop/articles/:article_id`.
230228

231229
| Attribute name | Value |
232230
| :----------------- | :---------------------------------------------- |
233-
| `component` | `"http"` |
234231
| `http.method` | `"GET"` |
235232
| `http.flavor` | `"1.1"` |
236233
| `http.target` | `"/webshop/articles/4?s=1"` |

specification/data-rpc.md

-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ Examples of span name: `grpc.test.EchoService/Echo`.
3232

3333
| Attribute name | Notes and examples | Required? |
3434
| -------------- | ------------------------------------------------------------ | --------- |
35-
| `component` | Declares that this is a grpc component. Value MUST be `"grpc"`. | Yes |
3635
| `rpc.service` | The service name, must be equal to the $service part in the span name. | Yes |
3736
| `net.peer.ip` | See [network attributes][]. | See below |
3837
| `net.peer.name` | See [network attributes][]. | See below |

0 commit comments

Comments
 (0)