Methods
createNumRequestCounter(attrs) → {object}
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
attrs |
object | Refer to individual attrs Properties
|
- Source:
Returns:
{ inc() {} }
.
- Type
- object
isMetricWithPattern(nestedRegexp) → {function}
Parameters:
Name | Type | Description |
---|---|---|
nestedRegexp |
RegExp | Pattern that must appear after the metric. |
- Source:
Returns:
A function that returns a RegExp that matches a metric followed by another pattern.
- Type
- function
module:services/dynamic/json-path(superclass) → {function}
Dynamic service class factory which wraps module:core/base-service/base~BaseService with support of JSONPath.
Parameters:
Name | Type | Description |
---|---|---|
superclass |
function | class to extend |
- Source:
Returns:
wrapped class
- Type
- function