Change open census to OpenTelemetry in readme file + Update prometheus quick guide in readme (#123)

* Changed open census to OpenTelemetry in readme file

* Added + wildcard, updated sample and readme to reflect sample
This commit is contained in:
ysma500 2019-06-26 01:54:37 -04:00 committed by Sergey Kanzhelev
parent cfd233c9ca
commit 0554756e8c
2 changed files with 3 additions and 3 deletions

View File

@ -49,7 +49,7 @@ We encourage contributions. Use tags [up-for-grabs][up-for-grabs-issues] and
## OpenTelemetry QuickStart: collecting data
You can use Open Census API to instrument code and report data. Or use one of
You can use OpenTelemetry API to instrument code and report data. Or use one of
automatic data collection modules.
### Using ASP.NET Core incoming requests collector
@ -199,7 +199,7 @@ Configure Prometheus exporter to have stats collected by Prometheus.
var exporter = new PrometheusExporter(
new PrometheusExporterOptions()
{
Url = new Uri("http://localhost:9184/metrics/")
Url = "http://+:9184/metrics/"
},
Stats.ViewManager);

View File

@ -36,7 +36,7 @@
var exporter = new PrometheusExporter(
new PrometheusExporterOptions()
{
Url = "http://localhost:9184/metrics/"
Url = "http://+:9184/metrics/" // "+" is a wildcard used to listen to all hostnames
},
Stats.ViewManager);