Add more data to the slow query log

This commit is contained in:
Daniel Smith 2020-08-03 19:02:29 +00:00
parent 8ac89fc37f
commit 50b1649f8d
2 changed files with 7 additions and 3 deletions

View File

@ -243,7 +243,11 @@ struct RocksDBKeyValueStore : IKeyValueStore {
if (elapsed > 0.1) {
TraceEvent(SevError, "RocksDBSlowRead")
.detail("Time", std::to_string(elapsed))
.detail("Method", "ReadRange");
.detail("Method", "ReadRange")
.detail("Start", a.keys.begin.printable())
.detail("End", a.keys.end.printable())
.detail("RowLimit", a.rowLimit)
.detail("ByteLimit", a.byteLimit);
}
}
};

View File

@ -1,7 +1,7 @@
<?xml version="1.0"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Version>6.2.25</Version>
<PackageName>6.2</PackageName>
<Version>6.3.5</Version>
<PackageName>6.3</PackageName>
</PropertyGroup>
</Project>