You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently opentelemetry-application-insights reports all attributes (span and resource attributes) as properties. This means that attributes that are mapped to tags are reported twice, e.g.:
Some tags have stricter length limitations. The property could report the full value while the tag would have a shorter one.
Some tags are made up of multiple attributes, e.g. server.address + server.port form the Dependency Target. The properties still report the individual values.
Disadvantages:
Sending data twice causes more network traffic and storage. Is the amount of data relevant or small enough that it doesn't matter?
Currently
opentelemetry-application-insights
reports all attributes (span and resource attributes) as properties. This means that attributes that are mapped to tags are reported twice, e.g.:device.id
anddevice.model.name
:opentelemetry-application-insights/tests/http_requests.rs
Lines 38 to 39 in 542e80b
opentelemetry-application-insights/tests/snapshots/http_requests__traces_simple.snap
Lines 164 to 165 in 542e80b
opentelemetry-application-insights/tests/snapshots/http_requests__traces_simple.snap
Lines 138 to 139 in 542e80b
Advantages:
server.address
+server.port
form the Dependency Target. The properties still report the individual values.Disadvantages:
Looks like the JS exporter elides some attributes: https://github.com/Azure/azure-sdk-for-js/blob/c66cad23c4b803719db65cb48a453b0adc13307b/sdk/monitor/monitor-opentelemetry-exporter/src/utils/spanUtils.ts#L108-L143
The text was updated successfully, but these errors were encountered: