Add Grafana Alloy configuration files and update examples

- Introduced detailed configuration guidelines in alloy.instructions.md
- Added general instructions for project structure in general.instructions.md
- Created config.yaml for NAMU-PC with target hostnames
- Implemented example.alloy and openwrt.alloy for service discovery and scraping
- Added alloy_seed.json for initial configuration state
- Developed demo.alloy for comprehensive monitoring setup
- Established std.alloy for repository path formatting and host configuration loading
- Updated test.alloy to utilize new host configuration loading
This commit is contained in:
2025-08-01 16:25:31 +03:00
parent ad77d5808a
commit fa57353a6e
9 changed files with 621 additions and 0 deletions

14
test.alloy Normal file
View File

@@ -0,0 +1,14 @@
livedebugging {
enabled = true
}
import.file "libstd" {
filename = "lib/std.alloy"
}
libstd.load_host_config "load_config" {
host = "NAMU-PC"
config_file = "OpenWRT/config.yaml"
}