hashicorp / go-metrics

A Golang library for exporting performance and runtime metrics to external metrics systems (i.e. statsite, statsd)
MIT License
1.46k stars 177 forks source link

Timestamp shoud be .... a (float) timestamp #160

Open alex-ikse opened 9 months ago

alex-ikse commented 9 months ago

https://github.com/hashicorp/go-metrics/blob/9d55fb233b15597348d8c257632d8211a07d3395/inmem_endpoint.go#L90

See https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#timestamps : Timestamp should be an integer of float.