How to create a metric on Application side and define a dimension with String property?

@Chad T. Also, in USQL can we convert the p95 or AVG val to seconds? if so, that would be helpful.