Is it possible to set the quota for all the api proxy calls within an environment?

 
Solved Solved
2 3 279
2 ACCEPTED SOLUTIONS

Not applicable

@asurajpai

By default when you apply Quota policy it applied to given API only. I don't think you can apply the same instance to an environment.

Policies are API specific in an environment.

View solution in original post

Not applicable

asurajpai,

You cannot use Quota across apiproxies . The counters are stored with orgname+envname+apiproxyname prefix .

You can probably achieve what you want by having a http loadbalancer like haproxy where you can control the number of calls to your env .

View solution in original post

3 REPLIES 3

You can probably try this. In each API bundle add quota policy with the same "identifier" to make them use the same quota. You can add the environment name as a prefix in the identifier.

Not applicable

@asurajpai

By default when you apply Quota policy it applied to given API only. I don't think you can apply the same instance to an environment.

Policies are API specific in an environment.

Not applicable

asurajpai,

You cannot use Quota across apiproxies . The counters are stored with orgname+envname+apiproxyname prefix .

You can probably achieve what you want by having a http loadbalancer like haproxy where you can control the number of calls to your env .