diff --git a/.chloggen/otel-cap.yaml b/.chloggen/otel-cap.yaml new file mode 100755 index 00000000..5b863f0a --- /dev/null +++ b/.chloggen/otel-cap.yaml @@ -0,0 +1,16 @@ +# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' +change_type: 'bug_fix' + +# The name of the component, or a single word describing the area of concern, (e.g. crosslink) +component: semconvgen + +# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). +note: "Correct capitalization of Otel to be OTel" + +# One or more tracking issues related to the change +issues: [242] + +# (Optional) One or more lines of additional information to render under the primary note. +# These lines will be padded with 2 spaces and then inserted directly into the document. +# Use pipe (|) for multiline entries. +subtext: diff --git a/semconvgen/generator.go b/semconvgen/generator.go index bf6369f2..22c67d2d 100644 --- a/semconvgen/generator.go +++ b/semconvgen/generator.go @@ -376,6 +376,7 @@ var capitalizations = []string{ "DragonflyBSD", "InProc", "FaaS", + "OTel", } // These are not simple capitalization fixes, but require string replacement.