* [OPIK-7118] [BE] Rename attachment input-size metric to bytes
Follow-up to #7252. Rename the candidate-field-size histogram to
opik.attachments.input.size.bytes (field inputSizeBytes), both the Java field and
the OTel instrument name. Still recorded as character count, which equals the byte
size for the base64/ASCII payloads this targets and avoids a byte[] copy of the
field — so the dashboard can render it with a byte unit (KiB/MiB). The chars-named
metric never reached a release, so this is a pure rename.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* [OPIK-7118] [BE] Record input size as actual UTF-8 bytes
The metric is named .bytes, so record the field's true UTF-8 byte size
(text.getBytes(UTF_8).length) rather than the UTF-16 character count, which
diverges for non-ASCII payloads.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>