Add: crashes Postgres logic; crashes sync with Redmine#19
Open
yaarith wants to merge 2 commits intoceph:masterfrom
Open
Add: crashes Postgres logic; crashes sync with Redmine#19yaarith wants to merge 2 commits intoceph:masterfrom
yaarith wants to merge 2 commits intoceph:masterfrom
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 <yaarit@redhat.com>
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 <yaarit@redhat.com>
Contributor
Author
|
TODOs will be handled in the next version of the bot |
Contributor
Author
|
refining the crash signature will be added next |
jeffvance
reviewed
Sep 2, 2021
| 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.
any config to point to a different directory (maybe at a later date)?
jeffvance
reviewed
Sep 2, 2021
| # 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.
is there value in a user assigned prefix or suffix to this filename?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.