Skip to content

Commit

Permalink
Remote configuration support (#488)
Browse files Browse the repository at this point in the history
* Remote configuration & live debugging

Signed-off-by: Bob Weinand <[email protected]>

* More dynamic configs, fixes and address several review comments

Signed-off-by: Bob Weinand <[email protected]>

* Add tests

Signed-off-by: Bob Weinand <[email protected]>

* Windows support

Signed-off-by: Bob Weinand <[email protected]>

* Minor live-debugger stuff

Signed-off-by: Bob Weinand <[email protected]>

* Remove live debugger stuff

Signed-off-by: Bob Weinand <[email protected]>

* Uglify with cargo fmt

Signed-off-by: Bob Weinand <[email protected]>

* start timeout handling

Signed-off-by: Bob Weinand <[email protected]>

* clippy

Signed-off-by: Bob Weinand <[email protected]>

* Update lib.rs

* Update remote-config/src/parse.rs

Co-authored-by: Luc Vieillescazes <[email protected]>

* Apply suggestions from code review

Co-authored-by: Julio Gonzalez <[email protected]>

* Make remote config usable in process, without manual FileStorage interaction

Signed-off-by: Bob Weinand <[email protected]>

* Avoid multiple QueueId HashMaps for RuntimeInfo

Signed-off-by: Bob Weinand <[email protected]>

* Move dynamic-configuration into its own crate

Signed-off-by: Bob Weinand <[email protected]>

* Clippy

Signed-off-by: Bob Weinand <[email protected]>

* Fix file expiration logic

Signed-off-by: Bob Weinand <[email protected]>

* Set version on remote config

Signed-off-by: Bob Weinand <[email protected]>

* Increase log-level of remote config received message

Signed-off-by: Bob Weinand <[email protected]>

* Allow setting config apply state explicitly

And avoid computing the RemoteConfigPath string with every HashMap operation, but do some rust magic so that it will consider owned RemoteConfigPaths and unowned RemoteConfigPathRefs equivalent.

Signed-off-by: Bob Weinand <[email protected]>

* Implement timeouts

Signed-off-by: Bob Weinand <[email protected]>

* Do not submit client_agent ever

Signed-off-by: Bob Weinand <[email protected]>

* Fully reject a partially invalid RC payload

Signed-off-by: Bob Weinand <[email protected]>

* Adjust comment slightly

Signed-off-by: Bob Weinand <[email protected]>

* Apply suggestions from code review

Signed-off-by: Bob Weinand <[email protected]>

* Fix windows build

---------

Signed-off-by: Bob Weinand <[email protected]>
Co-authored-by: Luc Vieillescazes <[email protected]>
Co-authored-by: Julio Gonzalez <[email protected]>
  • Loading branch information
3 people authored Aug 16, 2024
1 parent dd36a81 commit 31b6854
Show file tree
Hide file tree
Showing 49 changed files with 6,691 additions and 309 deletions.
4 changes: 3 additions & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ trace-protobuf @Datadog/serverless @Datadog/libdatadog-apm
trace-mini-agent @Datadog/serverless
trace-utils @Datadog/serverless @Datadog/libdatadog-apm
serverless @Datadog/serverless
dynamic-configuration @Datadog/libdatadog-php @Datadog/libdatadog-apm
remote-config @Datadog/libdatadog-php @Datadog/libdatadog-apm @Datadog/remote-config
sidecar @Datadog/libdatadog-php @Datadog/libdatadog-apm
sidecar-ffi @Datadog/libdatadog-php @Datadog/libdatadog-apm
data-pipeline*/ @Datadog/libdatadog-apm
ddsketch @Datadog/libdatadog-apm @Datadog/libdatadog-telemetry
ddsketch @Datadog/libdatadog-apm @Datadog/libdatadog-telemetry
Loading

0 comments on commit 31b6854

Please sign in to comment.