Telegraf Enterprise license enforcement

Telegraf Controller enforces two things based on your license status: how many resources you can create (scale limits) and which features are available. This page describes both kinds of enforcement and how license expiration affects them.

Telegraf Enterprise

Unlock higher configuration and agent limits, enhanced security features, and official support for Telegraf and Telegraf Controller.

Scale limits

Telegraf Controller enforces a maximum number of configurations and a maximum number of reporting agents per instance.

ResourceFree tierTelegraf Enterprise
Configurations20Defined by ent_max_configs in your license (per contract)
Reporting agents100Defined by ent_max_agents in your license (per contract)

The free-tier values are hardcoded into the Telegraf Controller binary and cannot be overridden.

What happens when a limit is reached

  • “Create” endpoints (such as POST /api/configs) return 402 Payment Required with an error body identifying the resource, the current count, and the limit:

    {
      "error": "entitlement_limit_reached",
      "resource": "configs",
      "current": 20,
      "limit": 20,
      "message": "configs limit reached (20/20). Upgrade to Telegraf Enterprise for higher limits."
    }
  • The corresponding create button in the Telegraf Controller UI is disabled and shows a tooltip explaining the limit.

  • The response includes an X-Entitlement-Warning header (see Response headers).

A warning banner appears in the UI when usage reaches 80% of a limit so operators have advance notice before requests start being rejected.

Enterprise feature gating

A valid Telegraf Enterprise license unlocks the following features:

API endpoints that require an enterprise feature return 403 Forbidden when called on a free-tier instance:

{
  "error": "feature_not_licensed",
  "feature": "audit_logging",
  "message": "audit_logging requires a Telegraf Enterprise license."
}

Identity provider environment variables on a free-tier instance

If AUTH_LDAP_* or AUTH_OIDC_* environment variables are set on a free-tier instance, Telegraf Controller starts normally and logs a warning that the feature requires a license. The feature stays inactive until a license is applied and Telegraf Controller is restarted so the variables are re-read.

License expiration lifecycle

A license moves through four stages relative to its license_exp (contractual expiration) date:

Time relative to license_expStatusScale limitsEnterprise featuresUI behavior
More than 30 days beforevalidLicensedEnabledNo banner
1–30 days beforeexpiringLicensedEnabledInfo banner with countdown
0–14 days afterexpired_graceLicensedEnabledError banner with countdown
15 or more days afterexpiredFree tierDisabledError banner

The grace period is fixed at 14 days and is not configurable. Expiration status is re-evaluated hourly, so a status change takes effect within one hour without requiring a restart. To switch back to a valid status sooner, apply a renewed license through the UI. Uploads take effect immediately.

Response headers

Telegraf Controller adds the following headers to HTTP responses when the corresponding condition is true. Monitor these headers in deployment health checks to detect license-related issues before they affect users.

HeaderWhen it appearsValue
X-License-ExpiringLicense expires within 30 daysISO 8601 expiration date
X-License-ExpiredLicense is past expiration but still in gracetrue
X-Entitlement-WarningOne or more entitlements at 90% or more of the limitComma-separated resource current/limit pairs, for example configs 18/20; agents 95/100

Reference: JWT claims

The following table describes the claims contained in a Telegraf Enterprise license JWT. Claims are informational. You don’t author license files yourself, but understanding what each claim controls helps when reading license details, scripting around licensing, or interpreting validation errors.

ClaimTypeDescription
idstring (UUID)Unique license identifier. Use this value when contacting InfluxData support.
issstringIssuer. Always InfluxData Licensing Server for valid licenses.
iatUnix timestampWhen the license was issued.
expUnix timestampJWT token expiration.
license_expUnix timestampContractual license expiration. Drives the enforcement lifecycle.
ent_max_configspositive integerMaximum configurations entitlement.
ent_max_agentspositive integerMaximum reporting agents entitlement.

Was this page helpful?

Thank you for your feedback!