iamd

command
v1.31.30 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Command iamd is the IAM server daemon.

Usage:

iamd serve     Start the IAM server (default)
iamd version   Print version and exit

OTel telemetry bootstrap — installs the global tracer provider that ships this service's spans to the shared o11y backend over OTLP. This is the ONE way a Hanzo Go daemon emits OpenTelemetry: one call, one service.name, so the console's per-product Monitoring tab (which filters by service.name) lights up for this product.

Posture mirrors the ai module (ai/object/telemetry.go): opt-in via OTEL_EXPORTER_OTLP_ENDPOINT, non-fatal, and a clean no-op when the endpoint is unset — SAFE to ship before the collector is live. The OTLP HTTP exporter self-configures from the standard OTEL_EXPORTER_OTLP_* env (endpoint, headers, per-scheme TLS, timeout) — never hard-coded; New() does not dial and the batch span processor exports in the background, so boot never blocks on the collector.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL