Skip to content

add alertname in labels when annotations.alertname#1801

Merged
satterly merged 1 commit into
alerta:masterfrom
Mika64:master
Feb 27, 2023
Merged

add alertname in labels when annotations.alertname#1801
satterly merged 1 commit into
alerta:masterfrom
Mika64:master

Conversation

@Mika64

@Mika64 Mika64 commented Feb 7, 2023

Copy link
Copy Markdown
Contributor

Update labels dict when custom alertname exists in annotations

Update labels dict when custom alertname exists in annotations
@satterly satterly merged commit 29e07d7 into alerta:master Feb 27, 2023
headphonejames added a commit to G-Research/alerta that referenced this pull request Mar 1, 2023
* Bump copyright date in license

* precommit hook flake8 has moved to github

* Bump info and deps for Release 9

* build(deps): bump flask-compress from 1.12 to 1.13 (alerta#1770)

Bumps [flask-compress](https://github.com/colour-science/flask-compress) from 1.12 to 1.13.
- [Release notes](https://github.com/colour-science/flask-compress/releases)
- [Changelog](https://github.com/colour-science/flask-compress/blob/master/CHANGELOG.md)
- [Commits](colour-science/flask-compress@v1.12...v1.13)

---
updated-dependencies:
- dependency-name: flask-compress
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump python-ldap from 3.4.2 to 3.4.3 (alerta#1772)

Bumps [python-ldap](https://github.com/python-ldap/python-ldap) from 3.4.2 to 3.4.3.
- [Release notes](https://github.com/python-ldap/python-ldap/releases)
- [Commits](python-ldap/python-ldap@python-ldap-3.4.2...python-ldap-3.4.3)

---
updated-dependencies:
- dependency-name: python-ldap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump cryptography from 38.0.1 to 39.0.1 (alerta#1802)

Bumps [cryptography](https://github.com/pyca/cryptography) from 38.0.1 to 39.0.1.
- [Release notes](https://github.com/pyca/cryptography/releases)
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](pyca/cryptography@38.0.1...39.0.1)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump pylint from 2.15.2 to 2.16.2 (alerta#1805)

Bumps [pylint](https://github.com/PyCQA/pylint) from 2.15.2 to 2.16.2.
- [Release notes](https://github.com/PyCQA/pylint/releases)
- [Commits](pylint-dev/pylint@v2.15.2...v2.16.2)

---
updated-dependencies:
- dependency-name: pylint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump werkzeug from 2.2.2 to 2.2.3 (alerta#1807)

Bumps [werkzeug](https://github.com/pallets/werkzeug) from 2.2.2 to 2.2.3.
- [Release notes](https://github.com/pallets/werkzeug/releases)
- [Changelog](https://github.com/pallets/werkzeug/blob/main/CHANGES.rst)
- [Commits](pallets/werkzeug@2.2.2...2.2.3)

---
updated-dependencies:
- dependency-name: werkzeug
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump pyjwt from 2.4.0 to 2.6.0 (alerta#1779)

Bumps [pyjwt](https://github.com/jpadilla/pyjwt) from 2.4.0 to 2.6.0.
- [Release notes](https://github.com/jpadilla/pyjwt/releases)
- [Changelog](https://github.com/jpadilla/pyjwt/blob/master/CHANGELOG.rst)
- [Commits](jpadilla/pyjwt@2.4.0...2.6.0)

---
updated-dependencies:
- dependency-name: pyjwt
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump sentry-sdk[flask] from 1.9.8 to 1.16.0 (alerta#1810)

Bumps [sentry-sdk[flask]](https://github.com/getsentry/sentry-python) from 1.9.8 to 1.16.0.
- [Release notes](https://github.com/getsentry/sentry-python/releases)
- [Changelog](https://github.com/getsentry/sentry-python/blob/master/CHANGELOG.md)
- [Commits](getsentry/sentry-python@1.9.8...1.16.0)

---
updated-dependencies:
- dependency-name: sentry-sdk[flask]
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat(plugin): add alertname in labels when annotations.alertname (alerta#1801)

Update labels dict when custom alertname exists in annotations

* fix(plugin): fixes an issue if the last plugin in the order (alerta#1798)

returns "None" the previous plugin data
are not commited to database.

* Use group parameter of top10 API endpoints (alerta#1752)

* Use group parameter for topn count and topn flapping.

* Use group for get_topn_standing.

* fix(auth): auth bypass via registering when AUTH_PROVIDER != basic (alerta#1782)

* tests(perf): fix performance tests

* tests(perf): fix performance tests

* try

* try2

* try3

* try4

* try5

* pg

* lh

* healthcheck

* tests(perf): fix broken performance tests

* Bump psycopg2 to version 2.9.5

* CodeQL Action v1 is now deprecated

* fix(security): do not expose exception errors to end users (alerta#1811)

* lowercase repository for G-Research

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Nick Satterly <nfsatterly@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mika <michael.ricart@0w.tf>
Co-authored-by: Esben Laursen <hyber@hyber.dk>
Co-authored-by: Jason <jason@deadtreepages.com>
Co-authored-by: Emil Lengman <bubbalubb95@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants