add description of prometheus service

This commit is contained in:
2025-10-29 12:50:12 +01:00
parent aa4e7c7b45
commit 29845aa117
2 changed files with 42 additions and 0 deletions

View File

@@ -3,10 +3,13 @@
{
_class = "clan.service";
manifest.name = "prometheus";
manifest.description = "Prometheus metrics collection across the clan network.";
manifest.readme = builtins.readFile ./README.md;
# Only works with zerotier (until a unified network module is ready)
roles.scraper = {
description = "A server that scrapes metrics from exporters of machines that have the 'target' role.";
interface = {
options.extraScrapeConfigs = lib.mkOption {
type = lib.types.listOf lib.types.attrs;
@@ -63,6 +66,7 @@
};
roles.target = {
description = "A machine on which to collect and export metrics.";
interface =
{ lib, ... }:
{