A Prometheus exporter that exposes IXP Manager port and service data as metrics.
| Environment Variable | Required | Default | Description |
|---|---|---|---|
IXP_MANAGER_HOST |
Yes | - | Hostname of IXP Manager instance |
IXP_MANAGER_API_KEY |
Yes | - | API key for authentication |
CACHE_DIR |
No | /tmp/ |
Directory for cache files |
CACHE_MAX_AGE_SECONDS |
No | 7200 |
Max cache age (seconds) before considered stale |
When the IXP Manager API is unavailable, the exporter serves cached data if available and not expired. The ixpmanager_serving_cached metric indicates the data source:
0= fresh data from API1= serving from cache
If the cache is expired or doesn't exist when the API is unavailable, returns HTTP 503.