-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[exporter/clickhouse] Add ScopeName ScopeVersion in span table #21919
[exporter/clickhouse] Add ScopeName ScopeVersion in span table #21919
Conversation
In my local dev, the result look like:
|
ss := rs.ScopeSpans().AppendEmpty() | ||
ss.Scope().SetName("io.opentelemetry.contrib.clickhouse") | ||
ss.Scope().SetVersion("1.0.0") | ||
ss.SetSchemaUrl("https://opentelemetry.io/schemas/1.7.0") | ||
ss.Scope().SetDroppedAttributesCount(20) | ||
ss.Scope().Attributes().PutStr("lib", "clickhouse") |
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.
Can we see assertions showing this data is indeed being ingested?
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.
done
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.
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.
BTW, are we need to add new columns for other fields, like InstrumentationScope.Attributes, InstrumentationScope.DroppedAttributesCount, etc?
The scope attributes are not widely adopted in the OTel project, so they will likely be empty most of the time, but it may be reasonable to add them to avoid future breaking changes. Feel free to submit another PR
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
@Frapschen, we also need to do the same for logs now, right? |
resolve: #21214