Commit Graph
15655 Commits
Author SHA1 Message Date
Ashley Harrison 3cca8e3676 any/type assertion fixes (#57009) 2022-10-17 10:10:10 +01:00
Labesse Kévin c8402b4b50 GoogleCloudMonitoring: fix typo tooltip pre-processing (#57049) 2022-10-17 09:45:35 +02:00
Leon Sorokin da39c7297b BarChart: use dashboard timezone for x axis (#57047) 2022-10-17 14:06:45 +07:00
Yaelle Chaudy 2ccbb4d3a3 Configuration page: Fix dropdown menus keyboard a11y (#56986)
* Made dropdown menu keyboard accessible

* ul menu and left align
2022-10-14 15:57:45 +02:00
Josh HuntandSofia Papagiannaki 2e16d5499e Dashboard: Add dashboard validation warning to save drawer (#55732)
* add api route for validating a dashboard json

* add feature flag for showDashboardValidationWarnings

* tidy up

* comments and messages

* swagger specs

* fix typo

* more swagger

* tests!

* tidy test a little bit

* no more ioutil

* api will return different status code depending on validation error

* clean up

* handle 4xx errors

* remove console.log

* fix backend tests

* tidy up

* Swagger: Exclude alpha endpoints

Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>
2022-10-14 09:51:05 -04:00
Arpit Bhardwaj e4b1347ca5 Select Dropdown alignment fix (#56858) 2022-10-14 13:24:08 +00:00
Kristina 3dbb0f1659 Add in logic to send root datasource as override if needed (#56904) 2022-10-14 08:12:04 -05:00
Josh Hunt 8e512de308 I18n: update contributing docs (#56860)
* update contrib i18n docs

* update contrib i18n docs

* remove lingui references, rearrage plain js usage
2022-10-14 11:55:15 +01:00
Gareth Dawson b047316ef4 Logs: Add feature tracking to the replace line button (#56883) 2022-10-14 11:10:53 +01:00
kay delaney e85917f041 Chore/React18: Update component prop types (#56898) 2022-10-14 10:24:32 +01:00
Leon Sorokin 4eea326ee8 Candlestick: re-init config when series length changes (#56913) 2022-10-14 04:12:28 -05:00
Leon Sorokin 53ac77d4a5 Heatmap: honor dashboard timezone in x axis and fix tooltip time range (#56909) 2022-10-14 04:11:20 -05:00
Victor Marin b374b01260 MSSQL/MySQL: Add correct refId when fetching variable query results (#56919) 2022-10-14 11:52:12 +03:00
Victor Marin 902a230867 MSSQL/MySQL: Fix variable interpolation (#56879)
* MSSQL/MySQL: Fix variable interpolation

* Escape string vars
2022-10-14 11:52:08 +03:00
Matias Chomicki 08ffcfdf16 feat(loki-monaco-editor): escape autocompleted label values (#56890) 2022-10-14 08:29:03 +00:00
Konrad Lalik e5d644d991 Alerting: Fix source and rule name decoding on Find route (#56805) 2022-10-14 10:06:00 +02:00
Konrad Lalik 9d0380cbdd Alerting: Fix folder picker clear action (#56864) 2022-10-14 08:48:05 +02:00
Leon Sorokin 5acda40248 Search/ActionRow: drill placeholder to SortPicker (#56475) 2022-10-13 13:30:20 -06:00
Joan López de la Franca Beltran 1ca5c347d3 Analytics: Add datasource UID to events (#56852)
* Analytics: Add datasource UID to events
2022-10-13 17:41:52 +02:00
Beto Muniz 5d86dc507a Fix Meta Data tab breaking condition (#56646) 2022-10-13 12:39:01 -03:00
juanicabanas 75a5777e36 PublicDashboards: Validate access token not to be duplicated and add retries. (#56755)
PublicDashboards: Validate access token not to be duplicated and add retries.
2022-10-13 11:32:32 -03:00
Gareth Dawson b8b25f7e31 Logs: add app to feature tracking in ad-hoc statistics (#56865)
* add app tracking to adhoc statistics

* use the object property value shorthand
2022-10-13 14:26:59 +01:00
Santiago 9996dbd577 use Prometheus' format for notification attempts durations (#56822) 2022-10-13 10:08:09 -03:00
Gareth Dawson b0cb02568a Logs: Add feature tracking for filters in log rows (#56808)
* Add feature tracking for log details filter clicks

* use deconstructed prop values

* use deconstructed prop values
2022-10-13 11:21:17 +01:00
Laura Benz b71e08ad59 Explore: Remove camel case from tracking labels (#56809)
* refactor: remove camel case from tracking labels

* refactor: remove camel case from tracking labels
2022-10-13 12:12:50 +02:00
Sven Grossmann efe214a293 LogContext: Change line highlighting to match the hover state (#56811)
* add hover background also to logs with context

* add inherit display
2022-10-13 11:42:40 +02:00
Sonia Aguilar d957fe01f4 Simplify mocking useGetContactPointsState (#56842) 2022-10-13 11:06:20 +02:00
Gábor Farkas 5a0d90b104 logs: refactor: remove unused param "index" (#56543) 2022-10-13 10:04:51 +02:00
Sonia Aguilar 277803a894 Alerting: Refactor fetch for receivers for using RTKQuery (#56624)
* Refactor fetch for reveivers for using  RTKQuery

* Simplify receiversApi contactPointsState endpoint

* Fix tests and create useGetContactPointsState hook for using receiversApi.useContactPointsStateQuery
2022-10-13 10:00:59 +02:00
Ashley Harrison 5af36e48ba convert ThresholdsEditor to RTL (#56791) 2022-10-13 08:56:36 +01:00
Jeff Levinandjuanicabanas cc27214dca Public Dashboards: Add audit table (#54508)
This PR adds an audit table for public dashboards allowing a user to view all public dashboards on an instance of grafana. The public dashboards team is working on a proposal for adding RBAC support to the audit table for 9.3

Co-authored-by: juanicabanas <juan.cabanas@grafana.com>
2022-10-12 21:36:05 -08:00
Adela Almasan 254bb0c99e Canvas: Clear current selection in dashboard mode (#56830) 2022-10-12 17:18:56 -04:00
Ashley Harrison 61fd369b3f ensure the first item in the sectionnav is always the section root (#56815) 2022-10-12 17:02:31 +01:00
Ashley Harrison 8846778f9b fix title of config node (#56810) 2022-10-12 16:37:14 +01:00
Ashley Harrison 7d18460d8f Chore: convert MetricSelect test to RTL (#56801)
* convert MetricSelect test to RTL

* remove type param
2022-10-12 16:33:12 +01:00
Gareth Dawson f30ba0d34e Explore/Logs: Add feature tracking for ad-hoc statistics in log rows (#56681)
* Add feature tracking for ad-hoc statistics in log rows

* Make row prop mandatory in LogDetailsRow.tsx

* Remove optional chaining

* fix: failing test by mocking reportInteraction
2022-10-12 14:37:24 +01:00
Joey Tawadrous 78061260fb Default to flamegraph (#56733) 2022-10-12 13:39:08 +01:00
Josh Hunt b7d969baf1 I18n: Improve tooling (#56731)
* Delete en-US.json before extracting strings so it's always up to date

* Add 'comment' to message jsons

* Enable Pseudo-locale option only in dev mode

* don't load english messages

* fix package.json

* fix
2022-10-12 07:51:16 -04:00
10c080dad1 LDAP: Add skip_org_role_sync configuration option (#56679)
* LDAP: Add skip_org_role_sync option

* Document the new config option

* Nit on docs

* Update docs/sources/setup-grafana/configure-security/configure-authentication/ldap.md

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>

* Docs suggestions

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
Co-authored-by: Jguer <joao.guerreiro@grafana.com>

* Add test, Fix disabled user when no role

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
Co-authored-by: Jguer <joao.guerreiro@grafana.com>
2022-10-12 13:33:33 +02:00
Josh Hunt 719769ee7c I18n: Add Chinese (Simplified) (#56739)
* Prevent _old.json files from being created

* Add contrib docs for adding new locale

* add chinese (simplified)
2022-10-12 06:12:46 -04:00
Torkel Ödegaard 85e3ed491d DashboardsList: Fix height issue in topnav (#56661) 2022-10-12 11:00:45 +01:00
Ashley Harrison dd9e1498f9 only render direct children on the landing page routes (#56720) 2022-10-12 10:01:33 +01:00
kay delaney 45edce90d3 VariableEditor: Use new form styles (#56326) 2022-10-12 09:43:41 +01:00
Alex 6edce00b1a Inspect: Handle JSON tab crash when the provided object is too big to stringify. (#55939)
* fix(inspector): handle json tab crash when too much data

* message update when JSON stringify fails due to obj size
2022-10-12 00:52:23 -07:00
Victor Marin 48c27872af TablePanel: Footer now updates values on column filtering (#56354)
* Table footer now updates values on column filtering

* Backwards compatibility
2022-10-12 07:57:49 +03:00
Matias Chomicki 6a74cd207a feat(loki-monaco-editor): add support for in_aggregation situation (#56680) 2022-10-11 15:52:57 +00:00
Hamas Shafiq 9db61f54ff Tempo: Fix the inconsistency between the query limit values in the options component (#56566) 2022-10-11 16:08:53 +01:00
Konrad LalikandGilles De Mey 5ddf7b85df Alerting: Alert list performance improvements (#56247)
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
2022-10-11 16:24:01 +02:00
Neel 86a1fe578a Grafana UI: Fix alignment issue with http method dropdown (#56592)
- Removed custom width prop from the http method Select component to fix the alignment issue for prometheus HTTP request type dropdown
2022-10-11 08:20:13 -05:00
Andres Martinez Gotor cf2ba7e41c Google Cloud Monitoring: Adapt default crossSeriesReducer (#56693) 2022-10-11 14:51:25 +02:00