Skip to content

Commit 0ce6491

Browse files
authored
Add requestId and reasonDesc to refreshCredentials metric (#754)
* Add requestId and reasonDesc to refreshCredentials metric * Update commonDefinitions.json Add reasonDesc as a field * fix ordering
1 parent 02fa6cc commit 0ce6491

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

telemetry/definitions/commonDefinitions.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1255,6 +1255,11 @@
12551255
"type": "string",
12561256
"description": "The reason for a metric or exception depending on context. It describes a certain theme of errors usually the exception class name eg. FileIOException"
12571257
},
1258+
{
1259+
"name": "reasonDesc",
1260+
"type": "string",
1261+
"description": "Error message detail (truncated). May contain arbitrary message details (as opposed to the 'reason' field, which is intended to have a predictable value for a particular class of failures)."
1262+
},
12581263
{
12591264
"name": "referencePolicyType",
12601265
"type": "string",
@@ -2297,6 +2302,14 @@
22972302
"type": "reason",
22982303
"required": false
22992304
},
2305+
{
2306+
"type": "reasonDesc",
2307+
"required": false
2308+
},
2309+
{
2310+
"type": "requestId",
2311+
"required": false
2312+
},
23002313
{
23012314
"type": "result"
23022315
},
@@ -5980,4 +5993,4 @@
59805993
]
59815994
}
59825995
]
5983-
}
5996+
}

0 commit comments

Comments
 (0)