Monorepo for Tangled tangled.org
10

Configure Feed

Select the types of activity you want to include in your feed.

nix: add appview metricsListenAddr option

Signed-off-by: Anirudh Oppiliappan <anirudh@tangled.org>

author
Anirudh Oppiliappan
date (May 11, 2026, 10:55 PM +0300) commit a21c1e37 parent f09f595d change-id xnpzltmz
+7
+7
nix/modules/appview.nix
··· 33 33 description = "Listen address for the appview service"; 34 34 }; 35 35 36 + metricsListenAddr = mkOption { 37 + type = types.str; 38 + default = "0.0.0.0:9090"; 39 + description = "Listen address for the Prometheus metrics endpoint"; 40 + }; 41 + 36 42 dbPath = mkOption { 37 43 type = types.str; 38 44 default = "/var/lib/appview/appview.db"; ··· 286 292 { 287 293 TANGLED_DB_PATH = cfg.dbPath; 288 294 TANGLED_LISTEN_ADDR = cfg.listenAddr; 295 + TANGLED_METRICS_LISTEN_ADDR = cfg.metricsListenAddr; 289 296 TANGLED_APPVIEW_HOST = cfg.appviewHost; 290 297 TANGLED_APPVIEW_NAME = cfg.appviewName; 291 298 TANGLED_DEV =