Kyle Brandt
b8f01fe034
Alerting: backend "ng" code cleanup ( #33578 )
2021-04-30 13:21:57 -04:00
achatterjee-grafana
599a9b9a6d
Add note to Snapshot API doc to specify that user has to provide the entire dashboard model ( #33572 )
...
* Added note as suggested by Macus E.
* Update docs/sources/http_api/snapshot.md
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
2021-04-30 13:11:08 -04:00
Owen Diehl
5e48b54549
Alerting/metrics ( #33547 )
...
* moves alerting metrics to their own pkg
* adds grafana_alerting_alerts (by state) metric
* alerts_received_{total,invalid}
* embed alertmanager alerting struct in ng metrics & remove duplicated notification metrics (already embed alertmanager notifier metrics)
* use silence metrics from alertmanager lib
* fix - manager has metrics
* updates ngalert tests
* comment lint
Signed-off-by: Owen Diehl <ow.diehl@gmail.com>
* cleaner prom registry code
* removes ngalert global metrics
* new registry use in all tests
* ngalert metrics impl service, hack testinfra code to prevent duplicate metric registrations
* nilmetrics unexported
2021-04-30 12:28:06 -04:00
gamab
b45120b999
gitignore: Ignore files for accesscontrol provisioning ( #33577 )
2021-04-30 17:24:16 +02:00
Torkel Ödegaard
9b60f8c404
DashboardSettings: Slight design tweak to fix page toolbar padding and align design ( #33575 )
...
* DashboardSettings: Slight design tweak to fix page toolbar padding and align design
* Fixed font weight
* Removed comment
* Update
2021-04-30 17:21:18 +02:00
Uchechukwu Obasi
65673857b6
EmptySearchResult: updates component with the new theme model ( #33573 )
2021-04-30 16:07:25 +01:00
Uchechukwu Obasi
aad772a7fc
ButtonSelect: updates component with the new theme model ( #33565 )
2021-04-30 15:45:43 +01:00
Kyle Brandt
231a8ef0cf
CodeOwners: Set owners of unified alerting migration ( #33571 )
2021-04-30 16:28:36 +02:00
kay delaney
68ee4808c1
Library panels: Adds description to library panels tab ( #33428 )
2021-04-30 15:15:48 +01:00
Kyle Brandt
713260f6fa
Alerting: Remove datasource (name) from migration ( #33544 )
...
no longer needed as of https://github.com/grafana/grafana/pull/33416
for https://github.com/grafana/alerting-squad/issues/126
2021-04-30 07:47:01 -04:00
Torkel Ödegaard
c0d28d9ed7
PageLayout: Fixes max-width breakpoint so that it triggers only when there is room for margin+ ( #33558 )
2021-04-30 12:08:02 +02:00
Hugo Häggmark
696a6ecd1e
Variables: Removes the never refresh option ( #33533 )
...
* Variables: Removes the never refresh option
* Tests: fixes DashboardModel repeat tests
* Tests: fixs snapshots
* Tests: fixes processVariable test
* Tests: fixes DashboardModel tests
2021-04-30 11:17:35 +02:00
Jack Westbrook
8f62e42554
Plugins: add level and signature badges to plugin details page ( #33553 )
...
* feat(grafana-ui): badge can accept react node for text, add shield-exclamation to icons
* feat(plugins): add PluginSignatureType type
* feat(pluginpage): introduce PluginSignatureDetailsBadge. Fix sidebar icon margin
* feat(pluginlistpage): update filterinput placeholder, introduce filter by plugin type
2021-04-30 11:00:41 +02:00
Arve Knudsen
ec3d8b590a
Server: Implement timeout waiting for server to shut down ( #33333 )
...
* tests: Undo cleanup in goroutine
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Server: Implement timeout waiting for it to shut down
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-04-30 10:55:59 +02:00
Hugo Häggmark
492227fa0a
Chore: Upgrades @braintree/sanitize-url ( #33551 )
2021-04-30 10:13:41 +02:00
Torkel Ödegaard
f6ecded86b
Theme: Page styles move to emotion global styles and design tweaks ( #33529 )
...
* Theme: Page styles move to emotion global styles and design tweaks
* More style tweaks
* tweaks
* Updating snapshots
* Another fix
* Another fix
* minor fix
* More style tweaks to page toolbar and alert rule page
* minor polish
2021-04-30 10:04:01 +02:00
Oscar Kilhed
aaca022df6
Make sure big lists of suggestions don't expand outside of the viewport ( #33520 )
...
* Add CustomScrollbar to data links suggestions
* Make sure to scroll to selected suggestion
2021-04-30 09:52:34 +02:00
Naseem
deb9ead72f
stackdriver backend services dashboard: add backend service dropdown ( #31494 )
...
this dashboard is most useful when being able to look at a service in particular. I tried making a multi-value but it did not produce good results. Having to choose, seeing a single service's metrics is better than the busy panels when all services are lumped together.
Signed-off-by: naseemkullah <naseem@transit.app>
2021-04-30 09:11:50 +02:00
Ryan McKinley
daa3175f1c
Models: add cue spec for text, news, and dashlist panels ( #32777 )
2021-04-29 20:12:37 -07:00
Torkel Ödegaard
33cfc3d9c2
Theme: Fixing storybook theme ( #33541 )
2021-04-29 21:12:50 +02:00
Ryan McKinley
1cda7c5977
Live: show disconnection error banner when in dev mode ( #33394 )
2021-04-29 11:57:51 -07:00
Owen Diehl
e4d3161690
revendors loki & alertmanager ( #33534 )
...
* revendors loki
* revendors alertmanager
2021-04-29 18:29:42 +01:00
Kyle Brandt
6c8ef2a9c2
Alerting: Alert Rule migration ( #33000 )
...
* Not complete, put migration behind env flag for now:
UALERT_MIG=iDidBackup
* Important to backup, and not expect the same DB to keep working until the env trigger is removed.
* Alerting: Migrate dashboard alert permissions
* Do not use imported models
* Change folder titles
Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com>
2021-04-29 13:24:37 -04:00
Ivana Huckova
cf958e0b4f
Explore: Refactor deduplication, hiding of logs and Logs component ( #33531 )
...
* Move fitlering and deduplication to comnponent to enable future caching
* Clean up LogsMetaInfo
* Update
* Memoize component
* Fix type errors
* Clean uo
* Add tests for filtering in combination with deduplication
2021-04-29 18:26:30 +02:00
Sofia Papagiannaki
1e380e869e
[Alerting]: some fixes ( #33538 )
...
* Fix fialure when adding state annotations
* Fix get org rules API
Do not fail response if user has no access to view a namespace.
Do not include the namespace in the response instead.
* lint
2021-04-29 19:15:15 +03:00
changdingfang
adc68a310e
Update team.md ( #33454 )
2021-04-29 10:52:48 -04:00
Alex Khomenko
3b515e650c
Grafana-UI: Update React Hook Form to v7 ( #33328 )
...
* Update hook form
* Update Form component
* Update ChangePassword.tsx
* Update custom types
* Update SaveDashboardForm
* Update form story
* Update FieldArray.story.tsx
* Bump hook form version
* Update typescript to v4.2.4
* Update ForgottenPassword.tsx
* Update LoginForm.tsx
* Update SignupPage.tsx
* Update VerifyEmail.tsx
* Update AdminEditOrgPage.tsx
* Update UserCreatePage.tsx
* Update BasicSettings.tsx
* Update NotificationChannelForm.tsx
* Update NotificationChannelOptions.tsx
* Update NotificationSettings.tsx
* Update OptionElement.tsx
* Update AlertRuleForm.tsx
* Update AlertTypeStep.tsx
* Update AnnotationsField.tsx
* Update ConditionField.tsx
* Update ConditionsStep.tsx
* Update GroupAndNamespaceFields.tsx
* Update LabelsField.tsx
* Update QueryStep.tsx
* Update RowOptionsForm.tsx
* Update SaveDashboardAsForm.tsx
* Update NewDashboardsFolder.tsx
* Update ImportDashboardForm.tsx
* Update DashboardImportPage.tsx
* Update NewOrgPage.tsx
* Update OrgProfile.tsx
* Update UserInviteForm.tsx
* Update PlaylistForm.tsx
* Update ChangePasswordForm.tsx
* Update UserProfileEditForm.tsx
* Update TeamSettings.tsx
* Update SignupInvited.tsx
* Expose setValue from the Form
* Update typescript to v4.2.4
* Remove ref from field props
* Fix tests
* Revert TS update
* Use exact version
* Update latest batch of changes
* Reduce the number of strict TS errors
* Fix defaults
* more type error fixes
* Update CreateTeam
* fix folder picker in rule form
* fixes for hook form 7
* Update docs
Co-authored-by: Domas <domasx2@gmail.com>
2021-04-29 16:54:38 +03:00
Marcus Andersson
9de2f1bb8f
Alerting: moving data source uid to query instead of model ( #33416 )
...
* initial commit.
* Some more improvements to the expression data source support.
* added tests to verify that time range picker and data source picker only is visible when callbacks is passed to row.
* fixing issue with filter in alerting list.
* minor refactoring.
* removed guarding code, should be fixed in backend.
* cleaning the data query if we change to a different data source.
2021-04-29 15:10:14 +02:00
Piotr Jamróz
28ec96788c
Explore: Fix refreshing the graph when data changes ( #33511 )
...
* Track data structure changes in ExploreGraphNGPanel
* Use usePrevious hook
* Remove unused import
2021-04-29 15:02:14 +02:00
dependabot[bot]
8dea72a763
Chore(deps): Bump go.opentelemetry.io/collector from 0.22.0 to 0.25.0 ( #33365 )
...
* Chore(deps): Bump go.opentelemetry.io/collector from 0.22.0 to 0.25.0
Bumps [go.opentelemetry.io/collector](https://github.com/open-telemetry/opentelemetry-collector ) from 0.22.0 to 0.25.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-collector/compare/v0.22.0...v0.25.0 )
Signed-off-by: dependabot[bot] <support@github.com>
* Apply changes to tempo code
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2021-04-29 15:01:48 +02:00
Hugo Häggmark
e8707944a3
LibraryPanels: adds View panel in dashboard modal ( #33517 )
2021-04-29 14:51:15 +02:00
Dominik Prokop
45c763a76b
GraphNG: Bring back plot instance getter on the Plot context ( #33516 )
...
* Bring back plot instnace getter on the Plot context
* Update plot context usage
2021-04-29 13:51:21 +02:00
Kyle Brandt
d32fcbe2bc
Alerting: Eval pkg tests and more specific error handling ( #33496 )
...
* comment updates
* more friendly error messages, in particular if it looks like time series data
2021-04-29 07:27:32 -04:00
Emil Tullstedt
840828b5d2
Access control: Allow empty scope requirement lists ( #33518 )
2021-04-29 13:22:13 +02:00
Torkel Ödegaard
017bcc73ba
Theme: Move displayProcessor & fieldOverrides & visualizations to use new theme model ( #33502 )
...
* WIP updating getColorForTheme
* Progress
* More fixes
* Updating more parts
* Fixing unit tests
* Fixing more tests
* Fixing storybook issues
* More refactoring
* Fixed test
2021-04-29 12:44:06 +02:00
Jack Westbrook
0836e7bde8
IconButton: introduce variant for red and blue icon buttons ( #33479 )
...
* feat(iconbutton): introduce variant for red and blue icon buttons
* refactor(iconbutton): give variants breathing space in story
* docs(iconbutton): add docblock comment for variant prop
* refactor(iconbutton): prefer secondary to undefined variant prop and add default
* refactor(iconbutton): use icon color for hover
2021-04-29 10:47:06 +02:00
Alex Khomenko
440f4182b9
Chore: Update @grafana/eslint-config ( #33512 )
...
* Update @grafana/eslint-config
* Update @typescript-eslint/eslint-plugin and @typescript-eslint/parser
* Update dependencies in grafana/toolkit
2021-04-29 11:30:19 +03:00
Arve Knudsen
ca56e59415
CI: Upgrade build pipeline tool ( #33514 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-04-29 10:11:15 +02:00
Sofia Papagiannaki
fcd674ec58
Fix deleting prom rules endpoints via ds_proxy ( #33491 )
2021-04-29 10:20:51 +03:00
Torkel Ödegaard
e977085933
PanelQueryRunner: Clear field state between query results ( #33504 )
...
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2021-04-29 08:02:33 +02:00
Ryan McKinley
1f4154a50d
QueryRunner: update frame length when skipping processing ( #33508 )
2021-04-28 15:13:04 -07:00
Owen Diehl
ec37b4cb87
[Alerting] Automatic request instrumentation ( #33444 )
...
* alerting: automatic request instrumentation
* always expose alerting prom metrics
* globally register alerting metrics
2021-04-28 16:59:15 -04:00
Josh Hunt
ef9f99645d
Bump version in latest.json ( #33500 )
2021-04-28 21:26:34 +01:00
Aaron Ecay
c56763c42d
Document customQueryParameters for prometheus datasource provisioning ( #33440 )
...
* Document customQueryParameters for prometheus datasource provisioning
The customQueryParameters option was added to prometheus datasources in https://github.com/grafana/grafana/pull/19121 . This PR updates the "provisioning" documentation to contain a reference to this in the `jsonData` options for a prometheus datasource.
* Update docs/sources/administration/provisioning.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-04-28 12:58:04 -04:00
Grot (@grafanabot)
08db0435bb
ReleaseNotes: Updated changelog and release notes for 7.5.5 ( #33473 )
...
* ReleaseNotes: Updated changelog and release notes for 7.5.5
* Add release notes to index.md
* Update release-notes-7-5-5.md
* Update CHANGELOG.md
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com>
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
2021-04-28 17:01:58 +01:00
Kyle Brandt
914443c816
Alerting: Fix state cache id duplication ( #33480 )
2021-04-28 11:42:19 -04:00
Gang Chen
7509c6cbc4
Documentation: Update developer-guide.md ( #33478 )
2021-04-28 11:35:32 -04:00
Hugo Häggmark
a9d6d131b3
LibraryPanels: Small UI improvements ( #33482 )
2021-04-28 17:34:18 +02:00
Gábor Farkas
f176b4818a
devenv: InfluxDB: fix version mismatch ( #33484 )
2021-04-28 16:39:31 +02:00
Arve Knudsen
36d94f3f86
CodeOwners: Set owners of alerting code ( #33483 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-04-28 16:21:30 +02:00