Categorygithub.com/ONSdigital/dp-frontend-cookie-controller
repositorypackage
1.14.0
Repository: https://github.com/onsdigital/dp-frontend-cookie-controller.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# README

dp-frontend-cookie-controller

Getting started

This project uses go modules, ensure that go version 1.12 or above is in use. If on go 1.12 then ensure the project either resides outside of your GOPATH or GO111MODULE is set to true

  1. To start the service use make, make debug

Configuration

Environment variableConfigDescriptionDefault
BIND_ADDRBindAddrThe Port to run on:24100
SITE_DOMAINSiteDomainlocalhost
GRACEFUL_SHUTDOWN_TIMEOUTGracefulShutdownTimeoutTime to wait during graceful shutdown5 seconds
HEALTHCHECK_INTERVALHealthCheckIntervalInterval between health checks30 seconds
HEALTHCHECK_CRITICAL_TIMEOUTHealthCheckCriticalTimeoutAmount of time to pass since last healthy health check to be deemed a critical failure90 seconds
OTEL_EXPORTER_OTLP_ENDPOINTOTExporterOTLPEndpointEndpoint for OpenTelemetry servicelocalhost:4317
OTEL_SERVICE_NAMEOTServiceNameLabel of service for OpenTelemetry servicedp-frontend-cookie-controller
OTEL_BATCH_TIMEOUTOTBatchTimeoutTimeout for OpenTelemetry5s
OTEL_ENABLEDfalseFeature flag to enable OpenTelemetry

Contributing

See CONTRIBUTING for details.

License

Copyright © 2021, Office for National Statistics (https://www.ons.gov.uk)

Released under MIT license, see LICENSE for details.