console/packages/services/schema
2025-01-29 22:15:46 +01:00
..
__tests__ Adds a view of unused schema (#3014) 2023-10-09 15:38:19 +02:00
src Disable no-process-env rule in docs and environment.ts files (#6445) 2025-01-29 22:15:46 +01:00
.env.template distributed tracing (#4219) 2024-04-07 11:57:03 +03:00
.gitignore Hello 2022-05-18 09:26:57 +02:00
LICENSE chore: update year in LICENSEs (#53) 2022-05-23 23:10:27 +02:00
package.json Update federation composition to 0.14.3 (#6380) 2025-01-17 10:28:20 +01:00
README.md feat: redis tls support (#5884) 2024-11-11 14:26:30 +01:00
tsconfig.json TS skipLibCheck everywhere, starting from root tsconfig (#588) 2022-11-03 15:00:58 +00:00

@hive/schema

Service for validating schemas or verifying whether a composite GraphQL schema can be composed out of subschemas.

Configuration

Name Required Description Example Value
PORT Yes The port on which this service runs. 6250
REDIS_HOST Yes The host of your redis instance. "127.0.0.1"
REDIS_PORT Yes The port of your redis instance. 6379
REDIS_PASSWORD Yes The password of your redis instance. "apollorocks"
REDIS_TLS_ENABLED No Enable TLS for redis connection (rediss://). "0"
ENCRYPTION_SECRET Yes Secret for encrypting stuff. 8ebe95cg21c1fee355e9fa32c8c33141
ENVIRONMENT No The environment of your Hive app. (Note: This will be used for Sentry reporting.) staging
BODY_LIMIT No Maximum payload size in bytes. Defaults to 11 MB. 11000000
SENTRY No Whether Sentry error reporting should be enabled. 1 (enabled) or 0 (disabled)
SENTRY_DSN No The DSN for reporting errors to Sentry. https://dooobars@o557896.ingest.sentry.io/12121212
PROMETHEUS_METRICS No Whether Prometheus metrics should be enabled 1 (enabled) or 0 (disabled)
PROMETHEUS_METRICS_LABEL_INSTANCE No The instance label added for the prometheus metrics. schema
PROMETHEUS_METRICS_PORT No Port on which prometheus metrics are exposed Defaults to 10254
REQUEST_BROKER No Whether Request Broker should be enabled. 1 (enabled) or 0 (disabled)
REQUEST_BROKER_ENDPOINT No The address https://broker.worker.dev
REQUEST_BROKER_SIGNATURE No A secret signature needed to verify the request origin hbsahdbzxch123
REQUEST_LOGGING No Log http requests 1 (enabled) or 0 (disabled)
LOG_LEVEL No The verbosity of the service logs. One of trace, debug, info, warn ,error, fatal or silent info (default)
OPENTELEMETRY_COLLECTOR_ENDPOINT No OpenTelemetry Collector endpoint. The expected traces transport is HTTP (port 4318). http://localhost:4318/v1/traces