[
https://issues.apache.org/jira/browse/EAGLE-928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hao Chen updated EAGLE-928:
---------------------------
Description:
Refine system metric schema design and fix system metric collector
Principle: any metric (no mater jmx/sys metric) should at least have three
fields: "metric", "group", "timestamp", "value"
Stream Schema for System metric
* **metric**: [STRING] metric name string
* **group**: [STRING] metric group/type
* **timestamp**: [LONG] metric generation time
* **site**: [STRING] siteId
* **host**: [STRING] source host name
* **device**: [STRING] device name, like cpu
Sample data
{code}
{
"timestamp": 1487918913569,
"metric": "system.nic.transmitdrop',
"group": "NETWORK_METRIC",
"site": 'sandbox',
"value": 7724.0,
"host": 'sandbox.hortonworks.com',
"device": 'eth0'
}
{code}
was:
Fix System Metric Stream Collector and refine system metric schema design
* Principle: any metric (no mater jmx/sys metric) should at least have three
fields: "metric", "group", "timestamp", "value"
* Stream Schema for System metric
* **metric**: [STRING] metric name string
* **group**: [STRING] metric group/type
* **timestamp**: [LONG] metric generation time
* **site**: [STRING] siteId
* **host**: [STRING] source host name
* **device**: [STRING] device name, like cpu
* Sample data
{code}
{
"timestamp": 1487918913569,
"metric": "system.nic.transmitdrop',
"group": "NETWORK_METRIC",
"site": 'sandbox',
"value": 7724.0,
"host": 'sandbox.hortonworks.com',
"device": 'eth0'
}
{code}
> Fix System Metric Stream Collector
> ----------------------------------
>
> Key: EAGLE-928
> URL: https://issues.apache.org/jira/browse/EAGLE-928
> Project: Eagle
> Issue Type: Bug
> Affects Versions: v0.5.0
> Reporter: Hao Chen
> Assignee: Hao Chen
> Fix For: v0.5.0
>
>
> Refine system metric schema design and fix system metric collector
> Principle: any metric (no mater jmx/sys metric) should at least have three
> fields: "metric", "group", "timestamp", "value"
> Stream Schema for System metric
>
> * **metric**: [STRING] metric name string
> * **group**: [STRING] metric group/type
> * **timestamp**: [LONG] metric generation time
> * **site**: [STRING] siteId
> * **host**: [STRING] source host name
> * **device**: [STRING] device name, like cpu
> Sample data
> {code}
> {
> "timestamp": 1487918913569,
> "metric": "system.nic.transmitdrop',
> "group": "NETWORK_METRIC",
> "site": 'sandbox',
> "value": 7724.0,
> "host": 'sandbox.hortonworks.com',
> "device": 'eth0'
> }
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)