Skip to content

Commit 9e21108

Browse files
authored
[chore] Set missing enabled field for resource_attributes (#43085)
If `enabled` is unset in metadata.yaml defaults to false. This commit doesn't change any behavior, it only unblocks the stricter validation open-telemetry/opentelemetry-collector#13921 by setting the false value explicitly. Likely the enabled fields are missed by mistake here. If so, they should be explicitly fixed separately, cc (code owners of the effected components) @nslaughter, @celian-garcia, @ishleenk17, @Caleb-Hurshman, @mrsillydog.
1 parent 5129a74 commit 9e21108

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

receiver/apachesparkreceiver/metadata.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ resource_attributes:
2424
spark.stage.attempt.id:
2525
description: The ID of the stage attempt for which the metric was recorded.
2626
type: int
27+
enabled: false
2728
spark.executor.id:
2829
description: The ID of the executor for which the metric was recorded.
2930
type: string

receiver/azuremonitorreceiver/metadata.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,15 @@ resource_attributes:
1212
azuremonitor.tenant_id:
1313
description: Azure tenant ID
1414
type: string
15+
enabled: false
1516
azuremonitor.subscription_id:
1617
description: Azure subscription ID
1718
type: string
19+
enabled: false
1820
azuremonitor.subscription:
1921
description: Azure subscription name
2022
type: string
23+
enabled: false
2124

2225
tests:
2326
config:

receiver/sshcheckreceiver/metadata.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ resource_attributes:
1212
ssh.endpoint:
1313
description: Full SSH endpoint
1414
type: string
15+
enabled: false
1516

1617
attributes:
1718
error.message:

0 commit comments

Comments
 (0)