eb077db | Dimitris Sotirakis | 10 October 2022, 19:46:12 UTC | Add clone-enterprise and init-enterprise steps (#56662) | 10 October 2022, 19:46:12 UTC |
3f89de1 | Grafana I18n Bot | 10 October 2022, 16:15:21 UTC | I18n: Crowdin sync (#56660) * New translations grafana.json (Chinese Simplified) * delete zh-CN Co-authored-by: joshhunt <josh@trtr.co> | 10 October 2022, 16:15:21 UTC |
3e856da | Ivana Huckova | 10 October 2022, 15:59:13 UTC | LabelFilters: Remove redundant css styling (#56653) * LabelFilters: Remove redundant css * Remove unused import | 10 October 2022, 15:59:13 UTC |
0696cd3 | kay delaney | 10 October 2022, 15:56:28 UTC | i18n: Fix unnecessary ampersand escaping (#56654) | 10 October 2022, 15:56:28 UTC |
75c5845 | Dimitris Sotirakis | 10 October 2022, 15:46:56 UTC | CI: Split release test pipelines (#56655) * Split test release pipelines * Add missing dependencies * Add release branch case when naming pipeline | 10 October 2022, 15:46:56 UTC |
129a5a2 | Polina Boneva | 10 October 2022, 15:03:16 UTC | PanelChrome: New Panel Header design Feature Flag (#56450) * add feature toggle newPanelHeader * add feature toggle newPanelHeader * more explicit naming and description of PanelChrome feature flag | 10 October 2022, 15:03:16 UTC |
efed720 | kay delaney | 10 October 2022, 14:56:02 UTC | TagsInput: Prevent adding duplicate tags + refactor, restyle (#56485) | 10 October 2022, 14:56:02 UTC |
fb31daa | Sven Grossmann | 10 October 2022, 14:31:14 UTC | LogContext: Fix wrong width if lines are wrapped (#56650) | 10 October 2022, 14:31:14 UTC |
65e56c9 | Andres Martinez Gotor | 10 October 2022, 14:08:33 UTC | Google Cloud Monitoring: Fix bucket bound for distributions (#56565) | 10 October 2022, 14:08:33 UTC |
d332747 | Alex Khomenko | 10 October 2022, 14:05:30 UTC | TimeRangeInput: Fix clear button type (#56545) | 10 October 2022, 14:05:30 UTC |
08f9605 | Grafana I18n Bot | 10 October 2022, 13:58:36 UTC | I18n: Crowdin sync (#56645) * New translations grafana.json (German) * New translations grafana.json (Chinese Simplified) | 10 October 2022, 13:58:36 UTC |
bc9a37e | Laura Benz | 10 October 2022, 13:36:14 UTC | Glue: Add configuration support to PATCH (#56117) * feat: add config to tests v0 * feat: add config to UpdateCorrelationCommand * refactor: repair some tests * refactor: repair another test * refactor: repair last test * refactor: remove possible test * refactor: add comments * refactor: add changes from code review * refactor: implement more detailed patch * feat: add tests for partial config update * refactor: make error handling more detailed Co-authored-by: Giordano Ricci <me@giordanoricci.com> Co-authored-by: Giordano Ricci <me@giordanoricci.com> | 10 October 2022, 13:36:14 UTC |
680dfde | Josh Hunt | 10 October 2022, 13:02:25 UTC | I18n: Update crowdin config for i18next json files (#56640) | 10 October 2022, 13:02:25 UTC |
802d67e | George Robinson | 10 October 2022, 12:40:21 UTC | Alerting: Support values in notification templates (#56457) We have received a lot of feedback regarding the ValueString in alert notifications. Perhaps one of the most frequent complaints about ValueString is that it is difficult to read because it contains a lot of information, and the information is shown as a JSON-like string. Users have often asked how it can be templated and the answer is that it can't. Until now users have been able to add custom annotations to their alert rules which contains values via the $values variable added in previous versions of Grafana. However, these custom annotations must be added for each of the user's alert rule, instead of once in a template that all of their alerts can be notified via. This commit adds then the much requested feature to support values in notification templates. Users can then create a single template that prints the annotations, labels and values of their alerts in a format of their choice! | 10 October 2022, 12:40:21 UTC |
6267460 | Sven Grossmann | 10 October 2022, 12:31:19 UTC | Loki: Escape label-values in context queries (#56614) | 10 October 2022, 12:31:19 UTC |
137d332 | brendamuir | 10 October 2022, 12:30:23 UTC | Docs: deletes provisioning from grafana and adds link (#56637) * Docs: deletes provisioning from grafana and adds link * updates link | 10 October 2022, 12:30:23 UTC |
be68bb6 | Sven Grossmann | 10 October 2022, 12:17:22 UTC | LogContext: Fix wrong position of logcontext (#56613) * fix styling issues * remove unused class | 10 October 2022, 12:17:22 UTC |
da9d8fe | Giordano Ricci | 10 October 2022, 11:32:21 UTC | Correlations: Add query editor and target field to settings page (#55567) * Fix: use type=button in editor * Grafana-UI: TextArea: make ctextare a block element * WIP: add field & target query to correlations * add table query helpers & test ordering * refactor some tests for disappearance * chore: move QueryEditorField & add tests * cleanup & fix typo * revert textarea changes * update form to support new config * move defaults | 10 October 2022, 11:32:21 UTC |
db68fa3 | brendamuir | 10 October 2022, 10:56:21 UTC | Docs: removes duplicate sentence in silences (#56629) | 10 October 2022, 10:56:21 UTC |
2aff817 | brendamuir | 10 October 2022, 10:51:19 UTC | Docs: adds note on aurora incompatibility (#56621) * Docs: adds note on aurora incompatibility * updates with feedback * adds issue link | 10 October 2022, 10:51:19 UTC |
03e8877 | Torkel Ödegaard | 10 October 2022, 10:47:33 UTC | ErrorPage: Fix position of chunk loading error (#56473) | 10 October 2022, 10:47:33 UTC |
462f6b7 | Torkel Ödegaard | 10 October 2022, 10:47:04 UTC | Page: Pages that have hideFromBreadcrumbs set to true should not be added to page Title (#56596) * Page: Pages that have hideFromBreadcrumbs set to true should not be added to page Title * Updated test | 10 October 2022, 10:47:04 UTC |
d405f3a | Josh Hunt | 10 October 2022, 10:43:29 UTC | GrafanaUI: InputGroup: Fix invalid children borders (#56169) * GrafanaUI: InputGroup: Fix invalid children borders * tidy story * zindex priority stack * clarify comment * fix inputgroup children type | 10 October 2022, 10:43:29 UTC |
a84edb2 | brendamuir | 10 October 2022, 10:41:14 UTC | Docs: changes alert groupings to groups (#56617) * Docs: changes alert groupings to groups * One more alert grouping | 10 October 2022, 10:41:14 UTC |
f90e729 | Timost | 10 October 2022, 09:51:29 UTC | docs/provisioning: fix typo in notification policies (#54917) | 10 October 2022, 09:51:29 UTC |
c61d6c3 | Alec Sears | 10 October 2022, 09:04:51 UTC | Configuration: Update ssl_mode docs in sample.ini to match default.ini (#55138) | 10 October 2022, 09:04:51 UTC |
d79f60d | kay delaney | 10 October 2022, 08:40:54 UTC | QueryEditorRow: Fix broken drag-and-drop reordering (#56515) | 10 October 2022, 08:40:54 UTC |
1bcce79 | Sven Grossmann | 10 October 2022, 07:33:18 UTC | LogContext: Add header and close button to modal (#56283) * added context header * Rename to Log Context Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com> Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com> | 10 October 2022, 07:33:18 UTC |
4cdbfb7 | Sofia Papagiannaki | 10 October 2022, 07:27:04 UTC | Chore: Timeout integration package tests faster (#56287) | 10 October 2022, 07:27:04 UTC |
169610f | Serge Zaitsev | 10 October 2022, 07:26:47 UTC | Chore: Reduce test timeouts to 5 minutes (#56599) | 10 October 2022, 07:26:47 UTC |
7312a2d | Joe Blubaugh | 10 October 2022, 05:54:54 UTC | Alerting: Mark all tests that interact with the database as Integration tests. (#54875) Previously, two tests were not explicitly marked as integration tests and so were not run against all 3 supported databases in the CI environment. | 10 October 2022, 05:54:54 UTC |
b24be6c | Ryan McKinley | 08 October 2022, 16:05:46 UTC | ObjectStore: add a kind registry (#56507) | 08 October 2022, 16:05:46 UTC |
ac91df0 | Nathan Marrs | 08 October 2022, 01:34:18 UTC | Canvas: Add demo dashboards (#56351) Co-authored-by: drew08t <drew08@gmail.com> Co-authored-by: Adela Almasan <adela.almasan@grafana.com> Co-authored-by: Ryan McKinley <ryantxu@gmail.com> | 08 October 2022, 01:34:18 UTC |
3487e68 | Yuriy Tseretyan | 07 October 2022, 21:20:01 UTC | Alerting: Fix migration to create rules with group index 1 (#56511) | 07 October 2022, 21:20:01 UTC |
e2f1201 | Yuriy Tseretyan | 07 October 2022, 19:06:53 UTC | Alerting: Fix migration to not add label "alertname" (#56509) * do not add label alertname because it is overridden in state manager anyway * update state manager to not consider labels with same value as dupe | 07 October 2022, 19:06:53 UTC |
4b2a940 | Artur Wierzbicki | 07 October 2022, 18:32:37 UTC | Search: wrap `data.Frame` in a `backend.DataResponse` and return it directly when the index is not ready (#56522) | 07 October 2022, 18:32:37 UTC |
bf264d2 | Artur Wierzbicki | 07 October 2022, 18:31:45 UTC | Query library: `requiresDevMode` dummy backend (#56466) * query library - dummy backend * fix tests * dont explicitly marshall backend dataresponse * skip integration tests * null check for tests * added query library to codeowners * null check for tests * lint | 07 October 2022, 18:31:45 UTC |
23e04c0 | Ivana Huckova | 07 October 2022, 16:21:48 UTC | Elasticsearch: Add integration tests for http header handling (#56542) * Elasticsearch: Add integration test * Fix lint | 07 October 2022, 16:21:48 UTC |
53f0928 | Eric Leijonmarck | 07 October 2022, 16:04:37 UTC | Docs: Add variable expansion recommendation (#56368) * docs: add variable expansion recommendation * docs: updated the ldap docs in configure grafana | 07 October 2022, 16:04:37 UTC |
9c50131 | Leo | 07 October 2022, 15:52:13 UTC | Navigation: Added organisation switcher next to grafana logo (#56361) * added org dropdown to topnav * render icon and dropdown for mobile screen * remove switch org from profile node * adjust styles to be mobile first * add test for select * hide profile node only when topnav is on * replace margin with gap instead * improve tests * add aria labels * fix broken test | 07 October 2022, 15:52:13 UTC |
3990d2b | Sonia Aguilar | 07 October 2022, 15:07:02 UTC | Alerting/handle 0s last notify duration notification error feedback (#56541) * Show '-' in notifiers table when lastNotifyAttemptDuration is 0s * Add tests for no attempt (lastNotifyAttempt null date) and no last duration (lastNotifyAttemptDuration 0s) | 07 October 2022, 15:07:02 UTC |
754fc37 | Torkel Ödegaard | 07 October 2022, 14:33:36 UTC | PluginPage: Fix finding root section for standalone pages (#56554) | 07 October 2022, 14:33:36 UTC |
ff41b95 | Ashley Harrison | 07 October 2022, 14:22:21 UTC | Chore: more typing improvements to @grafana/ui (#56544) * improve grafana-ui types * more type improvements * better useState type | 07 October 2022, 14:22:21 UTC |
a4c5801 | Ivana Huckova | 07 October 2022, 14:21:59 UTC | Loki: Fix redundant escaping in adhoc filter with regex match (#56447) * Loki: Fix redundant escaping in adhoc filter with regex match * Update data.js * Simplify test * Simplify test * Update * Add more tests | 07 October 2022, 14:21:59 UTC |
d945091 | Konrad Lalik | 07 October 2022, 13:01:47 UTC | Alerting: Fix evaluation interval validation (#56115) Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com> | 07 October 2022, 13:01:47 UTC |
76868ba | Andres Martinez Gotor | 07 October 2022, 12:57:01 UTC | AzureMonitor: Allow multiple resources in the API for Metrics (#56118) | 07 October 2022, 12:57:01 UTC |
7595ed0 | Gabriel MABILLE | 07 October 2022, 12:30:15 UTC | FIX: Remove RBAC datasource permissions upon datasource deletion (#56530) * FIX: Remove RBAC datasource permissions upon datasource deletion * Use scope provider instead * Fix test | 07 October 2022, 12:30:15 UTC |
0eb3afb | GitStart | 07 October 2022, 12:06:50 UTC | Form validation problem in table panel option (column width & minimum column width) (#56452) Co-authored-by: gitstart <gitstart@users.noreply.github.com> Co-authored-by: gitstart <gitstart@gitstart.com> Co-authored-by: Rubens Rafael <70234898+RubensRafael@users.noreply.github.com> Co-authored-by: Rafael Toledo <87545086+Toledodev@users.noreply.github.com> Co-authored-by: Matheus Muniz <87545749+matheusmuniz03@users.noreply.github.com> Co-authored-by: Thiago Nascimbeni <tnascimbeni@gmail.com> Co-authored-by: Matheus Muniz <matheusmuniz100@hotmail.com> Co-authored-by: Nitesh Singh <nitesh.singh@gitstart.dev> Co-authored-by: Matheus Benini Ferreira <88898100+MatheusBeniniF@users.noreply.github.com> Co-authored-by: Murilo Amaral <87545137+MuriloAmarals@users.noreply.github.com> | 07 October 2022, 12:06:50 UTC |
2275691 | Emil Tullstedt | 07 October 2022, 10:47:43 UTC | Errutil: Update documentation for Go 1.19 (#55807) | 07 October 2022, 10:47:43 UTC |
c2d3a31 | Emil Tullstedt | 07 October 2022, 10:47:24 UTC | Chore: Upgrade Go to 1.19.2 (#56355) | 07 October 2022, 10:47:24 UTC |
891f9c0 | Josh Hunt | 07 October 2022, 10:46:28 UTC | I18n: Add lint rule to enforce correct i18n imports (#56487) * I18n: Add lint rule to enforce correct i18n imports * ignore in gui wrapper | 07 October 2022, 10:46:28 UTC |
74c809f | Joey Tawadrous | 07 October 2022, 10:39:14 UTC | Plugins: Introduce new Flame graph panel (#56376) * Flamegraph * Updated flame graph width/height values * Fix top table rendering issue * Add feature toggle for flamegraph in explore * Update tests * Hide flamegraph from dash panel viz list if feature toggle not enabled * Show table if no flameGraphFrames * Add flame graph to testdata ds * Minor improvement | 07 October 2022, 10:39:14 UTC |
a18a3d7 | Sonia Aguilar | 07 October 2022, 09:41:18 UTC | Show No attempts instead of OK when there is no attempt for notifier (#56494) | 07 October 2022, 09:41:18 UTC |
939caa6 | brendamuir | 07 October 2022, 09:26:51 UTC | Docs: adds alertmanager overview (#56527) * Docs: adds alertmanager overview * updating with georges feedback * adds deprecation note to API docs * update to provisioning instuctions | 07 October 2022, 09:26:51 UTC |
762688d | George Robinson | 07 October 2022, 09:18:49 UTC | Alerting: Fix pq: missing FROM-clause for table "a" (#56453) This commit fixes a bug where changing the Folder or Rule Group of an existing rule returns the following error in PostgreSQL "pq: missing FROM-clause for table a" | 07 October 2022, 09:18:49 UTC |
13067b3 | Joe Blubaugh | 07 October 2022, 09:10:20 UTC | Alerting: Update replacement of prometheus-alertmanager (#56519) grafana.com/grafana/prometheus-alertmanager has been updated to a version that fixes some bugs upstream. This change just updates that dependency and a few shared ones. | 07 October 2022, 09:10:20 UTC |
6c39a19 | Torkel Ödegaard | 07 October 2022, 08:56:12 UTC | Page: More easily support full height pages (#56524) * Page: More easily support full height pages * tweaks to JSONSettingsPage | 07 October 2022, 08:56:12 UTC |
df2abf0 | Dimitris Sotirakis | 07 October 2022, 08:27:18 UTC | Use io.ReadAll instead of json.Decode (#56528) | 07 October 2022, 08:27:18 UTC |
eef3f28 | Ivana Huckova | 07 October 2022, 08:16:41 UTC | Loki: Add integration tests for http header handling (#56478) * Loki: Add integration tests for http header handling * Fix linting | 07 October 2022, 08:16:41 UTC |
bb479e0 | Emil Tullstedt | 07 October 2022, 06:18:56 UTC | RBAC: Redirect to /login when forceLogin is set (#56469) | 07 October 2022, 06:18:56 UTC |
b622a87 | Victor Marin | 07 October 2022, 05:56:15 UTC | StateTimeline: Fix tooltip showing erroneously in shared crosshair dashboards (#55809) * StateTimeline: Fix shared crosshair * Fix for StatusHistory also | 07 October 2022, 05:56:15 UTC |
21d9cf0 | Leon Sorokin | 06 October 2022, 23:18:47 UTC | Thresholds: fix line rendering with multiple y axes (#56516) | 06 October 2022, 23:18:47 UTC |
b5cb917 | Beto Muniz | 06 October 2022, 20:59:14 UTC | Fix queries with repeated references (#56497) | 06 October 2022, 20:59:14 UTC |
356318e | lean.dev | 06 October 2022, 20:47:38 UTC | Docs: Updating Public Dashboard documentation (#56504) Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com> | 06 October 2022, 20:47:38 UTC |
331110b | Jeff Levin | 06 October 2022, 20:35:19 UTC | refactor public dashboards middleware testing (#55706) This PR refactors how we add the orgId to the context on a public dashboard paths. We also split out accessToken handling into its own package and rework status code for "RequiresValidAccessToken". We will be modeling all endpoints to use these status codes going forward. Additionally, it includes a scaffold for better middleware testing and refactors existing tests to table drive tests. | 06 October 2022, 20:35:19 UTC |
609abf0 | Ryan McKinley | 06 October 2022, 19:48:53 UTC | ObjectStore: Write json as json when possible (#56433) | 06 October 2022, 19:48:53 UTC |
7b64374 | Yuriy Tseretyan | 06 October 2022, 19:30:12 UTC | Alerting: Refactor state manager's cache (#56197) * remove ResetAllStates because it's not used * refactor cache to accept logs, metrics and url as method args * update manager Warm method to set the entire state at once * remove unused reset method * introduce ruleStates * change getOrCreate to belong to ruleStates * update Get to not return error | 06 October 2022, 19:30:12 UTC |
15d2653 | Drew Slobodnjak | 06 October 2022, 18:32:39 UTC | Geomap: Docs for 9.2 (#56493) | 06 October 2022, 18:32:39 UTC |
1de0f44 | Misi | 06 October 2022, 18:00:54 UTC | Chore: Make NewCookieOptions exported in cookies.go (#56476) | 06 October 2022, 18:00:54 UTC |
5361efc | Josh Hunt | 06 October 2022, 15:34:04 UTC | I18n: Migrate to I18next (#55845) * Switch from lingui from i18next * Change lingui messages to i18next messages * Change lingui messages to i18next messages (grafana-ui) * Init i18n for tests | 06 October 2022, 15:34:04 UTC |
c1d6df4 | Nicolas Janicaud Gondoin | 06 October 2022, 15:30:03 UTC | Fix issue 55626 (#55636) Reset the mapping table for Dynamic Geojson | 06 October 2022, 15:30:03 UTC |
48f0f4b | Virginia Cepeda | 06 October 2022, 15:02:19 UTC | Alerting: subscribe to Dashboard refresh interval for alert panels (#56347) * Subscribe to Dashboard refresh interval for alert panels * Add test * Remove unused import * Use useEffectOnce when obtaining dashboard | 06 October 2022, 15:02:19 UTC |
729ce8b | Matias Chomicki | 06 October 2022, 14:35:30 UTC | Loki: query editor using Monaco (#55391) * loki: switch to a monaco-based query field, step 1 (#46291) * loki: use monaco-logql (#46318) * loki: use monaco-logql * updated monaco-logql * fix all the tests (#46327) * loki: recommend parser (#46362) * loki: recommend parser * additional improvements * more improvements * type and lint fixes * more improvements * trigger autocomplete on focus * rename * loki: more smart features (#46414) * loki: more smart features * loki: updated syntax-highlight version * better explanation (#46443) * better explanation * improved help-text Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com> Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com> * Fix label * feat(loki-monaco-editor): add monaco-logql as a dependency * feat(loki-monaco-editor): add back range function removed during merge * feat(loki-monaco-editor): sync imports with recent changes * feat(loki-monaco-editor): add missing lang provider functions * feat(loki-monaco-editor): fix imports * feat(loki-monaco-editor): display monaco editor by default Temporarily * Chore: remove commented code * Chore: minor refactor to NeverCaseError * Chore: minor code cleanups * feat(loki-monaco-editor): add history implementation Will see how it behaves and base the history slicing on tangible feedback * feat(loki-monaco-editor): turn completion data provider into a class * Chore: fix missing imports * feat(loki-monaco-editor): refactor data provider methods Move complexity scattered everywhere to the provider * Chore: clean up redundant code * Chore: minor comments cleanup * Chore: simplify override services * Chore: rename callback * feat(loki-monaco-editor): use query hints implementation to parse expression * feat(loki-monaco-editor): improve function name * Chore: remove superfluous variable in favor of destructuring * Chore: remove unused imports * Chore: make method async * feat(loki-monaco-editor): fix deprecations and errors in situation * feat(loki-monaco-editor): comment failing test case * Chore: remove comment from test * Chore: remove duplicated completion item * Chore: fix linting issues * Chore: update language provider test * Chore: update datasource test * feat(loki-monaco-editor): create feature flag * feat(loki-monaco-editor): place the editor under a feature flag * Chore: add completion unit test * Chore: add completion data provider test * Chore: remove unwanted export * Chore: remove unused export * Chore(loki-query-field): destructure all props * chore(loki-completions): remove odd string * fix(loki-completions): remove rate_interval Not supported * fix(loki-completions): remove line filters for after pipe case We shouldn't offer line filters if we are after first pipe. * refactor(loki-datasource): update default parameter * fix(loki-syntax): remove outdated documentation * Update capitalization in pkg/services/featuremgmt/registry.go Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com> * refactor(situation): use node types instead of names * Chore: comment line filters pending implementation It's breaking the build due to a linting error. * Chore: update feature flag test after capitalization change * Revert "fix(loki-completions): remove line filters for after pipe case" This reverts commit 3d003ca4bcb792b440add04b883fafe637e4c4c9. * Revert "Chore: comment line filters pending implementation" This reverts commit 84bfe76a6a29e79a15a3e080929d1f387691700b. Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com> Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com> Co-authored-by: Ivana Huckova <ivana.huckova@gmail.com> | 06 October 2022, 14:35:30 UTC |
8fd4fcb | Galen Kistler | 06 October 2022, 14:26:08 UTC | Prometheus: Annotation query filtering values less then 1 (#53969) * prevent annotation query from filtering values less then 1 * unit tests were asserting that gaps in data (0 value) are removed from annotation, update filter to exclude 0 | 06 October 2022, 14:26:08 UTC |
01526d9 | Sonia Aguilar | 06 October 2022, 14:20:07 UTC | Add error details in notification error feedback tooltip (#56472) | 06 October 2022, 14:20:07 UTC |
66e8f39 | Dimitris Sotirakis | 06 October 2022, 14:11:11 UTC | Packaging: Change from `0750` to `0755` folder permissions when packaging (#56436) * Change from 0750 to 0755 * Change to 0o755 * Skip lint when creating dir | 06 October 2022, 14:11:11 UTC |
d8d8ef1 | Sonia Aguilar | 06 October 2022, 13:23:38 UTC | Alerting: Add Notification error feedback on contact points view (#56225) * Alerting: Receivers integrations error feedback: WIP - Add notifications error at the top right on contact points view (#52390) * Add interfaces for contact point errors * [WIP] Create fake response for the new service to get contact point errors * [WIP] Create action an reducer for the new service to get contact point errors * Fetch fetchContactPointStates in Contact Points tab every 20s and when AM changes * [WIP] Use store to get error count * Show number of integrations errors at the contact points main view * Add warning icon and refactor styles using getStyles * Change lastNotify type to string instead of DateTime * Use Stack component from experimental library when it is possible * Alerting: Add receivers error feedback in contact point list (#52524) * Refactor types for contact points state * Add health column in ReceiversTable in case error state is available for this AM * Create method for converting contact points state DTO to the FE type used in Redux store * Update types * Fix indexOf criteria getting integration type * Change type name to integrationType name * Change new components to be named functions to follow the FE style-guide * Fix typos Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com> * Decouple ReceiversTable from Redux state * Create private useContactPointsState hook to simplify code in ReceiversTable component * Add tests for getIntegrationType and refactor the method to validate the name * Add tests for contactPointsStateDtoToModel method * Remove unnecessary check * Use Badge compoment for health status in contact point list * Create new method parseIntegrationName to simplify getting types and index from integration name Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com> * Alerting: Show integrations error feedback when expanding contact point in list (#52920) * Use DynamicTable for rendering list of contact points and make them expandable if error status is available * Render expanded content for contact points integrations * Style and format last notify column * Add send resolve column to the integration details * Fix receiver id for DynamicTable row * Update clock icon in integration state * Fix tests * Add PR review sugestions * Alerting/integrations error feedback handle null dates in response 3 (#55659) * Update fake response with lastNotify ISO8601 formatted, to be aligned with latest BE changes * Update LastNotify in ReceiversTable component to handle null date * Alerting/integrations error feedback handle 404 state not available (#55803) * Create fetchContactPointsState using the future contact point url and handle 404 error * Add contact points state tests * Alerting/update receivers dto naming 2 (#56201) * Update NotifierStatus naming and fix sendResolved not being updated in UI * Return always empty ContactPointsState array when catching an error in the request response * Fix test * Show notification status only in notifications main view * Calculate total error count from the final contactPointsState object, to avoid errors when duplicated entries are returned wronly in the response * Add PR review suggestions Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com> | 06 October 2022, 13:23:38 UTC |
9300ae7 | Torkel Ödegaard | 06 October 2022, 12:30:51 UTC | NavTree: Don't add license and stats page unless your a Grafana Admin (#56410) | 06 October 2022, 12:30:51 UTC |
3a76c7a | Gábor Farkas | 06 October 2022, 11:35:21 UTC | grafana-ui: removed obsolete test that cause jest warnings (#56444) | 06 October 2022, 11:35:21 UTC |
c5171b8 | Ashley Harrison | 06 October 2022, 11:14:41 UTC | actually convert Cloudwatch ConfigEditor test to RTL (#56461) | 06 October 2022, 11:14:41 UTC |
a8b883b | Torkel Ödegaard | 06 October 2022, 11:00:32 UTC | TopNav: Adding sign in to topnav and hiding it mega menu (#56403) * TopNav: Adding sign in to topnav and hiding it mega menu * Added target _self * remove scss change * Fix sign in link * Fix other link | 06 October 2022, 11:00:32 UTC |
0958d9b | Torkel Ödegaard | 06 October 2022, 10:59:43 UTC | Theme: Change body line-height to fix alignment issue (#56442) * Theme: Change body line-height to fix alignment issue * Updates | 06 October 2022, 10:59:43 UTC |
55187eb | Levente Balogh | 06 October 2022, 10:57:03 UTC | Navtree: Make it possible to configure standalone plugin pages (#56393) * feat: make it possible to register standalone app plugin pages under different sections * refactor(sample.ini): use "admin" instead of "starred" section in the INI Co-authored-by: Torkel Ödegaard <torkel@grafana.com> * feat(defaults.ini): add app navigation settings to the defaults.ini as well * fix: use the correct key in the tests Co-authored-by: Torkel Ödegaard <torkel@grafana.com> | 06 October 2022, 10:57:03 UTC |
b1df15c | Joe Blubaugh | 06 October 2022, 09:38:54 UTC | Alerting: Add basic test wrappers to notification channel API test. (#56432) Adds t.Run calls that supply the name of a receiver and its integrations when the API response is being verified. This test has a rare flake and it's difficult to track down without more context for the test failure. | 06 October 2022, 09:38:54 UTC |
b0ba94f | Leo | 06 October 2022, 09:18:43 UTC | Navigation: Use page nav in silence and policy notification pages (#55753) * use pagenav in mutetiming form * use pagenav in alert policy page * use pageNav for Silence page * added missing breadcrumbs | 06 October 2022, 09:18:43 UTC |
3aacda5 | Dimitris Sotirakis | 06 October 2022, 07:33:40 UTC | Move files under pkg/build/packaging (#56435) | 06 October 2022, 07:33:40 UTC |
ec7d9e1 | Dimitris Sotirakis | 06 October 2022, 07:14:38 UTC | Change from grabpl to build for grafana-com (#56434) | 06 October 2022, 07:14:38 UTC |
fe1395a | Torkel Ödegaard | 06 October 2022, 06:23:29 UTC | Revert "TopNav: Section styling fix (#56372)" (#56399) This reverts commit b396f16fe1fa85e8c3b73fc344f11eb28adf7df3. | 06 October 2022, 06:23:29 UTC |
b476ae6 | Joe Blubaugh | 06 October 2022, 06:22:58 UTC | Alerting: Write and Delete multiple alert instances. (#55350) Prior to this change, all alert instance writes and deletes happened individually, in their own database transaction. This change batches up writes or deletes for a given rule's evaluation loop into a single transaction before applying it. These new transactions are off by default, guarded by the feature toggle "alertingBigTransactions" Before: ``` goos: darwin goarch: arm64 pkg: github.com/grafana/grafana/pkg/services/ngalert/store BenchmarkAlertInstanceOperations-8 398 2991381 ns/op 1133537 B/op 27703 allocs/op --- BENCH: BenchmarkAlertInstanceOperations-8 util.go:127: alert definition: {orgID: 1, UID: FovKXiRVzm} with title: "an alert definition FTvFXmRVkz" interval: 60 created util.go:127: alert definition: {orgID: 1, UID: foDFXmRVkm} with title: "an alert definition fovFXmRVkz" interval: 60 created util.go:127: alert definition: {orgID: 1, UID: VQvFuigVkm} with title: "an alert definition VwDKXmR4kz" interval: 60 created PASS ok github.com/grafana/grafana/pkg/services/ngalert/store 1.619s ``` After: ``` goos: darwin goarch: arm64 pkg: github.com/grafana/grafana/pkg/services/ngalert/store BenchmarkAlertInstanceOperations-8 1440 816484 ns/op 352297 B/op 6529 allocs/op --- BENCH: BenchmarkAlertInstanceOperations-8 util.go:127: alert definition: {orgID: 1, UID: 302r_igVzm} with title: "an alert definition q0h9lmR4zz" interval: 60 created util.go:127: alert definition: {orgID: 1, UID: 71hrlmR4km} with title: "an alert definition nJ29_mR4zz" interval: 60 created util.go:127: alert definition: {orgID: 1, UID: Cahr_mR4zm} with title: "an alert definition ja2rlmg4zz" interval: 60 created PASS ok github.com/grafana/grafana/pkg/services/ngalert/store 1.383s ``` So we cut time by about 75% and memory allocations by about 60% when storing and deleting 100 instances. | 06 October 2022, 06:22:58 UTC |
b4e23e5 | Ryan McKinley | 06 October 2022, 01:46:17 UTC | ObjectStore: update dev protobuf definitions (#56428) | 06 October 2022, 01:46:17 UTC |
8300702 | Leon Sorokin | 05 October 2022, 22:32:35 UTC | Search: fuzzy match dashboard names in frontend from full list (#55721) | 05 October 2022, 22:32:35 UTC |
69c49f6 | juanicabanas | 05 October 2022, 21:45:17 UTC | PublicDashboards: Make mixed datasource calls concurrently (#56421) PublicDashboards: Make mixed datasource calls concurrently | 05 October 2022, 21:45:17 UTC |
d9cc292 | ying-jeanne | 05 October 2022, 20:32:49 UTC | Star: Add uid in the endpoint (#54340) * add new uid endpoing for star * add store pool into service * fix the endpoint caller * udpate swagger file * Update pkg/api/stars.go Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com> * remove useless code for star dashboard * add new uid endpoing for star * add store pool into service * fix the endpoint caller * Update pkg/api/stars.go Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com> * Update pkg/api/stars.go Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com> * solve linter Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com> | 05 October 2022, 20:32:49 UTC |
8df8305 | Alexander Weaver | 05 October 2022, 20:32:20 UTC | Alerting: Move annotation functionality behind a history persistence interface (#56133) * Move annotation functionality behind a history persistence interface * Rename to RecordState * Fix lint error in import aliasing * One more import linter error | 05 October 2022, 20:32:20 UTC |
b3087cf | Kevin Yu | 05 October 2022, 19:19:49 UTC | QueryEditorRow: Only pass error to query editor if panel is not loading (#56350) | 05 October 2022, 19:19:49 UTC |
97d1983 | Ryan McKinley | 05 October 2022, 18:58:46 UTC | ObjectStore: rename modified to updated (#56420) | 05 October 2022, 18:58:46 UTC |
a94acb7 | Artur Wierzbicki | 05 October 2022, 17:00:34 UTC | Object store: get user from context (#56346) * GRPC Server: Add signedInUser to context after auth * add permissions to signedInUser * add access control permissions test * add additional signedInUser checks * get user from context * move `UserFromContext` to object/auth.go Co-authored-by: Todd Treece <todd.treece@grafana.com> | 05 October 2022, 17:00:34 UTC |
4a14d75 | Beto Muniz | 05 October 2022, 15:19:12 UTC | Add prop to improve memory usage listing metrics (#56398) | 05 October 2022, 15:19:12 UTC |
2cdbd05 | Andres Martinez Gotor | 05 October 2022, 14:59:06 UTC | Azure Monitor: Fix subscription selector when changing data sources (#56284) | 05 October 2022, 14:59:06 UTC |
0d8ea2b | Sven Grossmann | 05 October 2022, 14:26:22 UTC | LogContext: Fix scroll position in upper context group (#56370) * fix log row being falsely added to context * do not add to many lines * fix scroll position in context * more flexible id comparison * add original refid to context query * added missing row comparison * updated comment Co-authored-by: Matias Chomicki <matyax@gmail.com> Co-authored-by: Matias Chomicki <matyax@gmail.com> | 05 October 2022, 14:26:22 UTC |