  }

    function alertSeverity(item) {
        // the other types can be pending, so check pending first
        if (item.message.annotations["alertstate"] === "pending") {
            return [buildLocatorDisplayString(item.locator), "", "AlertPending"]
        }

        if (item.message.annotations["severity"] === "info") {
            return [buildLocatorDisplayString(item.locator), "", "AlertInfo"]
        }
        if (item.message.annotations["severity"] === "warning") {
            return [buildLoca