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

Clean up APIServer #30

Merged
merged 2 commits into from
Jan 19, 2021
Merged

Clean up APIServer #30

merged 2 commits into from
Jan 19, 2021

Conversation

GregMefford
Copy link
Member

Split out enqueue_trace maybe_flush_traces steps from the :send_trace handler.
Basically no change in behavior except that now we consistently write a log (when verbose?: true) that a trace has been added to the stack at the time that the batch size is reached and the stack is flushed to the Datadog Agent.

While reviewing #28, I noticed that we were missing an obvious place to add telemetry about what the APIServer is doing internally, so I split this out in preparation for adding telemetry about these distinct steps happening.

@GregMefford GregMefford merged commit b38ff65 into master Jan 19, 2021
@GregMefford GregMefford deleted the cleanup_api_server branch January 19, 2021 15:26
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