Skip to content
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

Missing data about operation_parentID #29

Closed
v-gamaar opened this issue Apr 8, 2019 · 3 comments
Closed

Missing data about operation_parentID #29

v-gamaar opened this issue Apr 8, 2019 · 3 comments

Comments

@v-gamaar
Copy link

v-gamaar commented Apr 8, 2019

Hi Team

We are using this SDK to get telemetry to an application Insights resource, however due to there is not details about how to configure the operation_parentID value we are using the same id in the dependencies tracking, and we are getting an Application Map iterative showing only one instance instead of show the rest of the components interacting with the project. Could you please update this documentation in order to provide more details about the configuration of this vale.

Thanks, have an excellent day.

@jjjordanmsft
Copy link
Contributor

Operation ID/Parent Operation ID are left to the user in this SDK. (The idea behind this is that some autocollection library could be built on top of this to provide those values.) This can be set on the TelemetryContext object associated with the TelemetryClient or on individual Telemetry instances via:

telemetry.ContextTags()[contracts.OperationParentId] = "parent id"
// or
client.Context().Tags.Operation().SetParentId("parent id")

But I guess what you're asking is what these things ought to look like. I'd point you to this document to start. To be fair it's light in details, but should provide a reasonable starting point.

@SergeyKanzhelev
Copy link
Contributor

This is a bit outdated article, but it gives an idea what values should be set where to enable Applicaiton Map: http://apmtips.com/blog/2017/10/18/two-types-of-correlation/

@SergeyKanzhelev
Copy link
Contributor

Please re-open if you have more questions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants