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

Implements telemetry for the Operator #244

Merged
merged 3 commits into from Nov 3, 2023

Conversation

rafaelgaspar
Copy link
Contributor

Hi, first of all thanks this great project.

The Operator doesn't use the Reconciler's and Watcher's execution logic, it reimplements it directly from get_raw_stream to work better with ControllerV2, but that means that we don't get telemetry data when using an Operator.

This adds telemetry support for the Operator runs.

@rafaelgaspar rafaelgaspar force-pushed the feature/operator-telemetry branch 2 times, most recently from e6a0dfc to 2c24d50 Compare November 3, 2023 15:21
@mruoss
Copy link
Collaborator

mruoss commented Nov 3, 2023

Hey @rafaelgaspar

Very nice, thanks. Could you please also add a new entry to the changelog?

lib/bonny/operator.ex Outdated Show resolved Hide resolved
@rafaelgaspar
Copy link
Contributor Author

rafaelgaspar commented Nov 3, 2023

Since there is no tests for current telemetry implementation I did not add any new tests for this, that's why coveralls is failing, I could add some, but testing telemetry is kind of tricky, I would probably add telemetry_test.

@mruoss
Copy link
Collaborator

mruoss commented Nov 3, 2023

Yeah I'd consider testing telemetry a topic to tackle separately. You're very welcome to come up with something in a separate PR of course.

@mruoss mruoss merged commit 03baaf2 into coryodaniel:master Nov 3, 2023
12 of 13 checks passed
@mruoss
Copy link
Collaborator

mruoss commented Nov 3, 2023

Thanks for your contribution!

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.

None yet

2 participants