Skip to content
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

add check if the app prefix exists #96

Merged
merged 1 commit into from
Jan 23, 2020

Conversation

noam-stein
Copy link
Contributor

When reserving a trace_field from CTX the names all ready start with the prefix app. so we receive duplicate prefix app.app.

example:
AWS lambda x is using add_trace_field("id", "i-1") (in honeycomb we will see it as app.id as expected).
lambda x sending its CTX to lambda y, in honeycomb we will see app.app.id and not app.id as expected

@paulosman paulosman requested a review from tredman January 23, 2020 17:02
@tredman
Copy link
Contributor

tredman commented Jan 23, 2020

Thanks for the PR! Will push this out shortly.

@tredman tredman merged commit 2d2b4c1 into honeycombio:master Jan 23, 2020
tredman added a commit that referenced this pull request Jan 23, 2020
#96 added a string content check to the trace field name, but there were previously no checks to ensure that this value is in fact a string. Any customer using the beeline that picks up that patch and is using unusual types here could crash, so I added some type checking before bumping the version on this release.
@tredman
Copy link
Contributor

tredman commented Jan 23, 2020

2.11.3 is now out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants