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

Commit 0758877

Browse files
authored
Release for v0.7.11 (#958)
1 parent 6721a56 commit 0758877

File tree

66 files changed

+144
-116
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+144
-116
lines changed

.isort.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ line_length=79
1414
multi_line_output=3
1515
known_future_library = six,six.moves,__future__
1616
known_third_party=google,mock,pymysql,sqlalchemy,psycopg2,mysql,requests,django,pytest,grpc,flask,bitarray,prometheus_client,psutil,pymongo,wrapt,thrift,retrying,pyramid,werkzeug,gevent
17-
known_first_party=opencensus
17+
known_first_party=opencensus

.travis.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,3 @@ install:
1515
script:
1616
- tox
1717
- touch docs/.nojekyll
18-
19-
branches:
20-
only:
21-
- master

CHANGELOG.md

Lines changed: 3 additions & 0 deletions

context/opencensus-context/CHANGELOG.md

Lines changed: 0 additions & 2 deletions

context/opencensus-context/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
__version__ = '0.2.dev0'
15+
__version__ = '0.1.2'

contrib/opencensus-correlation/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
__version__ = '0.4.dev0'
15+
__version__ = '0.3.0'

contrib/opencensus-ext-azure/CHANGELOG.md

Lines changed: 3 additions & 0 deletions

contrib/opencensus-ext-azure/opencensus/ext/azure/common/exporter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ def __init__(self, src, dst):
6767

6868
def run(self): # pragma: NO COVER
6969
# Indicate that this thread is an exporter thread.
70-
# Used to suppress tracking of requests in this thread
70+
# Used to suppress tracking of requests in this thread.
7171
execution_context.set_is_exporter(True)
7272
src = self.src
7373
dst = self.dst

contrib/opencensus-ext-azure/opencensus/ext/azure/common/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
__version__ = '1.0.dev0'
15+
__version__ = '1.0.5'

contrib/opencensus-ext-azure/opencensus/ext/azure/log_exporter/__init__.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,24 @@ def _export(self, batch, event=None): # pragma: NO COVER
8181
if event:
8282
event.set()
8383

84+
def _export(self, batch, event=None): # pragma: NO COVER
85+
try:
86+
if batch:
87+
envelopes = [self.log_record_to_envelope(x) for x in batch]
88+
envelopes = self.apply_telemetry_processors(envelopes)
89+
result = self._transmit(envelopes)
90+
if result > 0:
91+
self.storage.put(envelopes, result)
92+
if event:
93+
if isinstance(event, QueueExitEvent):
94+
self._transmit_from_storage() # send files before exit
95+
return
96+
if len(batch) < self.options.max_batch_size:
97+
self._transmit_from_storage()
98+
finally:
99+
if event:
100+
event.set()
101+
84102
def close(self):
85103
self.storage.close()
86104
self._worker.stop()

0 commit comments

Comments
 (0)