-
Notifications
You must be signed in to change notification settings - Fork 6
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 remaining metrics for message reliability #64
Conversation
c7c2c34
to
4dfc180
Compare
CONSTRAINT dialFailure_unique UNIQUE (recordId, errorType, protocols, timestamp) | ||
); | ||
|
||
ALTER TABLE dialFailure ADD CONSTRAINT fk_dialFailure_telemetryRecord |
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.
Shouldn't there be a foreign key constraint for dial_error_types
as well? Just to make sure we don't insert non-existant error types?
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.
Added this
errorMsg TEXT, | ||
protocols TEXT NOT NULL, | ||
timestamp INTEGER NOT NULL, | ||
CONSTRAINT dialFailure_unique UNIQUE (recordId, errorType, protocols, timestamp) |
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.
I think this one is missing in the test_utils.go
cleanup
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.
It seems to work without it but I added it anyways
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.
Left some comments, otherwise LGTM
4dfc180
to
5a35627
Compare
5a35627
to
c490c16
Compare
Adds the following metrics: