Commit 3df62fd
Wire extended heartbeat interval through sidecar (#3800)
* Wire extended heartbeat interval through sidecar for PHP telemetry
The libdatadog telemetry worker already supports
telemetry_extended_heartbeat_interval in its Config, but the sidecar's
SessionConfig and FFI layer did not expose it. This meant PHP (and any
other sidecar consumer) could not configure the extended heartbeat
interval, preventing app-extended-heartbeat events from being emitted
at the desired cadence.
Changes:
- libdatadog sidecar: add telemetry_extended_heartbeat_interval to
SessionConfig and propagate it into the telemetry Config inside
modify_telemetry_config
- libdatadog sidecar-ffi: add telemetry_extended_heartbeat_interval_millis
parameter to ddog_sidecar_session_set_config
- PHP ext: add DD_TELEMETRY_EXTENDED_HEARTBEAT_INTERVAL config (default
86400 s = 24 h) and pass it through the FFI call
- C header: update ddog_sidecar_session_set_config signature
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* Regenerate supported-configurations.json
Add DD_TELEMETRY_EXTENDED_HEARTBEAT_INTERVAL entry to keep
metadata in sync with ext/configuration.h.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent c46963f commit 3df62fd
8 files changed
Lines changed: 40 additions & 3 deletions
File tree
- components-rs
- ext
- metadata
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1078 | 1078 | | |
1079 | 1079 | | |
1080 | 1080 | | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
1081 | 1084 | | |
1082 | 1085 | | |
1083 | 1086 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
| 203 | + | |
203 | 204 | | |
204 | 205 | | |
205 | 206 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
126 | 135 | | |
127 | 136 | | |
128 | 137 | | |
| |||
150 | 159 | | |
151 | 160 | | |
152 | 161 | | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
153 | 168 | | |
154 | 169 | | |
155 | 170 | | |
| |||
183 | 198 | | |
184 | 199 | | |
185 | 200 | | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
186 | 207 | | |
187 | 208 | | |
188 | 209 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
| 207 | + | |
| 208 | + | |
207 | 209 | | |
208 | 210 | | |
209 | 211 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| 116 | + | |
| 117 | + | |
116 | 118 | | |
117 | 119 | | |
118 | 120 | | |
| |||
Submodule libdatadog updated 1010 files
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
644 | 644 | | |
645 | 645 | | |
646 | 646 | | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
647 | 654 | | |
648 | 655 | | |
649 | 656 | | |
| |||
0 commit comments