EugeneTorap
fc89718d48
chore: Update pylint to 2.17.4 ( #24700 )
...
Co-authored-by: John Bodley <john.bodley@gmail.com >
2023-07-24 17:13:49 -07:00
Beto Dealmeida
a740c2c06e
feat: screenshot reports with custom width ( #24549 )
2023-06-29 22:52:32 -07:00
John Bodley
3e76736874
chore(dao): Organize DAOs according to SIP-92 ( #24331 )
...
Co-authored-by: JUST.in DO IT <justin.park@airbnb.com >
2023-06-18 18:32:32 -07:00
John Bodley
a4d5d7c6b9
chore(pre-commit): Add pyupgrade and pycln hooks ( #24197 )
2023-06-01 12:01:10 -07:00
John Bodley
488ec02e70
chore(report): Use for/else clause ( #24107 )
2023-05-19 06:41:17 -07:00
John Bodley
d583ca9ef5
chore: Embrace the walrus operator ( #24127 )
2023-05-19 00:37:13 -07:00
ʈᵃᵢ
350723bff8
fix: update log message for ALERT_REPORTS_NOTIFICATION_DRY_RUN ( #23604 )
2023-04-12 09:30:28 -06:00
Zef Lin
870bf6d0b9
fix: revert back to use security manager authz for dashboard when get by uuid ( #23330 )
2023-03-16 15:27:02 +00:00
Elizabeth Thompson
4ddf67fc14
chore: move dashboard screenshot standalone logic ( #23003 )
2023-02-15 14:35:08 -08:00
Ville Brofeldt
aa0cae9b49
feat(thumbnails): add support for user specific thumbs ( #22328 )
2022-12-14 15:02:31 +02:00
Elizabeth Thompson
ce145c676c
refactor: use exception status for logging ( #21971 )
2022-11-14 14:14:24 -08:00
Ville Brofeldt
a02a778cc3
feat(reports): execute as other than selenium user ( #21931 )
...
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com >
2022-10-31 14:32:49 +02:00
AAfghahi
33fc57854d
fix: error_parsing ( #21946 )
2022-10-28 19:43:37 -04:00
Ville Brofeldt
4c1777f20d
fix(alerts): restrict list view and gamma perms ( #21765 )
2022-10-15 10:03:26 +03:00
Phillip Kelley-Dotson
f4fa2e1115
chore: add more logging for alerts and reports ( #21714 )
2022-10-13 15:53:02 -04:00
Elizabeth Thompson
4417c6e3e2
chore: add 4xx error codes where applicable ( #21627 )
2022-10-03 15:19:47 -07:00
Phillip Kelley-Dotson
84c3cf66ea
fix: add logging to alerts and reports to find non-triggering issues ( #21684 )
2022-10-03 13:24:32 -07:00
AAfghahi
dda1dcf8ee
feat: add header_data into emails ( #20903 )
...
* test sparkpost
* added logging info
* header function implementation
* added test
* daniel revisions
* daniel revision
* elizabeth review
2022-08-18 10:32:25 -04:00
Jesse Yang
4d192e6e4d
feat(report): capture dashboard reports in specific states ( #20552 )
2022-07-26 17:01:56 -07:00
Cody Leff
84d4302628
fix(explore): Fix chart standalone URL for report/thumbnail generation ( #20673 )
...
* Update explore URLs.
* More URL fixes.
* Make frontend accept true/false query params case-insensitively.
* Fix URL mistake.
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com >
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com >
2022-07-19 13:53:55 -03:00
John Bodley
89a844a40f
fix(reports): Clear last value when state is WORKING ( #19941 )
...
* fix(reports): Clear last value when state is WORKING
* Update cbe71abde154_fix_report_schedule_and_log.py
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2022-05-12 21:54:23 -07:00
John Bodley
449d08b25e
fix: Refactor SQL username logic ( #19914 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2022-05-12 21:03:05 -07:00
Ville Brofeldt
a619cb4ea9
chore: upgrade black ( #19410 )
2022-03-29 20:03:09 +03:00
Hugh A. Miles II
8c52fe3476
feat: Allow users to bust cache in report dashboard + alerts charts + alert dashboards ( #18795 )
...
* wip
* add force cahce bypass option to alerts
* remove default for alerts to bypass cache
* save for now
* save for now
* fix
* commenting out for now
* fix linting
* remove link
* add back force id test
* add frontend test
* address
2022-03-04 12:30:40 -08:00
Ajay M
bdc35a2214
feat(alerts): Select tabs to send backend ( #17749 )
...
* Adding the extra config and validation
* wip
* reports working
* Tests working
* fix type
* Fix lint errors
* Fixing type issues
* add licence header
* fix the fixture deleting problem
* scope to session
* fix integration test
* fix review comments
* fix review comments patch 2
Co-authored-by: Grace Guo <grace.guo@airbnb.com >
2022-01-11 10:48:50 -08:00
Beto Dealmeida
9baeafec93
feat: configure force_screenshot ( #17855 )
...
* Update existing tests
* Add backend test
* feat: add force option to report screenshots
* Add tests
* Rebase fixes
* Do not force screenshot on dashboard alerts
* feat: bypass cache on screenshots for alerts
* Update existing tests
* Add tests
* feat: configure force_screenshot
2021-12-22 13:46:00 -08:00
Beto Dealmeida
2cd8054358
feat: add force option to report screenshots ( #17853 )
...
* Update existing tests
* Add backend test
* feat: add force option to report screenshots
* Add tests
* Rebase fixes
* Do not force screenshot on dashboard alerts
2021-12-22 12:16:04 -08:00
Beto Dealmeida
b7707e8ff7
feat: bypass cache on screenshots for alerts ( #17695 )
...
* feat: bypass cache on screenshots for alerts
* Update existing tests
* Add backend test
* Add frontend test
2021-12-22 08:26:38 -08:00
ofekisr
28944f57e1
refactor move chart_data_apis from ChartRestApi ChartDataRestApi in seperate module ( #17400 )
2021-11-11 15:34:23 +02:00
ofekisr
45480f7ae5
refactor move ChartDataResult enums to common ( #17399 )
2021-11-11 11:41:37 +02:00
Elizabeth Thompson
2a25e2d7ca
update execution logs and states for alerts ( #16736 )
2021-09-20 14:26:30 -07:00
John Bodley
7e4c940314
chore(pylint): Enable useless-suppression check ( #16388 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2021-08-24 03:58:41 +12:00
Beto Dealmeida
afb8bd5fe6
feat: improve embedded data table in text reports ( #16335 )
...
* feat: improve HTML table in text reports
* Remove unused import
* Update tests
* Fix test
2021-08-18 17:00:29 -07:00
John Bodley
be7065faf8
chore(pylint): Reenable raise-missing-from check ( #16266 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com >
2021-08-17 10:26:10 +12:00
Beto Dealmeida
9b2dffeb1d
fix: pivot columns with ints for name ( #16259 )
2021-08-13 18:21:20 -07:00
Hugh A. Miles II
4ae88ce3b4
chore: bump py version for integration test ( #16213 )
...
* bump py version for integration test
* bump py
* bump py
* remove files
* lock pylint
* add not-callable
2021-08-13 12:44:32 -04:00
Beto Dealmeida
2d61f15153
feat: send post-processed data in reports ( #15953 )
...
* feat: send post-processed data in reports
* Fix tests and lint
* Use enums
* Limit Slack message to 4k chars
2021-07-30 09:37:16 -07:00
Beto Dealmeida
6afa840659
feat: send report data to Slack ( #15806 )
...
* feat: send data embedded in report email
* Change post-processing to use new endpoint
* Show TEXT option only to text-based vizs
* Fix test
* feat: send data embedded in report email
* feat: send report data to Slack
* Add unit test
* trigger tests
2021-07-29 10:13:28 -07:00
Beto Dealmeida
3adf8e85cd
feat: send data embedded in report email ( #15805 )
...
* feat: send data embedded in report email
* Prettify table
* Change post-processing to use new endpoint
* Show text option only for text viz
* Show TEXT option only to text-based vizs
* Fix test
* Add email test
* Add unit test
2021-07-28 09:43:04 -07:00
Beto Dealmeida
2ce676d20d
feat: call screenshot to store query_context ( #15846 )
...
* feat: call screenshot to store query_context
* Add unit test
* Move updateQueryContext to ExploreChartPanel
* Add error handling
* Fix code
* Fix logic
2021-07-27 14:02:27 -07:00
Beto Dealmeida
f6fe29db87
feat: use new API endpoint to build CSV reports ( #15830 )
...
* feat: add `GET /api/v1/chart/{chart_id}/data/?format{format}` API
* feat: use new API endpoint to build CSV reports
2021-07-21 17:50:56 -07:00
Daniel Vaz Gaspar
38a7c537ff
feat: add alerts & reports to docker compose ( #14267 )
...
* feat: add alerts & reports to docker compose
* change to firefox
* add missing package
2021-04-22 17:42:52 +01:00
Lily Kuang
df7e2b6a8e
feat(alert/report): chart as csv format attachment for email and slack ( #13828 )
...
* add ui for setting report format
* refactor default notification format
* init csv data alert report
* add report format to report_schedule model
* add ALERTS_ATTACH_REPORTS feature flag
* fix lint
* update check image tag
* fix migrations
Co-authored-by: samtfm <sam@preset.io >
2021-04-15 14:07:49 -07:00
Lily Kuang
7980b767c0
feat: Implement Celery SoftTimeLimit handling ( #13740 )
...
* log soft time limit error
* lint
* update test
2021-04-12 13:18:17 -07:00
Sam Faber-Manning
911462a148
feat: only send alert error emails to owners of the alert ( #13862 )
...
* only send alert error emails to owners of the alert
* reformat long lines
* fix send to owners and add tests
* fix pylint errors
* fix formatting
2021-04-12 08:51:32 -07:00
Sam Faber-Manning
778bb8e540
feat: add descriptions to report emails ( #13827 )
...
* add description to report email
* add report description to slack notification
* fix issues caught by linter
* fix long line
* remove extra line
* handle missing descriptions
* run python black
* properly run python black
2021-04-12 08:50:44 -07:00
Daniel Vaz Gaspar
89817d4cee
fix(alerts/reports): working timeout with celery kill and logic fix ( #13911 )
...
* fix: working timeout with celery kill and logic fix
* add config flags
* fix typo
* fix python lint
* log query time for alerts
* add tests
* fix lint
2021-04-08 11:23:31 +01:00
Lily Kuang
762101018b
feat(alert/report): add ALERTS_ATTACH_REPORTS feature flags + feature ( #13894 )
...
* Add a feature flag ALERTS_ATTACH_REPORTS
* update test
* update feature flag
* add comment for feature flag
* add unit tests for alerts with attachments disabled
* fix lint
Co-authored-by: samtfm <sam@preset.io >
2021-04-01 13:06:45 -07:00
Jack Fragassi
304e3b36eb
feat(alerts & reports): Easier to read execution logs ( #13752 )
...
* Prep for migration
* Migration for execution id column
* Generate execution ids for alerts and reports
* Change execution id range
* Add execution id to API endpoint
* Add execution id to execution log view
* Change execution id range
* Change execution id to a uuid
* Fix execution id type
* Switch state and exec. id columns
* Change db column to UUIDType
* Python lint
* Fix failing frontend tests
* execution_id -> uuid
* Fix migration head
* lint
* Use celery task id as the execution id
* lint
* lint for real
* Fix tests
2021-03-30 08:46:16 -07:00
Daniel Vaz Gaspar
139c7878a5
fix(alerts&reports): add celery soft timeout support ( #13436 )
...
* fix(alerts&reports): add celery soft timeout support
* make a specific exception for screenshots timeout
* fix docs, add new test
2021-03-08 14:21:18 +00:00