prometheus
prometheus copied to clipboard
api: export point non-standard marshaling functions
This PR exports marshalTimestamp
and marshalValue
functions by moving them under their own util package.
These functions are a bit tricky, so exporting them helps to keep this piece of code aligned in projects that vendor Prometheus code without needing to copy & paste.
Signed-off-by: Miguel Ángel Ortuño [email protected]