-
Notifications
You must be signed in to change notification settings - Fork 526
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use @timestamp instead of timestamp.us and switch to type date_nanos #1678
Comments
we are not going do this now, right? |
we can reopen by 8.0 timeframe |
timestamp.us
and span.start
.
Reopening and targeting |
Next steps:
|
The APM app itself appears to have no problems with I then sent some events and the APM app does not appear to have any problems with this. I've found a couple of issues so far:
What we could do to work around this (temporarily, until the Logs app is fixed) is:
For trace events, I think we'll probably need a runtime field for accessing sub-millisecond precision, similar to the example in https://www.elastic.co/guide/en/elasticsearch/reference/master/date_nanos.html |
Given that we'll need this anyway, I guess there's not much point in removing My new proposal is:
I'll run some more tests to check that this works out. |
Found a bug in Kibana/Fleet: elastic/kibana#109764
I believe the UI is currently extracting all fields from |
Another option occurs to me now: we can continue to store |
Switch to
@timestamp
fromtimestamp.us
:timestamp.us
in favor of@timestamp
date_nanos
with a default format ofepoch_millis
timestamp.us
until we can move fully onto@timestamp
.The UI uses the fields API to query
@timestamp
with formatstrict_date_optional_time_nanos
, and also queriestimestamp.us
and uses that if it exists (elastic/kibana#108908). We would stop mapping and indexing the latter, this would just be for backwards compatibility.There are known issues in Kibana with supporting
date_nanos
types, which needs further attention before we can move forward with this change.Known issues that require further discussions:
date_nanos
64 bit number/integer support in Kibana kibana#40183Related issues:
@timestamp
withtimestamp.us
kibana#108908@timestamp
precision Add support for nanosecond timestamps beats#15871The text was updated successfully, but these errors were encountered: