Giter Site home page Giter Site logo

Comments (9)

lizthegrey avatar lizthegrey commented on July 22, 2024 1

Also: with high concurrency it's possible to race and wind up with the parent span already being Finish()ed before the child span is created, causing the observer pattern to fail inside the start span observer.event creation

from opentelemetry-go.

jmacd avatar jmacd commented on July 22, 2024

Note: the experimental/streaming/sdk is meant to be experimental at this time. There is a TODO about not allowing out-of-order events which might help the second problem. The first problem should just be checked. However, the long term plan here would be to encode these events to some other destination, that will use far-more-real code to handle them.

from opentelemetry-go.

lizthegrey avatar lizthegrey commented on July 22, 2024

@jmacd any progress towards just getting the observer pattern into the regular rather than streaming SDK?

from opentelemetry-go.

freeformz avatar freeformz commented on July 22, 2024

FWIW: I feel that an observer pattern can support both streaming and non streaming exporters and should be the only internal implementation. With that said, I also haven't spent much time with the implementation in OT-Go yet.

from opentelemetry-go.

jmacd avatar jmacd commented on July 22, 2024

@lizthegrey @freeformz I am not actively pursuing this idea. While I support it 100%, it stands in the way of the OpenTelemetry timeline because it's not an API change. It's not a requirement, simply stated.

from opentelemetry-go.

lizthegrey avatar lizthegrey commented on July 22, 2024

Aha, https://github.com/open-telemetry/opentelemetry-go/blob/master/exporter/trace/stdout/stdout.go exists, and is sufficient to unblock me and I no longer need to see the observer pattern merged into the main SDK.

How waiting a few weeks changes things ;) this was not the case until Sep 28, and prior to Sep 28 you had to use the streaming SDK as opposed to the normal SDK to get stdout on spans.

from opentelemetry-go.

freeformz avatar freeformz commented on July 22, 2024

@jmacd totally get that.

from opentelemetry-go.

lizthegrey avatar lizthegrey commented on July 22, 2024

WTB access to tag issues so we can tag this low priority then. For now, tagging it in the title with [experimental]

from opentelemetry-go.

MrAlias avatar MrAlias commented on July 22, 2024

This no longer looks relevant. Feel free to reopen if that is incorrect.

from opentelemetry-go.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.