Support for custom event loggers #6433
Labels
awaiting-maintainer
Awaiting review from Bazel team on issues
lang: java
Java rules integration
product: IntelliJ
IntelliJ plugin
type: bug
Description of the bug:
I'd like to implement a custom event logger that sends data about sync / build times to an internal metrics service.
It looks like currently there is some existing code around EventLoggingService and EventLogger that might allow me to do this. However, I'm confused whether this is a supported feature or not.
There is the
com.google.idea.blaze.EventLogger
extension point, but it doesn't seem to be actually called from anywhere.I could also implement the
EventLoggingService
interface, but the comment on that class suggests it's meant to just forward events toEventLogger
. So I'm not sure if this is the correct path or not.I'm opening this as a bug because the code looks like it tries to support this.
Which category does this issue belong to?
Intellij
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
N/A
Which Intellij IDE are you using? Please provide the specific version.
IntelliJ Ultimate 2024.1
What programming languages and tools are you using? Please provide specific versions.
Java
What Bazel plugin version are you using?
N/A
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
No response
The text was updated successfully, but these errors were encountered: