Skip to content

eg code is not right #4

@buzai

Description

@buzai

microstats.on('memory', function(value) { console.log('MEMORY:', memory )}) this is right
microstats.on('cpu', function(value) { console.log('CPU:', memory } this is not right

let options = {
  frequency: 'onalert'
  memoryalert: { used: '>60%' }
  cpualert: { load: '>80%' }
}

This option is to trigger all the events? Or triggered to meet the conditions of the event?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions