-
Notifications
You must be signed in to change notification settings - Fork 50
Add support for typed spans via a typed span builder #257
Comments
As discussed in our last meeting, I've created a POC for this feature. ImplementationI've created a separate project with a dependency on opencensus-node. The implementation of Additionally I've added a property How to integrate in OCWe were first discussing a builder pattern but as we see on the HTTP sensor we don't have access to the Span class but use a factory-like method to create it. Alternatively, I'd propose to extend |
Spans represent different canonical types of operations.
Examples are
A span consists of a number of mandatory and optional attributes that add information about the represented operation to it.
Depending on the canonical type of an operation some attributes might be needed to represent and analyze a span correctly.
Right now, spans can be created freely and it’s up to the implementor to set all the attributes needed to represent the given type.
Proposal
I've created a document to help to specify this new feature.
The text was updated successfully, but these errors were encountered: