-
Notifications
You must be signed in to change notification settings - Fork 0
feat: add tracing #1
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
Conversation
- add option to enable code coverage
scripts/setup-httpd.sh
Outdated
git clone --branch 1.6.3 --depth 1 https://github.com/apache/apr-util.git ${OUTPUT_DIR}/srclib/apr-util | ||
git clone --branch 1.7.4 --depth 1 https://github.com/apache/apr.git ${OUTPUT_DIR}/srclib/apr | ||
|
||
cd httpd |
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.
cd httpd | |
cd $OUTPUT_DIR |
|
||
namespace datadog::tracing { | ||
|
||
class HttpdLogger final : public datadog::tracing::Logger { |
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.
Maybe silly, but I'd be worried someone adds a log_info
method or something down the line locking in dangerous places. What do you think about changing it to something like HttpdLockingLogger
?
Co-authored-by: pablomartinezbernardo <134320516+pablomartinezbernardo@users.noreply.github.com>
Description
This PR add tracing capabilities to httpd.
Note to Reviewers
The remaining work are not related to the tracing implementation but everything around like CI/CD. I am opening this PR to give you enough time to review.
Left to do:
Add againdatadog-handler
for debugging purposes.dd-trace-cpp
version.