Skip to content

Instantly share code, notes, and snippets.

@buchizo
Created June 1, 2021 20:59
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/440f74e1d0b26caf3d44d4f265b10c1e to your computer and use it in GitHub Desktop.
Save buchizo/440f74e1d0b26caf3d44d4f265b10c1e to your computer and use it in GitHub Desktop.
ゲートウェイ接続モード・専用ゲートウェイ+整合性がSessionなクライアントクエリの診断ログ
{
"name": "ReadItemAsync",
"id": "fc44e655-d934-46d3-9df4-365cca2262b2",
"caller info": {
"member": "OperationHelperWithRootTraceAsync",
"file": "ClientContextCore.cs",
"line": 219
},
"start time": "08:09:56:783",
"duration in milliseconds": 283.5465,
"data": {
"Client Configuration": {
"Client Created Time Utc": "2021-06-01T20:09:50.1501109Z",
"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": "b5387f7e-f504-479e-b7e5-8ebd9ee765e9",
"start time": "08:09:56:783",
"duration in milliseconds": 283.1339,
"children": [
{
"name": "Microsoft.Azure.Cosmos.Handlers.DiagnosticsHandler",
"id": "2bf39ce4-ced5-4b5c-b511-0d3acc600691",
"start time": "08:09:56:784",
"duration in milliseconds": 282.8103,
"data": {
"CPU Load History": {
"CPU History": "(2021-06-01T20:09:51.6183422Z 43.750)"
}
},
"children": [
{
"name": "Microsoft.Azure.Cosmos.Handlers.RetryHandler",
"id": "335c759e-ffad-468d-af59-6ca2aec519bc",
"start time": "08:09:56:784",
"duration in milliseconds": 282.7903,
"children": [
{
"name": "Microsoft.Azure.Cosmos.Handlers.RouterHandler",
"id": "03906142-1405-4508-9940-1049e4e0c24f",
"start time": "08:09:56:784",
"duration in milliseconds": 282.7215,
"children": [
{
"name": "Microsoft.Azure.Cosmos.Handlers.TransportHandler",
"id": "f02ad368-bf84-4e37-b4b6-9c847f3dc6e5",
"start time": "08:09:56:784",
"duration in milliseconds": 282.7036,
"children": [
{
"name": "Microsoft.Azure.Cosmos.GatewayStoreModel Transport Request",
"id": "ed6ad5d5-248d-4c55-aee4-8d14e2e7a557",
"caller info": {
"member": "ProcessMessageAsync",
"file": "TransportHandler.cs",
"line": 109
},
"start time": "08:09:56:784",
"duration in milliseconds": 282.3246,
"data": {
"Client Side Request Stats": {
"Id": "AggregatedClientSideRequestStatistics",
"ContactedReplicas": [],
"RegionsContacted": [],
"FailedReplicas": [],
"AddressResolutionStatistics": [],
"StoreResponseStatistics": [],
"HttpResponseStats": [
{
"StartTimeUTC": "2021-06-01T20:09:57.0631788Z",
"EndTimeUTC": "2021-06-01T20:09:57.0631814Z",
"RequestUri": "https://kosmosebi-db-eastus2.sqlx.cosmos.azure.com/dbs/kosmosdb/colls/sample/docs/buchizo",
"ResourceType": "Document",
"HttpMethod": "GET",
"ActivityId": "812c435a-3e17-433b-82f7-62c04952682e",
"StatusCode": "OK"
}
]
},
"PointOperationStatisticsTraceDatum": {
"Id": "PointOperationStatistics",
"ActivityId": "812c435a-3e17-433b-82f7-62c04952682e",
"ResponseTimeUtc": "2021-06-01T20:09:57.0667922Z",
"StatusCode": 200,
"SubStatusCode": 0,
"RequestCharge": 2.19,
"RequestUri": "dbs/kosmosdb/colls/sample/docs/buchizo",
"ErrorMessage": null,
"RequestSessionToken": "0:-1#5",
"ResponseSessionToken": "0:-1#5",
"BELatencyInMs": "0.243"
}
}
}
]
}
]
}
]
}
]
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment