Merge branch 'master' of github.com:didi/nightingale

This commit is contained in:
710leo 2020-05-12 20:07:24 +08:00
commit 71f9aa0618
2 changed files with 5 additions and 1 deletions

View File

@ -41,4 +41,6 @@ def main():
if __name__ == "__main__": if __name__ == "__main__":
sys.stdout.flush()
main() main()
sys.stdout.flush()

View File

@ -103,6 +103,8 @@ func PluginRun(plugin *Plugin) {
return return
} }
logger.Debug(fpath, " stdout: ", string(data))
var items []*dataobj.MetricValue var items []*dataobj.MetricValue
err = json.Unmarshal(data, &items) err = json.Unmarshal(data, &items)
if err != nil { if err != nil {