Functions§
- serve_
logs - Given an INFO and ERROR
GlobalBuffer, render the buffers into a json encoded body of an HttpResponse that can be served via a Canister’shttp_requestquery method. The method’sCanisterHttpRequestArgumentallows selecting the logs based on severity (INFO/ERROR) and timestamp. - serve_
metrics - Transforms an
ic_metrics_encoder::MetricsEncoderinto an HttpResponse that can be served via a Canister’shttp_requestquery method.