starry-client-sdk demo
Demo SDK: request https://blog.starryskymeow.top/{path}, return response text, and raise StarryNotFoundError on HTTP 404. Telemetry is enabled by default. Metrics are pushed to Fluent Bit with Prometheus remote_write; exception logs are exported with OTLP/HTTP.
Environment variables:
STARRYSDK_TELEMETRY_ENABLED: defaulttrue; setfalseto disable SDK telemetry.STARRYSDK_SERVICE_NAME: defaultstarry-python-sdk-consumer.STARRYSDK_PROMETHEUS_REMOTE_WRITE_ENDPOINT: defaulthttp://host.docker.internal:8080/api/prom/push.STARRYSDK_METRIC_PUSH_INTERVAL_SECONDS: default5.STARRYSDK_METRIC_PUSH_TIMEOUT_SECONDS: default2.OTEL_EXPORTER_OTLP_ENDPOINT: defaulthttp://host.docker.internal:4318; SDK appends/v1/logsfor OTLP/HTTP logs.OTEL_EXPORTER_OTLP_LOGS_ENDPOINT: optional explicit logs endpoint.