ui: custom chart page: show descriptions from metric metadata endpoint
The current custom graph page doesn't have much in the way of documentation or labelling for metrics:

But the info we need exists, since each metric is declared along with a unit and description, e.g.:
https://github.com/cockroachdb/cockroach/blob/526a947cc107b10f61d0d5ae24db30d281d9c3f7/pkg/sql/exec_util.go#L189-L194
This information is exposed via the MetricMetadata endpoint:
https://github.com/cockroachdb/cockroach/blob/2f65f192b76df8b1371603fc7e7231969528b964/pkg/server/serverpb/admin.proto#L814-L819
The custom graph page could hit this endpoint on mount, and use the Help, Measurement, and Unit fields to label and configure the graph.
cc @sploiselle @Amruta-Ranade (re docs integration) @couchand
Yes..I remembering discussing this with @couchand a few weeks ago..the idea was to make the doc descriptions understandable/user-friendly and then update the code descriptions as well. Not sure if that's the thing you are referring to, but JFYI.
@piyush-singh adding designs for metric descriptions on custom charts here: https://zpl.io/VKQxz86
Note: this design also includes an update to the search input (aligns with the statement search input component that Vlad worked on here #41537). This could be broken out into a separate issue if needed.
FYI: Currently, there is many fields with missing help description in metadata. It might be needed to review and update them as @Amruta-Ranade mentioned.
If needed, I can provide a full list of metrics with missing descriptions.

Closing this issue as the PR has been merged.