Prometheus metric dimension for bucket values, is it seconds or millis?

For example, activity_end_to_end_latency_bucket metric dimension, Is it seconds or millis ? Can I get pointer to some documentation where I can check it more easily ? Even searching in github lead to no where ?

Temporal uses tally for metrics. All latency metric are emitted as Timer type. Please refer to tally documentation on how to configure timers.