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

Add more spans for mutation execution flow #15284

Open
maarcingebala opened this issue Jan 24, 2024 · 0 comments
Open

Add more spans for mutation execution flow #15284

maarcingebala opened this issue Jan 24, 2024 · 0 comments

Comments

@maarcingebala
Copy link
Member

Add more spans to mutation execution methods to better track in APM which parts of the flow need optimization. To discuss which parts of the mutation should be wrapped. Ideally, we would like to track particular steps of BaseMutation / ModelMutation:

  • For BaseMutation wrap mutate and perform_mutation methods
  • For ModelMutation wrap particular steps of the flow:
    • get_instance
    • clean_input
    • construct_instance
    • validate_and_update_metadata
    • clean_instance
    • save
    • _save_m2m
    • post_save_action
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant