Skip to content

Conversation

frzifus
Copy link
Member

@frzifus frzifus commented Aug 27, 2025

Description:

Remove go_yaml.AutoInt() option from YAML encoder to prevent automatic conversion of string values that look like numbers (e.g., "0e12") to float64 types. This fixes collector creation failures when processor configurations contain string values in scientific notation format.

Link to tracking Issue(s):

Testing:

Documentation:

Generated with Claude Code 🐴 🐴 🐴

…on errors

Remove go_yaml.AutoInt() option from YAML encoder to prevent automatic
conversion of string values that look like numbers (e.g., "0e12") to
float64 types. This fixes collector creation failures when processor
configurations contain string values in scientific notation format.

🤖 Generated with [Claude Code](https://claude.ai/code)

Signed-off-by: Benedikt Bongartz <[email protected]>
@frzifus frzifus force-pushed the fix/yaml-string-preservation branch from e6e3204 to 57c7412 Compare August 27, 2025 19:02
Copy link
Contributor

E2E Test Results

 33 files  ±0  221 suites  ±0   2h 34m 37s ⏱️ + 34m 23s
 85 tests ±0   82 ✅  - 3  0 💤 ±0  3 ❌ +3 
225 runs  ±0  219 ✅  - 6  0 💤 ±0  6 ❌ +6 

For more details on these failures, see this check.

Results for commit 57c7412. ± Comparison against base commit 2f3f77e.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Operator misinterprets strings as numbers when converting configuration
1 participant