Skip to content

Instantly share code, notes, and snippets.

@sandlbn
Created August 12, 2016 08:41
Show Gist options
  • Select an option

  • Save sandlbn/f59cf8cc7cdcb585708b0bb6fff1e801 to your computer and use it in GitHub Desktop.

Select an option

Save sandlbn/f59cf8cc7cdcb585708b0bb6fff1e801 to your computer and use it in GitHub Desktop.
{
"version":1,
"schedule":{
"type":"simple",
"interval":"0.5s"
},
"workflow":{
"collect":{
"metrics":{
"/intel/proc/schedstat/cpu/*/schedYield":{
},
"/intel/proc/schedstat/cpu/*/scheduleCalled":{
},
"/intel/proc/schedstat/cpu/*/scheduleLeftIdle":{
},
"/intel/proc/schedstat/cpu/*/tryToWakeUp":{
},
"/intel/proc/schedstat/cpu/*/tryToWakeUpLocalCpu":{
},
"/intel/proc/schedstat/cpu/*/jiffiesRunning":{
},
"/intel/proc/schedstat/cpu/*/jiffiesWaiting":{
},
"/intel/proc/schedstat/cpu/*/timeslices":{
}
},
"config":{
"/intel/proc": {
"schedstat":"/proc/schedstat"
}
},
"process":[
{
"plugin_name":"passthru",
"process":null,
"publish":[
{
"plugin_name":"file",
"config":{
"file":"/tmp/collect_published"
}
}
]
}
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment