Skip to content

Conversation

@CodeBlanch
Copy link
Member

See open-telemetry/opentelemetry-dotnet#483.

Recreated PR (old one was #474) to fix CLA issue.

|3|http.host|Commonly used address attribute for Http Spans.|
|3|db.instance|Commonly used address attribute for DB Spans.|

Lowest priority match should be selected. In the event that multiple hits occur at the same priority level (Ex: `net.peer.name` & `peer.service` are both specified), take the value from the first attribute matched. `net.peer.ip` can be used by itself as remote endpoint but should be combined with `net.peer.port` if it is also present.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Lowest priority match should be selected." So the lowest priority match has the highest priority? 😕

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sigh :) For whatever reason, it doesn't bug me. Think about a priority 1 issue vs a priority 5? Sometimes lower is more urgent. But I'm happy to change it to reduce confusion. How about "rank" instead?

toumorokoshi and others added 17 commits March 31, 2020 19:59
* SpanContext.IsRemote is false on remote children

The IsRemote flag should be false on children of remote spans,
as the span itself was created locally.

* Update specification/api-tracing.md

Otherwise one could interpret this as "The child span's IsRemote flag must always be false if the parent used to be remote, even after the child was propagated.".

Co-Authored-By: Armin Ruech <[email protected]>

Co-authored-by: Armin Ruech <[email protected]>
* sdk-tracing: Fix section hierarchy

The sdk-tracing spec grouped everything but sampling under "Tracer creation".

* Fix lint

Co-authored-by: Bogdan Drutu <[email protected]>
* Scrub LabelSet references

* Update metrics API TOC

* Remove more references to "label sets"

* Lint

* Update go examples for @jmacd's comments

* Update specification/metrics/api-user.md

Co-Authored-By: Armin Ruech <[email protected]>

Co-authored-by: Armin Ruech <[email protected]>
Co-authored-by: Bogdan Drutu <[email protected]>
I'm not sure what this should have to do with vendors, according to the examples, this would be the actual system names themselves. Otherwise the vendor for kafka would probably be "Apache", for example.
The current milestone document is dated and inaccurate as well as
redundant in purpose to the newly created
https://opentelemetry.io/project-status/. This updates the README to
link to the actively updated and managed GitHub milestones page as well
as the opentelemetry.io project status page.
AntonDzyk and others added 17 commits July 24, 2020 16:34
)

* Change the default sampler to ParentOrElse(AlwaysOn)

* addressed some review comments

* more review feedback
* Cleanup R/W span spec.

* Wording.
* Add logs overview

The overview.md is the summarized version of ideas that were discussed
multiple times in meetings or in Gitter channels.

Note that the document is written as if we already have implemented
all desirable functionality, thus there are multiple "link TBD" entries
in the document. We will add the links as the implementations are done.

* Address PR comments

* Add diagrams

* Address PR comments.
* Specify the initial propagators requirements.

* Do not require the SDK to include the B3 protocol.

* Update specification/trace/api.md

Co-authored-by: Reiley Yang <[email protected]>

* Update specification/correlationcontext/api.md

Co-authored-by: Reiley Yang <[email protected]>

* Remove the CorrelationContext propagator requirement.

* Make TraceContext optional in the API.

* Update the propagators location.

* Fix typo.

Co-authored-by: Reiley Yang <[email protected]>
Copy link
Member

@bogdandrutu bogdandrutu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please rebase the PR

|Priority|Attribute Name|Reason|
|---|---|---|
|1|net.peer.name|[OpenTelemetry adopted attribute for remote hostname, or similar.](./data-span-general.md#general-network-connection-attributes)|
|1|peer.service|Remote service name defined in OpenTracing specification.|
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh actually I noticed some values have same priority - what's the decision mechanism within a priority?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@anuraaga There was a note in there below the table about what to do in that case, but I cleaned it up and simplified things for #776. I put peer.service at the top. We have been using that in opentelemetry-dotnet for a while, just didn't update this doc 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

spec:trace Related to the specification/trace directory

Projects

None yet

Development

Successfully merging this pull request may close these issues.