293dd2e848
* Add vendor dir so builds dont require dep * Pin specific version go-eth version
45 lines
1.7 KiB
JSON
45 lines
1.7 KiB
JSON
{
|
|
"comment": "This is a sample configuration",
|
|
"subscriptions": [
|
|
"/Sysdb/environment/cooling/status",
|
|
"/Sysdb/environment/power/status",
|
|
"/Sysdb/environment/temperature/status",
|
|
"/Sysdb/interface/counter/eth/lag",
|
|
"/Sysdb/interface/counter/eth/slice/phy"
|
|
],
|
|
"metricPrefix": "eos",
|
|
"metrics": {
|
|
"intfCounter": {
|
|
"path": "/Sysdb/(interface)/counter/eth/(?:lag|slice/phy/.+)/intfCounterDir/(?P<intf>.+)/intfCounter/current/statistics/(?P<direction>(?:in|out))(Octets|Errors|Discards)"
|
|
},
|
|
"intfPktCounter": {
|
|
"path": "/Sysdb/(interface)/counter/eth/(?:lag|slice/phy/.+)/intfCounterDir/(?P<intf>.+)/intfCounter/current/statistics/(?P<direction>(?:in|out))(?P<type>(?:Ucast|Multicast|Broadcast))(Pkt)"
|
|
},
|
|
"intfPfcClassCounter": {
|
|
"path": "/Sysdb/(interface)/counter/eth/(?:lag|slice/phy/.+)/intfCounterDir/(?P<intf>.+)/intfCounter/current/ethStatistics/(?P<direction>(?:in|out))(PfcClassFrames)"
|
|
},
|
|
|
|
"tempSensor": {
|
|
"path": "/Sysdb/(environment)/temperature/status/tempSensor/(?P<sensor>.+)/((?:maxT|t)emperature)/value"
|
|
},
|
|
"tempSensorAlert": {
|
|
"path": "/Sysdb/(environment)/temperature/status/tempSensor/(?P<sensor>.+)/(alertRaisedCount)"
|
|
},
|
|
"currentSensor": {
|
|
"path": "/Sysdb/(environment)/power/status/currentSensor/(?P<sensor>.+)/(current)/value"
|
|
},
|
|
"powerSensor": {
|
|
"path": "/Sysdb/(environment/power)/status/powerSupply/(?P<sensor>.+)/(input|output)Power/value"
|
|
},
|
|
"voltageSensor": {
|
|
"path": "/Sysdb/(environment)/power/status/voltageSensor/(?P<sensor>.+)/(voltage)/value"
|
|
},
|
|
"railCurrentSensor": {
|
|
"path": "/Sysdb/(environment)/power/status/voltageSensor/(?P<sensor>.+)/(current)/value"
|
|
},
|
|
"fanSpeed": {
|
|
"path": "/Sysdb/(environment)/cooling/status/(fan)/(?P<fan>.+)/(speed)/value"
|
|
}
|
|
}
|
|
}
|