feat: support Remote Config sampling rules by dmehala · Pull Request #116 · DataDog/dd-trace-cpp

@dmehala marked this pull request as ready for review

May 15, 2024 13:53

pablomartinezbernardo

dmehala

According to the Remote Configuration specification,
`DD_REMOTE_CONFIG_POLL_INTERVAL_SECONDS` support floating point input
and can be set to `0`.

@dmehala

@dmehala

Now, sampling remote configuration do not create a new trace sampler
which has the side effect to reset the rate limiter.

@dmehala

@dmehala

@dmehala

@dmehala

- report remote trace sample rate as RULE instead of REMOTE_RULE for legacy reasons
- update REMOTE_RULES and REMOTE_ADAPTIVE_RULE values to match the spec
- report default sample rate for telemetry
- add _dd.psr for new remote rules

@dmehala dmehala changed the base branch from main to dmehala/fix-rc-env-var

May 23, 2024 09:27

pablomartinezbernardo

@dmehala

@dmehala

Base automatically changed from dmehala/fix-rc-env-var to main

May 23, 2024 15:40

@dmehala dmehala deleted the dmehala/support-rc-sampling-rules branch

May 23, 2024 16:41