The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Package metrics bridges a running goav task to monitoring: Handler serves
its counters in the Prometheus text exposition format, and Publish exposes
the same data through expvar. It reads Stats and Snapshot, which are
lock-free atomic reads, so scraping never slows the data plane.
http.Handle("/metrics", metrics.Handler(task))
metrics.Publish("goav", task) // visible at /debug/vars
Metrics carry the goav_ prefix. Per-node counters are labelled node;
drops add reason; branch and destination states are one-hot gauges
labelled by name and state (1 for the current state, 0 for the others).
Publish exposes the task's stats and snapshot (state, branches,
destinations) as the expvar variable name, rendered as JSON on demand. Like
expvar.Publish it panics if name is already taken.