metrics-agent/agent/shipper.py
2026-01-29 16:10:00 +00:00

8 lines
216 B
Python

"""Ships collected metrics to the internal dashboard."""
import requests
def ship(metrics, endpoint="https://metrics.holtrix-devtools.internal/ingest"):
return requests.post(endpoint, json=metrics, timeout=5)