Skip to content
This repository was archived by the owner on Sep 17, 2025. It is now read-only.

Commit d9f3234

Browse files
Liudmila Molkovasongy23
authored andcommitted
Change default OC agent port (#302)
1 parent f942f30 commit d9f3234

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

opencensus/trace/exporters/ocagent/trace_exporter.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@
3131
from opencensus.trace.exporters.transports import sync
3232

3333
# Default agent endpoint
34-
# TODO: subject to change: this is not a final default endpoint!
35-
DEFAULT_ENDPOINT = 'localhost:50051'
34+
DEFAULT_ENDPOINT = 'localhost:55678'
3635

3736
# OpenCensus Version
3837
# TODO: https://github.com/census-instrumentation/opencensus-python/issues/296

tests/unit/trace/exporters/ocagent/test_trace_exporter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def test_constructor(self):
3737
exporter = TraceExporter(
3838
service_name=SERVICE_NAME)
3939

40-
self.assertEqual(exporter.endpoint, 'localhost:50051')
40+
self.assertEqual(exporter.endpoint, 'localhost:55678')
4141

4242
def test_constructor_with_endpoint(self):
4343
expected_endpoint = '0.0.0.0:50000'

0 commit comments

Comments
 (0)