Comments (5)
Would the semantic conventions doc be more helpful there?
https://github.com/open-telemetry/semantic-conventions/blob/75f9d428a45f9e779b72c34d9ac3c00625b7472a/docs/attributes-registry/messaging.md
Improved documentation is always welcome though. Do you want to open a PR?
from opentelemetry-go.
Thanks for this super fast reply.
This documentation is also not clear in this case for me.
An identifier for the messaging system being used. See below for a list of well-known identifiers.
I will for sure update the docs when i know the answer to this
I will open an issue in the linked repo.
from opentelemetry-go.
I'm not sure I understand the source/destination messaging system there.
If you have a span reading from Kafka, that's what its messaging system is. If it's writing to RabbitMQ, that's what its messaging system is.
If you have a span both reading and writing, maybe there should be two spans to properly observe what's happening?
from opentelemetry-go.
The docs are generated from https://github.com/open-telemetry/semantic-conventions/blob/v1.24.0/model/registry/messaging.yaml#L210-L245
Do you find these not good enough?
opentelemetry-go/semconv/v1.24.0/attribute_group.go
Lines 2727 to 2735 in 6ead8d8
opentelemetry-go/semconv/v1.24.0/attribute_group.go
Lines 2767 to 2788 in 6ead8d8
from opentelemetry-go.
@dmathieu yes I think you are right that one should have a separate span for receive and send but even though you want to give some metadata about what happens inside the span and thats what these attributes are for in my opinion.
@pellared I cant answer my question from this documentation, so...
I just saw that there is the MessagingOperationKey
which should resolve my issue.
from opentelemetry-go.
Related Issues (20)
- Implement the `Value` and `KeyValue` types HOT 5
- Add benchmarks to `log` package HOT 1
- Add allocation unit tests to `log` package HOT 1
- Replace `List` log value kind with `Slice` HOT 3
- Go semver seems not be consistant with otel semver spec HOT 7
- baggage: Accept non-ASCII keys
- Create Logs Bridge SDK Design Proposal HOT 3
- internal/global: Export getLogger and refactor tests
- log: Implement Stringer for Value and KeyValue HOT 3
- log: Empty Value
- Conflicting schema with stdouttrace HOT 2
- Release v1.24.0/v0.46.0 Checklist
- Remove the AsAny method from `Value`
- Create an assertZeroAllocs test helper HOT 2
- log: Add global LoggerProvider HOT 3
- Refactor `attribute.Value` similar to `log.Value` HOT 5
- Simplify the license header
- Support making the parent/linking decision after span creation HOT 4
- Add an `Enabled` method to Logger HOT 9
- Propagate 8 bits of W3C trace context flags HOT 1
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.