standort

🩺 Server configuration and health

🔧 Configuration

standort server reads a go-service configuration file from -config (or -c). The development config listens on port 11000 for HTTP and 12000 for gRPC. See the README quickstart for the build and run commands.

Standort requires a health section.

health:
  duration: 1s
  timeout: 1s

duration is the interval between health checks. timeout is the maximum time allowed for one check. Both values must be positive durations. The go-service settings go at the top level, including transport addresses and timeouts, rate limits, logging, metrics, tracing, and ID settings.

📊 HTTP health and metrics

go-service prefixes operational routes with the service name. By default, the name comes from the executable, standort in the quickstart. Set SERVICE_NAME to override it.

Endpoint with the development config Behavior
GET http://localhost:11000/standort/healthz Online check. Reports unhealthy when the process cannot reach the public internet.
GET http://localhost:11000/standort/livez Local liveness probe with no external dependency.
GET http://localhost:11000/standort/readyz Local readiness probe with no external dependency.
GET http://localhost:11000/standort/metrics Prometheus metrics, enabled by telemetry.metrics.kind: prometheus in the development config.

Use livez or readyz for local process probes that need to work without public egress.

📡 gRPC health

The gRPC health service registers the names standort.v1.Service and standort.v2.Service.