Set host tag to empty string if none was set

pull/10616/head
Andrew Watkins 2017-04-26 09:30:57 -07:00
parent 2f02ac6dad
commit 69680d3baf
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ export function getAppsForHosts(proxyLink, hosts, appMappings, telegrafDB) {
allSeries.forEach(([series]) => {
const seriesObj = parseSeries(series)
const measurement = seriesObj.measurement
const host = seriesObj.tags.host
const host = _.get(seriesObj, ['tags', 'host'], '')
if (!newHosts[host]) {
return