[ https://issues.apache.org/jira/browse/SCB-91?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
yangyongzheng resolved SCB-91. ------------------------------ Resolution: Fixed > All Monitor can convert to Map with plain-key when polling data > --------------------------------------------------------------- > > Key: SCB-91 > URL: https://issues.apache.org/jira/browse/SCB-91 > Project: Apache ServiceComb > Issue Type: Sub-task > Components: Java-Chassis > Reporter: yangyongzheng > Assignee: yangyongzheng > Fix For: java-chassis-1.0.0-m1 > > > Because sample like output file need write metrics into separate files,it's > better get plain-key Map contains all metrics data rather than get metric > model. > This also can use in publish metrics with plain-key mode like Spring boot > actuator act: > { "counter.status.200.root": 20, "counter.status.200.metrics": 3, > "counter.status.200.star-star": 5, "counter.status.401.root": 4, > "gauge.response.star-star": 6, "gauge.response.root": 2, > "gauge.response.metrics": 3, "classes": 5808, "classes.loaded": 5808, > "classes.unloaded": 0, "heap": 3728384, "heap.committed": 986624, > "heap.init": 262144, "heap.used": 52765, "nonheap": 0, "nonheap.committed": > 77568, "nonheap.init": 2496, "nonheap.used": 75826, "mem": 986624, > "mem.free": 933858, "processors": 8, "threads": 15, "threads.daemon": 11, > "threads.peak": 15, "threads.totalStarted": 42, "uptime": 494836, > "instance.uptime": 489782, "datasource.primary.active": 5, > "datasource.primary.usage": 0.25 } -- This message was sent by Atlassian JIRA (v6.4.14#64029)