chore: Formatting
All checks were successful
Flake checker / Build Nix targets (push) Successful in 9m26s

This commit is contained in:
uttarayan21
2025-08-14 19:34:20 +05:30
parent 57832be28d
commit c959a3aea8
15 changed files with 164 additions and 177 deletions

View File

@@ -1,5 +1,4 @@
{ config, ... }:
{
{config, ...}: {
services = {
grafana = {
enable = true;
@@ -112,7 +111,7 @@
settings.process_names = [
{
name = "{{.Comm}}";
cmdline = [ ".*" ];
cmdline = [".*"];
}
];
};
@@ -122,14 +121,14 @@
job_name = "node";
static_configs = [
{
targets = [ "127.0.0.1:9100" ];
targets = ["127.0.0.1:9100"];
labels = {
device = "mirai";
type = "server";
};
}
{
targets = [ "tsuba:9100" ];
targets = ["tsuba:9100"];
labels = {
device = "tsuba";
type = "server";
@@ -137,7 +136,7 @@
};
}
{
targets = [ "ryu:9100" ];
targets = ["ryu:9100"];
labels = {
device = "ryu";
type = "desktop";
@@ -150,14 +149,14 @@
job_name = "process";
static_configs = [
{
targets = [ "127.0.0.1:9256" ];
targets = ["127.0.0.1:9256"];
labels = {
device = "mirai";
type = "server";
};
}
{
targets = [ "tsuba:9256" ];
targets = ["tsuba:9256"];
labels = {
device = "tsuba";
type = "server";
@@ -165,7 +164,7 @@
};
}
{
targets = [ "ryu:9256" ];
targets = ["ryu:9256"];
labels = {
device = "ryu";
type = "desktop";
@@ -178,7 +177,7 @@
job_name = "prometheus";
static_configs = [
{
targets = [ "127.0.0.1:9090" ];
targets = ["127.0.0.1:9090"];
labels = {
device = "mirai";
};