microsoft / microsoft/ApplicationInsights-JS

Add `context` to `addTelemetryInitializer` callback?

Open
#1,026 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
685
Forks
261
Avg merge
21h 33m
Merged PRs (30d)
5

Description

In https://github.com/microsoft/ApplicationInsights-node.js , you can modify the telemetry using `addTelemetryProcessor` which executed with `envelop` and `context` (the context changes according to the collected data, for example: the req/res for HTTP requests).

Any chance we can do the same for this library? :)

Contributor guide

Open the contributing guide

Research direction

Start by locating the addTelemetryInitializer API in this TypeScript SDK and compare it with the addTelemetryProcessor behavior in the linked ApplicationInsights-node.js library. Trace how telemetry context is collected for requests, then determine the callback contract and tests needed to verify that context is available to initializer callbacks.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.