Class SimpleSpan

  • All Implemented Interfaces:
    Span

    @Internal
    public class SimpleSpan
    extends Object
    implements Span
    Basic implementation of Span.
    • Method Detail

      • getStartTsMillis

        public long getStartTsMillis()
        Specified by:
        getStartTsMillis in interface Span
      • getEndTsMillis

        public long getEndTsMillis()
        Specified by:
        getEndTsMillis in interface Span
      • getAttributes

        public Map<String,​Object> getAttributes()
        Description copied from interface: Span
        Currently returned values can be of type String, Long or Double, however more types can be added in the future.
        Specified by:
        getAttributes in interface Span