-
Notifications
You must be signed in to change notification settings - Fork 40
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
sdk-trace: add SpanData
#372
Conversation
def startTimestamp: FiniteDuration | ||
|
||
/** The end time of the span. | ||
*/ | ||
def endTimestamp: Option[FiniteDuration] |
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.
We can use shorter alternatives:
def start: FiniteDuration
def end: Option[FiniteDuration]
WDYT?
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.
This isn't really user-facing tho right? I think I prefer the current names.
b158cfa
to
668855d
Compare
668855d
to
324344f
Compare
override protected def scalaCheckTestParameters: Test.Parameters = | ||
if (PlatformCompat.isJVM) | ||
super.scalaCheckTestParameters | ||
else | ||
super.scalaCheckTestParameters | ||
.withMinSuccessfulTests(10) | ||
.withMaxSize(10) |
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.
This test suite fails on Scala Native with the original config. For example:
https://github.com/typelevel/otel4s/actions/runs/6874901322/job/18698109030
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 like it's being killed for OOM? it's fine, when we run SN tests they haven't been optimized or JITed unlike JVM/JS ...
I see the Java API includes several "total" methods which we've omitted for now, any comment? |
There is a thing called Exporters primarily require these fields. So I keep them outside of the scope for now. |
The last
*Data
model.