Uploaded image for project: 'Apache ServiceComb'
  1. Apache ServiceComb
  2. SCB-6 ServiceComb Java Chassis Metrics
  3. SCB-91

All Monitor can convert to Map with plain-key when polling data

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • java-chassis-1.0.0-m1
    • Java-Chassis
    • None

    Description

      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 }

      Attachments

        Activity

          People

            zhengyangyong Yangyong Zheng
            zhengyangyong Yangyong Zheng
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: