cisco-ie / pipeline-gnmi

A Model-Driven Telemetry collector based on the open-source tool pipeline
Apache License 2.0
32 stars 6 forks source link

Evaluate pushing [u]int/float64 to output plugins #15

Open remingtonc opened 5 years ago

remingtonc commented 5 years ago

Per #6 we replicate/customize (was originally a patch) jsonpb which emits uint64 values as strings to instead make them uint64s. It appears this was largely done to maintain correctness with JavaScript alongside some JSON specification language so this is a fine workaround, however if we can easily push that deserialization functionality to the outputs it would probably be a better solution and explicitly acknowledge the intended functionality of jsonpb.