General Reference - Environment Variables

This page lists the various environment variables used in optionally configuring the major Instana components.

Host Agent

Environment Variable Value Description
INSTANA_AGENT_ENDPOINT String The Instana endpoint which depends on your region.
INSTANA_AGENT_ENDPOINT_PORT String The port used to connect. Default 443.
INSTANA_AGENT_KEY String Your Instana Agent key.
INSTANA_ZONE String The zone to place this Host Agent into.

See the Agent Configuration page for full details.

See also:

Dynamic Language Sensors

The Dynamic Language Sensors offered by Instana respect a common set of environment variables. The following table describes this common set.

For information on Java, Scala, .NET, .NET Core or PHP, please see the corresponding documentation pages.

Environment Variable Value Description
INSTANA_AGENT_HOST IP Address or DNS name Allows users to manually specify location of the Instana host agent
INSTANA_AGENT_PORT Port number Manually specify the port of the Instana host agent
INSTANA_DISABLE_AUTO_INSTR “true” or “false” Disable automatic instrumentation
INSTANA_SERVICE_NAME String Set the application wide service name
INSTANA_DEBUG Any value Used to enable debug logging. Should only be used for a limited time.

Environment Variables for Dynamic Languages Support Matrix

For information on Java, Scala, .NET, .NET Core or PHP, please see the corresponding documentation pages.

✅ = Supported

❌ = Not Supported

N/A = Not applicable

Language INSTANAAGENTHOST INSTANAAGENTPORT INSTANADISABLEAUTO_INSTR INSTANASERVICENAME INSTANA_DEBUG
Crystal N/A
Go N/A
Haskell N/A
Node.js
Python
Ruby

See the corresponding language page for more details on configuration options:


Back to the General Reference Overview