Commit 8a4baa3
authored
fix(semconv): correct & simplify codegen templates (#2059)
* fix(semconv): template, treat deprecated as a dict
(attribute|metric).deprecated is a dict, so dropping it into Yard doc
content gets weird with Yard treating {} as a reference to other Yard
content elsewhere.
This change uses deprecated.note (if present) or deprecated.reason
(always present, but less info) capitalized with a period.
* fix(semconv): result of the template update for deprecated
* fix(semconv): template, remove @examples
attribute.examples come in too many shapes to include in generated code
docs without a complicated template to interpret their shape.
WWJD: What Would Java Do?
Java doesn't include examples. Let's not, also.
* fix(semconv): result of the template removal for examples
* fix(semconv): correct typo carried over from semconv model data
* fix(semconv): let toys manage the VERSION constant
Record the current semconv version in a separate constant.
* Maybe some comments about how these differ?
* docs: update words about these version constants
Better directions for how to hold this update process.1 parent 86e979e commit 8a4baa3
108 files changed
Lines changed: 221 additions & 3387 deletions
File tree
- semantic_conventions
- lib/opentelemetry
- semantic_conventions
- semconv
- aspnetcore
- client
- code
- db
- dotnet
- error
- exception
- http
- incubating
- android
- app
- artifact
- aspnetcore
- aws
- azure
- az
- browser
- cassandra
- cicd
- client
- cloudevents
- cloudfoundry
- cloud
- code
- container
- cpu
- cpython
- db
- deployment
- destination
- device
- disk
- dns
- dotnet
- elasticsearch
- enduser
- error
- event
- exception
- faas
- feature_flag
- file
- gcp
- gen_ai
- geo
- go
- graphql
- heroku
- host
- http
- hw
- ios
- jvm
- k8s
- linux
- log
- mainframe
- message
- messaging
- network
- net
- oci
- openai
- os
- otel
- other
- peer
- pool
- process
- profile
- rpc
- security_rule
- server
- service
- session
- signalr
- source
- system
- telemetry
- test
- thread
- tls
- url
- user_agent
- user
- vcs
- webengine
- zos
- jvm
- network
- otel
- server
- service
- signalr
- telemetry
- url
- user_agent
- templates/registry/ruby
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
91 | 94 | | |
92 | 95 | | |
93 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
129 | | - | |
130 | | - | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
131 | 132 | | |
132 | 133 | | |
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
10 | 13 | | |
11 | 14 | | |
Lines changed: 0 additions & 29 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | 29 | | |
34 | 30 | | |
35 | 31 | | |
36 | 32 | | |
37 | 33 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | 34 | | |
42 | 35 | | |
43 | 36 | | |
44 | 37 | | |
45 | 38 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | 39 | | |
52 | 40 | | |
53 | 41 | | |
54 | 42 | | |
55 | 43 | | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | 44 | | |
61 | 45 | | |
62 | 46 | | |
63 | 47 | | |
64 | 48 | | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | 49 | | |
69 | 50 | | |
70 | 51 | | |
71 | 52 | | |
72 | 53 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | 54 | | |
77 | 55 | | |
78 | 56 | | |
79 | 57 | | |
80 | 58 | | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | 59 | | |
86 | 60 | | |
87 | 61 | | |
88 | 62 | | |
89 | 63 | | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | 64 | | |
94 | 65 | | |
95 | 66 | | |
| |||
Lines changed: 0 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | 31 | | |
37 | 32 | | |
38 | 33 | | |
39 | 34 | | |
40 | 35 | | |
41 | 36 | | |
42 | 37 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | 38 | | |
47 | 39 | | |
48 | 40 | | |
| |||
Lines changed: 0 additions & 21 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | 29 | | |
34 | 30 | | |
35 | 31 | | |
36 | 32 | | |
37 | 33 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | 34 | | |
43 | 35 | | |
44 | 36 | | |
| |||
60 | 52 | | |
61 | 53 | | |
62 | 54 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | 55 | | |
69 | 56 | | |
70 | 57 | | |
71 | 58 | | |
72 | 59 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | 60 | | |
78 | 61 | | |
79 | 62 | | |
80 | 63 | | |
81 | 64 | | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | 65 | | |
87 | 66 | | |
88 | 67 | | |
| |||
Lines changed: 0 additions & 36 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | 39 | | |
44 | 40 | | |
45 | 41 | | |
| |||
49 | 45 | | |
50 | 46 | | |
51 | 47 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | 48 | | |
57 | 49 | | |
58 | 50 | | |
59 | 51 | | |
60 | 52 | | |
61 | 53 | | |
62 | 54 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | 55 | | |
69 | 56 | | |
70 | 57 | | |
| |||
85 | 72 | | |
86 | 73 | | |
87 | 74 | | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | 75 | | |
94 | 76 | | |
95 | 77 | | |
| |||
105 | 87 | | |
106 | 88 | | |
107 | 89 | | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | 90 | | |
114 | 91 | | |
115 | 92 | | |
| |||
119 | 96 | | |
120 | 97 | | |
121 | 98 | | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | 99 | | |
127 | 100 | | |
128 | 101 | | |
| |||
131 | 104 | | |
132 | 105 | | |
133 | 106 | | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | 107 | | |
141 | 108 | | |
142 | 109 | | |
| |||
148 | 115 | | |
149 | 116 | | |
150 | 117 | | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | 118 | | |
155 | 119 | | |
156 | 120 | | |
| |||
Lines changed: 0 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | 29 | | |
35 | 30 | | |
36 | 31 | | |
| |||
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | 49 | | |
56 | 50 | | |
57 | 51 | | |
| |||
Lines changed: 1 addition & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | 35 | | |
40 | 36 | | |
41 | 37 | | |
42 | 38 | | |
43 | 39 | | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | 40 | | |
49 | 41 | | |
50 | 42 | | |
51 | 43 | | |
52 | 44 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | 45 | | |
58 | 46 | | |
59 | 47 | | |
| |||
0 commit comments