https://github.com/grafana/grafana

sort by:
Revision Author Date Message Commit Date
92b2ea5 typescript fixes 24 April 2023, 18:08:50 UTC
0b2f7db Elasticsearch: Deprecate index setting for annotation queries (#67046) * Elasticsearch: Deprecate index setting for annotation queries * Update comment 24 April 2023, 15:02:55 UTC
efd0e9c Datagrid Panel: Edit data within your dashboards (#66353) * wip * Datagrid WIP: snapshotting when data edited, better UI for adding column/rows, refactors * wip * WIP * wip * Add series selector * Delete selection on key press * wip * Multiple row select and delete * wip * draggable rows/columns, better column width calculator * bug fixes * scrollbars * add feature flag * bugfixes * bugfixes * bugfixes * bugfixes * Add possibility to rename column * Input fixes * bugfixes * bugfixes * performance optimisations * WIP component refactoring and optimisations * comment bit of code to remove error for testing * fix column move and payload types * WIP refactors and tests * e2e tests * queryGroup subscription refactor * queryGroup - add component on update, fix failing tests * refactor querygroup * querygroup refactor * tests * fix codeowners validation * lint fixes * revert convertFieldType modification in favor of already merged mod + re-add mistakenly deleted line * remove //ts-ignores * Minor style tweaks * fix * align colors with theme * fixes * refactor * add test for convertFieldType transformer and write todo --------- Co-authored-by: Torkel Ödegaard <torkel@grafana.com> 24 April 2023, 14:46:31 UTC
c5ea3cd Prometheus: remove part of flaky e2e test (#67116) remove elements of flaky e2e test This test only checks 'undo' in the code editor and then checks if the query builder is present. The test is timing out when looking for the query builder. There should be a second test to check if undo works in the query builder so I'm removing the query builder check. I will add an issue to create a test for 'undo' in the query builder. 24 April 2023, 14:28:57 UTC
fd434ca NestedFolders: Add API endpoint for descendant count in a folder (#66550) * Add CountInFolder to RegistryService interface * Add folder children counts api route * Update fake GetFolderChildrenCounts * Add test for getting folder children counts * Add validation to folder children counts handler * Update openapi specs * Update pkg/services/folder/folderimpl/folder.go Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com> --------- Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com> 24 April 2023, 13:57:28 UTC
990b3c0 Tempo: Add kind to TraceQL intrinsics (#65111) * Add kind to TraceQL intrinsics * Fix after merging main * Fix intrinsics array reference after merge * Dispatch error message when TraceQL autocomplete fails to retrieve tag values 24 April 2023, 13:11:28 UTC
d4715a6 CSRF middleware: Add flag to skip login cookie check (#66806) * CSRF middleware: add flag to skip login cookie check * Update docs/sources/setup-grafana/configure-grafana/_index.md Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com> --------- Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com> 24 April 2023, 13:11:08 UTC
5f16cd5 Cloudwatch Logs: Clarify Cloudwatch Logs Limits (#67072) Clarify Cloudwatch Logs Limits 24 April 2023, 12:47:29 UTC
86be405 Chore: use native async fs.readFile in json-file-to-job-output script (#66686) 24 April 2023, 12:46:56 UTC
2521fa9 Docs: Fixes alert rule type table (#67090) * Fixes alert rule type table * adds responsive table markdown * adds responsive table * updates image text * Adds word breaks * fix responsive table 24 April 2023, 11:48:57 UTC
0737370 Grafana UI: Improve AutoSaveField component (#66751) 24 April 2023, 10:42:42 UTC
cd8f6a5 Docs: add support bundle section to the config snippet (#67059) add support bundle section to the config snippet 24 April 2023, 10:38:58 UTC
af9bf81 AppChrome: Fix scrollbar issue for small (mobile) breakpoint (#67058) 24 April 2023, 08:52:12 UTC
94cf94f AppNotificationList: Improves position now that topnav is live (#66959) * AppNotificationList: Improves position now that topnav is live * update pos 24 April 2023, 08:20:47 UTC
28a641a Authentication UI: Fix permissions for saving settings (#67086) Fix permissions for saving settings 24 April 2023, 07:57:05 UTC
57701fd ServeFromSubPath: Redirect to URL with subpath when subpath missing (#66724) * ServeFromSubPath: Redirect to URL with subpath when subpath missing * Review fixes * Added tests * Use constant * change to useMiddleware * Update pkg/middleware/subpath_redirect.go --------- Co-authored-by: Carl Bergquist <carl.bergquist@gmail.com> 24 April 2023, 07:55:55 UTC
2767d5b devenv: loki: improved fake data generation (#66966) 24 April 2023, 07:50:39 UTC
91704cf Alerting: Loki-based alert state history modal (#66595) * adds alertstatehistory backend config to grafanaBootData * add alertStateHistory api * show different ASH modal when using loki implementation * group log lines by instance (unique set of labels) Co-Authored-By: Konrad Lalik <konrad.lalik@grafana.com> * render log lines for each instance Co-Authored-By: Konrad Lalik <konrad.lalik@grafana.com> * Add visual improvements to the log record of state changes * Add values to log records * compute common labels and show unique labels * Add state changes visualization * fix common labels extraction * Code cleanup * Add timespan-based log record view * WIP * scroll to timestamp - poc * Use SortedVector for timestamp field * add conditional accessor for frames * update some of the log formats and styles * Timestamp-based visualization with scrolling * minor improvements * Split Loki's state history viewer into multiple files * Add memoization to prevent graph rerender on filter updates * make chart size shrink when fewer instances * style updates * show warning when instances are hidden * Add basic label-based filtering * Improve label-based filtering * Add regex validation * Improve no instances message when everything was filtered out * Update warning message * Move timeline viewer to a separate file, refactor handling timeline pointer changes * Remove unused component, add comments * Fix test snapshot, fix type error * adds tests for common.ts * Add tests for converting log records into data frames * Add basic component test, fix type guards * Use a constant for timeseries limit * Improve a11y, update component test * Memoize AlertStateTag, migrate from deprecated ArrayVector * Update public/app/features/alerting/unified/components/rules/state-history/common.ts * Move helper hook into a separate file. Add Search input component * Change the limit of visible time series on the timeline * Add LogRecordViewer perf improvements, refactor timeline cursor events tracking * Use callback to pass timeline refs * Add grouping tests for the log record viewer --------- Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com> 24 April 2023, 07:28:11 UTC
fe5a07f Rendering: Fix panel rendered count on error (#67027) Rendering: fix panel rendered count on error 24 April 2023, 07:27:49 UTC
9c6feac FIX: Make dashboards navlink accessible with only folders permissions (#67049) 24 April 2023, 07:02:42 UTC
24c7543 Loki: Update content for log context ui (#66978) * Loki: Update content for context ui * Update * Update public/app/plugins/datasource/loki/components/LokiContextUi.tsx Co-authored-by: J Stickler <julie.stickler@grafana.com> * Update public/app/plugins/datasource/loki/components/LokiContextUi.tsx Co-authored-by: J Stickler <julie.stickler@grafana.com> * Update public/app/plugins/datasource/loki/components/LokiContextUi.tsx Co-authored-by: J Stickler <julie.stickler@grafana.com> * Update public/app/plugins/datasource/loki/components/LokiContextUi.tsx Co-authored-by: J Stickler <julie.stickler@grafana.com> --------- Co-authored-by: J Stickler <julie.stickler@grafana.com> 22 April 2023, 12:07:44 UTC
d120c05 CloudWatch: Fix test on metric stat editor statistic field (#67064) 22 April 2023, 09:28:34 UTC
b992bdb Annotations: Avoid crash when listing panels (that are rows) (#66869) 21 April 2023, 20:50:45 UTC
faad4b9 GrafanaDS: Add support for annotation time regions (#65462) Co-authored-by: Ryan McKinley <ryantxu@gmail.com> Co-authored-by: Adela Almasan <adela.almasan@grafana.com> 21 April 2023, 20:25:50 UTC
a2b9754 AzureMonitor: Correct series name accounting for dimensions (#67050) Correct displayName accounting for dimensions 21 April 2023, 18:24:23 UTC
0b24694 PublicDashboards: Remove flaky test (#67061) 21 April 2023, 17:46:27 UTC
329d940 Alerting: fix condition to distinguish multiple datasources type in dropdown (#67065) * Add function to check if a datasource is managing alerts * Use helper function to get datasources that manage alerts 21 April 2023, 17:27:39 UTC
a29cfe5 Caching: Consolidate resource cache checking and updating in plugin middleware (#67002) * Update the HandleResourceRequest function to mimic the HandleQueryRequest function * Remove CacheResourceResponse function from interface * revert additional thing I missed 21 April 2023, 17:03:49 UTC
d02aee2 docs: typo (#67062) 21 April 2023, 15:46:46 UTC
6abd75b Log Context: Add `wrap lines` button to easier wrap lines (#67047) * add wrap lines button * change default to 50 lines * fix test * change css classes 21 April 2023, 15:21:02 UTC
d419402 DataSourcePicker: Add recently used from local storage to ds picker (#66985) * Add recently used from local storage to ds picker 21 April 2023, 15:07:11 UTC
1cad819 Nested folders: Add dummy Move/Delete actions (#67051) * slight refactor, show actions on selection * add unit tests * refactor logic into custom selector + hook 21 April 2023, 14:18:40 UTC
bbce69f Alerting: Use configured headers for external alertmanager (#63819) 21 April 2023, 14:16:27 UTC
7cb4d65 Prometheus: Add Victoria metrics to Prometheus type dropdown in datasource config (#66984) * add VictoriaMetrics to prometheus type dropdown 21 April 2023, 14:12:28 UTC
b695376 RBAC: Update dashboardIntegrationFolder tests to use RBAC (#66845) * wip * tests fixed * clean up tests * updated tests since evaluation only happens on scenario setup * delete debugging files 21 April 2023, 14:08:52 UTC
5d7433d RBAC: Make access control metadata for folders work with nested folders (#66464) * remove metadata for single folder listing * extendTests * remove ac metadata from dash and folder search results * remove test * remove one more test * put ac metadata back for single folder API responses * extend tests * remove ac metadata from folder frontend object * undo unneeded change * PR feedback Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com> --------- Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com> 21 April 2023, 14:05:11 UTC
94294a7 Tracing: Update e2e test (#66960) Update e2e test 21 April 2023, 13:44:48 UTC
0f9c6be QueryGroup: Cleanup leftovers from hackathons (#67048) 21 April 2023, 13:32:47 UTC
cebdb49 I18n: Crowdin sync (#67043) * New translations grafana.json (French) * New translations grafana.json (Spanish) * New translations grafana.json (German) * New translations grafana.json (Chinese Simplified) 21 April 2023, 13:03:12 UTC
34110f6 EmptyDashboard: Fix wrong font weight (#66555) 21 April 2023, 12:15:09 UTC
53d5a99 Elasticsearch: Update required database version to 7.16 (#66928) elasticsearch: update database requirements 21 April 2023, 11:37:04 UTC
c742503 Docs: Updates intro alerting topics (#66958) * Updates intro alerting topics * taking out cortex * Adds choice table for alert rules type * updates with Vikas feedback 21 April 2023, 11:24:43 UTC
1d0387d NestedFolders: Make TagsCell return null when showing nothing (#67041) 21 April 2023, 11:17:04 UTC
b7f047c Fix: Hide invite when disabled login form is set (#67031) * FIX: Hide Invite Button with external user management * Hide also when login form is disabled * add tests and readability --------- Co-authored-by: Eric Leijonmarck <eric.leijonmarck@gmail.com> 21 April 2023, 11:03:13 UTC
0eca995 NestedFolders: Show Tags in Browse Dashboards (#67029) * NestedFolders: Show tags in Browse Dashboards view * tests 21 April 2023, 10:49:58 UTC
6522bb3 Tracing: Rename feature toggle (#66833) Rename feature toggle so something more specific so new work can use older feature toggle name 21 April 2023, 10:31:24 UTC
9a29dd7 Docs: Documentation updates for nested folder permissions (#66599) doc updates for nested folder permissions 21 April 2023, 10:29:52 UTC
9f1fe51 Alerting: Fix filtering when panel variables are in use (#66977) Fix alert instances filtering when panel variables are in use 21 April 2023, 10:07:06 UTC
f3dbb7b AzureMonitor: Update ARG Subscription selection (#66890) * Update ARG Subscription selection - Filter out queries that do not contain at least one subscription - Refactor SubscriptionField component - Display error if no subscriptions are selected - Update tests * Fix test 21 April 2023, 09:59:40 UTC
3c0e896 Loki: Change default state for log context ui to toggled (#67032) 21 April 2023, 09:51:02 UTC
9271583 Docs: Add definition for auth config writer role (#66957) add definition for auth writer role 21 April 2023, 09:40:46 UTC
ad082ed doc: update signature requirement guidance (#67030) This change better reflects the requirement on plugins to be signed, and removes ambiguity regarding whether unsigned plugins will be completely prohibited from working. 21 April 2023, 09:26:13 UTC
49624ca Adjust styles for DS picker dropdown and modal (#67004) Adjust styles for dropdown and modal 21 April 2023, 09:25:03 UTC
1ff9c47 ThemeDemo: Add transparent to ThemeDemo (#66994) 21 April 2023, 09:09:46 UTC
eddd4f4 Alerting: Add totalsFiltered to RuleResponse for hidden by filters count (#66883) Alerting: Add totalsFiltered to RuleResponse to facilitate hidden by filters count Currently, when both a limit_alerts and a matcher/state filter is applied, there is not enough information to determine how many alert instances were hidden by the filters. Only enough to determine the total hidden by the limit and filter combined. This change adds a separate totalsFiltered field alongside the AlertRule totals that will contain the count of instances after filters but before limits. 21 April 2023, 08:35:12 UTC
29aaf42 Plugins: Fix width for README pages with tables (#66872) 21 April 2023, 08:02:10 UTC
1f193f1 Navigation IA: Update `Monitoring` to `Observability` (#66963) * update monitoring -> observability * update backend test 21 April 2023, 07:39:49 UTC
400fae3 Alerting: Change tooltip error text in collapsed contact point table (#67022) Change tooltip error message in collapsed contact point table 21 April 2023, 07:37:31 UTC
607b94a FieldValues: Use standard array functions (#67012) 21 April 2023, 05:03:38 UTC
405bda7 Packaging: Added deprecation warnings when running `grafana-cli` or `grafana-server`; the `grafana` command should be used instead. (#66976) * Add grafana-cli and grafana-server deprecation warnings * remove extra : 20 April 2023, 17:51:50 UTC
4daf53f Docs: first pass at SAML UI docs (#65847) * first pass at SAML UI docs * doc updates * Apply suggestions from code review Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com> * review feedback * finish documentation for all the sections * remove unneeded doc bit * PR feedback * cross-reference SAML UI docs from SAML config file docs * extending the docs with the new fields and expaning the mapping section * feedback * add the permissions required to access SAML UI --------- Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com> 20 April 2023, 17:05:08 UTC
f70f317 Require access to all settings to read Grafana Settings (#66992) * Require access to all settings to read Grafana Settings * Handle PR comments 20 April 2023, 16:58:50 UTC
2e55f26 Cloudwatch: Fix nested recursive type (#66950) * Cloudwatch: Fix nested recursive type * Cloudwatch: Update exports 20 April 2023, 16:39:02 UTC
ce0f180 Require access to all settings for the nav item (#66990) 20 April 2023, 16:37:50 UTC
3518f8e NestedFolders: Refactor BrowseView state into redux (#66898) * refactor all state into redux * add tests for reducers * added comments 20 April 2023, 15:37:00 UTC
74d3d3c Log Context: Improve loading indicator (#66979) * remove loadingplaceholder * lint 20 April 2023, 15:22:09 UTC
c11baa3 Stats Inspector: Prevent long stats from being hidden (#66866) * Stats Inspector: Prevent stats from being hidden * Inspect stats: inline container styles 20 April 2023, 15:06:47 UTC
b24ba7b FieldValues: Use plain arrays instead of Vector (part 3 of 2) (#66612) Co-authored-by: Ryan McKinley <ryantxu@gmail.com> 20 April 2023, 14:59:18 UTC
24696d5 Nested folders: Fix error response codes (#66943) * Nested folders: Fix error response codes Fix error handling 20 April 2023, 14:47:51 UTC
7688ac6 Swagger: Fix and update specifications with the latest changes (#66847) 20 April 2023, 14:47:19 UTC
b16a8bd grafana/e2e: Put E2E select updates in selectOption (#66972) Put E2E select updates in selectOption and force 20 April 2023, 14:40:45 UTC
2f0f5ca [Chore] Dashboard: Add i18n for creating a panel, row, library panel, and pasted panel (#66234) * add translation keys for empty dashboard redesign * run yarn i18n:extract; rephrase one trans key because of [warning] Found translation key already mapped to a map or parent of new key already mapped to a string: dashboard.toolbar.add.visualization * reduce to 3-step locale phrase IDs * extract phrase IDs 20 April 2023, 14:35:29 UTC
7e765c8 Utils: Reimplement util.GetRandomString to avoid modulo bias (#64481) * reimplement GetRandomString, add tests that results are unbiased 20 April 2023, 14:24:02 UTC
c903d15 Log Context: Add feature tracking (#66912) add feature tracking 20 April 2023, 13:42:44 UTC
35342a3 Alerting: Fix DatasourceUID and RefID missing for DatasourceNoData alerts (#66733) This commit fixes a bug where DatasourceUID and RefID annotations are missing for DatasourceNoData alerts in Grafana 9.5. This bug affects datasource plugins that have moved to using the data plane contract. 20 April 2023, 13:38:20 UTC
78d7b6c NestedFolders: Backend nested-dashboards route (#66955) * NestedFolders: Add backend route for temp browse dashboards page * tweak 'preview new ui' badge * tweak 'preview new ui' badge 20 April 2023, 13:34:35 UTC
bec18e3 Log Context: Add feedback button (#66910) * add feedback link * add feedback button to `Modal.ButtonRow` 20 April 2023, 12:36:04 UTC
1917857 docs: add migration guide and notes for upcoming react 18 upgrade (#66656) * add information to what's new about upcoming react 18 upgrade * update structure * Apply suggestions from code review Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com> * add docs to plugin migration guide * add link to forum discussion * apply suggestions from review --------- Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com> 20 April 2023, 12:23:04 UTC
1e53a87 Log Context: Add button to open the context query in a split view (#66777) * add show context button * improve type definition * change to default `maxLines` * remove context query * add provider to tests * add test for split view button * improve documentation * add tests for `getLogRowContextQuery` * refactor LogsContainer functions * fix spelling * add `contextQuery` as state * fix tests * fix lint * do not use callIfDefined * make button secondary 20 April 2023, 12:21:14 UTC
40c7b31 Prompt DS modal when the user adds the first panel to a dashboard (#66911) * Prompt DS modal when the user adds the first panel to a dashboard * Rename state prop and use toggle * Change modal size * Avoid flickering for dashboard modal when changing number of results * When editing panel 1, only display when new dashboard 20 April 2023, 11:44:19 UTC
4d2570a Docs: updates time ranges and alert rule doc (#66760) 20 April 2023, 11:14:19 UTC
9b529ef Docs: adds legacy wording to api docs (#66937) adds legacy wording to api docs 20 April 2023, 11:06:35 UTC
4089514 Auth: Make GitHub auth's allowed_organizations be case insensitive (#66879) * Auth: Make GitHub auth's allowed_organizations be case insensitive * Apply code suggestion to use strings.EqualFold 20 April 2023, 10:36:22 UTC
b1129a4 grafana/e2e: Include wait in `selectOption` (#66894) Update e2e select with wait 20 April 2023, 10:32:14 UTC
883dcc8 Alerting: Add tests for Evaluate (#66739) 20 April 2023, 10:24:40 UTC
a7e74f6 DataSourcePicker: Refactor and collapse the DataSourceDropdown components (#66820) * clean up the components and convert to functional components * Create hooks for getting DS * remove focus style override from input --------- Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com> 20 April 2023, 10:11:13 UTC
9ff2210 Navigation: refactor `RemoveEmptySection...` logic into main navtree code (#66878) refactor RemoveEmptySection logic into main navtree code 20 April 2023, 10:10:12 UTC
739c7f1 Plugins: Simplify plugin file removal (#66115) * make explicit class check when attempting to remove plugin * simplify plugin file tracking * fix test * apply feedback * fix linter 20 April 2023, 09:52:59 UTC
6e8b17e Tempo: TraceQL query builder QoL improvements (#66865) * Remove focus on duration inputs to match the other selects * Allow users to create options while they load * Options without type default to not have quotes around them * Fix #66571 - set query type to traceql when linking from logs to traces * Fix test 20 April 2023, 09:52:12 UTC
350de3f Expressions/threshold: Fix incorrect thresholds args length (#66859) 20 April 2023, 09:42:34 UTC
82ac2ba Elasticsearch: Handle multiple annotation structures (#66762) elastic: fix annotation handling 20 April 2023, 09:42:25 UTC
3edc246 Variables are available in the new DS picker and modal (#66923) 20 April 2023, 09:34:24 UTC
a37bf1a RBAC: Update library element tests to use RBAC (#66782) * update library element tests to use RBAC * update bits of code to use RBAC * update library panel tests * linting * more linting * and more linting * PR feedback 20 April 2023, 09:24:41 UTC
4e10118 Add verbose settings (#65469) * Add `settings.CurrentVerbose` function * Add function to retrieve verbose settings * Add `/settings-verbose` endpoint * Restrict the verbose source types 20 April 2023, 08:43:28 UTC
3a013cb Explore: Clear live logs (#64237) * feat: add clear logs to explorer's live logs * refactor live logs pause/resume updating logic * add tests for clearing live logs * rm unused imports * move `onClear` live logs logic to redux * move clear logs tests to `query.test` * use utils `sortLogsRows` and Button's icon props * rename `filterLogRows` and add `clearedAt` as an arg * mv clearedAt type closer to live tailing items and add jsdoc * mv `filterLogRowsByTime` to `/utils` and use it at `LiveLogs` component * make `Exit live` button consistent with other actions * use `sortLogRows` and fix timestamp by id on `makeLogs` * change clear live logs from based on timestamp to index on logRows * assign `null` to `clearedAtIndex` on first batch of logs live * move `isFirstStreaming` implementation to `clearLogs` reducer * fix `clearLogs` tests * Update public/app/features/explore/state/query.ts Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com> --------- Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com> 20 April 2023, 08:21:28 UTC
0adacd1 Chore: Update schema libraries to their latest versions and fixes (#66884) Update thema, cuelang and necessary dependencies 20 April 2023, 08:13:00 UTC
62a8788 Annotations: fix testid attribute (#66877) 19 April 2023, 20:43:46 UTC
47121e6 Explore: make ExploreToolbar a function component (#66867) 19 April 2023, 19:52:08 UTC
e0c5b4f NestedFolders: Basic item selection (#66843) * NestedFolders: Item selection state * Select children in state * Unselect parents when children are unselected * remove unneeded comment * tests * tidy test a little bit * tidy test a little bit * tidy test a little bit * tidy test a little bit * tidy test a little bit 19 April 2023, 19:44:07 UTC
3634079 Alerting: Attach hash of instance labels to state history log lines (#65968) * Add instanceID which is hash of labels * Rename field to fingerprint * Move to prometheus style signature * Appease linter 19 April 2023, 19:22:19 UTC
back to top