Skip to content

Commit d8d2bfe

Browse files
authored
[Documentation Fix] EC2 resourcedetection processor doco bug (#41625)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue. Ex. Adding a feature - Explain what this achieves.--> #### Description Just noticed a duplicate value under the host.type field in the resourcedetection processor for ec2. After doing a little digging this seems to refer to the ec2 instance type rather than the instance id. <!--Describe the documentation added.--> #### Documentation Updated yaml that seem to generate the readme for resourcedetection/ec2 processor <!--Please delete paragraphs that you did not use before submitting.-->
1 parent fbb5504 commit d8d2bfe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

processor/resourcedetectionprocessor/internal/aws/ec2/documentation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@
1616
| host.id | The host.id | Any Str | true |
1717
| host.image.id | The host image id | Any Str | true |
1818
| host.name | The hostname | Any Str | true |
19-
| host.type | The host id | Any Str | true |
19+
| host.type | The host instance type | Any Str | true |

processor/resourcedetectionprocessor/internal/aws/ec2/metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ resource_attributes:
3636
type: string
3737
enabled: true
3838
host.type:
39-
description: The host id
39+
description: The host instance type
4040
type: string
4141
enabled: true
4242

0 commit comments

Comments
 (0)