Skip to content

Instantly share code, notes, and snippets.

@buchizo
Created June 1, 2021 21:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save buchizo/51a9bca57e0f7f153c5ab1fb6e4e7b51 to your computer and use it in GitHub Desktop.
Save buchizo/51a9bca57e0f7f153c5ab1fb6e4e7b51 to your computer and use it in GitHub Desktop.
ゲートウェイ接続・専用ゲートウェイ、整合性をEventualなクライアント診断ログ
{
"name": "ReadItemAsync",
"id": "24d83013-822e-43fa-b713-bf4f06e95694",
"caller info": {
"member": "OperationHelperWithRootTraceAsync",
"file": "ClientContextCore.cs",
"line": 219
},
"start time": "08:07:23:084",
"duration in milliseconds": 1554.2853,
"data": {
"Client Configuration": {
"Client Created Time Utc": "2021-06-01T20:07:18.7911530Z",
"NumberOfClientsCreated": 2,
"User Agent": "cosmos-netstandard-sdk/3.19.0|3.19.1|05|X64|Microsoft Windows 10.0.19043|.NET Core 3.1.15|N|",
"ConnectionConfig": {
"gw": "(cps:50, urto:10, p:False, httpf: False)",
"rntbd": "(cto: 5, icto: -1, mrpc: 30, mcpe: 65535, erd: False, pr: ReuseUnicastPort)",
"other": "(ed:False, be:False)"
},
"ConsistencyConfig": "(consistency: NotSet, prgns:[])"
}
},
"children": [
{
"name": "Microsoft.Azure.Cosmos.Handlers.RequestInvokerHandler",
"id": "fbeaf3d9-018c-42c1-b18f-57cb8f0e7299",
"start time": "08:07:23:084",
"duration in milliseconds": 1553.8597,
"children": [
{
"name": "Microsoft.Azure.Cosmos.Handlers.DiagnosticsHandler",
"id": "4808c6ca-bb20-42ed-8cb1-acac39d94f71",
"start time": "08:07:23:085",
"duration in milliseconds": 1553.1322,
"data": {
"CPU Load History": {
"CPU History": "(2021-06-01T20:07:20.0070181Z 18.750)"
}
},
"children": [
{
"name": "Microsoft.Azure.Cosmos.Handlers.RetryHandler",
"id": "5cad73db-bae3-4463-9273-5b21df09a736",
"start time": "08:07:23:085",
"duration in milliseconds": 1553.1118,
"children": [
{
"name": "Microsoft.Azure.Cosmos.Handlers.RouterHandler",
"id": "a7e2ccbd-f05d-433f-8d9a-f6ebd160524f",
"start time": "08:07:23:085",
"duration in milliseconds": 1553.0208,
"children": [
{
"name": "Microsoft.Azure.Cosmos.Handlers.TransportHandler",
"id": "4d691e7c-bdfc-4020-a7ea-1a363654240e",
"start time": "08:07:23:085",
"duration in milliseconds": 1553.0001,
"children": [
{
"name": "Microsoft.Azure.Cosmos.GatewayStoreModel Transport Request",
"id": "11803a89-4787-40a8-a600-068ea1c47532",
"caller info": {
"member": "ProcessMessageAsync",
"file": "TransportHandler.cs",
"line": 109
},
"start time": "08:07:23:085",
"duration in milliseconds": 1552.7278,
"data": {
"Client Side Request Stats": {
"Id": "AggregatedClientSideRequestStatistics",
"ContactedReplicas": [],
"RegionsContacted": [],
"FailedReplicas": [],
"AddressResolutionStatistics": [],
"StoreResponseStatistics": [],
"HttpResponseStats": [
{
"StartTimeUTC": "2021-06-01T20:07:23.9240393Z",
"EndTimeUTC": "2021-06-01T20:07:23.9240418Z",
"RequestUri": "https://kosmosebi-db-eastus2.sqlx.cosmos.azure.com/dbs/kosmosdb/colls/sample",
"ResourceType": "Collection",
"HttpMethod": "GET",
"ActivityId": "93813fdb-982a-4ed0-8452-56eecc8fae70",
"StatusCode": "OK"
},
{
"StartTimeUTC": "2021-06-01T20:07:24.1486726Z",
"EndTimeUTC": "2021-06-01T20:07:24.1486730Z",
"RequestUri": "https://kosmosebi-db-eastus2.sqlx.cosmos.azure.com/dbs/LkMjAA==/colls/LkMjAJGDN-M=/pkranges",
"ResourceType": "PartitionKeyRange",
"HttpMethod": "GET",
"ActivityId": "b98dbdc1-0e1d-49d3-9b4e-46121e40b1e1",
"StatusCode": "OK"
},
{
"StartTimeUTC": "2021-06-01T20:07:24.3795420Z",
"EndTimeUTC": "2021-06-01T20:07:24.3795457Z",
"RequestUri": "https://kosmosebi-db-eastus2.sqlx.cosmos.azure.com/dbs/LkMjAA==/colls/LkMjAJGDN-M=/pkranges",
"ResourceType": "PartitionKeyRange",
"HttpMethod": "GET",
"ActivityId": "6484349a-1576-49ca-a242-c1a512bb8a0d",
"StatusCode": "NotModified",
"ReasonPhrase": "Not Modified"
},
{
"StartTimeUTC": "2021-06-01T20:07:24.6371779Z",
"EndTimeUTC": "2021-06-01T20:07:24.6371813Z",
"RequestUri": "https://kosmosebi-db-eastus2.sqlx.cosmos.azure.com/dbs/kosmosdb/colls/sample/docs/buchizo",
"ResourceType": "Document",
"HttpMethod": "GET",
"ActivityId": "414672f7-b92f-413b-852c-bb8d315e22a2",
"StatusCode": "OK"
}
]
},
"PointOperationStatisticsTraceDatum": {
"Id": "PointOperationStatistics",
"ActivityId": "414672f7-b92f-413b-852c-bb8d315e22a2",
"ResponseTimeUtc": "2021-06-01T20:07:24.6380514Z",
"StatusCode": 200,
"SubStatusCode": 0,
"RequestCharge": 0,
"RequestUri": "dbs/kosmosdb/colls/sample/docs/buchizo",
"ErrorMessage": null,
"RequestSessionToken": null,
"ResponseSessionToken": "0:-1#5",
"BELatencyInMs": "0.217"
}
}
}
]
}
]
}
]
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment