Skip to content

Commit

Permalink
[processor/resourcedetection] Remove unnecessary resource attributes …
Browse files Browse the repository at this point in the history
  • Loading branch information
ptodev committed Jan 23, 2024
1 parent 9549b73 commit adda8ee
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 201 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,20 +1,6 @@
default:
all_set:
resource_attributes:
azure.resourcegroup.name:
enabled: true
azure.vm.name:
enabled: true
azure.vm.scaleset.name:
enabled: true
azure.vm.size:
enabled: true
cloud.account.id:
enabled: true
cloud.platform:
enabled: true
cloud.provider:
enabled: true
cloud.region:
enabled: true
host.id:
Expand All @@ -23,20 +9,6 @@ all_set:
enabled: true
none_set:
resource_attributes:
azure.resourcegroup.name:
enabled: false
azure.vm.name:
enabled: false
azure.vm.scaleset.name:
enabled: false
azure.vm.size:
enabled: false
cloud.account.id:
enabled: false
cloud.platform:
enabled: false
cloud.provider:
enabled: false
cloud.region:
enabled: false
host.id:
Expand Down
28 changes: 0 additions & 28 deletions processor/resourcedetectionprocessor/internal/consul/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,10 @@ type: resourcedetectionprocessor/consul
parent: resourcedetection

resource_attributes:
cloud.provider:
description: The cloud.provider
type: string
enabled: true
cloud.platform:
description: The cloud.platform
type: string
enabled: true
cloud.region:
description: The cloud.region
type: string
enabled: true
cloud.account.id:
description: The cloud.account.id
type: string
enabled: true
host.name:
description: The hostname
type: string
Expand All @@ -27,19 +15,3 @@ resource_attributes:
description: The host.id
type: string
enabled: true
azure.resourcegroup.name:
description: The azure.resourcegroup.name
enabled: true
type: string
azure.vm.name:
description: The azure.vm.name
enabled: true
type: string
azure.vm.scaleset.name:
description: The azure.vm.scaleset.name
enabled: true
type: string
azure.vm.size:
description: The azure.vm.size
enabled: true
type: string

0 comments on commit adda8ee

Please sign in to comment.