Python SDK for the EyrieHQ observability platform
Project description
EyrieHQ Python SDK
Python client library for the EyrieHQ observability platform.
Installation
pip install eyriehq-sdk
Quick Start
from eyrie import EyrieClient
client = EyrieClient(
base_url="https://api.eyriehq.example.com", # Backend URL for queries
collector_url="https://collector.example.com", # Collector URL for push
api_key="iw_sk_a3f8b2c1...", # API key for push auth
email="admin@example.com", # Backend login for queries
password="secret", # Backend login for queries
)
# Push traces (uses API key via X-API-Key header)
client.traces.push(spans=[
{
"name": "http.request",
"start_time": "2026-01-01T00:00:00Z",
"end_time": "2026-01-01T00:00:01Z",
}
])
# Push metrics
client.metrics.push(metrics=[
{"name": "cpu.usage", "value": 72.5, "type": "gauge"}
])
# Push logs
client.logs.push(logs=[
{"body": "Request processed successfully", "severity": "INFO"}
])
# Query traces (uses email/password session)
traces = client.traces.search(service="api-gateway")
# Health check
status = client.health()
Authentication
The SDK uses two authentication mechanisms:
- Push (to collector): API key via
X-API-Keyheader. Generate your API key in Admin > Observability in the EyrieHQ UI. - Query (from backend): Email/password session cookies. The SDK handles login automatically on the first query.
License
Proprietary. See LICENSE for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
eyriehq_sdk-0.1.1.tar.gz
(10.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file eyriehq_sdk-0.1.1.tar.gz.
File metadata
- Download URL: eyriehq_sdk-0.1.1.tar.gz
- Upload date:
- Size: 10.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
307e1aaf3e802ad2b20ad58d25c3665915c94fef6e927cca0e985e465cc0c537
|
|
| MD5 |
9bfd9de9c064109abb94522b04f71f13
|
|
| BLAKE2b-256 |
96e900081a623fd2297f26c8fdf4165dbefc872e625eb49969b1c6ee9f8da427
|
File details
Details for the file eyriehq_sdk-0.1.1-py3-none-any.whl.
File metadata
- Download URL: eyriehq_sdk-0.1.1-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e238a3fa28873964749a46e1c8e8021b7223ff4201b008ea348cd378208bc402
|
|
| MD5 |
1329bc49ff42dd857a5bab9349df4cf1
|
|
| BLAKE2b-256 |
1fd97a3a4c0cbc67d840e6989e901075581508e9c601ff960e4be752174ca460
|