Initial commit: collector scaffold
This commit is contained in:
commit
9fc9c154a4
16
LICENSE
Normal file
16
LICENSE
Normal 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
3
README.md
Normal 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
5
agent/collector.py
Normal 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
3
requirements.txt
Normal file
@ -0,0 +1,3 @@
|
||||
requests>=2.31.0
|
||||
pytest>=8.0.0
|
||||
pytest-cov>=5.0.0
|
||||
Loading…
Reference in New Issue
Block a user