Options
All
  • Public
  • Public/Protected
  • All
Menu

Module @midwayjs/prometheus

References

Configuration

Configuration:

DataService

DataService:

DefaultConfig

DefaultConfig:

Variables

Let bInit

bInit: boolean = false

Let gfp

gfp: any = null

Const lockFile

lockFile: string = path.join(os.tmpdir(),`midway-master-${now.getFullYear()}-${now.getMonth() + 1}-${now.getDate()}-${ppid}.lock`)

Const now

now: Date = new Date()

Const ppid

ppid: number = process.ppid

Functions

Master

  • Master(): (Anonymous function)

closeLock

  • closeLock(): void

isMaster

  • isMaster(): boolean

Object literals

Const prometheus

prometheus: object

labels

labels: object

APP_NAME

APP_NAME: string = "default"

Generated using TypeDoc