-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
setting TraceID and SpanID fields in Exemplar objects in spanmetricsp… #13401
setting TraceID and SpanID fields in Exemplar objects in spanmetricsp… #13401
Conversation
Do we need to create a new issue for this so that it can be added to unreleased yaml? I couldn't find an existing issue that states this exact problem but there are a few exemplar related issues that are generally related, not sure if I could use on of those. Or would this be a "chore" item that can skip the change log check. |
If no issue, you can use the PR number as the issue number in the unreleased template. |
31a6c90
to
925b749
Compare
91e0ce8
to
b49111d
Compare
@bogdandrutu pinging for review :) |
826fa33
to
d49c57f
Compare
@bogdandrutu pinging for review :) |
c83be56
to
9754b05
Compare
I am not one of the owners of the spanmetricsprocessor. @albertteoh please review |
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.
The spanmetrics processor aspect of this PR looks good to me, thanks for the fix @arun-shopify!
9754b05
to
bf2ed93
Compare
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
bf2ed93
to
6729fdd
Compare
@bogdandrutu, @albertteoh, pinging for merging if things looks okay. |
6729fdd
to
ff800e5
Compare
ff800e5
to
5c38543
Compare
@Aneurysm9 @djaglowski pinging for review :) |
5c38543
to
9f93fa0
Compare
@arun-shopify I don't have permission to merge. By the way, it looks like there are merge conflicts that need resolving? |
9f93fa0
to
50ae063
Compare
…rocessor and removing the use of FilteredAttributes to pass these values around.
50ae063
to
8a50034
Compare
@Aneurysm9 merge conflicts are resolved but that may short lived until something gets merged in the main branch. |
open-telemetry#13401) setting TraceID and SpanID fields in Exemplar objects in spanmetricsprocessor and removing the use of FilteredAttributes to pass these values around.
Currently TraceID and SpanID fields of Examplar are set in
FilteredAttributes
(here) inspanmetricsprocessor
and passed around but these fields are not part ofFilteredAttributes
as per the data model: https://pkg.go.dev/go.opentelemetry.io/collector/pdata/internal/data/protogen/metrics/v1#Exemplarspanmetricsprocessor
prometheusexporter
is updated to use TraceID, SpanID fields inExemplar
.Testing:
Unit tests are updated to test TraceID and SpanID fields instead of checking for those in
FilteredAttributes