The most recent patch for this version is 26.2.1.  Learn more

Skip to main content
Version: 26.2

Configure the instance ID

The ADS instance ID uniquely identifies each running ADS instance. It appears in metrics, distributed traces, and log output, making it possible to correlate data across observability tools when multiple instances are running in a cluster or behind a load balancer.

Default ID format​

By default, ADS generates an instance ID automatically at startup using the format:

default-<xxxxxxxx>

Where <xxxxxxxx> is a randomly generated 8-digit hexadecimal string. This random part is regenerated on every restart, so each ADS instance always has a unique ID, but the ID is not stable across restarts.

Set a custom instance ID​

Add the identity section to deployment.yaml to override the default behavior.

Constant identity​

A constant identity sets a fixed, stable ID that does not change across restarts. Use this when you need to correlate metrics or logs for a specific, named instance over time.

identity:
constant: <constant-value>

Example:

identity:
constant: ads-production-eu-west
caution

The constant and prefix values may contain alphanumeric characters, hyphens (-), and underscores (_). The maximum length is 100 characters.

Why the instance ID matters​

Use caseHow the instance ID helps
MetricsIdentifies which ADS instance produced a specific metric data point when multiple instances report to the same backend (e.g. InfluxDB, Prometheus).
Distributed tracingTags trace spans with the originating instance, making it possible to follow a request across a cluster.
Log correlationFilters log output to a single instance when diagnosing issues in a multi-instance deployment.
Cache clustersDistinguishes nodes within a distributed cache cluster.

For a stable, human-readable ID in production, use a constant identity. For dynamic environments where instances scale up and down, use a prefix identity to retain environment context while keeping each instance uniquely identifiable.