Graphing Label Values

Anyone have any ideas on how to graph label values?

Here is what my metric looks like:
capacityUsed{capacityIndex=“2”,capacityUsed=“20440 GB”} 1

capacityUsed changes daily (20440 GB) and I’d like to graph that.


I’m also looking for something like this.

The question is can the string value from the label somehow be converted into an integer or something that can be graphed