Skip to content
This repository has been archived by the owner on Jan 28, 2023. It is now read-only.

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
adamko147 committed Mar 23, 2021
1 parent 7c45518 commit dec38d1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ func main() {
ServiceName: "trace-demo",
}),
appinsights.WithInstrumentationKey("<instrumentation-key>")
appinsights.WithSDK(sdktrace.Config{DefaultSampler: sdktrace.AlwaysSample()}),
appinsights.WithOptions(
sdktrace.WithSampler(sdktrace.AlwaysSample()),
),
)
if err != nil {
log.Fatal(err)
Expand Down

0 comments on commit dec38d1

Please sign in to comment.