Search
Preparing search index...
The search index is not available
@atomist/automation-client
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
"spi/statsd/statsd"
StatsdAutomationEventListener
Class StatsdAutomationEventListener
Hierarchy
AutomationEventListenerSupport
StatsdAutomationEventListener
Implements
AutomationEventListener
Index
Constructors
constructor
Properties
configuration
heavy
registration
Name
statsd
timer
Methods
callback
close
command
Failed
command
Incoming
command
Starting
command
Successful
context
Created
event
event
Failed
event
Incoming
event
Starting
event
Successful
increment
init
Gc
init
Statsd
message
Sending
message
Sent
registration
Successful
startup
Successful
submit
Event
Loop
Delay
submit
Heap
Stats
timing
Constructors
constructor
new
Statsd
Automation
Event
Listener
(
configuration
:
Configuration
)
:
StatsdAutomationEventListener
Parameters
configuration:
Configuration
Returns
StatsdAutomationEventListener
Properties
Private
Readonly
configuration
configuration
:
Configuration
Private
heavy
heavy
:
Heavy
Private
Readonly
registration
Name
registration
Name
:
string
statsd
statsd
:
StatsDClient
Private
timer
timer
:
Timer
Methods
Private
callback
callback
(
err
:
Error
)
:
void
Do-nothing callback
Parameters
err:
Error
Returns
void
close
close
(
)
:
void
Returns
void
command
Failed
command
Failed
(
payload
:
CommandInvocation
, ctx
:
HandlerContext
, err
:
any
)
:
Promise
<
any
>
Parameters
payload:
CommandInvocation
ctx:
HandlerContext
err:
any
Returns
Promise
<
any
>
command
Incoming
command
Incoming
(
payload
:
CommandIncoming
)
:
void
Parameters
payload:
CommandIncoming
Returns
void
command
Starting
command
Starting
(
payload
:
CommandInvocation
, ctx
:
HandlerContext
)
:
void
Parameters
payload:
CommandInvocation
ctx:
HandlerContext
Returns
void
command
Successful
command
Successful
(
payload
:
CommandInvocation
, ctx
:
HandlerContext
, result
:
HandlerResult
)
:
Promise
<
any
>
Parameters
payload:
CommandInvocation
ctx:
HandlerContext
result:
HandlerResult
Returns
Promise
<
any
>
context
Created
context
Created
(
ctx
:
HandlerContext
)
:
void
Parameters
ctx:
HandlerContext
Returns
void
Private
event
event
(
title
:
string
, text
?:
string
, tags
?:
string
[]
)
:
void
Parameters
title:
string
Optional
text:
string
Optional
tags:
string
[]
Returns
void
event
Failed
event
Failed
(
payload
:
EventFired
<
any
>
, ctx
:
HandlerContext
, err
:
any
)
:
Promise
<
any
>
Parameters
payload:
EventFired
<
any
>
ctx:
HandlerContext
err:
any
Returns
Promise
<
any
>
event
Incoming
event
Incoming
(
payload
:
EventIncoming
)
:
void
Parameters
payload:
EventIncoming
Returns
void
event
Starting
event
Starting
(
payload
:
EventFired
<
any
>
, ctx
:
HandlerContext
)
:
void
Parameters
payload:
EventFired
<
any
>
ctx:
HandlerContext
Returns
void
event
Successful
event
Successful
(
payload
:
EventFired
<
any
>
, ctx
:
HandlerContext
, result
:
HandlerResult
[]
)
:
Promise
<
any
>
Parameters
payload:
EventFired
<
any
>
ctx:
HandlerContext
result:
HandlerResult
[]
Returns
Promise
<
any
>
Private
increment
increment
(
stat
:
string
|
string
[]
, tags
?:
string
[]
)
:
void
Parameters
stat:
string
|
string
[]
Optional
tags:
string
[]
Returns
void
Private
init
Gc
init
Gc
(
)
:
void
Returns
void
Private
init
Statsd
init
Statsd
(
)
:
void
Returns
void
message
Sending
message
Sending
(
message
:
any
, destinations
:
Destination
|
Destination
[]
, options
:
MessageOptions
, ctx
:
HandlerContext
)
:
Promise
<
{
destinations
:
Destination
|
Destination
[]
;
message
:
any
;
options
:
MessageOptions
}
>
Parameters
message:
any
destinations:
Destination
|
Destination
[]
options:
MessageOptions
ctx:
HandlerContext
Returns
Promise
<
{
destinations
:
Destination
|
Destination
[]
;
message
:
any
;
options
:
MessageOptions
}
>
message
Sent
message
Sent
(
message
:
any
, dests
:
Destination
|
Destination
[]
, options
:
MessageOptions
, ctx
:
HandlerContext
&
AutomationContextAware
)
:
Promise
<
void
>
Parameters
message:
any
dests:
Destination
|
Destination
[]
options:
MessageOptions
ctx:
HandlerContext
&
AutomationContextAware
Returns
Promise
<
void
>
registration
Successful
registration
Successful
(
handler
:
RequestProcessor
)
:
void
Parameters
handler:
RequestProcessor
Returns
void
startup
Successful
startup
Successful
(
client
:
AutomationClient
)
:
Promise
<
void
>
Parameters
client:
AutomationClient
Returns
Promise
<
void
>
Private
submit
Event
Loop
Delay
submit
Event
Loop
Delay
(
)
:
void
Returns
void
Private
submit
Heap
Stats
submit
Heap
Stats
(
)
:
void
Returns
void
Private
timing
timing
(
stat
:
string
|
string
[]
, ctx
:
HandlerContext
, tags
?:
string
[]
)
:
void
Parameters
stat:
string
|
string
[]
ctx:
HandlerContext
Optional
tags:
string
[]
Returns
void
Globals
"spi/statsd/statsd"
Statsd
Automation
Event
Listener
constructor
configuration
heavy
registration
Name
statsd
timer
callback
close
command
Failed
command
Incoming
command
Starting
command
Successful
context
Created
event
event
Failed
event
Incoming
event
Starting
event
Successful
increment
init
Gc
init
Statsd
message
Sending
message
Sent
registration
Successful
startup
Successful
submit
Event
Loop
Delay
submit
Heap
Stats
timing
Timer
Gc
Types
Generated using
TypeDoc
Do-nothing callback