Commit 926fd8c
authored
feat: adding gcp resource name span attribute (#2260)
Adding a new span attribute called `gcp.resource.name` which contains an identifier to a particular firestore database in the following format:
```
//firestore.googleapis.com/projects/{project}/databases/{database_id}
```
Example:
```
//firestore.googleapis.com/projects/my_project/databases/(default)
```1 parent 5ade48a commit 926fd8c
File tree
3 files changed
+9
-0
lines changed- google-cloud-firestore/src
- main/java/com/google/cloud/firestore/telemetry
- test/java/com/google/cloud/firestore/it
3 files changed
+9
-0
lines changedLines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
286 | 292 | | |
287 | 293 | | |
288 | 294 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
281 | 281 | | |
282 | 282 | | |
283 | 283 | | |
| 284 | + | |
284 | 285 | | |
285 | 286 | | |
286 | 287 | | |
| |||
0 commit comments