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:
14
test.alloy
Normal file
14
test.alloy
Normal 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"
|
||||
}
|
||||
|
Reference in New Issue
Block a user