The documentation for custom metrics contained an error in the Prometheus metrics example JSON, and was also somewhat unclear as to how the labels worked.