Skip to content

TelemetryService should insert into database using device name instead of SKU #778

Open
@tomqin93

Description

@tomqin93

Is your feature request related to a problem? Please describe.

Currently when we enable telemetryService for a device with SQL, the name of the entry will be the SKU of the device in edgeDevice. This makes it harder to manage when we have to identical devices with the same SKU

Describe the solution you'd like

The solution would be to use device name for now. Since they are unique for a Kubernetes cluster. For now let's keep it within a single cluster. We can add in cluster id in the future

Describe alternatives you've considered

Using a slightly different SKU number for different devices

Additional context

Should be fixed here https://github.com/Edgenesis/shifu/blob/main/pkg/deviceshifu/deviceshifubase/pushtelemetry.go#L26

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions