resource attribute and metric name storage