Skip to content

Conversation

srebhan
Copy link
Member

@srebhan srebhan commented Jul 2, 2025

Summary

Currently base64-encoded bytes (aka BytesVal) are decoded into strings despite the fact that the result might contain non-ASCII or even non-UTF8 characters. As these values often do contain float32 values, the PR tries to decode them as float and, if the prerequisites are not given, reencodes the values into Base64 to ensure printable field values.

Checklist

  • No AI generated code was used in this PR

Related issues

resolves #15046
resolves #16365
resolves #17154

@telegraf-tiger telegraf-tiger bot added area/gnmi fix pr to fix corresponding bug plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins labels Jul 2, 2025
@srebhan srebhan self-assigned this Jul 2, 2025
@telegraf-tiger
Copy link
Contributor

telegraf-tiger bot commented Jul 2, 2025

Download PR build artifacts for linux_amd64.tar.gz, darwin_arm64.tar.gz, and windows_amd64.zip.
Downloads for additional architectures and packages are available below.

☺️ This pull request doesn't significantly change the Telegraf binary size (less than 1%)

📦 Click here to get additional PR build artifacts

Artifact URLs

. DEB . RPM . TAR . GZ . ZIP
[[amd64.deb aarch64.rpm darwin_amd64.tar.gz windows_amd64.zip] [arm64.deb armel.rpm darwin_arm64.tar.gz windows_arm64.zip] [armel.deb armv6hl.rpm freebsd_amd64.tar.gz windows_i386.zip] [armhf.deb i386.rpm freebsd_armv7.tar.gz ] [i386.deb ppc64le.rpm freebsd_i386.tar.gz ] [mips.deb riscv64.rpm linux_amd64.tar.gz ] [mipsel.deb s390x.rpm linux_arm64.tar.gz ] [ppc64el.deb x86_64.rpm linux_armel.tar.gz ] [riscv64.deb linux_armhf.tar.gz ] [s390x.deb linux_i386.tar.gz ] [ linux_mips.tar.gz ] [ linux_mipsel.tar.gz ] [ linux_ppc64le.tar.gz ] [ linux_riscv64.tar.gz ] [ linux_s390x.tar.gz ]]

@skartikey skartikey assigned mstrandboge and unassigned skartikey Jul 7, 2025
@skartikey skartikey added the ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review. label Jul 7, 2025
@mstrandboge mstrandboge merged commit 4bfbc7e into influxdata:master Jul 7, 2025
27 checks passed
@github-actions github-actions bot added this to the v1.35.2 milestone Jul 7, 2025
srebhan added a commit that referenced this pull request Jul 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/gnmi fix pr to fix corresponding bug plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review.
Projects
None yet
3 participants