-
Notifications
You must be signed in to change notification settings - Fork 34
[Part 2] feat: Implement Span stack trace specification #827
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
- INSTANA_CONFIG_PATH - in-code config - agent config Signed-off-by: Varsha GS <[email protected]>
…errides Signed-off-by: Varsha GS <[email protected]>
Signed-off-by: Varsha GS <[email protected]>
bad6b7b to
929a7df
Compare
Signed-off-by: Varsha GS <[email protected]>
b82a852 to
c5bfe08
Compare
…d stack trace Signed-off-by: Varsha GS <[email protected]>
|
pvital
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just three recommendations.
| return [], [] | ||
|
|
||
|
|
||
| def get_tracing_root_key(config_data: Dict[str, Any]) -> Union[str, None]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a best practice to use Optional[X] instead of Union[X, None]:
| def get_tracing_root_key(config_data: Dict[str, Any]) -> Union[str, None]: | |
| def get_tracing_root_key(config_data: Dict[str, Any]) -> Optional[str]: |
| return [], [] | ||
|
|
||
|
|
||
| def validate_stack_trace_level(level_value: Any, context: str = "") -> Union[str, None]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as here.
| return None | ||
|
|
||
|
|
||
| def validate_stack_trace_length(length_value: Any, context: str = "") -> Union[int, None]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as here.



What's there in this PR?
Added stack-trace support for all configuration sources in the following precedence:
Runtime Stack Trace Collection Flow:
Note
We support technology-specific overrides (for all
EXITspans!) for all the mapping based config sources (YAML, in-code and Agent)