didn’t see this type of topic on the forum, would like to ask what’s the plan of supporting logging and metrics (and alarms) in the ICP world. All of them are important for monitoring healthy of services.
5 Likes
What do you think the plan should be?
I want:
-
dfx logs
to stream logs from all the canisters interleaved, but prefixed/color-coded by canister name. I can pipe togrep
. Could be cool to support some kind of streaming json export I can pipe tojq
- inspiration: heroku used to recomend foreman(1) - manage Procfile-based applications + Procfile.
lerna run
does this.
- inspiration: heroku used to recomend foreman(1) - manage Procfile-based applications + Procfile.
On the other hand, this is tricky. If logging takes more cpu/mem, should everyone have to pay for it? Can logging be in userspace via some kind of standard API on the canister?