Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: add test for OpenTelemetry input plugin tagfromuri #8964

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

nuclearpidgeon
Copy link
Contributor

@nuclearpidgeon nuclearpidgeon commented Jun 15, 2024

Add some tests for the OpenTelemetry input plugin's tag_from_uri feature.

Unfortunately if I remember correctly, not all these tests actually work for all signal types because there is still only partial support for JSON input.
I am hoping to update the tests with some gRPC / protobuf payloads but have yet to been able to work out a good way to do this - either need to use a gRPC commandline tool, or serialise some protobuf data into files for passing to cURL.

Developed while working on #8963 to address #8734.


Enter [N/A] in the box, if an item is not applicable to your change.

Testing
Before we can approve your change; please submit the following in a comment:

  • Example configuration file for the change (N/A - see config files in PR :) )
  • Debug log output from testing the change (will ideally post from CI runs)
  • Attached Valgrind output that shows no leaks or memory corruption was found

If this is a change to packaging of containers or native binaries then please confirm it works for all targets.

  • Run local packaging test showing all targets (including any new ones) build.
  • Set ok-package-test label to test for all targets (requires maintainer to do).

Documentation

  • Documentation required for this feature

Backporting

  • Backport to latest stable release.

Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.

Previous timeout was CMake default of 10000000s?? tests relying on
timeout for failure would take... 3 months, 23 days, 17 hours, 46 minutes and
40 seconds (Source: https://calculat.io/en/date/seconds/10000000)

Signed-off-by: Stewart Webb <stewart.james.webb@gmail.com>
Signed-off-by: Stewart Webb <stewart.james.webb@gmail.com>
@nuclearpidgeon nuclearpidgeon force-pushed the opentelemetry-tagfromuri-tests branch from 8f165e0 to 75f1c9c Compare July 1, 2024 08:33
@nuclearpidgeon nuclearpidgeon changed the title OpenTelemetry input plugin tagfromuri tests tests: add test for OpenTelemetry input plugin tagfromuri Jul 1, 2024
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.

1 participant