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

Commit c649ac8

Browse files
authored
Release for v0.7.11 (#960)
1 parent 49b0cf9 commit c649ac8

File tree

37 files changed

+891
-201
lines changed

37 files changed

+891
-201
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# This file controls who is tagged for review for any given pull request.
33

44
# For anything not explicitly taken by someone else:
5-
* @census-instrumentation/global-owners @c24t @reyang @songy23
5+
* @census-instrumentation/global-owners @aabmass @c24t @hectorhdzg @lzchen @reyang @songy23 @victoraugustolls

CHANGELOG.md

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,27 @@
22

33
## Unreleased
44

5+
## 0.7.11
6+
Released 2020-10-13
7+
8+
- PeriodicMetricTask flush on exit
9+
([#943](https://github.com/census-instrumentation/opencensus-python/pull/943))
10+
511
## 0.7.10
612
Released 2020-06-29
713

814
- Updated `azure` module
9-
([#903](https://github.com/census-instrumentation/opencensus-python/pull/903),
10-
[#925](https://github.com/census-instrumentation/opencensus-python/pull/925))
15+
([#903](https://github.com/census-instrumentation/opencensus-python/pull/903),
16+
[#925](https://github.com/census-instrumentation/opencensus-python/pull/925))
1117

1218
- Updated `stackdriver` module
13-
([#919](https://github.com/census-instrumentation/opencensus-python/pull/919))
19+
([#919](https://github.com/census-instrumentation/opencensus-python/pull/919))
1420

1521
## 0.7.9
1622
Released 2020-06-17
1723

18-
- Hotfix
19-
([#915](https://github.com/census-instrumentation/opencensus-python/pull/915))
24+
- Hotfix for breaking change
25+
([#915](https://github.com/census-instrumentation/opencensus-python/pull/915),
2026

2127
## 0.7.8
2228
Released 2020-06-17
@@ -26,13 +32,13 @@ Released 2020-06-17
2632
[#902](https://github.com/census-instrumentation/opencensus-python/pull/902))
2733

2834
## 0.7.7
29-
Released 2020-02-04
35+
Released 2020-02-03
3036

3137
- Updated `azure` module
32-
([#837](https://github.com/census-instrumentation/opencensus-python/pull/837),
33-
[#845](https://github.com/census-instrumentation/opencensus-python/pull/845),
34-
[#848](https://github.com/census-instrumentation/opencensus-python/pull/848),
35-
[#851](https://github.com/census-instrumentation/opencensus-python/pull/851))
38+
([#837](https://github.com/census-instrumentation/opencensus-python/pull/837),
39+
[#845](https://github.com/census-instrumentation/opencensus-python/pull/845),
40+
[#848](https://github.com/census-instrumentation/opencensus-python/pull/848),
41+
[#851](https://github.com/census-instrumentation/opencensus-python/pull/851))
3642

3743
## 0.7.6
3844
Released 2019-11-26

contrib/opencensus-ext-azure/CHANGELOG.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22

33
## Unreleased
44

5+
## 1.0.5
6+
Released 2020-10-13
7+
8+
- Attach rate metrics via Heartbeat for Web and Function apps
9+
([#930](https://github.com/census-instrumentation/opencensus-python/pull/930))
10+
- Attach rate metrics for VM
11+
([#935](https://github.com/census-instrumentation/opencensus-python/pull/935))
12+
- Add links in properties for trace exporter envelopes
13+
([#936](https://github.com/census-instrumentation/opencensus-python/pull/936))
14+
- Fix attach rate metrics for VM to only ping data service on retry
15+
([#946](https://github.com/census-instrumentation/opencensus-python/pull/946))
16+
- Added queue capacity configuration for exporters
17+
([#949](https://github.com/census-instrumentation/opencensus-python/pull/949))
18+
519
## 1.0.4
620
Released 2020-06-29
721

@@ -18,7 +32,6 @@ Released 2020-06-17
1832
- Add support to initialize azure exporters with proxies
1933
([#902](https://github.com/census-instrumentation/opencensus-python/pull/902))
2034

21-
2235
## 1.0.2
2336
Released 2020-02-04
2437

contrib/opencensus-ext-azure/examples/logs/properties.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@
3333
except Exception:
3434
logger.exception('Captured an exception.', extra=properties)
3535

36-
input("...")
36+
input("...")

contrib/opencensus-ext-azure/examples/logs/simple.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@
2323
logger.addHandler(AzureLogHandler())
2424
logger.warning('Hello, World!')
2525

26-
input("...")
26+
input("...")

contrib/opencensus-ext-azure/examples/traces/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@
2626
tracer = Tracer(exporter=AzureExporter(), sampler=ProbabilitySampler(1.0))
2727
with tracer.span(name='parent'):
2828
with tracer.span(name='child'):
29-
response = requests.get(url='http://localhost:8080/')
29+
response = requests.get(url='http://example.com/')
3030
print(response.status_code)
3131
print(response.text)

contrib/opencensus-ext-azure/examples/traces/config.py

Lines changed: 0 additions & 29 deletions
This file was deleted.

contrib/opencensus-ext-azure/examples/traces/simple.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@
2323

2424
with tracer.span(name='foo'):
2525
print('Hello, World!')
26+
input(...)

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ def process_options(options):
5656
TEMPDIR_PREFIX + TEMPDIR_SUFFIX
5757
)
5858

59+
# proxies
5960
if options.proxies is None:
6061
options.proxies = '{}'
6162

@@ -109,6 +110,7 @@ def __init__(self, *args, **kwargs):
109110
max_batch_size=100,
110111
minimum_retry_interval=60, # minimum retry interval in seconds
111112
proxies=None, # string maps url schemes to the url of the proxies
113+
queue_capacity=8192,
112114
storage_maintenance_period=60,
113115
storage_max_size=50*1024*1024, # 50MiB
114116
storage_path=None,

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def __init__(self, **options):
2828
self.max_batch_size = options.max_batch_size
2929
# TODO: queue should be moved to tracer
3030
# too much refactor work, leave to the next PR
31-
self._queue = Queue(capacity=8192) # TODO: make this configurable
31+
self._queue = Queue(capacity=options.queue_capacity)
3232
# TODO: worker should not be created in the base exporter
3333
self._worker = Worker(self._queue, self)
3434
self._worker.start()
@@ -61,7 +61,9 @@ def __init__(self, src, dst):
6161
self.src = src
6262
self.dst = dst
6363
self._stopping = False
64-
super(Worker, self).__init__()
64+
super(Worker, self).__init__(
65+
name="AzureExporter Worker"
66+
)
6567

6668
def run(self): # pragma: NO COVER
6769
# Indicate that this thread is an exporter thread.

0 commit comments

Comments
 (0)