(subscriptionId string, installId string, sessionid string)
| 39 | } |
| 40 | |
| 41 | func NewAppInsight(subscriptionId string, installId string, sessionid string) Client { |
| 42 | // The instrument key of a MS managed application insights |
| 43 | const instrumentKey = "1bfe1d29-b42e-49b5-9d51-77514f85b37b" |
| 44 | return AppInsightClient{ |
| 45 | TelemetryClient: appinsights.NewTelemetryClient(instrumentKey), |
| 46 | subscriptionId: subscriptionId, |
| 47 | installId: installId, |
| 48 | sessionId: sessionid, |
| 49 | } |
| 50 | } |
| 51 | |
| 52 | type ApplicationInsightMessage struct { |
| 53 | SubscriptionId string `json:"subscription_id"` |
no outgoing calls
no test coverage detected