Skip to content

Add timestamps to points in Kafka/AMQP outputs#226

Closed
ekini wants to merge 1 commit intoinfluxdata:masterfrom
ekini:mq_timestamps
Closed

Add timestamps to points in Kafka/AMQP outputs#226
ekini wants to merge 1 commit intoinfluxdata:masterfrom
ekini:mq_timestamps

Conversation

@ekini
Copy link

@ekini ekini commented Sep 23, 2015

I noticed that metrics sent to message queue don't contain timestamps.
It looks like an error, so I've fixed it.

If a point doesn't contain timestamp, then the code checks for bp.Timestamp. If it's also empty, then it uses time.Now().

@sparrc sparrc closed this in 87ed2d4 Sep 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant