-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
24d0888
commit a1e335d
Showing
15 changed files
with
86 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env node | ||
'use strict'; // eslint-disable-line strict | ||
'use strict'; | ||
|
||
require('../lib/utapi/utilities.js').listMetrics('buckets'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#!/usr/bin/env node | ||
'use strict'; // eslint-disable-line strict | ||
'use strict'; | ||
|
||
require('../lib/utapi/utilities.js').listMetrics(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
require('werelogs').stderrUtils.catchAndTimestampStderr(); | ||
const UtapiReindex = require('utapi').UtapiReindex; | ||
const { config } = require('../Config'); | ||
// require('werelogs').stderrUtils.catchAndTimestampStderr(); | ||
// const UtapiReindex = require('utapi').UtapiReindex; | ||
// const { config } = require('../Config'); | ||
|
||
const reindexConfig = config.utapi && config.utapi.reindex; | ||
if (reindexConfig && reindexConfig.password === undefined) { | ||
reindexConfig.password = config.utapi && config.utapi.redis | ||
&& config.utapi.redis.password; | ||
} | ||
const reindex = new UtapiReindex(reindexConfig); | ||
reindex.start(); | ||
// const reindexConfig = config.utapi && config.utapi.reindex; | ||
// if (reindexConfig && reindexConfig.password === undefined) { | ||
// reindexConfig.password = config.utapi && config.utapi.redis | ||
// && config.utapi.redis.password; | ||
// } | ||
// const reindex = new UtapiReindex(reindexConfig); | ||
// reindex.start(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
require('werelogs').stderrUtils.catchAndTimestampStderr(); | ||
const UtapiReplay = require('utapi').UtapiReplay; | ||
const _config = require('../Config').config; | ||
// require('werelogs').stderrUtils.catchAndTimestampStderr(); | ||
// const UtapiReplay = require('utapi').UtapiReplay; | ||
// const _config = require('../Config').config; | ||
|
||
const utapiConfig = _config.utapi && | ||
Object.assign({}, _config.utapi, { redis: _config.redis }); | ||
const replay = new UtapiReplay(utapiConfig); // start utapi server | ||
replay.start(); | ||
// const utapiConfig = _config.utapi && | ||
// Object.assign({}, _config.utapi, { redis: _config.redis }); | ||
// const replay = new UtapiReplay(utapiConfig); // start utapi server | ||
// replay.start(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
/* eslint-disable global-require */ | ||
const index = { | ||
Utapi: require('./Utapi'), | ||
Scuba: require('./Scuba'), | ||
|