HF RL Explorer

Decode Prometheus native histograms in remote write

Decode Prometheus native histograms in remote write: a task in UXInteract 0.1 (Harbor dataset). Implement UnmarshalProtobuf(src byte) ( TimeSeries, error) on WriteRequestUnmarshaler in package remotehist . Preserve the public types: TimeSeries has Labels Label and Samples Sample ; Label has string…

The task

Implement `UnmarshalProtobuf(src []byte) ([]TimeSeries, error)` on `*WriteRequestUnmarshaler` in package `remotehist`. Preserve the public types: `TimeSeries` has `Labels []Label` and `Samples []Sample`; `Label` has string fields `Name` and `Value`; `Sample` has `Timestamp int64` and `Value float64`. Retain the…

Part of Lego-X/UXInteract.