Scaling and Configuring the Instana Agent

Below are some answers to agent performance related queries. Please note that this information applies to the trace API on the agent and not for the public rest API (https://docs.instana.io/quick_start/api/#rest-api):

Rest API Calls / sec. (max):

20

Max payload per Post/Request (SPAN):

A span must not exceed 4KB

Number of SPAN's in one array:

Maximum 1000

Amount of calls from Agent to Backend, is there a limit / sec:

Data transmission between Instana agent and Instana backend depends on a lot of factors. It is done using a persistent HTTP2 connection and highly optimized.

What is the optimal package size (splited size) to send 50000 SPAN with a size about 40MByte over the Agent to Backend:

Recommended strategy is to buffer spans for up to one second or until 500 spans were collected, then transmit the spans to the agent. An implementation of this transmission strategy can be seen here:

https://github.com/instana/nodejs-sensor/blob/6ec0d469006ad52f4d5fde7218b163e05bf5b2ad/src/tracing/transmission.js

What are the Agent requirements for best performance (cpu, ram, etc.):

This depends on the host that should be monitored, e.g. the number of Docker containers per host etc.

How to configure the Agent environment:

https://docs.instana.io/quick_start/agent_configuration/

Have more questions? Submit a request

Comments