Skip to content

The Envelope Name has no ikey information (MS internal) #19

@XiaoliangHuang

Description

@XiaoliangHuang

issue

The Envelope Name has no ikey information, then the support from Xpert (MS UST internal tool)
e.g. the expect name is if we use ikey "AIF-37f925f3-9379-4c3d-8842-34f5e9bca1d3" (prefix "AIF-" means ApplicationInsights first party )

Microsoft.ApplicationInsights.aif37f925f393794c3d884234f5e9bca1d3.Request

but what the sdk sends out is

Microsoft.ApplicationInsights.Request

impacts

  1. Xpert will not create source node for the ikey, and then we cannot do aggregation operation, neither can we setup Dashboard or ICM Alerts

  2. This is not consistent with other AppInsights SDK like Asp.net or Java or Node.js

root cause

in the telemetry definition, the envelope name is hardcoded. e.g in the

/appinsights/contracts/requesteddata.go, the method is defined as

func (data *EventData) EnvelopeName() string {
	return "Microsoft.ApplicationInsights.Request"

the code tells that

// NOTE: This file was automatically generated.

but I cannot find source where and how the file is generated, so I cannot send a pull request to fix it.

how we use it

This is Xiaoliang from Microsoft Shagnhai team (xihuan@microsoft.com), exactly, we use the AilogNginx, but the root cause is the Go sdk, so I put the issue here. @jjjordanmsft we talked in Email about using it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions