chore(autocon5): bump sonda to 1.16.0 + migrate aggregate scrape to /scenarios/metrics - #112
Open
davidban77 wants to merge 2 commits into
Open
chore(autocon5): bump sonda to 1.16.0 + migrate aggregate scrape to /scenarios/metrics#112davidban77 wants to merge 2 commits into
davidban77 wants to merge 2 commits into
Conversation
…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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
sonda 1.16.0 (released 2026-06-15) renamed the aggregate scenario-metrics route from
/metricsto/scenarios/metricsand reclaimed/metricsas 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 pinnedSONDA_IMAGEfrom 1.14.0 to 1.16.0 indocker-compose.ymland refreshes the.env.examplecommented example.Without this PR, a student running
nobs autocon5 upwith sonda 1.16+ seessonda_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 forinterface_oper_state— every Part 1 and Part 2 query returns nothing.telegraf/telegraf-srl1.conf.tomlandtelegraf/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.yml—SONDA_IMAGEdefault bumped to 1.16.0, 3 comment lines updated.docs/data-pipelines.md— 1 prose line + ASCII version bump (v1.3.0→v1.16.0).sonda/catalog/srl1-metrics.yaml— header comment updated..env.example— commented override example bumped to 1.16.0.Test plan
nobs autocon5 upwithSONDA_IMAGE=ghcr.io/davidban77/sonda:1.16.0curl http://localhost:8085/scenarios/metrics?label=source:srl1returnssrl_*seriesbgp_oper_state{device="srl1", ...}seriesinterface_oper_state{intf_role="peer"}returns 6 rows (3 per device, 2 devices)