Problem Statement
collector-contrib/processor/resourcedetectionprocessor/internal/scaleway implements a resource detector for Scaleway Instances. There is currently no equivalent in go-contrib/detectors/, which means Scaleway detection is only available to collector-contrib pipelines and not to any Go SDK user.
Proposed Solution
Add a new detectors/scaleway package implementing the Scaleway detector as a resource.Detector, ported from the collector-contrib implementation, so that collector-contrib/processor/resourcedetectionprocessor can delegate to it and any other Go SDK user can adopt it.
Prior Art
Additional Context
What the collector-contrib detector does:
- Queries the Scaleway Instance Metadata API.
- Emits:
cloud.provider (scaleway), cloud.platform (scaleway_baremetal or scaleway_instance), cloud.region, cloud.availability_zone, host.id, host.name, host.type.
Problem Statement
collector-contrib/processor/resourcedetectionprocessor/internal/scalewayimplements a resource detector for Scaleway Instances. There is currently no equivalent ingo-contrib/detectors/, which means Scaleway detection is only available to collector-contrib pipelines and not to any Go SDK user.Proposed Solution
Add a new
detectors/scalewaypackage implementing the Scaleway detector as aresource.Detector, ported from the collector-contrib implementation, so thatcollector-contrib/processor/resourcedetectionprocessorcan delegate to it and any other Go SDK user can adopt it.Prior Art
processor/resourcedetectionprocessor/internal/scalewayAdditional Context
What the collector-contrib detector does:
cloud.provider(scaleway),cloud.platform(scaleway_baremetal or scaleway_instance),cloud.region,cloud.availability_zone,host.id,host.name,host.type.