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

conditional instrumentation and profiling options for server example #854

Closed
wants to merge 2 commits into from

Conversation

nr-swilloughby
Copy link
Contributor

I'm just going to park this here to discuss whether we want to include this in the agent.

This adds some compile-time flags for the server example app so you can easily build it with and without the agent, and with and without profiling. The default is the same as always (no profiling, yes agent). This may be of use for doing speed comparisons.

On the other hand, it does add some clutter to the code in the example app. The question is whether the benefit is worth the clutter.

@nr-swilloughby
Copy link
Contributor Author

In the interest of keeping the code examples as clean and straightforward as possible, let's hold off on this for now.

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.

None yet

1 participant