我正在发送以下 json:
{
"components": [
{
"guid": "com.mycompany.MyPlugin",
"duration": 60,
"metrics": {
"Component/Memory/Heap Used[bytes]": 146990608,
"Component/Processor/GC[percent]": 0.5555555555555556,
"Component/Memory/Heap Max[bytes]": 39387136,
"Component/Processor/CPU[percent]": 66.66666666666667,
"Component/Memory/Heap Committed[bytes]": 279714288
},
"name": "MyPlugin"
}
],
"agent": {
"host": "host",
"pid": 0,
"version": "1.0.0"
}
}
这些Component/Memory/*
指标被新的遗物正确识别,我能够创建仪表板。
但是,这些Component/Processor/*
指标似乎根本没有得到承认。当我创建新仪表板时,我无法在指标名称的下拉列表中看到它们,甚至手动输入名称也不起作用,因为 new relic 说不存在这样的指标。