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

Monitoring ETL Flows with Grafana - File statistics Publishing to Prometheus is not working in SI 1.1.0 #3728

Open
ug205 opened this issue Oct 9, 2024 · 0 comments
Labels

Comments

@ug205
Copy link

ug205 commented Oct 9, 2024

Description

We are observing the following error when trying the monitor ETL Flows with Grafana documentation [1]. This is specifically for file statistics, and observed due to a security fix that included guava dependency version bump.

Exception in thread "Siddhi-Renamefile_siddhi-executor-thread-2" java.lang.NoClassDefFoundError: com/google/common/base/Stopwatch
at io.siddhi.extension.io.file.processors.FileProcessor.lambda$new$3(FileProcessor.java:90)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.lang.ClassNotFoundException: com.google.common.base.Stopwatch cannot be found by siddhi-io-file_2.0.10.28
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:448)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:361)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:353)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
... 4 more

[1]. https://ei.docs.wso2.com/en/latest/streaming-integrator/admin/setting-up-grafana-dashboards/

Steps to Reproduce

Steps to Reproduce;

Download and Install Grafana and Prometheus.
Configure Prometheus using the documentation [1] and start the Prometheus server.
Start Grafana server and configure using the documentation [1].
Enable metrics and Prometheus metrics in SI deployment.yaml using the documentation [1].
Create a siddhi file with file source and sink.
Start the SI server and observe when the siddhi application is deployed, the above mentioned error is printed.

[1].https://ei.docs.wso2.com/en/latest/streaming-integrator/admin/setting-up-grafana-dashboards/

Affected Component

SI

Version

1.1.0

Environment Details (with versions)

No response

Relevant Log Output

No response

Related Issues

No response

Suggested Labels

No response

@ug205 ug205 added the Type/Bug label Oct 9, 2024
@nandika nandika transferred this issue from wso2/api-manager Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant