Skip to content

Conversation

znd4
Copy link
Contributor

@znd4 znd4 commented Nov 16, 2024

Description

Bugfix: support indexing more types

Important

I'm not sure if this should support indexing into slices of byte or []byte (I've gone with []byte for now

Link to tracking issue

Fixes #29441

Testing

currently running make gotest (it's taking longer than I expected). I noticed that #35581 added to e2e_test.go. I can add a test case there, but it'll take me a bit longer to grok how those are working

Update: I'm currently getting make gotest failures on main from internal/scraper/processscraper

Documentation

changelog

@znd4
Copy link
Contributor Author

znd4 commented Nov 16, 2024

Ah, sorry I didn't get how to run just the pkg tests, and one of the other groups was causing make gotest to fail early (guessing b.c. I'm on darwin)

@znd4
Copy link
Contributor Author

znd4 commented Nov 16, 2024

@TylerHelmuth , successfully passed the unit tests now with make gotest GROUP=pkg. Sorry for the iteration

@evan-bradley evan-bradley merged commit b14f1d4 into open-telemetry:main Nov 19, 2024
158 checks passed
@github-actions github-actions bot added this to the next release milestone Nov 19, 2024
sbylica-splunk pushed a commit to sbylica-splunk/opentelemetry-collector-contrib that referenced this pull request Dec 17, 2024
Co-authored-by: Tyler Helmuth <[email protected]>
Co-authored-by: Evan Bradley <[email protected]>
AkhigbeEromo pushed a commit to sematext/opentelemetry-collector-contrib that referenced this pull request Jan 13, 2025
Co-authored-by: Tyler Helmuth <[email protected]>
Co-authored-by: Evan Bradley <[email protected]>
zeck-ops pushed a commit to zeck-ops/opentelemetry-collector-contrib that referenced this pull request Apr 23, 2025
Co-authored-by: Tyler Helmuth <[email protected]>
Co-authored-by: Evan Bradley <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[pkg/ottl] Allow indexing any slice type
4 participants