AICoE / prometheus-anomaly-detector

A newer more updated version of the prometheus anomaly detector (https://github.com/AICoE/prometheus-anomaly-detector-legacy)
GNU General Public License v3.0
597 stars 151 forks source link

Kebechet info #113

Closed saisankargochhayat closed 4 years ago

4n4nd commented 4 years ago

@saisankargochhayat something you need help with?

saisankargochhayat commented 4 years ago

@4n4nd I think kebechet is not working on this repo, could you please check if @sesheta is added as a collaborator?

4n4nd commented 4 years ago

I thought @harshad16 did provide write access to Sesheta here

And the SourceOPs group has admin access, so sesheta should have admin access

saisankargochhayat commented 4 years ago

@fridex We have this repo in our AICoE.yaml config, somehow its not visiting this repo?

fridex commented 4 years ago

@fridex We have this repo in our AICoE.yaml config, somehow its not visiting this repo?

You can check logs in the aicoe-prod-bots namespace. There is a separate bot "kebechet-aicoe" handling just aicoe specific repositories.

saisankargochhayat commented 4 years ago

The logs say - File "/home/user/kebechet/managers/update/update.py", line 99, in _get_dependency_versionf"Failed to retrieve version information for dependency {dependency}, (dev: {is_dev})")kebechet.exception.InternalError: Failed to retrieve version information for dependency prometheus_client, (dev: False)

The problem seems to be, in from Pipfile we are taking prometheus_client, where as in the Piplock its named as - prometheus-client Should we maybe replace underscores before looking in Piplock file? @fridex

fridex commented 4 years ago

The logs say - File "/home/user/kebechet/managers/update/update.py", line 99, in _get_dependency_versionf"Failed to retrieve version information for dependency {dependency}, (dev: {is_dev})")kebechet.exception.InternalError: Failed to retrieve version information for dependency prometheus_client, (dev: False)

The problem seems to be, in from Pipfile we are taking prometheus_client, where as in the Piplock its named as - prometheus-client Should we maybe replace underscores before looking in Piplock file? @fridex

This is related to Python package names normalization done in Pipfile/Pipefile.lock. Pipfile here states unnormalized package names (as provided by users), but Pipfile.lock states its normalized counterparts.

Check PEP-503 and https://github.com/thoth-station/kebechet/issues/209

[1] https://www.python.org/dev/peps/pep-0503/#normalized-names

sesheta commented 4 years ago

Information about dependency management for the current master branch with SHA 125c1fd4a8065cbeb900237f1ff0edbb35ddf7ab.

Dependency graph ``` fbprophet==0.6 - cmdstanpy [required: ==0.4, installed: 0.4.0] - numpy [required: Any, installed: 1.18.1] - pandas [required: Any, installed: 1.0.1] - numpy [required: >=1.13.3, installed: 1.18.1] - python-dateutil [required: >=2.6.1, installed: 2.8.1] - six [required: >=1.5, installed: 1.14.0] - pytz [required: >=2017.2, installed: 2019.3] - convertdate [required: >=2.1.2, installed: 2.2.0] - pymeeus [required: >=0.3.6,<=1, installed: 0.3.7] - pytz [required: >=2014.10,<2020, installed: 2019.3] - Cython [required: >=0.22, installed: 0.29.15] - holidays [required: >=0.9.5, installed: 0.9.12] - python-dateutil [required: Any, installed: 2.8.1] - six [required: >=1.5, installed: 1.14.0] - six [required: Any, installed: 1.14.0] - LunarCalendar [required: >=0.0.9, installed: 0.0.9] - ephem [required: >=3.7.5.3, installed: 3.7.7.1] - python-dateutil [required: >=2.6.1, installed: 2.8.1] - six [required: >=1.5, installed: 1.14.0] - pytz [required: Any, installed: 2019.3] - matplotlib [required: >=2.0.0, installed: 3.2.0] - cycler [required: >=0.10, installed: 0.10.0] - six [required: Any, installed: 1.14.0] - kiwisolver [required: >=1.0.1, installed: 1.1.0] - setuptools [required: Any, installed: 46.0.0] - numpy [required: >=1.11, installed: 1.18.1] - pyparsing [required: >=2.0.1,!=2.1.6,!=2.1.2,!=2.0.4, installed: 2.4.6] - python-dateutil [required: >=2.1, installed: 2.8.1] - six [required: >=1.5, installed: 1.14.0] - numpy [required: >=1.10.0, installed: 1.18.1] - pandas [required: >=0.23.4, installed: 1.0.1] - numpy [required: >=1.13.3, installed: 1.18.1] - python-dateutil [required: >=2.6.1, installed: 2.8.1] - six [required: >=1.5, installed: 1.14.0] - pytz [required: >=2017.2, installed: 2019.3] - pystan [required: >=2.14, installed: 2.19.1.1] - Cython [required: >=0.22,!=0.25.1, installed: 0.29.15] - numpy [required: >=1.7, installed: 1.18.1] - python-dateutil [required: >=2.8.0, installed: 2.8.1] - six [required: >=1.5, installed: 1.14.0] - setuptools-git [required: >=1.2, installed: 1.2] mlflow==1.7.0 - alembic [required: Any, installed: 1.4.1] - Mako [required: Any, installed: 1.1.2] - MarkupSafe [required: >=0.9.2, installed: 1.1.1] - python-dateutil [required: Any, installed: 2.8.1] - six [required: >=1.5, installed: 1.14.0] - python-editor [required: >=0.3, installed: 1.0.4] - SQLAlchemy [required: >=1.1.0, installed: 1.3.14] - click [required: >=7.0, installed: 7.1.1] - cloudpickle [required: Any, installed: 1.3.0] - databricks-cli [required: >=0.8.7, installed: 0.9.1] - click [required: >=6.7, installed: 7.1.1] - configparser [required: >=0.3.5, installed: 4.0.2] - requests [required: >=2.17.3, installed: 2.23.0] - certifi [required: >=2017.4.17, installed: 2019.11.28] - chardet [required: >=3.0.2,<4, installed: 3.0.4] - idna [required: >=2.5,<3, installed: 2.9] - urllib3 [required: >=1.21.1,<1.26,!=1.25.1,!=1.25.0, installed: 1.25.8] - six [required: >=1.10.0, installed: 1.14.0] - tabulate [required: >=0.7.7, installed: 0.8.6] - docker [required: >=4.0.0, installed: 4.2.0] - requests [required: >=2.14.2,!=2.18.0, installed: 2.23.0] - certifi [required: >=2017.4.17, installed: 2019.11.28] - chardet [required: >=3.0.2,<4, installed: 3.0.4] - idna [required: >=2.5,<3, installed: 2.9] - urllib3 [required: >=1.21.1,<1.26,!=1.25.1,!=1.25.0, installed: 1.25.8] - six [required: >=1.4.0, installed: 1.14.0] - websocket-client [required: >=0.32.0, installed: 0.57.0] - six [required: Any, installed: 1.14.0] - entrypoints [required: Any, installed: 0.3] - Flask [required: Any, installed: 1.1.1] - click [required: >=5.1, installed: 7.1.1] - itsdangerous [required: >=0.24, installed: 1.1.0] - Jinja2 [required: >=2.10.1, installed: 2.11.1] - MarkupSafe [required: >=0.23, installed: 1.1.1] - Werkzeug [required: >=0.15, installed: 1.0.0] - gitpython [required: >=2.1.0, installed: 3.1.0] - gitdb [required: >=4.0.1,<5, installed: 4.0.2] - smmap [required: >=3.0.1,<4, installed: 3.0.1] - gorilla [required: Any, installed: 0.3.0] - gunicorn [required: Any, installed: 20.0.4] - setuptools [required: >=3.0, installed: 46.0.0] - numpy [required: Any, installed: 1.18.1] - pandas [required: Any, installed: 1.0.1] - numpy [required: >=1.13.3, installed: 1.18.1] - python-dateutil [required: >=2.6.1, installed: 2.8.1] - six [required: >=1.5, installed: 1.14.0] - pytz [required: >=2017.2, installed: 2019.3] - prometheus-flask-exporter [required: Any, installed: 0.13.0] - flask [required: Any, installed: 1.1.1] - click [required: >=5.1, installed: 7.1.1] - itsdangerous [required: >=0.24, installed: 1.1.0] - Jinja2 [required: >=2.10.1, installed: 2.11.1] - MarkupSafe [required: >=0.23, installed: 1.1.1] - Werkzeug [required: >=0.15, installed: 1.0.0] - prometheus-client [required: Any, installed: 0.7.1] - protobuf [required: >=3.6.0, installed: 3.11.3] - setuptools [required: Any, installed: 46.0.0] - six [required: >=1.9, installed: 1.14.0] - python-dateutil [required: Any, installed: 2.8.1] - six [required: >=1.5, installed: 1.14.0] - pyyaml [required: Any, installed: 5.3] - querystring-parser [required: Any, installed: 1.2.4] - six [required: Any, installed: 1.14.0] - requests [required: >=2.17.3, installed: 2.23.0] - certifi [required: >=2017.4.17, installed: 2019.11.28] - chardet [required: >=3.0.2,<4, installed: 3.0.4] - idna [required: >=2.5,<3, installed: 2.9] - urllib3 [required: >=1.21.1,<1.26,!=1.25.1,!=1.25.0, installed: 1.25.8] - simplejson [required: Any, installed: 3.17.0] - six [required: >=1.10.0, installed: 1.14.0] - sqlalchemy [required: Any, installed: 1.3.14] - sqlparse [required: Any, installed: 0.3.1] prometheus-api-client==0.2.0 - dateparser [required: Any, installed: 0.7.4] - python-dateutil [required: Any, installed: 2.8.1] - six [required: >=1.5, installed: 1.14.0] - pytz [required: Any, installed: 2019.3] - regex [required: !=2019.02.19, installed: 2020.2.20] - tzlocal [required: Any, installed: 2.0.0] - pytz [required: Any, installed: 2019.3] - pandas [required: Any, installed: 1.0.1] - numpy [required: >=1.13.3, installed: 1.18.1] - python-dateutil [required: >=2.6.1, installed: 2.8.1] - six [required: >=1.5, installed: 1.14.0] - pytz [required: >=2017.2, installed: 2019.3] - requests [required: Any, installed: 2.23.0] - certifi [required: >=2017.4.17, installed: 2019.11.28] - chardet [required: >=3.0.2,<4, installed: 3.0.4] - idna [required: >=2.5,<3, installed: 2.9] - urllib3 [required: >=1.21.1,<1.26,!=1.25.1,!=1.25.0, installed: 1.25.8] - retrying [required: Any, installed: 1.3.3] - six [required: >=1.7.0, installed: 1.14.0] schedule==0.6.0 tornado==6.0.4 ```
Environment details ``` Kebechet version: 1.0.0 Python version: 3.6.8 Platform: Linux-3.10.0-957.21.2.el7.x86_64-x86_64-with-redhat-8.1-Ootpa pipenv version: pipenv, version 2018.11.26 ```