LogDetails.test.tsx
4.55 KB
-
Explore: fixes log entries sorting - changes milliseconds to nanoseconds (#24303) · dbd77e0a
* Chore: adds timeEpochNs to LogRowModel in @grafana/data * Chore: updates explore utils ResultProcessor getLogsResult and explore utils tests * Chore: updates core/logs_model to include nanoseconds * Chore: updates LogRowModel sorting key from milliseconds to nanoseconds and adds timeEpochNs to tests * Chore: adds timeEpochNs to LogRowModel mock in Explore LiveLogs test * Chore: fixes logs model timeEpochNs padding * Chore: updates timeEpochNs padding in tests * Chore: updates LogRowModel mocks * Chore: changes isLoki to datasourceId * Chore: adds hasFieldWithNameAndType method to FieldCache in grafana-data dataframe * Chore: changes timeEpochNs from number to string as it can overflow Number.MAX_SAFE_INTEGER * Chore: updates LogRowModel sorting to use milliseconds and nanoseconds * Chore: removes datasourceId from logSeriesToLogsModel method * Chore: updates ResultProcessor tests to include nanosecond-level precision log rows sorting
Lukas Siatka committed