Scalar is a scalar value evaluated at the set timestamp.
| 248 | |
| 249 | // Scalar is a scalar value evaluated at the set timestamp. |
| 250 | type Scalar struct { |
| 251 | Value SampleValue `json:"value"` |
| 252 | Timestamp Time `json:"timestamp"` |
| 253 | } |
| 254 | |
| 255 | func (s Scalar) String() string { |
| 256 | return fmt.Sprintf("scalar: %v @[%v]", s.Value, s.Timestamp) |
nothing calls this directly
no outgoing calls
no test coverage detected