typelevel / otel4s

An OpenTelemetry library for Scala based on Cats-Effect
https://typelevel.org/otel4s
Apache License 2.0
159 stars 29 forks source link

Proposal: rename span's Status to SpanStatus #520

Closed fugafree closed 4 months ago

fugafree commented 4 months ago

The name of org.typelevel.otel4s.trace.Status is pretty overloaded. The name Status is used in many places like frameworks (Play), web servers, Akka's actor lib, etc. It would be so handy if the span's status would be SpanStatus. If you think this is something you don't want, feel free to close this issue.

iRevive commented 4 months ago

Java and Python implementations use StatusCode instead of Status.

I guess we can follow a similar approach.