console/packages/services/policy
Vojtěch Dohnal 63e682791f
Some checks are pending
ci / package (push) Waiting to run
ci / build (push) Blocked by required conditions
ci / publish_docker_cli (push) Blocked by required conditions
ci / trigger staging deployment (push) Blocked by required conditions
ci / code-style (push) Waiting to run
ci / typescript (push) Waiting to run
ci / graphql-schema (push) Waiting to run
feat: add configurable server listen address (#7982)
Co-authored-by: Laurin Quast <laurinquast@googlemail.com>
2026-05-12 12:00:11 +02:00
..
__tests__ Support type extensions with unreachable types policy rule (#7978) 2026-04-15 08:12:48 -07:00
src feat: add configurable server listen address (#7982) 2026-05-12 12:00:11 +02:00
.env.template feat: add configurable server listen address (#7982) 2026-05-12 12:00:11 +02:00
LICENSE Schema policy checks using graphql-eslint (#1730) 2023-05-09 10:07:17 +02:00
package.json fix: vulnerabilities 2026-04-16 (#7988) 2026-04-16 11:04:18 +02:00
README.md chore: add prometheus ports to remaining services for consistency (#6412) 2025-01-24 09:59:14 +01:00
tsconfig.json Enhancement/hive lab lib (#7697) 2026-03-06 22:37:08 +01:00
turbo.json chore: add dev:hive script using turbo (#7053) 2025-09-26 20:21:17 +09:00

@hive/policy

Service for running GraphQL-ESLint as part of Hive schema policy checks.

Configuration

Name Required Description Example Value
PORT No The port this service is running on. 6600
LOG_LEVEL No The verbosity of the service logs. One of trace, debug, info, warn ,error, fatal or silent info (default)
ENVIRONMENT No The environment of your Hive app. (Note: This will be used for Sentry reporting.) staging
SENTRY_DSN No The DSN for reporting errors to Sentry. https://dooobars@o557896.ingest.sentry.io/12121212
SENTRY No Whether Sentry error reporting should be enabled. 1 (enabled) or 0 (disabled)
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. usage-service
PROMETHEUS_METRICS_PORT No Port on which prometheus metrics are exposed Defaults to 10254
OPENTELEMETRY_COLLECTOR_ENDPOINT No OpenTelemetry Collector endpoint. The expected traces transport is HTTP (port 4318). http://localhost:4318/v1/traces