Erik Sundell
caba98590d
Cloudwatch: Break out resource requests from datasource file ( #55358 )
...
* break out resource requests from datasource file
* fix lint issues
2022-09-20 07:50:54 +02:00
Alexander Weaver
4df41972f1
Alerting: Refactor one notifier to use encoding/json to parse settings instead of simplejson ( #55271 )
...
* Create struct for Slack's receiver settings
* Remove one layer of indirection when building slack notifier
* Delete un-used struct
* Validate against settings struct instead of simplejson object
* Genericize settings marshalling
* Remove repetition between fields on notifier and fields on settings struct
* Rename unmarshal settings wrapper
* Handle comma separated strings at marshalling time rather than validation time
* Address misc review feedback
2022-09-19 17:30:16 -05:00
Serge Zaitsev
7108b4331d
Fix: return proper values in dashboard thumbs service ( #55421 )
2022-09-20 00:29:55 +02:00
owensmallwood
c946e44741
Ignore docker-compose override. ( #55407 )
...
adds docker-compose override to gitignore
2022-09-19 12:17:54 -06:00
Guilherme Caulada
3b1fc18692
PublicDashboards: Ignore time range input and changes on public dashboard ( #55412 )
...
* Ignore time range input and changes on public dashboard
* Use config instead of getConfig to access boot config
2022-09-19 15:16:27 -03:00
Timur Olzhabayev
80ff9fc0ef
Chore: Handing over sigv4 middleware ownership ( #55355 )
2022-09-19 18:39:24 +02:00
Misi
8405a99fef
Chore: Add changed enterprise devenv path to .gitignore ( #55408 )
2022-09-19 12:15:28 -04:00
sam boyer
4d0988b6b2
misc: Update to Go 1.18 ( #53440 )
2022-09-19 16:04:14 +00:00
Guilherme Caulada
ee899e8c3a
PublicDashboards: Sanitize metadata from public dashboard queries ( #55269 )
...
* Add function to remove metadata from queries
* Add test for RemoveMetadataFromQueryData function
* Remove only custom data and executed query string
* Add sanity check to SanitizeMetadataFromQueryData
2022-09-19 12:44:29 -03:00
Torkel Ödegaard
d5e4b08a3a
DashNav: Fixes missing key warning caused by public dashboard tag ( #55336 )
2022-09-19 17:01:14 +02:00
Jack Westbrook
db17a88193
Plugins: Expose emotion/react to plugins to prevent load failures ( #55297 )
2022-09-19 16:54:13 +02:00
Kristina
273ff02dde
Explore: Add error handling function when retrieving datasource ( #55055 )
...
* Use datasource function with error handling
* Check datasource exists when validating query, add test
* Add mock to test that now requires it
* Add comment explaining verbose validity logic
2022-09-19 09:43:16 -05:00
Dimitris Sotirakis
b26e443173
Fix fetch-images command ( #55365 )
2022-09-19 17:17:56 +03:00
Dimitris Sotirakis
2c872b0d94
Run enterprise downstream after OSS CI is done ( #55366 )
2022-09-19 17:17:36 +03:00
Dimitris Sotirakis
f058e1eae3
Add storybook bucket for main builds ( #55379 )
2022-09-19 17:17:25 +03:00
Torkel Ödegaard
cc4392d514
Devenv: Add compose block for elastic 8 ( #55214 )
...
* Devenv: Add compose block for elastic 8
* added filebeat and metricbeat configurations
* disable mount to `/var/log`
* renamed to elasticstack
Co-authored-by: Sven Grossmann <svennergr@gmail.com>
Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com>
2022-09-19 16:05:42 +02:00
Jo
e1af4e72bc
Auth: Add documentation on group overage claims in AzureAD ( #55389 )
...
* Auth: Add documentation on group overage claims in AzureAD
* add info on versioning
2022-09-19 15:45:05 +02:00
Sonia Aguilar
e677afabdf
Use GrafanaAlertStateDecision.Error instead of Error string in RuleEditor test ( #55385 )
2022-09-19 15:04:24 +02:00
Giordano Ricci
93e4205caa
chore: fix OX coverage report ( #55386 )
2022-09-19 13:55:09 +01:00
GitStart
6fb8abbbb6
Convert packages/jaeger-ui-components/src/TracePageHeader/SpanGraph/TickLabels.test.js to RTL ( #55284 )
...
Co-authored-by: gitstart <gitstart@users.noreply.github.com>
Co-authored-by: Nitesh Singh <nitesh.singh@gitstart.dev>
Co-authored-by: Rafael Toledo <87545086+Toledodev@users.noreply.github.com>
Co-authored-by: Murilo Amaral <87545137+MuriloAmarals@users.noreply.github.com>
Co-authored-by: Matheus Benini Ferreira <88898100+MatheusBeniniF@users.noreply.github.com>
Co-authored-by: Rubens Rafael <70234898+RubensRafael@users.noreply.github.com>
Co-authored-by: Toledodev <rafael.toledo@engenharia.ufjf.br>
Co-authored-by: Júlio Piubello da Silva Cabral <julio.piubello@gitstart.dev>
2022-09-19 15:02:33 +03:00
Giordano Ricci
d2adb1a3cd
chore: add coverage repoort for OX-related PRs ( #55316 )
2022-09-19 13:01:15 +01:00
Torkel Ödegaard
2916b483eb
Update a few more pages to use navId instead of navModel from store ( #55342 )
2022-09-19 13:21:41 +02:00
Gábor Farkas
5efeff4890
GrafanaUI: Deprecate logs components ( #55364 )
...
* grafana-ui: mark logs-components deprecated
* improved deprecation-message
2022-09-19 13:21:14 +02:00
Tima Gixe
e73a85dfb5
Chore: omit allowCustomValue and allowEmptyValue ( #55352 )
2022-09-19 13:40:58 +03:00
Will Browne
cd7a464f7e
Plugins: Ensure plugin uninstall success for "pre-installed" community plugins ( #55322 )
...
* track pre-installed external plugins in store
* fix tests
2022-09-19 12:14:30 +02:00
kay delaney
64bbb7a7ce
Chore: Update and enforce usage of typed react-redux hooks ( #55349 )
...
* Chore: Update and enforce usage of typed react-redux hooks
2022-09-19 10:49:35 +01:00
Sven Grossmann
a3ff758874
ElasticSearch: Fix dispatching queries at a wrong time ( #55225 )
...
* Loki: Fix running queries without an `expr`
* rever previous change
* only dispatch `initQuery` if the DS is uninitialized
* moved `isUninitialized` to static var
2022-09-19 11:45:21 +02:00
George Robinson
4a1ca7e32f
Alerting: Change default alert state to Error on execution error or timeout ( #55345 )
2022-09-19 10:42:04 +01:00
Serge Zaitsev
96b032e103
Chore: Split dashboard thumbnail service ( #55344 )
...
* Chore: split dashboard thumbnail service
* fix typo
* move tests
* make linter happy
2022-09-19 11:29:22 +02:00
Gábor Farkas
1ee6a1f7c2
Logs: move logs-components from grafana-ui to grafana-main ( #55041 )
...
* logs: added a copy of the grafana-ui logs-files
* fix: added the ansicolor package to the main grafana package
* logs-components: import things from grafana-ui
* import from local files
* logs-components: other fixes
* add betterer-exceptions
* apply updates from grafana-ui package
2022-09-19 10:51:46 +02:00
Victor Marin
32c4245efd
TablePanel/StatPanel: Fix values not being visible when background transparent ( #55092 )
...
* TablePanel/StatPanel: Fix values not being visible when background transparent
* Maintain backwards compatibility
2022-09-19 11:47:37 +03:00
Yaelle Chaudy
1e9f5a5080
Azure Monitor: Fix migration issue with MetricDefinitionsQuery template variable query types ( #55262 )
...
* updated imported dashboards
* Adds check for MetricDefinitionsQuery in migration
* Removed delete from migratio
* switched back to const for migratedQ
* Added depreacted to MetricDefinitionQuery
2022-09-19 10:32:27 +02:00
Dimitris Sotirakis
93e78e2146
CI: Move fetch-images
sub-command from build-pipeline
repo ( #55298 )
...
* Move fetch images from build-pipeline
* Modify drone
* Replace zerolog with builtin log
* Fix lint
2022-09-19 11:19:31 +03:00
Sofia Papagiannaki
754eea20b3
Chore: SQL store split for annotations ( #55089 )
...
* Chore: SQL store split for annotations
* Apply suggestion from code review
2022-09-19 10:54:37 +03:00
Erik Sundell
469f915b8c
CloudWatch: Enable feature adoption tracking in the plugin ( #54299 )
...
* improve typing for DashboardLoadedEvent
* cleanup
* add cloudwatch tracking event
* add test
* revert test change
* fix typo
* remove optional
* pr feedback
* reactor test
* revert changes to api and azure
* cleanup
* refactoring test
* pr feedback
2022-09-19 08:53:42 +02:00
Erik Sundell
7bca193ecd
CloudWatch: Refactoring - decouple logs and metrics in datasource file ( #55079 )
...
* break out query execution related logic
* betterer fixes
* remove unused
* cleanup
* remove unused variables
* remove not used file
* fix broken test
* pr feedback
* add comments
2022-09-19 08:50:41 +02:00
Leo
1a0cbdeabe
Navigation: Add help menu to top search bar ( #55062 )
...
* add help menu to top search bar
* fixes
* handle preventDefault in node graph specifically
* use icon prop of MenuItem
* undo changes to ContextMenuPlugin/DataLinksContextMenu
* remove unused component
* revert storybook changes
* Tweaks
* remove unused style
* stop propagation on the header so version can be highlighted
* make sure useContextMenu has the exact same logic as before
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2022-09-17 18:17:00 +02:00
Ryan McKinley
17b2fb04e8
DashboardQuery: Expand query options ( #53998 )
2022-09-16 13:28:47 -04:00
Jean-Philippe Quéméner
4dc0d49025
Alerting: make sure that rules in rule group are nil if not provided ( #55301 )
2022-09-16 18:54:00 +02:00
Joao Silva
bf5b21563c
StatPanel: Add padding between horizontal name and value ( #55299 )
2022-09-16 17:53:09 +01:00
brendamuir
c0c4409abc
Docs: adds set up section with alertmanager, provisioning sections ( #55291 )
...
* Docs: adding setup, provisioning docs
* add set up, alertmanager
* Adds link to provisioning from set up page
* renames topics in set up section
* fixes alertmanager link
* removing article for alertmanager
* first connection to oncall
* updating armands intro text
* getting rid of blank line
2022-09-16 17:22:20 +01:00
Gareth Dawson
98a8908910
Loki: Remove any type from logs.test.ts ( #55303 )
...
* Remove any type from logs.test.ts
* Replace unknown types and move type casting to variables
2022-09-16 16:57:42 +01:00
Ryan McKinley
0c4d181d1e
SupportSnapshots: Rename to "Get help" ( #55206 )
2022-09-16 08:51:14 -07:00
Yuriy Tseretyan
6539ae512c
use filepath.Dir to get the parent ( #55266 )
2022-09-16 10:29:39 -04:00
Gregory Quinio
fb59702c74
Storybook: use div #root styles on storybook preview instead of additional div wrapper ( #55023 )
...
* feat: use styles on #root div instead of additionnal div wrapper
* Update packages/grafana-ui/src/utils/storybook/withTheme.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2022-09-16 17:04:56 +03:00
Dave Henderson
801b61c963
Tracing: Add new [tracing.opentelemetry] custom_attributes config setting ( #54110 )
...
* tracing: Add new [tracing.opentelemetry] custom_attributes config setting
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
* Fix typos in config
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
* Return error when custom_attributes contains malformed entries
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
2022-09-16 09:54:25 -04:00
Kristina
18f4d02262
Docs: Update enter/shift+enter details for prometheus query field ( #52607 )
...
* Update for accuracy
* Update docs/sources/explore/query-management.md
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com>
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com>
2022-09-16 09:50:18 -04:00
GitStart
46f0672215
Loki: Remove hardcoded values for parsed query parts ( #54755 )
...
Co-authored-by: Nitesh Singh <nitesh.singh@gitstart.dev>
Co-authored-by: gitstart <gitstart@users.noreply.github.com>
Co-authored-by: Rafael Toledo <87545086+Toledodev@users.noreply.github.com>
Co-authored-by: Murilo Amaral <87545137+MuriloAmarals@users.noreply.github.com>
Co-authored-by: gitstart <gitstart@gitstart.com>
Co-authored-by: Matheus Benini Ferreira <88898100+MatheusBeniniF@users.noreply.github.com>
Co-authored-by: Matheus Benini <matheus_benini@hotmail.com>
Co-authored-by: Rubens Rafael <70234898+RubensRafael@users.noreply.github.com>
Co-authored-by: Júlio Piubello da Silva Cabral <julio.piubello@gitstart.dev>
Co-authored-by: gitstart <gitstart@users.noreply.github.com>
Co-authored-by: Nitesh Singh <nitesh.singh@gitstart.dev>
Co-authored-by: Rafael Toledo <87545086+Toledodev@users.noreply.github.com>
Co-authored-by: Murilo Amaral <87545137+MuriloAmarals@users.noreply.github.com>
Co-authored-by: gitstart <gitstart@gitstart.com>
Co-authored-by: Matheus Benini Ferreira <88898100+MatheusBeniniF@users.noreply.github.com>
Co-authored-by: Matheus Benini <matheus_benini@hotmail.com>
Co-authored-by: Rubens Rafael <70234898+RubensRafael@users.noreply.github.com>
Co-authored-by: Júlio Piubello da Silva Cabral <julio.piubello@gitstart.dev>
2022-09-16 15:35:20 +02:00
Piotr Jamróz
9b4cdfe652
Correlations: Hide Correlations Page behind a feature toggle ( #55224 )
...
* Hide Correlations Page behind a toggle
* Remove redundant defaults
* Ensure top nav is rendered when correlations are disabled
This is for the case when:
[feature_toggles]
topnav = true
2022-09-16 15:14:27 +02:00
Gareth Dawson
5c66c41220
Loki: Remove any type from logsModel.test.ts ( #55287 )
...
* Remove any type from logsModel.test.ts
* Remove duplicate type checks
2022-09-16 12:56:35 +01:00