elastic / elastic/apm-agent-python

Limit the length for all fields

Open
#305 6 comments 0 reactions 0 assignees View on GitHub
agent-python technical debt
Dominant language
Python
Stars
431
Forks
239
Avg merge
5d 10h
Merged PRs (30d)
7

Description

All fields should be limited to KEYWORD_MAX_LENGTH, with the exception of the fields noted in the [long fields spec](https://github.com/elastic/apm/blob/main/specs/agents/field-limits.md#long_field_max_length-configuration), which should be limited to a length of 10000. Optionally, we can make the latter limit configurable, as stated in the spec.

Contributor guide

Open the contributing guide

Research direction

Start with the long fields spec at specs/agents/field-limits.md, especially the long_field_max_length configuration section, and identify how its exceptions apply to the agent's fields. Verify the expected limits for regular and long fields, then determine whether the optional configurability is in scope and test that all fields follow the selected limits.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
observability-sre
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.