Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • StatEndpoint

Index

Constructors

constructor

Properties

Private Readonly client

client: BegetRequest

Methods

getDbListLoad

  • Method returns information about the average load on the user's databases for the past month.

    Returns Promise<AvarageLoadDB[]>

    Returns list of database names and the average load thereof (in descending order)

getDbLoad

  • Method returns detailed information about load on the given MySQL database.

    Parameters

    • db_name: string

      database name

    Returns Promise<MysqlLoadInfo>

getSiteListLoad

  • Method returns information about the average load on user websites within the last month.

    Returns Promise<AvarageLoad[]>

    Returns website list and average load thereof (in descending order)

getSiteLoad

  • Method returns detailed information about the load on the given webiste (load per day and hour)

    Parameters

    Returns Promise<SiteLoad>

    Returns load list for the past 30 days (per day). As well as load list for the past 24 hours (per hour)

Private method

  • method<T>(method: Methods["stat"], data?: object): Promise<T>
  • Type parameters

    • T

    Parameters

    • method: Methods["stat"]
    • Optional data: object

    Returns Promise<T>

Generated using TypeDoc