Commit graph

978 commits

Author SHA1 Message Date
Ildar Iskhakov
3ad4f60d69
Merge pull request #344 from vsmanu/343-node-selection-in-helm
343: node selection for helm chart - engine only - Initial commit
2022-10-04 16:45:24 +08:00
Vadim Stepanov
b84b174e20
Allow multiple database and celery broker types (#582)
* add libs for celery + redis

* move redis & cache config to settings/base.py

* move rmq & celery config to settings/base.py

* BROKER -> BROKER_TYPE

* allow multiple database types

* flake8

* add sqlite db creation to dockerfile

* fix ci

* fix ci

* debug

* remove some defaults

* remove prints

* use local memory as cache on ci

* debug

* add DATABASE_DEFAULTS

* add ci test for sqlite + redis

* add ci test for sqlite + redis

* add ci test for sqlite + redis

* debug

* add redis healthcheck

* fix sqlite

* fix dev settings

* refactor dev settings

* tweak ci settings

* clear cache properly between tests

* move db and broker types to constants

* add librabbitmq deps

* use amqp instead of librabbitmq
2022-10-04 09:25:53 +01:00
Matias Bordese
1d239fac52
Merge pull request #605 from grafana/matiasb/update-schedule-tests-clear-org-cache
Clear users cache before schedule tests logic/asserts
2022-10-03 15:08:00 -03:00
Matias Bordese
2a3fc397db Clear users cache before schedule tests logic/asserts 2022-10-03 15:00:23 -03:00
Matias Bordese
802a114889
Merge pull request #603 from grafana/matiasb/fix-empty-schedule-related-users
Fix related_users for no-shifts schedule
2022-10-03 14:39:48 -03:00
Matias Bordese
f7c7803807 Fix related_users for no-shifts schedule 2022-10-03 14:27:22 -03:00
Michael Derynck
0ee8f3e42b Update changelog for v1.0.39 2022-10-03 11:18:49 -06:00
Rares Mardare
565c1dc201
Merge pull request #601 from grafana/rares/fix-schedule-id=new
fix for webhook
2022-10-03 17:33:54 +03:00
Rares Mardare
6338e58783 fix for webhook
linter
2022-10-03 17:25:13 +03:00
Maxim Mordasov
58b681f075
Merge pull request #600 from grafana/rares/fix-schedule-id=new
schedules fix
2022-10-03 16:49:30 +03:00
Rares Mardare
c7d02deaf8 remove unused
linter
2022-10-03 15:19:24 +03:00
Rares Mardare
dd55c5a9f9 schedules fix 2022-10-03 15:14:14 +03:00
Matias Bordese
f8314ef9c2
Fix timing issue with schedule tests reusing cached users (#592)
Co-authored-by: Vadim Stepanov <vadimkerr@gmail.com>
2022-10-03 11:37:59 +01:00
Vadim Stepanov
5e272f8565
Fix failing tests due to bug in month calculations (#599) 2022-10-03 11:22:02 +01:00
Michael Derynck
2bfb834e92 Update changelog for v1.0.38 2022-09-30 12:40:22 -06:00
Michael Derynck
2dda1e0a77
Merge pull request #587 from grafana/fix-resolution-note-missing-user
Catch exception for when oncall user is out of sync with slack user
2022-09-30 11:33:48 -06:00
Michael Derynck
a1c3ba330d Format 2022-09-30 10:26:47 -06:00
Matias Bordese
e89a2f86a5
Merge pull request #586 from grafana/matiasb/576-slack-next-shifts-day-after-end
Update slack lookup days when checking for next shift
2022-09-30 13:16:52 -03:00
Michael Derynck
6dde87afde Message format 2022-09-30 10:16:03 -06:00
Michael Derynck
7d9d239452 Catch exception for when oncall user is out of sync with slack user 2022-09-30 10:14:39 -06:00
Matias Bordese
3e99b26022 Update slack lookup days when checking for next shift 2022-09-30 12:25:51 -03:00
Maxim Mordasov
1351e7e1ec
implement light theme for new schedules (#585) 2022-09-30 15:28:17 +01:00
Vadim Stepanov
22cb36bbb2
Simplify README.md commands (#578)
* .env_hobby -> .env

* update instructions

* pull only engine

* spelling

* remove GRAFANA_USER and GRAFANA_PASSWORD

* .env -> .env.dev
2022-09-29 13:06:33 +01:00
Rares Mardare
81df9c4838
Merge pull request #520 from grafana/472-wrong-team
472 wrong team
2022-09-29 14:59:52 +03:00
Vadim Stepanov
526b04f71e
change alert group naming for demo alert link (#571) 2022-09-29 14:09:54 +03:00
Vadim Stepanov
72e3a8c1a7
Update docker-compose version to 3.8 (#577)
* update docker-compose to 3.8 + cleanup

* change single quote to double

* make cpus string

* use extension field for oncall environment
2022-09-29 14:09:29 +03:00
Vadim Stepanov
20b8dbc2fd
lint 2022-09-29 08:45:15 +01:00
Joey Orlando
9f3f691ea4
Feat 549 - add telegram permalink to alert groups http response (#551)
* rename AlertGroup.permalink to slack_permalink

* add telegram key to alert_groups permalinks object in public API response
2022-09-28 16:59:57 +02:00
Rares Mardare
3a83516a2b map to /incidents 2022-09-28 16:08:14 +03:00
Rares Mardare
e040494e24
Merge pull request #573 from grafana/rares/yarnlock-update
yarnlock update
2022-09-28 14:25:34 +03:00
Rares Mardare
1f5a3dc2f0 yarnlock update 2022-09-28 14:10:04 +03:00
Joey Orlando
0afb377117
Feat 380/311 - make plugin configuration error messages more human readable/actionable (#563)
* remove unused imports

* remove unused/redundant jsx comment

* don't show pluginStatusMessage as a styled link

* show more human readable plugin configuration errors
2022-09-27 17:31:25 +02:00
Tim Willems
516b2c446a
Changed Redis Connection String possibilities (#538)
* Update helm.py

Changed Redis Connection String possibilities
added Redis Username
added Redis Protocol

Co-authored-by: Joey Orlando <joseph.t.orlando@gmail.com>
2022-09-27 17:20:41 +02:00
Rares Mardare
645b78d033 conditional useStore 2022-09-26 14:17:17 +03:00
Rares Mardare
2bbddb5357 linter 2022-09-26 14:10:36 +03:00
Rares Mardare
cbb0f7c024 build fix 2022-09-26 14:06:30 +03:00
Rares Mardare
ea54d21b76 Merge branch 'dev' into 472-wrong-team 2022-09-26 13:34:46 +03:00
Vadim Stepanov
2dbd64105a
Update CHANGELOG.md 2022-09-23 12:10:19 +01:00
Vadim Stepanov
5859e883c5
Update CHANGELOG.md 2022-09-23 12:10:01 +01:00
Michael Derynck
accee4ebbe
Use create_engine_url to add prefix to previous/next links (#553)
* Use create_engine_url to add prefix to previous/next links

* Remove override of get_paginated_response since it is unchanged from parent

* More concise override

* Make both overrides behave the same

* add test for public API alert groups pagination

Co-authored-by: Vadim Stepanov <vadimkerr@gmail.com>
2022-09-23 10:45:28 +01:00
Matias Bordese
4412ae52d2
Merge pull request #552 from grafana/matiasb/fix-outgoing-webhook-resolve-hostname
Fix outgoing webhook to resolve IP from parsed hostname
2022-09-22 20:22:29 -03:00
Michael Derynck
d3d1b3c447
Merge pull request #529 from sabzco/dev
Increase num of `getPluginSyncStatus` retries to 10
2022-09-22 16:07:05 -06:00
Matias Bordese
2988c10c92 Fix outgoing webhook to resolve IP from parsed hostname 2022-09-22 14:35:37 -03:00
Matias Bordese
8c3d5656a2
Merge pull request #548 from grafana/matiasb/rework-bulk-actions
Rework queries for alert groups bulk actions
2022-09-22 10:41:30 -03:00
Joey Orlando
e16064c6ba
#539 - add slack permalink to alert group public API response (#543)
* add .python-version to .gitignore

* add .nvmrc to frontend

Also update DEVELOPER.md to mention optionally using nvm

* update DEVELOPER.md to reflect running successfully locally

* markdown autoformatter styling changes

* add slack permalink to alertgroup public api http response

* update changelog

* address PR comments

- rename permalink to permalinks in alert group public api seralizer
- add permalinks property to AlertGroup model
- update public api alert groups test
- update alertgroups public documentation to include permalinks property

* add default DEBUG = True in dev.py settings
2022-09-22 15:17:17 +02:00
Matias Bordese
859a04e42a Add transaction blocks 2022-09-22 09:15:13 -03:00
Rares Mardare
402d38b59b
Merge pull request #550 from grafana/store-onCallApiUrl
Fix for onCallApiUrl not being set
2022-09-22 13:54:01 +03:00
Rares Mardare
ca95af4940 fix for onCallApiUrl not being set 2022-09-22 13:46:22 +03:00
Michael Derynck
f7e01f6735
Merge pull request #547 from grafana/live-setting-phone-validation
Use phonenumbers for validation instead of regex
2022-09-21 16:49:34 -06:00
Matias Bordese
8e7c6cf554 Rework queries for alert groups bulk actions 2022-09-21 15:50:31 -03:00