Initial commit: collector scaffold

This commit is contained in:
Devon Okafor 2026-01-11 09:20:00 +00:00
commit 9fc9c154a4
4 changed files with 27 additions and 0 deletions

16
LICENSE Normal file
View File

@ -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.

3
README.md Normal file
View File

@ -0,0 +1,3 @@
# metrics-agent
Lightweight telemetry collector that ships build and deploy metrics to Holtrix's internal dashboard.

5
agent/collector.py Normal file
View File

@ -0,0 +1,5 @@
"""Collects local build/deploy metrics for shipping upstream."""
def collect():
return {"builds": 0, "deploys": 0}

3
requirements.txt Normal file
View File

@ -0,0 +1,3 @@
requests>=2.31.0
pytest>=8.0.0
pytest-cov>=5.0.0