Skip to content

Commit

Permalink
version v2.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
EOjeah committed Jul 4, 2024
1 parent ca8e6f5 commit 0b9c1ad
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 5 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,23 @@
2.2.1 (2024-07-04)
-------------------
- Requires Python >= 3.8
- Adds OTels semantic conventions for http server span attributes
- `http.request.method`
- `network.protocol.version`
- `url.path`
- `server.address`
- `server.port`
- `url.scheme`
- `user_agent.original`
- `url.query`
- `client.address`
- `http.response.status_code`
- `otel.status_code`
- `otel.library.name`
- `otel.library.version`
- Adds the Zipkin Annotation (OTel Event) when an exception occures as the type of exception
- Adds `exception.stacktrace` as an attribute if an exception occurs

2.1.3 (2023-10-09)
-------------------
- Handle exceptions during request processing to set response_status_code=500 and error.type
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
[![Travis](https://img.shields.io/travis/Yelp/pyramid_zipkin.svg)](https://travis-ci.org/Yelp/pyramid_zipkin?branch=master)
[![Coverage Status](https://img.shields.io/coveralls/Yelp/pyramid_zipkin.svg)](https://coveralls.io/r/Yelp/pyramid_zipkin)
[![PyPi version](https://img.shields.io/pypi/v/pyramid_zipkin.svg)](https://pypi.python.org/pypi/pyramid_zipkin/)
[![Supported Python versions](https://img.shields.io/pypi/pyversions/pyramid_zipkin.svg)](https://pypi.python.org/pypi/pyramid_zipkin/)
Expand Down Expand Up @@ -40,8 +39,8 @@ In your service's webapp, you need to include:
To bump and deploy a new version after changes have been merged into master, follow these steps:
- `$ git checkout master && git pull`
- update `CHANGELOG.rst` to document the changes
- update `__version__` in `setup.py`
- `$ git add CHANGELOG.rst setup.py && git commit -m 'version <VERSION>'`
- update `__version__` in `pyramid_zipkin/version.py`
- `$ git add CHANGELOG.rst pyramid_zipkin/version.py && git commit -m 'version <VERSION>'`
- `$ git tag v<VERSION>`
- `$ git push origin master --tags`

Expand Down
2 changes: 1 addition & 1 deletion pyramid_zipkin/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2.2.0'
__version__ = '2.2.1'
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from setuptools import find_packages
from setuptools import setup

version = exec(open('pyramid_zipkin/version.py').read())
from pyramid_zipkin.version import __version__ as version

setup(
name='pyramid_zipkin',
Expand Down

0 comments on commit 0b9c1ad

Please sign in to comment.