Commit 3f9b1ab
docs(caches): Add cache.write and cache.operation to span data spec (#17022)
Add `cache.write` and `cache.operation` to the Caches module span data
spec, and clarify that span operations should use the real method name.
`cache.write` indicates whether a cache operation resulted in a write to
the cache. It reflects the actual outcome for conditional operations
(e.g. `putIfAbsent`, `replace`) and is always `true` for unconditional
writes. This is now set by the sentry-java SDK across its Spring Cache
and JCache integrations.
`cache.operation` captures the specific cache method name, which is
useful when SDKs use more granular span operations than the four base
ops defined here.
The span operations section now notes that `cache.<methodName>` is the
intended format, with the table serving as common examples rather than
an exhaustive list.
Also fixes a typo: "sepreated" → "separated".
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent a114634 commit 3f9b1ab
2 files changed
Lines changed: 16 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
20 | | - | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
27 | 29 | | |
| 30 | + | |
| 31 | + | |
28 | 32 | | |
29 | 33 | | |
30 | 34 | | |
| |||
Lines changed: 11 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
84 | 91 | | |
85 | 92 | | |
86 | 93 | | |
| |||
0 commit comments