smoke

command
v1.237.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 License: BSD-3-Clause, MIT Imports: 9 Imported by: 0

Documentation

Overview

Smoke the Insights client against a live API.

DIGITALOCEAN_TOKEN=... go run ./examples/insights/smoke

Optional:

DIGITALOCEAN_API_URL   API base override, including trailing slash (staging)
INSIGHTS_REGION        run PromQL, logs, spans, and traces calls in this region, for example nyc3
INSIGHTS_QUERY         PromQL expression (default do.droplets.cpu_time)
INSIGHTS_SMOKE_WRITE=1 create, update, then delete a dashboard; and create, then
                       delete, an email channel and a paused alert rule
INSIGHTS_EMAIL         verified team email, required for the channel and alert
                       rule writes

Jump to

Keyboard shortcuts

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