- Add Systant.Config module for TOML configuration with environment overrides - Create systant.toml template with all metric module controls - Update SystemMetrics to use configuration-driven collection - Add filtering for disks, network interfaces, and processes - Implement per-module enable/disable controls - Update MqttClient to use new configuration system - Add Hivemind/Just development workflow integration - Update dashboard with graphical metrics display and raw data toggle - Comprehensive documentation updates in CLAUDE.md 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
47 lines
928 B
Elixir
47 lines
928 B
Elixir
defmodule SystemStatsDaemon.MixProject do
|
|
use Mix.Project
|
|
|
|
def project do
|
|
[
|
|
app: :systant,
|
|
version: "0.1.0",
|
|
elixir: "~> 1.18",
|
|
start_permanent: Mix.env() == :prod,
|
|
deps: deps(),
|
|
releases: releases()
|
|
]
|
|
end
|
|
|
|
# Run "mix help compile.app" to learn about applications.
|
|
def application do
|
|
[
|
|
extra_applications: [:logger],
|
|
mod: {Systant.Application, []}
|
|
]
|
|
end
|
|
|
|
# Run "mix help deps" to learn about dependencies.
|
|
defp deps do
|
|
[
|
|
{:tortoise, "~> 0.9.5"},
|
|
{:jason, "~> 1.4"},
|
|
{:toml, "~> 0.7"}
|
|
]
|
|
end
|
|
|
|
defp releases do
|
|
[
|
|
systant: [
|
|
include_executables_for: [:unix],
|
|
applications: [runtime_tools: :permanent],
|
|
include_erts: true,
|
|
strip_beams: false,
|
|
env: %{
|
|
"RELEASE_DISTRIBUTION" => "none",
|
|
"RELEASE_NODE" => "nonode@nohost"
|
|
}
|
|
]
|
|
]
|
|
end
|
|
end
|