We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffaadaf commit bac23a8Copy full SHA for bac23a8
appinsights/package.go
@@ -0,0 +1,8 @@
1
+// Package appinsights provides an interface to submit telemetry to Application Insights.
2
+// See more at https://azure.microsoft.com/en-us/services/application-insights/
3
+package appinsights
4
+
5
+const (
6
+ sdkName = "go"
7
+ Version = "0.3.0"
8
+)
appinsights/telemetrycontext.go
@@ -122,7 +122,7 @@ func (context *telemetryContext) loadDeviceContext() {
122
}
123
124
func (context *telemetryContext) loadInternalContext() {
125
- context.tags[InternalSdkVersion] = "go:" + version
+ context.tags[InternalSdkVersion] = sdkName + ":" + Version
126
127
128
func (context *telemetryContext) Component() ComponentContext {
appinsights/version.go
0 commit comments