Diff

mod_pubsub_alertmanager/mod_pubsub_alertmanager.lua @ 4625:f7e26c43a9bc

mod_pubsub_alertmanager: Add TODOs
author Kim Alvefur <zash@zash.se>
date Fri, 16 Jul 2021 17:35:28 +0200
parent 4621:ebc2c099a11b
child 4626:285efde5e8a5
line wrap: on
line diff
--- 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;