console/packages/services/policy
2025-01-29 22:15:46 +01:00
..
__tests__ fix(deps): update dependency @graphql-eslint/eslint-plugin to v3.19.1 (#2292) 2023-05-30 07:44:23 +00: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
LICENSE Schema policy checks using graphql-eslint (#1730) 2023-05-09 10:07:17 +02:00
package.json chore(deps): update dependency fastify to v4.29.0 (#6197) 2024-12-26 09:27:45 +02:00
README.md chore: add prometheus ports to remaining services for consistency (#6412) 2025-01-24 09:59:14 +01:00
tsconfig.json Schema policy checks using graphql-eslint (#1730) 2023-05-09 10:07:17 +02: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