sonic-net / sonic-gnmi

SONiC gNMI server and gNOI repo
Other
22 stars 52 forks source link

COUNTERS_DB numeric counters are treated as string_val #27

Open kakkotetsu opened 3 years ago

kakkotetsu commented 3 years ago

SONiC's gNMI telemetry treats numerical data in COUNTERS_DB as string_val, but shouldn't it be treated as int_val? SONiC's Redis may treat the number as a String type, but shouldn't the gNMI target treat it as an int_val and return it to the gNMI client?

This is why I am facing problems with interoperability with gNMI client (gnmi-gateway).

sneelam20 commented 3 months ago

Is this issue still relevant?