Skip to content
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

[monitorlib] Make RID mutation operations version-independent #41

Merged

Conversation

BenjaminPelletier
Copy link
Member

This PR completes the work started by #39 to improve monitorlib's standards-based interactions to support both versions of F3411 RID by updating the mutation objects/operations to the new model.

I noticed that a pattern in the fetch objects was more verbose than necessary (parsing and catching parsing exceptions for version-specific values in two places), so the fetch objects are updated with the new pattern along with the mutate objects. Also, v19 and v22 class fields were shadowing the namespaces of the same names, so those fields were renamed *_value instead.

A number of error messages are added or improved to help with debugging.

In the quest against #28, some gunicorn server hooks are added to both atproxy and mock_uss to assist determining where and why the timeouts are occurring. Based on this logging, it seems like the problem might be in gunicorn itself as worker timeouts were found to be occurring outside the pre_request - post_request span. To prepare to file good bug reports with gunicorn in the future, the gunicorn version is updated to the latest.

Copy link
Contributor

@barroco barroco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Thanks

@BenjaminPelletier BenjaminPelletier merged commit 2a01f84 into interuss:main Feb 15, 2023
@BenjaminPelletier BenjaminPelletier deleted the monitorlib/mutate branch February 15, 2023 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants