-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[exporter/azuremonitor] Why span events are pushed as traces
and not as custom events
?
#26470
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
CustomEvents in application insights is not same as SpanEvents, though the name is similar. SpanEvent is more like "logs", except they are always attached to a Span, and this is better mapped as TraceTelemetry, as that is where general "logs" are stored in ApplicationInsights. This collector component is not an official Microsoft/Azure component, but if you look at the official ones (the java/.net/node/python exporters in Azure repo), they are mapping SpanEvents to TraceTelemetry. |
correct. |
@cakescience Is there anymore information needed here? Just want to make sure it's safe to close this issue. |
Component(s)
exporter/azuremonitor
Describe the issue you're reporting
Azure Monitor supports
custom events
: https://learn.microsoft.com/en-us/azure/azure-monitor/app/api-custom-events-metrics#trackeventI wonder why span events are pushed as
traces
and not ascustom events
by the Azure Monitor exporter?opentelemetry-collector-contrib/exporter/azuremonitorexporter/trace_to_envelope.go
Line 148 in 169ac6c
cc @pcwiese @cijothomas @TylerHelmuth
The text was updated successfully, but these errors were encountered: