Monitoring the agent
Explains how to monitor the agent
Overview
Section titled “Overview”Your standalone agent is monitored by the InfiniStream team for anomalies. We are learning continuously and improving the scope of it every day.
Logging
Section titled “Logging”The agent logs at INFO level and is typically not noisy. The logs today are local and
are not uploaded to InfiniStream cloud. Detailed logging can be had by providing a debug argument
to the agent and restarted. This will write copious amount of logging at the protocol level.
We do not have access to any of these logs, so it is typically co-ordinated with the customer to analyze these logs.
Metrics
Section titled “Metrics”InfiniStream agent exports the same metrics NATS/JetStream server exports, at the moment. The same endpoints are supported.
In addition, the console provides you metrics on a group basis:
- number of read/writes
- number of objects created
- number of sequences created
- details on streams
- details on consumers
Health Check
Section titled “Health Check”NATS ping/pong can be used as health check or a simple nats -s nats://localhost:4222 stream ls will tell you
if the agent is responding.