Merge branch 'master' of github.com:didi/nightingale
This commit is contained in:
commit
71f9aa0618
|
@ -41,4 +41,6 @@ def main():
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
sys.stdout.flush()
|
||||||
main()
|
main()
|
||||||
|
sys.stdout.flush()
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue