Usage of BaseProcessor for filtering logs #4112
Unanswered
sunildatla
asked this question in
Q&A
Replies: 1 comment 5 replies
-
Can you show the full code of the processor you have and how was it wired up? (I agree we have a doc gap to show LogFiltering) |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi ,
I am looking to filter the logs (like sampling after a certain count is reached in a minute) with opentelemetry and thinking to use BaseProcessor's OnEnd method to call base.OnEnd(data) . Is this the right place to customize for sampling the logs for example , What is the purpose of baseprocessor otherwise . I tried to filter based on eventid but noticed that the logs were still exported to exporters even though base.OnEnd(data) is not called.
Any suggestions or recommendations
Beta Was this translation helpful? Give feedback.
All reactions