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
Click to show internal directories.
Click to hide internal directories.