You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the C test code "c/core/test/test.c", metrics added to the payload by add_simple_metric() have timestamps, but metrics added to the payload by init_metric() followed by add_metric_to_payload() do not have timestamps unless is_historical is true and is_transient is false. That is due to the following code in init_metric() in "tahu.c":
Is that code correct? I would have thought that the default would be to add a timestamp, but some code adding a historical metric would want to fill in the appropriate time themselves.
The text was updated successfully, but these errors were encountered:
In the C test code "c/core/test/test.c", metrics added to the payload by
add_simple_metric()
have timestamps, but metrics added to the payload byinit_metric()
followed byadd_metric_to_payload()
do not have timestamps unlessis_historical
istrue
andis_transient
isfalse
. That is due to the following code ininit_metric()
in "tahu.c":Is that code correct? I would have thought that the default would be to add a timestamp, but some code adding a historical metric would want to fill in the appropriate time themselves.
The text was updated successfully, but these errors were encountered: