Skip to content

[FEATURE REQ] Custom Events in Application Insights using azure-monitor-opentelemetry #46023

@patrycjjusz

Description

@patrycjjusz

Currently we are using applicationinsights-core.jar to send Custom Events. It allows us to send custome event that:

  • Contains some properties
  • Contains some measurements
  • Has set userId and sessionId context properties created by our tool.

We want to switch to open-telemetry but it allows only to create Custom Event with some properties. There is no way to define measurements or override userId and sessionId.

Methods that we are using from applicationinsights-core.jar:

telemetryClient.getContext().getUser().setId(getUserId());
telemetryClient.getContext().getSession().setId(getSessionId());
telemetryClient.trackEvent(name, properties, metrics);

Metadata

Metadata

Labels

Monitor - AutoconfigureMonitor OpenTelemetry Autoconfigurecustomer-reportedIssues that are reported by GitHub users external to the Azure organization.feature-requestThis issue requires a new behavior in the product in order be resolved.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions