-
Notifications
You must be signed in to change notification settings - Fork 304
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
HPCC-30697 Track passthrough data as attributes #17980
HPCC-30697 Track passthrough data as attributes #17980
Conversation
https://track.hpccsystems.com/browse/HPCC-30697 |
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.
Change looks good, but I think the attribute name need some discussion.
system/jlib/jtrace.cpp
Outdated
void setContextAttributes() | ||
{ | ||
if (!isEmptyString(hpccGlobalId)) | ||
setSpanAttribute(kGlobalIdHttpHeaderName, hpccGlobalId.get()); |
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.
For discussion: Is this the correct name to use for the attribute? Would "hpcc.globalid" be more appropriate?
(See https://opentelemetry.io/docs/specs/otel/common/attribute-naming/)
Possible something to discuss more broadly before we merge.
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.
Looks good, @rpastrana please squash
- Creates new setContextAttributes function - Utilizes new setContextAttributes - Defines otel attribute names for globalid, and callerid - No unittest since no exporter available to test locally Signed-off-by: Rodrigo Pastrana <[email protected]>
67acc6f
to
a031921
Compare
@ghalliday squashed |
0bedb0d
into
hpcc-systems:candidate-9.4.x
@rpastrana merged. |
Type of change:
Checklist:
Smoketest:
Testing: