# HG changeset patch # User Kim Alvefur # Date 1626449728 -7200 # Node ID f7e26c43a9bc67559e35acd1710e08e9acc69b2f # Parent eba7e68120d86e2b369f069ea16261c1ce33a821 mod_pubsub_alertmanager: Add TODOs diff -r eba7e68120d8 -r f7e26c43a9bc mod_pubsub_alertmanager/mod_pubsub_alertmanager.lua --- a/mod_pubsub_alertmanager/mod_pubsub_alertmanager.lua Fri Jul 16 17:35:09 2021 +0200 +++ b/mod_pubsub_alertmanager/mod_pubsub_alertmanager.lua Fri Jul 16 17:35:28 2021 +0200 @@ -1,9 +1,12 @@ local st = require "util.stanza"; local json = require "util.json"; -local filters = {}; +local filters = { --[[ TODO what's useful? ]] }; local render = require "util.interpolation".new("%b{}", tostring, filters); local uuid_generate = require "util.uuid".generate; +-- TODO alertmanager supports inclusion of HTTP auth and OAuth, worth looking +-- into for using instead of request IP + module:depends("http"); local pubsub_service = module:depends("pubsub").service;