Skip to content

Commit

Permalink
Merge pull request #19 from spreaker/rel_2.0.2
Browse files Browse the repository at this point in the history
Release 2.0.2 and 2.0.3
  • Loading branch information
Esteban Sanchez authored Jan 7, 2020
2 parents 2d42b91 + e75a936 commit 5bd8093
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 15 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

### 2.0.3 (2020-01-07)
- Changed author of the package

### 2.0.2 (2020-01-07)
- [#17](https://github.com/spreaker/prometheus-pgbouncer-exporter/pull/17) Add `maxwait_us` to the compute of `client_maxwait_seconds` metric to have a higher precission

### 2.0.1 (2018-12-11)
- [BUGFIX] Correctly mask the DSN in logs when the password is empty

Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,9 @@ pycodestyle --max-line-length=300 prometheus_pgbouncer_exporter/*.py
1. Update version in `setup.py`
2. Update `CHANGELOG.md`
3. [Release new version on GitHub](https://github.com/spreaker/prometheus-pgbouncer-exporter/releases)
4. Run `python3 setup.py sdist upload -r pypi`
4. Run `python3 setup.py sdist`
5. Upload it with `twine upload dist/*`
6. Upload the files to the Github release

**Release Docker image**:

Expand Down
29 changes: 15 additions & 14 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,21 @@
long_description = file.read()

setup(
name = 'prometheus-pgbouncer-exporter',
packages = ['prometheus_pgbouncer_exporter'],
version = '2.0.1',
description = 'Prometheus exporter for PgBouncer',
long_description = long_description,
author = 'Marco Pracucci',
author_email = '[email protected]',
url = 'https://github.com/spreaker/prometheus-pgbouncer-exporter',
download_url = 'https://github.com/spreaker/prometheus-pgbouncer-exporter/archive/2.0.1.tar.gz',
keywords = ['prometheus', 'pgbouncer'],
classifiers = [],
python_requires = ' >= 3',
install_requires = ['psycopg2 == 2.7.3.2', 'prometheus_client==0.0.21', 'python-json-logger==0.1.5', 'PyYAML==3.12'],
entry_points = {
name = 'prometheus-pgbouncer-exporter',
packages = ['prometheus_pgbouncer_exporter'],
version = '2.0.3',
description = 'Prometheus exporter for PgBouncer',
long_description = long_description,
long_description_content_type = "text/markdown",
author = 'Spreaker Developers',
author_email = '[email protected]',
url = 'https://github.com/spreaker/prometheus-pgbouncer-exporter',
download_url = 'https://github.com/spreaker/prometheus-pgbouncer-exporter/archive/2.0.1.tar.gz',
keywords = ['prometheus', 'pgbouncer'],
classifiers = [],
python_requires = ' >= 3',
install_requires = ['psycopg2 == 2.7.3.2', 'prometheus_client==0.0.21', 'python-json-logger==0.1.5', 'PyYAML==3.12'],
entry_points = {
'console_scripts': [
'pgbouncer-exporter=prometheus_pgbouncer_exporter.cli:main',
]
Expand Down

0 comments on commit 5bd8093

Please sign in to comment.