2.1.1 • Published 9 years ago

grunt-service-status v2.1.1

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

grunt-service-status

Build Status NPM version Dependencies

Verify the service-status monitor

installation:

npm install --save grunt-service-status

usage:

grunt.initConfig({
  'service-status':{
    'myservice': {
      options: {
        baseUrl: 'http://my.service.com/service-status',
        monitors: ['my-test-monitor', 'my-test-monitor-2'],
        warmUps: 2,
        waitAfterWarmUp: 2000
      }
    },
    'myservice-alt': {
      options: {
        baseUrl: 'http://my.service.com/service-status',
        monitors: [
          { monitorname: 'my-test-monitor'   },
          { monitorname: 'my-test-monitor-2' }
        ]
      }
    }
  }
});

options:

`baseUrl`: the service-status root url
`monitors`: either a list of monitor names to hit, or a list of objects with a monitorname property
`warmUps`: the number of times to hit the root url before starting the verify step (default 0)
`warmUpUrl`: optionally specify a different url to use for the warm-up. If not specified it'll use the baseUrl
`waitAfterWarmUp`: number of milliseconds to wait after the warm-ups (default 0)
2.1.1

9 years ago

2.1.0

10 years ago

2.0.1

10 years ago

2.0.0

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago