Skip to content

Commit c7a70d2

Browse files
authored
Merge pull request #104471 from lzchen/patch-1
Fix django example for opencensus python
2 parents 4e68bb7 + ba3b5e8 commit c7a70d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/azure-monitor/app/opencensus-python-dependency.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ Additional configuration can be provided, read [customizations](https://github.c
9797
OPENCENSUS = {
9898
'TRACE': {
9999
'SAMPLER': 'opencensus.trace.samplers.ProbabilitySampler(rate=1)',
100-
'EXPORTER': '''opencensus.ext.ocagent.trace_exporter.TraceExporter(
101-
service_name='foobar',
100+
'EXPORTER': '''opencensus.ext.azure.trace_exporter.AzureExporter(
101+
connection_string="InstrumentationKey=<your-ikey-here>"
102102
)''',
103103
}
104104
}

0 commit comments

Comments
 (0)