Azure / Azure/azure-sdk-for-java
[FEATURE REQ] Custom Events in Application Insights using azure-monitor-opentelemetry
- Dominant language
- Java
- Stars
- 2.6k
- Forks
- 2.2k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 178
Description
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);
Contributor guide
Assessment
This issue has not been assessed yet.