Skip to content

Ways to increase agent id character limit #5343

@Xylus

Description

@Xylus

Description

Agent id is currently limited to 24 characters. This makes it hard at times to set it to a value provided by certain environment (such as when deploying onto kubernetes).
A few ways to increase this limit are as follows.

  1. Hard increase the current limit to 36. Requires the least amount of work, but will break compatibility.
  2. Convert kubernetes pod id into long long and use this internally. K8s seems to use RFC 4122 UUID to generate pod id, which can be converted into a long long so it'll integrate cleanly. There still needs to be a way to figure out if a given agent id is an actual value, or a long long from a UUID string.
  3. Map agent ids into longs and use this internally. Requires the most amount of work, and will break compatibility, but would work best out of all solutions.

Still brain storming ideas so any suggestions are welcome.

related issues - #4638 #3504

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions