Skip to content

Commit a0a6d9c

Browse files
author
Dean Ward
committed
Fix up docs for sources
1 parent 00fc9cb commit a0a6d9c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,10 @@ public class Startup
9090
p.DefaultTags.Add("tier", "dev");
9191
}
9292
)
93-
// by default, common metric sources are added
93+
// add common metric sources
9494
// that includes ProcessMetricSource, AspNetMetricSource & RuntimeMetricSource
95-
// here we add our application-specific metric source
95+
.AddDefaultSources()
96+
// and then add our application-specific metric source
9697
.AddSource<AppMetricSource>()
9798
// add endpoints we care about. By default we add a `LocalMetricHandler` that
9899
// just maintains the latest metrics in memory (useful for debugging)

0 commit comments

Comments
 (0)