diff --git a/business/definitionService.js b/business/definitionService.js index 57e916af..e2369a6a 100644 --- a/business/definitionService.js +++ b/business/definitionService.js @@ -100,10 +100,10 @@ class DefinitionService { _logDefinitionStatus(definition, coordinates) { if (this._isEmpty(definition)) { - this.logger.info('definition harvest in progress', { coordinates: coordinates.toString() }) + this.logger.debug('definition harvest in progress', { coordinates: coordinates.toString() }) } else { // Log line used for /status page insights - this.logger.info('computed definition available', { coordinates: coordinates.toString() }) + this.logger.debug('computed definition available', { coordinates: coordinates.toString() }) } } diff --git a/business/statusService.js b/business/statusService.js index 7a38d8b8..edd9de1c 100644 --- a/business/statusService.js +++ b/business/statusService.js @@ -35,7 +35,6 @@ class StatusService { _getStatusLookup() { return { requestcount: this._requestCount, - definitionavailability: this._definitionAvailability, processedperday: this._processedPerDay, recentlycrawled: this._recentlyCrawled, crawlbreakdown: this._crawlbreakdown, @@ -57,20 +56,6 @@ class StatusService { }, {}) } - async _definitionAvailability() { - const data = await requestPromise( - this._serviceQuery(` - traces - | where timestamp > ago(90d) - | where message == "recomputed definition available" or message == "definition not available" or message == "computed definition available" - | summarize count() by message`) - ) - return data.tables[0].rows.reduce((result, row) => { - result[row[0]] = row[1] - return result - }, {}) - } - async _processedPerDay() { const data = await requestPromise( this._crawlerQuery(`