commit 9fc9c154a474023d294a9e771a235db8961b3666 Author: Devon Okafor Date: Sun Jan 11 09:20:00 2026 +0000 Initial commit: collector scaffold diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..f3bb2b6 --- /dev/null +++ b/LICENSE @@ -0,0 +1,16 @@ +MIT License + +Copyright (c) 2026 Holtrix Devtools + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. diff --git a/README.md b/README.md new file mode 100644 index 0000000..5f040bf --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# metrics-agent + +Lightweight telemetry collector that ships build and deploy metrics to Holtrix's internal dashboard. diff --git a/agent/collector.py b/agent/collector.py new file mode 100644 index 0000000..537bbc6 --- /dev/null +++ b/agent/collector.py @@ -0,0 +1,5 @@ +"""Collects local build/deploy metrics for shipping upstream.""" + + +def collect(): + return {"builds": 0, "deploys": 0} diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..e349383 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +requests>=2.31.0 +pytest>=8.0.0 +pytest-cov>=5.0.0