|
Post by Caffrey on Mar 2, 2020 13:57:25 GMT
Hi All,
I have a doubt about MereicReport update. Assume I create a MRD with "SuppressRepeatedMetric" = false and "ReportUpdates" = "NewReport" and 'RecurrenceInterval' = 'PT20S'. Then new report shall be generated every 20 seconds. Also in TelemetryService schema has "MaxReports" definition. My doubt is how to update MetricReport collection when the number of MetricReport instance reach "MaxReports". "MaxReports" "MaxReports": {
"description": "The maximum number of metric reports that this service supports.",
"longDescription": "This property shall contain the maximum number of metric reports that this service supports.",
"readonly": true,
"type": [
"integer",
"null"
]
},
Thank you, Caffrey
|
|
|
Post by mraineri on Mar 10, 2020 12:15:33 GMT
I see this type of scenario being similar to a user trying to create too many new resources when POSTing to a given collection. In this case, the client should encounter the "CreateLimitReachedForResource" message defined in the Base Message Registry, and as a result, the new resource is not created. I think it would be appropriate if new metric reports are simply dropped for a similar type of reason, and the metric report collection stops growing until a client performs DELETE on one or more metric reports.
I'd like others to weigh in on this behavior too.
|
|