Typo
This commit is contained in:
@@ -22,7 +22,7 @@ module.exports = class NamedMapProviderReporter {
|
||||
return acc;
|
||||
}, 0);
|
||||
|
||||
stats.gauge(statKeyTemplate({ metric: 'named-map.intantiation.count' }), namedMapInstantiations);
|
||||
stats.gauge(statKeyTemplate({ metric: 'named-map.instantiation.count' }), namedMapInstantiations);
|
||||
}, this.intervalInMilliseconds);
|
||||
}
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ describe('named-map-provider-reporter', function () {
|
||||
);
|
||||
|
||||
assert.strictEqual(
|
||||
global.statsClient['windshaft.named-map-provider-cache.named-map.intantiation.count'],
|
||||
global.statsClient['windshaft.named-map-provider-cache.named-map.instantiation.count'],
|
||||
6
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user