generate stats for job #540
-
Hello, I use cronical for shell script execution and I'm interested in the feature to have detailed metrics. I found the i should write in the stdout the values in json like : { perf: { db: 18.51, http: 3.22, gzip: 0.84 } } But when i write this value it doesn't work. Can someone already implemented it? Can you share a sample script shell that will make such stats? Should it be the last line ? Thx a lot |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
it's ok i found myself: |
Beta Was this translation helpful? Give feedback.
-
@jhuckaby having the same problem. And yet it doesn't generate stats. I have "Interpret JSON in output" enabled btw. |
Beta Was this translation helpful? Give feedback.
-
@john1997x Syntax error in your JSON. Trailing comma. |
Beta Was this translation helpful? Give feedback.
it's ok i found myself:
echo {"perf":{"1:pspur01p":3,"2:pspur01p":4}}