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

Commit 6f53356

Browse files
author
Bogdan Drutu
authored
Make user-agent consistent with Java. (#421)
1 parent 4ca0055 commit 6f53356

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opencensus/stats/exporters/stackdriver_exporter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ def set_attribute_label(series, resource_labels, attribute_key,
389389

390390
def get_user_agent_slug():
391391
"""Get the UA fragment to identify this library version."""
392-
return "opencensus-{}".format(__version__)
392+
return "opencensus-python/{}".format(__version__)
393393

394394

395395
def new_stats_exporter(options):

0 commit comments

Comments
 (0)