Merge branch 'master' of github.com:didi/nightingale
This commit is contained in:
commit
71f9aa0618
|
@ -41,4 +41,6 @@ def main():
|
|||
|
||||
|
||||
if __name__ == "__main__":
|
||||
sys.stdout.flush()
|
||||
main()
|
||||
sys.stdout.flush()
|
||||
|
|
|
@ -103,6 +103,8 @@ func PluginRun(plugin *Plugin) {
|
|||
return
|
||||
}
|
||||
|
||||
logger.Debug(fpath, " stdout: ", string(data))
|
||||
|
||||
var items []*dataobj.MetricValue
|
||||
err = json.Unmarshal(data, &items)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in New Issue