-
Notifications
You must be signed in to change notification settings - Fork 13
Generalize remote config #107
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
Conflicts: src/datadog/datadog_agent.cpp src/datadog/datadog_agent_config.cpp src/datadog/datadog_agent_config.h src/datadog/remote_config.cpp src/datadog/remote_config.h src/datadog/tracer.cpp src/datadog/tracer_config.cpp test/test_remote_config.cpp test/test_tracer.cpp
Directly converting a json node into std::vector<string::view> doesn't owkr in older GCCs (tried: 8.3.0)
d9fe67f
to
4b8be2c
Compare
1e51ed4
to
195ee07
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #107 +/- ##
==========================================
- Coverage 94.48% 93.32% -1.16%
==========================================
Files 71 72 +1
Lines 3716 4120 +404
==========================================
+ Hits 3511 3845 +334
- Misses 205 275 +70 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
I am working on a simpler implementation: https://github.com/DataDog/dd-trace-cpp/tree/dmehala/remote-config-module
ETA reviewable this week.
The |
Resolved in #130 |
A general mechanism to subscribe to products. The user provides an arbitrary number of ProductListeners (listening to new configuration and to configuration renewal) and listeners running after all the ProductListeners have run.
Made a number of other improvements: RCTE2 support, check against the length, sending cached_target_files to avoid resending of configuration, and so on.