[Hawkular-dev] [Metrics] What should we do with requests to save data points without a timestamp

Thomas Heute theute at redhat.com
Fri Jun 5 10:12:32 EDT 2015



On 06/05/2015 04:02 PM, Thomas Segismont wrote:
> Hi everyone,
>
> While doing some testing for Grafana/Metrics integration, I found that
> if you don't supply a timestamp when you send data points to Metrics,
> they all get stored with timesptamp=0. This not right.
>
> In such situations, Influx saves the point with the server timestamp. We
> could also reply with 400 Bad Request. My preference goes to the latter.

Agreed that reporting that it's wrong seems better that silently use 
some other value.

But would we still have a simple way to explicitly use server timestamp ?
Might be useful when you are unsure that the client machine has the 
right time and not care about some small time difference.

Thomas

>
> Any thoughts?
>
> I'll file a JIRA when we agree on a solution.
>
> Regards,
> Thomas
> _______________________________________________
> hawkular-dev mailing list
> hawkular-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hawkular-dev
>


More information about the hawkular-dev mailing list