Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace DBOSConfigInstance

Configuration parameters defined for external databases instance level.

Properties

hostName

hostName: string

Host name of the database instance.

instanceName

instanceName: string

Name of the database instance.

Const metricName

metricName: string = "DB_OS_CONFIG_INSTANCE"

Optional numCPUCores

numCPUCores: undefined | number

Number of CPU cores available (includes subcores of multicore CPUs as well as single-core CPUs). Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional numCPUSockets

numCPUSockets: undefined | number

Number of CPU Sockets available. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional numCPUs

numCPUs: undefined | number

Total number of CPUs available. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional physicalMemoryBytes

physicalMemoryBytes: undefined | number

Total number of bytes of physical memory. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional timeCollected

timeCollected: Date

Collection timestamp Example: {@code "2020-05-06T00:00:00.000Z"}

Methods

getDeserializedJsonObj

getJsonObj