Ionadmin Module

Index

Back to: modules

Administration module (Ionadmin) – is used for assigning rights, managing tasks on a schedule and other administrative tasks.

Ionadmin module configuration in the config.json file

Configure slow query recording

Setting up as a modal window on the list of slow queries. Set the source in the config.json file of the ionadmin module:

"profiling": {
    "slowQuery": {
      "sources": [
          {
            "collection": "system.profile"
          }
      ]
    }
  }

If the "sources" propery is not set or null, then the data will be taken from the table:

{
  "profiling": {
    "slowQuery": {
      "sources": null
    }
  }
}

If an empty array is set, then there are no sources.

Log sources configuration

Log sources (can be a few) are specified in the config.json file of the module:

"profiling": {
    "slowQuery": {
      "sources": [
        {
          "collection": "system.profile"
        },
        {
          "file": "D:/Temp/slow-query.txt"
        }
      ]
    }
  }

The made selections are stored in a separate table and do not depend on the current state of the log sources. You can add information by editing them. For example, comments or notes informing whether the problem is solved or not.

DB backup configuration

Setting in the ionmodule/config:

"backup": {
    "dir": "../ion-backups",
    "zlib": {
      "level": 1
    }
  }
  • dir contains the path of the folder in which the node application was launched. “../ion-backups” - by default.
  • zlib.level - the level of compression also affects the speed of the archive creation. 3 - by default.
  • In addition, it is necessary that the export.js utility with the specified parameters worked correctly on its own.

Security user guide

Security user guide is here.


Licence  Contact us   English  

iondv metrics

Copyright (c) 2018 LLC “ION DV”.
All rights reserved.