Skip to content

Commit 80177c1

Browse files
authored
Merge branch 'main' into main
2 parents afb86c0 + 3de2986 commit 80177c1

File tree

98 files changed

+577
-274
lines changed

Some content is hidden

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

98 files changed

+577
-274
lines changed

.github/workflows/test.yml

Lines changed: 30 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- 'release/*'
77
pull_request:
88
env:
9-
CORE_REPO_SHA: 82a40052d2a49615b745fcbc890c9aabd6f88140
9+
CORE_REPO_SHA: f0d559f5a8c40185e4cada6ed1914642b937f256
1010

1111
jobs:
1212
build:
@@ -45,17 +45,40 @@ jobs:
4545
key: v4-build-tox-cache-${{ env.RUN_MATRIX_COMBINATION }}-${{ hashFiles('tox.ini', 'gen-requirements.txt', 'dev-requirements.txt') }}
4646
- name: run tox
4747
run: tox -f ${{ matrix.python-version }}-${{ matrix.package }} -- --benchmark-json=${{ env.RUN_MATRIX_COMBINATION }}-benchmark.json
48-
- name: Find and merge benchmarks
48+
- name: Find and merge ${{ matrix.package }} benchmarks
4949
# TODO: Add at least one benchmark to every package type to remove this (#249)
50-
if: matrix.package == 'sdkextension'
50+
if: matrix.package == 'sdkextension' || matrix.package == 'propagator'
5151
run: >-
52+
mkdir -p benchmarks;
5253
jq -s '.[0].benchmarks = ([.[].benchmarks] | add)
5354
| if .[0].benchmarks == null then null else .[0] end'
54-
**/**/tests/*${{ matrix.package }}*-benchmark.json > output.json
55+
**/**/tests/*${{ matrix.package }}*-benchmark.json > benchmarks/output_${{ matrix.package }}.json
56+
- name: Upload all benchmarks under same key as an artifact
57+
if: ${{ success() }}
58+
uses: actions/upload-artifact@v2
59+
with:
60+
name: benchmarks
61+
path: benchmarks/output_${{ matrix.package }}.json
62+
combine-benchmarks:
63+
runs-on: ubuntu-latest
64+
needs: build
65+
if: ${{ always() }}
66+
name: Combine benchmarks from previous build job
67+
steps:
68+
- name: Checkout Contrib Repo @ SHA - ${{ github.sha }}
69+
uses: actions/checkout@v2
70+
- name: Download all benchmarks as artifact using key
71+
uses: actions/download-artifact@v2
72+
with:
73+
name: benchmarks
74+
path: benchmarks
75+
- name: Find and merge all benchmarks
76+
run: >-
77+
jq -s '.[0].benchmarks = ([.[].benchmarks] | add)
78+
| if .[0].benchmarks == null then null else .[0] end'
79+
benchmarks/output_*.json > output.json;
5580
- name: Report on benchmark results
56-
# TODO: Add at least one benchmark to every package type to remove this (#249)
57-
if: matrix.package == 'sdkextension'
58-
uses: rhysd/github-action-benchmark@v1
81+
uses: benchmark-action/github-action-benchmark@v1
5982
with:
6083
name: OpenTelemetry Python Benchmarks - Python ${{ env[matrix.python-version ]}} - ${{ matrix.package }}
6184
tool: pytest

CHANGELOG.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,24 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [Unreleased](https://github.com/open-telemetry/opentelemetry-python/compare/v1.7.0-0.26b0...HEAD)
8+
## [Unreleased](https://github.com/open-telemetry/opentelemetry-python/compare/v1.8.0-0.27b0...HEAD)
9+
10+
### Added
11+
12+
- `opentelemetry-instrumentation-asgi` now returns a `traceresponse` response header.
13+
([#817](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/817))
14+
15+
### Fixed
16+
17+
- `opentelemetry-instrumentation-flask` Flask: Conditionally create SERVER spans
18+
([#828](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/828))
19+
20+
## [1.8.0-0.27b0](https://github.com/open-telemetry/opentelemetry-python/releases/tag/v1.8.0-0.27b0) - 2021-12-17
21+
22+
### Added
23+
24+
- `opentelemetry-instrumentation-aws-lambda` Adds support for configurable flush timeout via `OTEL_INSTRUMENTATION_AWS_LAMBDA_FLUSH_TIMEOUT` property. ([#825](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/825))
25+
- `opentelemetry-instrumentation-pika` Adds support for versions between `0.12.0` to `1.0.0`. ([#837](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/837))
926

1027
### Fixed
1128

@@ -20,6 +37,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2037

2138
## [1.7.1-0.26b1](https://github.com/open-telemetry/opentelemetry-python/releases/tag/v1.7.0-0.26b0) - 2021-11-11
2239

40+
### Added
41+
2342
- `opentelemetry-instrumentation-aws-lambda` Add instrumentation for AWS Lambda Service - pkg metadata files (Part 1/2)
2443
([#739](https://github.com/open-telemetry/opentelemetry-python-contrib/pull/739))
2544
- Add support for Python 3.10

_template/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.26b1"
15+
__version__ = "0.27b0"

eachdist.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ sortfirst=
1616
ext/*
1717

1818
[stable]
19-
version=1.7.1
19+
version=1.8.0
2020

2121
packages=
2222
opentelemetry-sdk
@@ -34,7 +34,7 @@ packages=
3434
opentelemetry-api
3535

3636
[prerelease]
37-
version=0.26b1
37+
version=0.27b0
3838

3939
packages=
4040
all

exporter/opentelemetry-exporter-datadog/setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ install_requires =
4343
ddtrace>=0.34.0,<0.47.0
4444
opentelemetry-api ~= 1.3
4545
opentelemetry-sdk ~= 1.3
46-
opentelemetry-semantic-conventions == 0.26b1
46+
opentelemetry-semantic-conventions == 0.27b0
4747

4848
[options.packages.find]
4949
where = src

exporter/opentelemetry-exporter-datadog/src/opentelemetry/exporter/datadog/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.26b1"
15+
__version__ = "0.27b0"

exporter/opentelemetry-exporter-richconsole/setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ install_requires =
4343
rich>=10.0.0
4444
opentelemetry-api ~= 1.3
4545
opentelemetry-sdk ~= 1.3
46-
opentelemetry-semantic-conventions == 0.26b1
46+
opentelemetry-semantic-conventions == 0.27b0
4747

4848
[options.packages.find]
4949
where = src

exporter/opentelemetry-exporter-richconsole/src/opentelemetry/exporter/richconsole/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.26b1"
15+
__version__ = "0.27b0"

instrumentation/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
| [opentelemetry-instrumentation-jinja2](./opentelemetry-instrumentation-jinja2) | jinja2 >= 2.7, < 4.0 |
2121
| [opentelemetry-instrumentation-logging](./opentelemetry-instrumentation-logging) | logging |
2222
| [opentelemetry-instrumentation-mysql](./opentelemetry-instrumentation-mysql) | mysql-connector-python ~= 8.0 |
23-
| [opentelemetry-instrumentation-pika](./opentelemetry-instrumentation-pika) | pika >= 1.1.0 |
23+
| [opentelemetry-instrumentation-pika](./opentelemetry-instrumentation-pika) | pika >= 0.12.0 |
2424
| [opentelemetry-instrumentation-psycopg2](./opentelemetry-instrumentation-psycopg2) | psycopg2 >= 2.7.3.1 |
2525
| [opentelemetry-instrumentation-pymemcache](./opentelemetry-instrumentation-pymemcache) | pymemcache ~= 1.3 |
2626
| [opentelemetry-instrumentation-pymongo](./opentelemetry-instrumentation-pymongo) | pymongo ~= 3.1 |

instrumentation/opentelemetry-instrumentation-aiohttp-client/setup.cfg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ package_dir=
4141
packages=find_namespace:
4242
install_requires =
4343
opentelemetry-api ~= 1.3
44-
opentelemetry-semantic-conventions == 0.26b1
45-
opentelemetry-instrumentation == 0.26b1
46-
opentelemetry-util-http == 0.26b1
44+
opentelemetry-semantic-conventions == 0.27b0
45+
opentelemetry-instrumentation == 0.27b0
46+
opentelemetry-util-http == 0.27b0
4747
wrapt >= 1.0.0, < 2.0.0
4848

4949
[options.packages.find]

0 commit comments

Comments
 (0)