Closed
Description
OTTL contexts are updated so that all time fields Getters return time.Time
and Setters take time.Time
. The accessor names should be updated to drop the time precision (_nano
).
Context and fields that need updating:
- ottldatapoint
- start_time_unix_nano
- time_unix_nano
- ottllog
- time_unix_nano
- observed_time_unix_nano
- ottlspan
- start_time_unix_nano
- end_time_unix_nano
- ottlspanevent
- time_unix_nano
Will also need to update all the cache
accessors to be able to handle getting and setting time.Time
and time.Duration
. Instead of getting and setting a pcommon.Map
it should be expressed as a map[string]string
.