mirror of
https://github.com/dsx-ai-factory/nvke.git
synced 2026-12-07 04:35:58 +08:00
* feat(cli): export a command's telemetry to its site's OTLP endpoint A site's config can hold an OTLP endpoint, set with nvkectl config set-site --otlp-endpoint and --otlp-insecure. Commands that use the site export their spans and log records there, ahead of OTEL_EXPORTER_OTLP_ENDPOINT. Signed-off-by: Anisha Gupta <anisgupta@nvidia.com> * refactor(cli): inline the bootstrap export check and list the site commands The bootstrap export annotation is read in two places, so the helper that wrapped it is gone, and the commands that use a site are a list rather than a map. Signed-off-by: Anisha Gupta <anisgupta@nvidia.com> * fix(cli): do not send to a stored https endpoint in clear text A hand-edited site config could pair an https otlp-endpoint with otlp-insecure, which set-site rejects. The site endpoint is now treated as unusable, with the one warning that names the site, so the headers are never sent without TLS. Signed-off-by: Anisha Gupta <anisgupta@nvidia.com> --------- Signed-off-by: Anisha Gupta <anisgupta@nvidia.com>