Comments (9)
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.
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.
@jmacd any progress towards just getting the observer pattern into the regular rather than streaming SDK?
from opentelemetry-go.
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.
@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.
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.
@jmacd totally get that.
from opentelemetry-go.
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.
This no longer looks relevant. Feel free to reopen if that is incorrect.
from opentelemetry-go.
Related Issues (20)
- Add README generation to semconv tooling
- Add concrete steps to verify the code changes for contrib
- Switching dependency bot to renovate HOT 12
- Add synchronous gauge HOT 1
- Record links with empty span context HOT 1
- OTel Log stdout Body shows as empty HOT 1
- Test metric aggregate start time complies with specification
- confused about apidesign Start(ctx context.Context, spanName string, opts ...SpanStartOption) (context.Context, Span) HOT 1
- sdk/log: Log when an attribute was discarded or truncated due to limits HOT 1
- sdk/log: Define in DESIGN.md how Processor and Exporter interfaces can be extended HOT 4
- Dependency Dashboard
- Create attribute.Value type for []byte values HOT 4
- Flaky test `TestBatchProcessor/ForceFlush/ErrorPartialFlush` HOT 2
- sdk/trace: Log when an attribute/event/link is discarded due to limits HOT 2
- offer TracedContext(ctx context.Context) bool func HOT 3
- Whatβs the design intent of the Fields() method of TextMapPropagator? HOT 8
- Panic in otlptrace triggered by integration test HOT 3
- logtest: Recorder result is on index 1 is instead of 0 HOT 2
- Post Go 1.21 support tasks
- log: Logger should be indentified also by SchemeURL HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opentelemetry-go.