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
Anomalies collector #10060
Anomalies collector #10060
Conversation
@andrewm4894 i made it draft to make it clear it is wip |
Yep sorry, was a little trigger happy with the pr. |
Hey @andrewm4894 , please, take a look at here, it looks like something simple to fix. |
@andrewm4894 when I ran the command # pip3 install requests netdata-pandas numba==0.50.1 scikit-learn pyod I received the following warning:
should we add an information related to this to our documentation? |
Thanks for that, I'll pin version ranges to the readme and/or add more flexible version ranges to netdata-pandas requirements too and that should cover this. |
@andrewm4894 please do squash and force push. The PR is clattered with commits. I even can't open the page with commits. |
437ac2c
to
1fe791c
Compare
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
@andrewm4894 i assume you have tested the collector and it works w/o problems/errors. Code, makefiles ,etc looks good to me. |
Yep, have been running it for last few weeks on some of my nodes. |
|
Hmm - is that the f-string breaking a lower version of python perhaps? |
It was added relatively recently, so likely it is |
I think would be better for me to replace all f strings as this would break anyone <3.6 which i guess is not great. |
|
I have broken out the offending line onto two separate lines. No idea what it might be assuming 3.8.5. I will try and make a test machine using ubunutu 20 04 and 3.8.5 to see if i can recreate |
I created a ubuntu-2004-focal-v20201201 e2-medium (2 vCPUs, 4 GB memory) instance on GCP and installed and configured the collector and it is working for me so not sure what might be going on with that error. |
This pull request has been mentioned on Netdata Community. There might be relevant details there: https://community.netdata.cloud/t/collector-anomalies-error-on-loading-source/581/4 |
Summary
ML based anomaly detection python collector built on top of PyOD.
Component Name
/collectors/python.d.plugin/anomalies
Test Plan
Additional Information
Additional details included in the README.md for the collector.