Hi, I have a metric declared like this cf.Metric(), since the count metric is not a field in my source, I am wondering if there is a way to change the label and format, using the metadata, now i see the label Transactions for the count metric.
Hey @mdemian, I don’t understand why you need to format the count metric but yes you can do it just using this in your metadata:
{
"your_source": {
"count": {
"label": "Your label",
displayFormat: '$ 00,0'
},
}
}
1 Like
Got it, i tried and it works good, so what about just using the label in the metric, like this: cf.Metric().label('my-label') is that correct?
1 Like
No, that setting is only for the available fields and the count metric is not there, so it won’t work like that.