go-graphite / carbon-clickhouse

Graphite metrics receiver with ClickHouse as storage
MIT License
186 stars 48 forks source link

added support for -1 as timestamp value in plain text format #26

Closed agend closed 5 years ago

agend commented 5 years ago

Adding support for -1 as timestamp in plain format - use current timestamp upon arrival. Fix for #25

lomik commented 5 years ago

I fixed this a little differently to avoid additional call time.Now() https://github.com/lomik/carbon-clickhouse/commit/d8e4cd7b7553eefd5487e583691999e73c33a820