Skip to content

eg code is not right #4

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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