microsoft / ApplicationInsights-Go

Microsoft Application Insights SDK for Go
MIT License
157 stars 53 forks source link

Add SetTimestamp on the Telemetry interface #16

Closed yingwang9091 closed 6 years ago

yingwang9091 commented 6 years ago

NewTraceTelemetry seems only takes message and severityLevel as parameters. We can not set a customozied timestamp.

https://github.com/Microsoft/ApplicationInsights-Go/blob/3612f58550c1de70f1a110c78c830e55f29aa65d/appinsights/telemetry.go#L92

Can we put a SetTimestamp on the Telemetry interface?