Skip to content

chore(autocon5): bump sonda to 1.16.0 + migrate aggregate scrape to /scenarios/metrics - #112

Open
davidban77 wants to merge 2 commits into
mainfrom
update-sonda-to-1.16-scenarios-metrics
Open

chore(autocon5): bump sonda to 1.16.0 + migrate aggregate scrape to /scenarios/metrics#112
davidban77 wants to merge 2 commits into
mainfrom
update-sonda-to-1.16-scenarios-metrics

Conversation

@davidban77

Copy link
Copy Markdown
Contributor

sonda 1.16.0 (released 2026-06-15) renamed the aggregate scenario-metrics route from /metrics to /scenarios/metrics and reclaimed /metrics as the server-self endpoint (Prometheus convention). The workshop's Telegraf scrape configs, both hands-on guides, the docker-compose comment block, the data-pipelines doc, and the srl1 catalog comment all needed the URL flip. Also bumps the pinned SONDA_IMAGE from 1.14.0 to 1.16.0 in docker-compose.yml and refreshes the .env.example commented example.

Without this PR, a student running nobs autocon5 up with sonda 1.16+ sees sonda_server_* series at the URL Part 1 step 1 tells them to open, Telegraf ingests server-self telemetry instead of device shapes, and Prometheus has zero hits for interface_oper_state — every Part 1 and Part 2 query returns nothing.

  • telegraf/telegraf-srl1.conf.toml and telegraf/telegraf-srl2.conf.toml — scrape URL flipped.
  • guides/part-1-telemetry-and-queries.md — 4 URLs + 1 admonition + 1 prose line updated.
  • guides/part-2-dashboards.md — 2 URLs updated.
  • docker-compose.ymlSONDA_IMAGE default bumped to 1.16.0, 3 comment lines updated.
  • docs/data-pipelines.md — 1 prose line + ASCII version bump (v1.3.0v1.16.0).
  • sonda/catalog/srl1-metrics.yaml — header comment updated.
  • .env.example — commented override example bumped to 1.16.0.

Test plan

  • nobs autocon5 up with SONDA_IMAGE=ghcr.io/davidban77/sonda:1.16.0
  • curl http://localhost:8085/scenarios/metrics?label=source:srl1 returns srl_* series
  • Telegraf-srl1 normalized output shows bgp_oper_state{device="srl1", ...} series
  • Prometheus query interface_oper_state{intf_role="peer"} returns 6 rows (3 per device, 2 devices)

…cenarios/metrics

sonda 1.16.0 (released 2026-06-15) renamed the aggregate scenario-metrics
route from `/metrics` to `/scenarios/metrics` and reclaimed `/metrics`
for the server-self endpoint (Prometheus convention). The workshop's
Telegraf scrape configs, both hands-on guides, the docker-compose comment
block, the data-pipelines doc, and the srl1 catalog comment all needed
the URL flip. Also bumps the pinned `SONDA_IMAGE` from 1.14.0 to 1.16.0
in docker-compose.yml and refreshes the .env.example commented example.

End-to-end verified: a fresh `nobs autocon5 up` against this branch
produces 6 hits for `interface_oper_state{intf_role="peer"}` in
Prometheus (3 per device, 2 devices) — same shape Part 1 promises.
…ites

Follow-up to the previous commit. Missed two surfaces:

- `docs/workshop/tour.md`: the rendered docs-site Tour page (separate
  from the autocon5 in-repo guides) had its API table row, the
  pre-curl prose, and three curl examples still pointing at the
  legacy aggregate `/metrics` URL. Updated all five sites.
- `workshops/autocon5/sonda/scripts/sonda-setup.sh`: header comment
  describing what Telegraf scrapes still said `/metrics`.

The `/metrics` mention in tour.md's "what is Prometheus" paragraph
stays — that's a generic reference to the Prometheus exposition
format, not the sonda endpoint.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant