Commit f936f66
[Fleet] Report otelcol inputs with receiver id instead of type (elastic#244013)
Fixes elastic#243720
## Summary
Integration input health reports otelcol inputs with `receiver id`
instead of input type `otelcol`.
Currently the input health show input name "otelcol" for any receiver,
making it difficult to diagnose which input has issues in case of
multiple inputs. This PR addresses it, showing the receiver id instead
of the generic type.
Note that this change is done only for "otelcol" inputs and not for any
other type of inputs, they'll keep showing the type instead; the link
ref stays the same, it's just the text that has been changed.
### Before
<img width="951" height="638" alt="Screenshot 2025-11-24 at 15 57 20"
src="https://github.com/user-attachments/assets/9e67c70b-4e73-45c6-8bc4-ba0c5de70b91"
/>
### After
<img width="1771" height="996" alt="Screenshot 2025-11-24 at 15 51 36"
src="https://github.com/user-attachments/assets/84a3ef3f-8895-405c-8417-dda772964d09"
/>
### Testing
- Locally build this package:
elastic/integrations#15739
- Install it into Fleet with
```
curl -XPOST -H 'content-type: application/zip' -H 'kbn-xsrf: true'
http://localhost:5601/<PATH>/api/fleet/epm/packages -u elastic:changeme
--data-binary @docker_otel_input-0.2.0.zip
```
- Add it to an agent policy and enroll an agent into that policy
- Verify the input health in agent view. The input name should correspond to the receiver id and the link should correctly navigate to the logs.
### Checklist
- [ ] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials
- [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios1 parent fa4f6c7 commit f936f66
File tree
3 files changed
+36
-2
lines changed3 files changed
+36
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
135 | 163 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
| 160 | + | |
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
| |||
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | | - | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
37 | 43 | | |
38 | 44 | | |
39 | 45 | | |
| |||
0 commit comments