File tree Expand file tree Collapse file tree 3 files changed +44
-3
lines changed Expand file tree Collapse file tree 3 files changed +44
-3
lines changed Original file line number Diff line number Diff line change 276276 "labeled_rate" : {
277277 "additionalProperties" : {
278278 "additionalProperties" : {
279- "type" : " integer"
279+ "additionalProperties" : false ,
280+ "properties" : {
281+ "denominator" : {
282+ "type" : " integer"
283+ },
284+ "numerator" : {
285+ "type" : " integer"
286+ }
287+ },
288+ "required" : [
289+ " numerator" ,
290+ " denominator"
291+ ],
292+ "type" : " object"
280293 },
281294 "propertyNames" : {
282295 "comment" : " This must be at least the length of 'category.name' metric names to support error reporting" ,
541554 },
542555 "rate" : {
543556 "additionalProperties" : {
544- "type" : " integer"
557+ "additionalProperties" : false ,
558+ "properties" : {
559+ "denominator" : {
560+ "type" : " integer"
561+ },
562+ "numerator" : {
563+ "type" : " integer"
564+ }
565+ },
566+ "required" : [
567+ " numerator" ,
568+ " denominator"
569+ ],
570+ "type" : " object"
545571 },
546572 "propertyNames" : {
547573 "maxLength" : 61 ,
Original file line number Diff line number Diff line change 6262 section.
6363
6464- Added ` sum ` to histogram and ` timing_distribution ` as optional parameter.
65+
66+ - The ` rate ` metric type is an object with a ` numerator ` and ` denominator ` .
Original file line number Diff line number Diff line change 11{
2- "type" : " integer"
2+ "type" : " object" ,
3+ "properties" : {
4+ "numerator" : {
5+ "type" : " integer"
6+ },
7+ "denominator" : {
8+ "type" : " integer"
9+ }
10+ },
11+ "required" : [
12+ " numerator" ,
13+ " denominator"
14+ ],
15+ "additionalProperties" : false
316}
You can’t perform that action at this time.
0 commit comments