InfluxDB server monitoring

    InfluxDB can display statistical and diagnostic information about each node.This information can be very useful for troubleshooting and performance monitoring.

    To see node statistics, execute the command SHOW STATS.For details on this command, see SHOW STATS in the InfluxQL specification.

    The statistics returned by SHOW STATS are stored in memory only, and are reset to zero when the node is restarted.

    InfluxDB also writes statistical and diagnostic information to database named _internal, which records metrics on the internal runtime and service performance.The _internal database can be queried and manipulated like any other InfluxDB database.Check out the and the internal monitoring blog post for more detail.

    Below are a collection of commands to find useful performance metrics about your InfluxDB instance.

    To find the number of points per second being written to the instance. Must have the service enabled:

    Or, for systemd systems logging to journald:

    The InfluxDB /metrics endpoint is configured to produce the default Go metrics in Prometheus metrics format.

    Example using InfluxDB `/metrics’ endpoint