comparison 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
parents ebc2c099a11b
children 285efde5e8a5
comparison
equal deleted inserted replaced
4624:eba7e68120d8 4625:f7e26c43a9bc
1 local st = require "util.stanza"; 1 local st = require "util.stanza";
2 local json = require "util.json"; 2 local json = require "util.json";
3 local filters = {}; 3 local filters = { --[[ TODO what's useful? ]] };
4 local render = require "util.interpolation".new("%b{}", tostring, filters); 4 local render = require "util.interpolation".new("%b{}", tostring, filters);
5 local uuid_generate = require "util.uuid".generate; 5 local uuid_generate = require "util.uuid".generate;
6
7 -- TODO alertmanager supports inclusion of HTTP auth and OAuth, worth looking
8 -- into for using instead of request IP
6 9
7 module:depends("http"); 10 module:depends("http");
8 11
9 local pubsub_service = module:depends("pubsub").service; 12 local pubsub_service = module:depends("pubsub").service;
10 13