-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[processorhelper] deprecating unused methods #11083
[processorhelper] deprecating unused methods #11083
Conversation
*Inserted was not used in the core/contrib repos, marking them as deprecated. Signed-off-by: Alex Boten <[email protected]>
Signed-off-by: Alex Boten <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #11083 +/- ##
==========================================
- Coverage 92.21% 92.20% -0.01%
==========================================
Files 414 414
Lines 19802 19804 +2
==========================================
Hits 18261 18261
- Misses 1168 1170 +2
Partials 373 373 ☔ View full report in Codecov by Sentry. |
`[Logs|Traces|Metrics]Inserted` was not used in the core/contrib repos, marking them as deprecated. --------- Signed-off-by: Alex Boten <[email protected]>
The rationale for these metrics was described in #10353. They are complimentary to the In any case, |
This reverts commit 3f9bc53.
I agree. Looking through the other metrics, the only processor that makes use of them is the memory limiter processor. I'm not against the idea that processors should report this information. I thought it would make sense to report them via the incoming/outgoing metrics that were added in #10910 with the |
I'm certainly in favor of this - just suggesting that we should be keeping or deprecating these metrics as wholistic sets, whichever we choose. |
@djaglowski do you want to open an issue to migrate the existing processors to using incoming/outgoing w/ |
I have to walk back my statement as meaning to apply only to the incoming/outgoing metrics. I'm not opposed to the |
it wouldn't need to be automatic.... the processor could use |
For context, the incoming/outgoing metrics were added based on #10708 which specifically calls out automatically recorded metrics. IMO this is critical. There's going to be very little value in any metrics that must be recorded manually by each and every processor, especially when there's so much nuance to their meaning that the OTEP has gone stale before leaving draft state. I do think there is a simple version of the outcome dimension that can be automatically recorded based purely on whether the next consumer returned an error, but this is quite different than trying to match the OTEP. |
[Logs|Traces|Metrics]Inserted
was not used in the core/contrib repos, marking them as deprecated.