-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add: crashes Postgres logic; crashes sync with Redmine #19
base: master
Are you sure you want to change the base?
Conversation
New files: - db_create_crash.sql: Holds the DDL to create 'crash' schema and its tables. - import_crashes.py: The script that populates 'crash' schema. Signed-off-by: Yaarit Hatuka <[email protected]>
The first version of the bot that syncs anonymized telemetry crashes with Ceph's Redmine bug tracker (tracker.ceph.com). Signed-off-by: Yaarit Hatuka <[email protected]>
TODOs will be handled in the next version of the bot |
refining the crash signature will be added next |
telemetry db): | ||
./crashes_redmine_sync.py --prod | ||
|
||
Log files are written to the directory where this program resides. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
any config to point to a different directory (maybe at a later date)?
# True - use redminelib ; False - use direct db access | ||
USE_REDMINELIB_ALL_ISSUES = False | ||
|
||
LOG_FILE = f"{datetime.now().strftime('%Y-%m-%d_%H:%M:%S')}_telemetry_to_redmine.log" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there value in a user assigned prefix or suffix to this filename?
Add the crashes schema DDL, and the script to populate it.
Add the crashes-redmine sync bot, which updates Ceph's bug tracker (tracker.ceph.com) with anonymized telemetry crashes.