Dynamic config constraint options

Hi, I was curious where I could find a list of valid options that can go under the constraints section of the dynamic config. Searching around slack I was able to find one: namespace but I’m curious how I can restrict the task queue read/write partitions for a particular task queue name?

Also, related to this, I was curious if there’s a way to check the current partition size of a particular task queue? Would that be in the dynamic config only or is it reported as a metric as well?

The available constraints are shown here. You can use namespace, taskQueueName and taskType as constraints.

There is not currently a metric which reports the task queue partition size cleanly. You can infer it manually from metrics like poll_success_per_tl which list the internal partition names, but this is not really suitable for graphing for example.