Backend SDKs
Sidecar SDK
- Improved: The Sidecar no longer crashes on startup when encountering initialization issues such as an invalid API key or unreachable Stigg API. It now starts in fallback mode and serves entitlements from Redis or fallback values.
- Added:
/metrics
endpoint exposing service-level and Sidecar-specific metrics in Prometheus format, including:sidecar_initialization_errors_total
sidecar_invalid_api_key_errors_total
sidecar_network_request_errors_total
sidecar_redis_client_errors_total
sidecar_cache_hits_total
sidecar_cache_misses_total
- Added: offline mode
- Added: Edge support for
getActiveSubscriptionsList
- Fixed: when access to entitlement was denied due to the reaching of a budget cap,
getMeteredEntitlements
returnedAccessDeniedReason.UNSPECIFIED
instead ofAccessDeniedReason.BudgetExceeded
.
- Added: ability to more easily determine the usage period of metered entitlements using:
Entitlement.usagePeriodStart
Entitlement.usagePeriodEnd
- Added: ability to set sidecar log level using env var (default:
INFO
)
- Added: ability to configure the “health” and “ready” endpoints by passing
HEALTH_ENDPOINT_URL
andREADY_ENDPOINT_URL
environment variables