Commit a5bab4d
authored
Add health_check factories to host profiler standalone (#47718)
### What does this PR do?
Add `health_check` factory to host profiler no agent. This is necessary in order to deploy standalone mode via upstream helm chart, as readiness and liveness probes are mandatory. See:
- https://github.com/open-telemetry/opentelemetry-helm-charts/blob/opentelemetry-target-allocator-0.126.10/charts/opentelemetry-collector/values.yaml#L142-L145
- https://github.com/open-telemetry/opentelemetry-helm-charts/blob/opentelemetry-target-allocator-0.126.10/charts/opentelemetry-collector/templates/_pod.tpl#L80-L117
Related config:
```
extensions:
health_check:
endpoint: ${env:MY_POD_IP}:13133
```
### Motivation
### Describe how you validated your changes
### Additional Notes
Co-authored-by: mackenzie.jomard <mackenzie.jomard@datadoghq.com>1 parent 7ab624e commit a5bab4d
File tree
3 files changed
+6
-2
lines changed- comp/host-profiler/collector/impl
- deps
3 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
158 | 159 | | |
159 | 160 | | |
160 | 161 | | |
161 | | - | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
162 | 165 | | |
163 | 166 | | |
164 | 167 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
| 323 | + | |
323 | 324 | | |
324 | 325 | | |
325 | 326 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
705 | 705 | | |
706 | 706 | | |
707 | 707 | | |
708 | | - | |
| 708 | + | |
709 | 709 | | |
710 | 710 | | |
711 | 711 | | |
| |||
0 commit comments