The dot-separated metric name.
Optionalvalue: numberThe amount to decrement the stat by.
Optionaltags: string[] | Record<string, string | number>Tags to pass along, such as { foo: 'bar' }. Values are combined with config.tags.
Sets a distribution value, optionally specifying tags.
The dot-separated metric name.
Optionalvalue: numberThe amount to increment the stat by.
Optionaltags: string[] | Record<string, string | number>Tags to pass along, such as { foo: 'bar' }. Values are combined with config.tags.
BetaForces any unsent metrics to be sent
This method is experimental and could be removed in future versions.
Sets a gauge value, optionally specifying tags.
The dot-separated metric name.
Optionalvalue: numberThe amount to increment the stat by.
Optionaltags: string[] | Record<string, string | number>Tags to pass along, such as { foo: 'bar' }. Values are combined with config.tags.
Sets a histogram value, optionally specifying tags.
The dot-separated metric name.
Optionalvalue: numberThe amount to increment the stat by.
Optionaltags: string[] | Record<string, string | number>Tags to pass along, such as { foo: 'bar' }. Values are combined with config.tags.
Increments a metric by the specified value, optionally specifying tags.
The dot-separated metric name.
Optionalvalue: numberThe amount to increment the stat by.
Optionaltags: string[] | Record<string, string | number>Tags to pass along, such as { foo: 'bar' }. Values are combined with config.tags.
Decrements a metric by the specified value, optionally specifying tags.