Increase API rate limit on containerized Instana on-prem backend

You should be aware that the API limit is there to keep the backend from crashing due to heavy API calls. It can be raised but keep in mind that this will cause performance issues to the backend if it does not have enough resources.
 
Rate limits can be set in settings.hcl file via toggles:
toggle "config.default.one.hour.rate.limit" {
value = "5000000"
}
toggle "config.search.one.hour.rate.limit" {
value = "5000000"
}
toggle "config.settings.one.hour.rate.limit" {
value = "5000000"
}
toggle "config.appdata.one.hour.rate.limit" {
value = "5000000"
}

To confirm the change, you can run some basic curl command and check the X-RateLimit-Limit variable if it's updated with the new value:
curl --request GET -v -k --url 'https://<host_name>/api/infrastructure-monitoring/catalog/plugins' --header 'authorization: apiToken <api_key>'

Have more questions? Submit a request

Comments