* Call the Utapi Client 'pushLocationMetric' method with the * associated parameters * @param {string} location - name of data backend * @param {number} byteLength - number of bytes * @param {object} log - werelogs logger * @param {function} cb - callback to call * @return {function} - `utapi.
(location, byteLength, log, cb)
| 380 | * @return {function} - `utapi.pushLocationMetric` |
| 381 | */ |
| 382 | function pushLocationMetric(location, byteLength, log, cb) { |
| 383 | const locationId = _getLocationId(location); |
| 384 | return utapi.pushLocationMetric(locationId, byteLength, |
| 385 | log.getSerializedUids(), cb); |
| 386 | } |
| 387 | |
| 388 | module.exports = { |
| 389 | listMetrics, |
no test coverage detected