Azure / Azure/azure-sdk-for-java

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

Open
#46,023 15 comments 0 reactions 1 assignee Claimed by @rajkumar-rangaraj View on GitHub
customer-reported feature-request Monitor - Autoconfigure needs-team-attention
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.