jcolladokuri
237ca1660f
AzureMonitor: Add Links to Azure Portal for VM Insights dashboards ( #46482 )
2022-03-21 12:59:14 +01:00
jcolladokuri
0dc4db0a94
AzureMonitor: Update curated dashboards ( #46745 )
2022-03-21 12:01:22 +01:00
Andres Martinez Gotor
788fde7ead
AzureMonitor: Update China regions ( #46695 )
2022-03-21 09:36:26 +01:00
Gábor Farkas
890a7cdd7c
loki: add id-field ( #46519 )
...
* loki: add id-field
* fixed test
2022-03-21 09:15:52 +01:00
Adela Almasan
bb8304c838
Heatmap: Color scale improvements ( #46751 )
...
* Updated color scale tooltip and added follower
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-03-18 21:03:06 -05:00
Adela Almasan
576b73ed48
Updated bucket size/offeset settings; Check for negative values in bucket size ( #46754 )
2022-03-18 18:47:34 -05:00
Kristina
1afd278bd0
Fix tests for Explore - ErrorContainer, MetaInfoText & cleanup ( #46744 )
...
* Move ErrorContainer.test.tsx to RTL
* Remove snapshots and unnecessary tests, change enzyme tests to RTL
* Add fixes to tests
2022-03-18 14:44:51 -05:00
Pierre Baumard
1dbfbc0e96
GeoMap: support setting view based on map data ( #44852 )
2022-03-18 11:13:55 -07:00
Ashley Harrison
6eecd021a4
Chore: Fix a couple more console errors in jest tests ( #46732 )
...
* Chore: Fix a couple more console errors in jest tests
* remove console.errors
* better spy
* Fix linting
2022-03-18 17:25:59 +01:00
Eric Leijonmarck
c592e6606c
Filtering of service accounts by expired tokens ( #46251 )
...
* Refactor to ServiceAccounts Query
* filtering expiredtokens on backend
* WIP
* WIP
* WIP
* fix: missing that we do not cover for no service accounts
* fix: wrong link
* feat: filter able to get only service accounts with expired tokens
* refactor: naming
* Update pkg/services/serviceaccounts/models.go
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
* goimported
* Update pkg/services/serviceaccounts/api/api.go
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
2022-03-18 15:50:34 +01:00
lean.dev
c3ee98a9b6
Fixing delete dashboard url form datasource configuration ( #46637 )
2022-03-18 11:47:57 -03:00
Gilles De Mey
64d4e6fcaa
Alerting: visual alert type picker ( #46111 )
2022-03-18 14:33:32 +01:00
renovate[bot]
644e7e7c19
Update dependency lru-cache to v7.7.1 ( #46675 )
...
* Update dependency lru-cache to v7.7.1
* update snapshot
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2022-03-18 11:30:15 +00:00
Ashley Harrison
7d8af12cca
Navbar: remove visual sections + home button ( #46693 )
...
* Navbar: remove visual sections + home button
* remove padding
* Fix label
2022-03-18 10:57:55 +00:00
Tom
ea7d5a6185
Transformers: Add template variable substitution ( #44486 )
...
* Transformers: Add template variable replacement to transformer operator
* Transformers: Add template variable replacement to calculateField transformer
* Transformers: Add scopedVars to transformer template replacement
* Transformers: Add calculateField template variable test
* Transformers: Fix 'undefined' is not assignable to type 'string'
* Transformers: Fix lint-frontend bug
* Fix lint check
* Fix lint
2022-03-18 10:25:53 +00:00
Ryan McKinley
93390b5a1e
Search: use search service ( #46714 )
...
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2022-03-18 01:36:32 +01:00
Nathan Marrs
7589b83c5b
Icon: Fix default icon color mismatch with default fill color ( #46602 )
2022-03-17 14:52:32 -07:00
Ryan McKinley
736820f975
Search: use minisearch for better frontend searching ( #46710 )
...
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2022-03-17 14:26:48 -07:00
Connor Lindsey
0da40b7f09
Tempo: Separate trace to logs and loki search datasource config ( #46655 )
...
* Tempo: Separate trace to logs and loki search datasource config
* Add getLokiSearchDS util and tests
2022-03-17 11:23:15 -06:00
Kevin Yu
fb17b9f545
Chore: clean up console warning from Annotation Query Editor tests ( #46660 )
2022-03-17 07:00:42 -07:00
Kevin Yu
56b750dc42
Chore: clean up console warning from Cloudwatch Dimensions tests ( #46661 )
2022-03-17 06:59:55 -07:00
Kevin Yu
7c255f190c
Chore: clean up console warning from Query Header tests ( #46663 )
2022-03-17 06:57:43 -07:00
Kevin Yu
cffa52d906
Chore: clean up console warning from Metric Stat Editor tests ( #46662 )
2022-03-17 06:57:23 -07:00
Kevin Yu
50bbbbf376
Chore: clean up console warning from Resource Picker tests ( #46664 )
2022-03-17 06:55:14 -07:00
Piotr Jamróz
ed155e47c4
Graphite: Fallback to hardcoded list of functions when no functions are returned ( #46681 )
2022-03-17 14:26:08 +01:00
Joao Silva
a9002e80b4
Annotations: Fix issue with spinner always showing ( #46686 )
2022-03-17 13:00:52 +00:00
Ashley Harrison
586272e5f0
Navigation: Introduce a preferences table to store Navbar preferences ( #44914 )
...
* First attempt at creating new navbar_preferences table in db
* Apply to every nav item instead of just home
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* Chore: introduce initTestDB options for features
* fix unit tests
* Add another unit test and some logic for detecting if a preference already exists
* tidy up
* Only override IsFeatureToggleEnabled if it's defined
* Extract setNavPreferences out into it's own function, initialise features correctly
* Make the linter happy
* Use new structure
* user essentials mob! 🔱
* user essentials mob! 🔱
* Split NavbarPreferences from Preferences
* user essentials mob! 🔱
* user essentials mob! 🔱
* Fix lint error
* Start adding tests
* Change internal db structure to be a generic json object
* GetJsonData -> GetPreferencesJsonData
* Stop using simplejson + add some more unit tests
* Update pkg/api/preferences.go
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
* Updates following review comments
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* Change patch to upsert, add a unit test
* remove commented out code
* introduce patch user/org preferences methods
* Return Navbar preferences in the get call
* Fix integration test by instantiating JsonData
* Address review comments
* Rename HideFromNavbar -> Hide
* add swagger:model comment
* Add patch to the preferences documentation
* Add openapi annotations
* Add a short description
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* Update unit tests
* remove unneeded url
* remove outdated comment
* Update integration tests
* update generated swagger
Co-authored-by: Alexandra Vargas <alexa1866@gmail.com>
Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2022-03-17 12:07:20 +00:00
Torkel Ödegaard
60af3af92c
Prometheus/Loki: Allow custom value in operation selects ( #46679 )
...
* Prometheus/Loki: Allow custom value in operation selects
* Add missing operator
2022-03-17 12:55:47 +01:00
Andrej Ocenas
22a4c5f086
Prometheus: Add optional param tooltip for visual builder ( #46644 )
2022-03-17 10:51:42 +01:00
Andrej Ocenas
ee87ed3b51
Prometheus: Parsing for vector matching and UI changes ( #46668 )
2022-03-17 10:50:49 +01:00
Ikko Ashimine
d887068904
Alerting: Fix typo in matchers.test.ts ( #46641 )
...
occurence -> occurrence
2022-03-16 19:15:23 +00:00
Ryan McKinley
15ca294be0
Dashboards: show changes in save dialog ( #46557 )
...
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2022-03-16 09:28:09 -07:00
gotjosh
a338c78ca8
Alerting: Remove internal labels from prometheus compatible API responses ( #46548 )
...
* Alerting: Remove internal labels from prometheus compatible API responses
* Appease the linter
* Fix integration tests
* Fix API documentation & linter
* move removal of internal labels to the models
2022-03-16 16:04:19 +00:00
Torkel Ödegaard
31d141b267
Dashboards: Fixes repeating by row and no refresh ( #46565 )
2022-03-16 07:57:12 +01:00
Joao Silva
00c93fff8c
Grafana-UI: Fix use of Fragments as children of InlineField ( #46326 )
2022-03-15 17:50:29 +00:00
Andrej Ocenas
ecdbcd4941
Prometheus: Fix support of AdHoc filters for specific queries ( #46547 )
...
* Use parser to deal with ad hoc filters
* Add comment
* Fix variable naming
* Fix tests
2022-03-15 17:37:20 +01:00
Andrej Ocenas
a2cec62fa2
Prometheus: Fix parsing of binary operations ( #46549 )
2022-03-15 17:00:29 +01:00
Nathan Marrs
11aa6a3e8f
Value mapping/add icon support ( #44503 )
...
Co-authored-by: Ryan McKinley <ryantxu@users.noreply.github.com>
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-03-15 08:51:12 -07:00
Alexander Kubyshkin
5cf0906622
Add unpack to Loki Log Browser ( #44623 ). ( #46573 )
2022-03-15 14:17:36 +01:00
Dominik Prokop
f452e068f0
TimeSeries: Add migration for Graph panel's transform series override ( #46577 )
2022-03-15 14:29:15 +02:00
Gabriel MABILLE
75935c75c1
ServiceAccounts: Fix role update ( #46568 )
...
* ServiceAccounts: Fix role update
Co-authored-by: Jguer <joao.guerreiro@grafana.com>
* Fix patch missing metadata
Co-authored-by: Jguer <joao.guerreiro@grafana.com>
* Fix patch missing metadata
Co-authored-by: Jguer <joao.guerreiro@grafana.com>
Co-authored-by: Jguer <joao.guerreiro@grafana.com>
2022-03-15 10:48:10 +01:00
Ryan McKinley
4cd27a380d
Geomap: applying multiple line builders should keep each segment ( #46563 )
2022-03-14 22:58:41 -07:00
Giordano Ricci
00f67cad1b
Explore: set correct datasource when creating panel in a dashboard ( #46530 )
2022-03-14 23:26:13 +00:00
Joey Tawadrous
bd21355f87
Trace view: Scroll to top on new query ( #46278 )
2022-03-14 14:22:37 -06:00
Sarah Zinger
275f33cf37
Azure Monitor: Add feature gating for new MetricsQueryEditor with resource picker ( #46124 )
...
* Azure Monitor: Use feature toggle for dev of new UI for Metrics Queries.
* Fixes after CR
2022-03-14 15:07:45 -04:00
Andrej Ocenas
04409799fb
Prometheus: Allow boolean params on operations and add bool modifier parsing ( #46448 )
...
* Allow boolean params on operations and add bool modifier parsing
* Allow float number literals
2022-03-14 17:36:25 +01:00
renovate[bot]
9546523f41
Update dependency @react-aria/button to v3.4.2 ( #45452 )
...
* Update dependency @react-aria/button to v3.4.2
* Use type assertions
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2022-03-14 16:31:55 +00:00
Yaelle Chaudy
0b0d612372
A11y : Fix option panes not accessible when collapsed ( #46405 )
...
* Turned div into text button to make it accessible
* Only icon as button to avoid embedded buttons with overrides delete button
* use icon in Button directly
* Removed unused import
* moving id for labelledBy to h6 elem instead of icon
* Tweaking style, bigger caret
* Fixed aria-expanded
* Modifying and using CollapseToggle from unified alerting
* Added restOfProps to CollapseToggle
2022-03-14 15:37:13 +01:00
Konrad Lalik
2409405c34
Alerting: Integrate alerts with folders ( #45763 )
...
* Add Alert rules tab
* Add pagination and a simple name-based filtering
* Add name and label based filtering
* Improve pagination, handle the no results case
* Add tests for alerts folder view
* Add label filtering by clicking a tag
* Add tests for matcher to string method
* Add sorting, improve styles
* Use simple Select component for sorting
* Update default page size
* Remove unused code
* Use existingc thunk
* chore: update swagger spec
* Revert "chore: update swagger spec"
This reverts commit ee79ec7341
.
* Code cleanup
* Fix ts
Co-authored-by: gillesdemey <gilles.de.mey@gmail.com>
2022-03-14 15:21:29 +01:00
Jguer
e512029afb
ServiceAccounts: lowercase edit url ( #46517 )
2022-03-14 14:22:54 +01:00
matt abrams
52c9da1b11
A11y: add copy button to API Key modal ( #46387 )
...
* add copy button to API Key modal
* switch to inline button style
* update test snapshot
2022-03-11 11:10:27 +01:00
matt abrams
ec84b7bd23
A11y: Make the Library Panel "clear filter" buttons accessible ( #46341 )
...
* swap span for button + add aria-label
* swap span for button + add aria-label
* add new style + increase padding
* fix typo
* switch to link variant + trim custom css
2022-03-11 11:10:13 +01:00
Andrej Ocenas
b3f8079f4f
Prometheus: Add title to metrics in the metric select with metric help text ( #46406 )
...
* Add title to metrics in the select
* Add some comments
* Fix tests
2022-03-10 16:58:25 +01:00
Torkel Ödegaard
c952c9c90a
Loki: Adds more options to make line filter UX better ( #46324 )
...
* Loki: Adds more options to make line filter UX better
* Sync wording
* Tweak width
* More tweaks
* Added descriptions as well
2022-03-10 10:12:54 +01:00
Torkel Ödegaard
806b0e3b23
Prometheus/Loki: Improve operations header UX ( #46346 )
...
* Prometheus/Loki: Improve operations header UX
* More tweaks
* Rename file to match compponent
2022-03-10 09:38:53 +01:00
Yaelle Chaudy
9fc9708ba5
Fixed new variable button keyboard clickable ( #46293 )
2022-03-09 20:35:53 +01:00
jcolladokuri
ce543037f1
Azure Monitor: Add 2 more Curated Dashboards for VM Insights ( #45187 )
...
Some fixes to the App Insights Curated Dashboard for Azure Monitor as well.
2022-03-09 09:02:59 -05:00
Joao Silva
4b57ffbb4f
A11y: Replace LinkButton with Button in Value Mappings to make it accessible ( #46330 )
2022-03-09 14:01:24 +00:00
J Guerreiro
874ac9180b
Service Accounts: Add enabled/disabled status to list ( #46259 )
...
* ServiceAccounts: improve where condition
* ServiceAccounts: Add Enabled/Disabled status to list
2022-03-08 14:10:16 +01:00
Yaelle Chaudy
ed7701c6b2
Updated span for Button to be accessible ( #46296 )
2022-03-08 12:42:03 +01:00
Yaelle Chaudy
bfde8ee603
A11y : Updated EmptyListCTA to switch between Button and LinkButton ( #46292 )
...
* Updated EmptyListCTA to switch between Button and LinkButton
* Added tests
2022-03-08 12:41:00 +01:00
Torkel Ödegaard
79e5e5c024
DataSource: Default data source is no longer a persisted state but just the default data source for new panels ( #45132 )
...
* PanelEdit: Change the meaning of default data source to be just that the default for new panels
* Added migration, and also migration for annotation datasource prop to data source refs
* fix
* Fixing tests
* Fixes to annotation
* Fixing unit test
2022-03-08 08:56:12 +01:00
Leon Sorokin
a9ee446de4
HeatmapNG: fix Prometheus frame-per-bucket heatmap response rendering ( #46309 )
2022-03-07 20:51:11 -06:00
Leon Sorokin
0ee552dd65
LegacyBrowser: fix Safari 13.1 (lacks logical nullish assignent) ( #46260 )
2022-03-07 09:21:28 -06:00
Andrej Ocenas
1604e09549
Prometheus: Add text to Add operation button ( #46249 )
2022-03-04 15:59:11 +01:00
Andrej Ocenas
5aa1713941
Prometheus: Support more binary operations in visual builder ( #46241 )
...
* Add definitions and code to parse more binary ops
* Add alternativesKey
* Add signs to nested query
* Change label
2022-03-04 15:04:09 +01:00
Eric Leijonmarck
3d168eb34b
Searchable service accounts ( #45844 )
...
* WIP
* draft of WIP
* feat: search and filtering works 🌈
* Update pkg/models/org_user.go
* Apply suggestions from code review
* refactor: remove unsed function
* refactor: formatting
* Apply suggestions from code review
Co-authored-by: J Guerreiro <joao.guerreiro@grafana.com>
* WIP
* comment
* Update public/app/features/serviceaccounts/ServiceAccountsListPage.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* review comments
* wip
* working search and initial load of service accounts
* number of tokens working
* removed api call
* Apply suggestions from code review
* added accescontrol param
* accesscontrol prefix corrected
Co-authored-by: J Guerreiro <joao.guerreiro@grafana.com>
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2022-03-04 12:04:07 +01:00
Artur Wierzbicki
bdbb9ed54a
Live: Fix support for StreamingFrameAction.Replace
( #46086 )
...
* fix StreamingFrameAction.replace
* simplify
* beautify
* cover `streamingDataFrame.ts` changes with unit tests
* formatting
* cover `LiveDataStream.ts` changes with unit tests
* update frame length after pushing new values
2022-03-04 14:04:30 +04:00
Jack Westbrook
9b5a42845d
Chore: Remove prettier-plugin from ESLint ( #45910 )
...
* chore(eslint): remove prettier-plugin
* chore(eslint): test changes by using grafana/eslint 3.0.0-alpha
* chore(prettier): add js,ts,tsx when checking / writing
* chore(prettier): dont check js files
* chore(linting): align prettier and eslint ignore files
* style: run prettier:write on FE codebase
* chore(eslint): use grafana/eslint-config@3.0.0
2022-03-04 10:49:50 +01:00
Gilles De Mey
a9b1a964b0
Alerting: adds support for federated rules ( #46037 )
2022-03-04 10:16:13 +01:00
matt abrams
52629fbc4e
Postgres: Return tables with hyphenated schemes ( #45754 )
...
* add basic test for buildSchemaConstraint function
* wrap table schema in quote_ident function
* fix type error in meta_query.test
* swap test for inline comment
* make comment more readable
2022-03-04 09:56:55 +01:00
Gábor Farkas
c4404982dc
loki: backend-mode: add nanosecond-timestamps ( #45963 )
2022-03-04 09:42:18 +01:00
Torkel Ödegaard
a404dba29d
Datasource: Fixes changing default data source causes inconsistency between panel data source and query data source ( #46167 )
...
* Datasource: Fixes changing default data source causes inconsistency between panel data source and query data source
* Fix unit tests
2022-03-04 08:58:13 +01:00
Ryan McKinley
0aad61d0ac
Search: add a simple search page (behind feature flag) ( #45487 )
...
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2022-03-03 14:56:14 -08:00
Leon Sorokin
3e3a657343
BarChart: fix hovered series highlight in tooltip ( #44882 )
2022-03-03 10:57:54 -06:00
Ashley Harrison
b1125c0ba3
TextPanel: Sanitize after markdown has been rendered to html ( #46166 )
...
* Sanitize after markdown has been rendered to html
* Update e2e test
2022-03-03 16:50:09 +00:00
Joey Tawadrous
6f3ebbe6cc
Trace view scroll to top button ( #46077 )
...
* Trace view scroll to top button
* Updated button css selector
* Updates for scrolToTop
* Updated snapshot
* Updated render
* Add smooth scrolling
2022-03-03 16:19:44 +00:00
Andres Martinez Gotor
cfbf58fb92
AzureMonitor: Move rest of deprecated code ( #46109 )
2022-03-03 17:16:10 +01:00
Karl Persson
7966e3583e
Access control: Dashboard and folder permissions frontend ( #45094 )
2022-03-03 15:18:27 +01:00
Giordano Ricci
4caf5dbbd9
Explore: minor copy changes in the Add to dashboard modal ( #46154 )
...
* Explore: minor copy changes in the Add to dashboard modal
* fix tests
* Additional copy changes & test fixes
2022-03-03 14:01:03 +00:00
Connor Lindsey
cb1649e9b8
NodeGraph: Include frames with name edges or nodes in node graph ( #46047 )
...
* Include frames with name edges or nodes in node graph
2022-03-03 06:42:08 -07:00
Torkel Ödegaard
3b487c2661
Loki: Initial loki builder tests ( #46076 )
2022-03-03 14:30:17 +01:00
Andrej Ocenas
6dea7275a6
Prometheus: Improved the function selector with search ( #46084 )
...
* Change to cascader with search
* Don't change to select on backspace
* Fix error on group select
* Simplify getOperationDef
* Set cascader wrapper to fixed width
* Add placeholder
* Fix tests and type errors
* Fix props for backward compatibility
* Add comments
2022-03-03 10:24:33 +01:00
Giordano Ricci
09f48173fe
Explore: allow users to save Explore state to a new panel in a new dashboard ( #45148 )
...
* Add Button & Form
* Save to new dashboard
* minor adjustements
* move modal to a separate component
* handle dashboard name related errors
* pick visualization based on query results
* lift state
* fix types
* Add Open & Close tests
* Add submit test
* add navigation tests
* add tests for API errors
* remove console log
* create wrapper component for AddToDashboardButton
* remove unused mapped prop
* add wrapper test
* rename isActive to isVisible
* invert control over save & redirect logic
* remove leftover commented code
* cleanup setup parameters
* reorganize code & improve tests
* Remove option to add to existing dashboard
* UI tweaks
* disable button if no queries
* Fix tests
* better accessible tests
* handle submission errors
* improve addToDashboard types
* use dashboardSrv' saveDashboard
* remove leftover test helper
* fix typo
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
* Apply suggestions from code review
Co-authored-by: Kristina <kristina.durivage@grafana.com>
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
Co-authored-by: Kristina <kristina.durivage@grafana.com>
2022-03-03 08:54:06 +00:00
renovate[bot]
52568c7af1
Update dependency ol to v6.13.0 ( #45949 )
...
* Update dependency ol to v6.13.0
* fix types
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-03-03 09:45:33 +01:00
matt abrams
c863676b65
Postgres: Fix aggregate dropdown when TimescaleDB is enabled ( #45993 )
...
* add timescaleDB checker function
* use existing fn findAggregateIndex
* build options from empty list
* refactor fn and handle state for existing elem
* remove newline
2022-03-03 09:29:37 +01:00
Leon Sorokin
89140c8353
Graph (old): fix null interval insertion, again (follow-up to #46069 ) ( #46139 )
2022-03-03 00:02:18 -08:00
Leon Sorokin
854f872b40
StateTimeline: insert trailing null value at +interval ( #45997 )
2022-03-02 18:21:12 -06:00
renovate[bot]
1f332a846b
Update dependency lezer-promql to v0.22.0 ( #45838 )
...
* Update dependency lezer-promql to v0.22.0
* Add missing peerdep + fixes in code
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2022-03-02 19:45:08 +01:00
Ryan McKinley
855979aac5
Heatmap: add scale display to legend ( #45571 )
...
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2022-03-02 09:04:19 -08:00
Torkel Ödegaard
5c05a3deb9
Prometheus: Save query editor mode default ( #46074 )
2022-03-02 16:16:19 +01:00
Andres Martinez Gotor
d4b05f9421
AzureMonitor: Remove deprecated configuration parameters ( #45860 )
2022-03-02 15:42:30 +01:00
Ashley Harrison
3427ae463d
Dashboard: Add feature reporting for dashboard import ( #46080 )
...
* Add feature reporting for dashboard import
* Update tracking event names
2022-03-02 14:35:52 +00:00
Marco Dalalba
e738896316
Jaeger: Add support for traceID field to accept variables. ( #45559 )
2022-03-02 07:35:36 -07:00
kay delaney
f530775e45
Chore: Remove several 'as' type assertions ( #45913 )
2022-03-02 14:02:09 +00:00
Isabella Siu
590ea19c3f
Cloudwatch: use CheckHealth for testing datasource ( #45974 )
...
Co-authored-by: Shirley Leu <4163034+fridgepoet@users.noreply.github.com>
2022-03-02 08:48:51 -05:00
Torkel Ödegaard
a53f169350
Loki: Update syntax highlighting to colorize strings ( #45962 )
...
* Loki: Update syntax highlighting to colorize strings
* Updated patterns
2022-03-02 13:43:56 +01:00
Erik Sundell
8e08128f83
CloudWatch: List all metrics properly in SQL autocomplete ( #45898 )
...
* make sure right value is passed for metric
* add unit test
2022-03-02 10:46:17 +01:00
Leon Sorokin
fa99143eee
Graph (old): use timeField.config.interval to apply null insertion logic ( #46069 )
2022-03-01 23:23:48 -06:00
Ryan McKinley
796bc27f75
Loki: support live streaming ( #42804 )
2022-03-01 14:46:52 -08:00
Torkel Ödegaard
9bd6290968
Prometheus: Query builder operation docs popover improvements ( #46006 )
2022-03-01 13:12:14 +01:00
Torkel Ödegaard
16b99cc0f5
Prometheus: Query builder ux tweaks ( #46017 )
2022-03-01 13:11:47 +01:00
Stephanie Closson
251d6ed0e0
Chore: Add function documentation for new functions (Prometheus visual query editor) ( #45745 )
...
* add missing function documentation
* added trigonometric functions
2022-03-01 07:42:32 -04:00
J Guerreiro
bc5237e840
Service Accounts: Link final components in service accounts detail page ( #45929 )
...
* ServiceAccounts: Delete/Disable service account from details page
* ServiceAccounts: capitalize viewable messages from UI
* ServiceAccounts: Link new update endpoint to details page
* ServiceAccounts: reimplement service account retrieve to include is_disabled and only target service accounts
* Cleanup styles
* Fix modal show
* ServiceAccounts: simplify handler functions
* Apply suggestions from code review
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
Co-authored-by: Clarity-89 <homes89@ukr.net>
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2022-03-01 09:21:55 +01:00
Leon Sorokin
b491d6b4dc
Histogram: auto-skip x tick labels to avoid overlap ( #45996 )
2022-03-01 01:55:53 -06:00
Leon Sorokin
1c4b20b268
BarChart: fix single group rendering ( #45953 )
2022-02-28 15:21:09 -06:00
Leon Sorokin
5aab0063c7
StateTimeline: fix duration in tooltip ( #45955 )
...
- Fixes duration in StateTimeline appearing incorrectly when "merge consecutive values" is enabled.
2022-02-28 14:16:30 -06:00
Cat Perry
83664121bc
Jaeger: Show loader when search options havent yet loaded ( #45936 )
...
* Swap out Select component for AsyncSelect to Jaeger search panel
2022-02-28 11:06:09 -08:00
Nathan Rodman
e814e7364b
Alerting: fix alert groups grouping ( #45012 )
...
* fix multiple non-grouped groupings
* drop duplicate alerts
* add test for multiple groups without labels
Co-authored-by: gillesdemey <gilles.de.mey@gmail.com>
2022-02-28 09:50:17 -08:00
Dominik Prokop
eb537e2efd
TablePanel: Add cell inspect option ( #45620 )
...
* TablePanel: Add cell preview option
* Review comments
* Change modal title
* Review
* Review 2
* Docs
2022-02-28 15:35:05 +01:00
Giordano Ricci
c014f8b806
DashboardSrv: add saveDashboard method ( #45627 )
...
* DashboardSrv: add saveDashboard method
* revert external changes
* use DashboardModel instead of DashboardDataDTO
* use fetch instead of request
* use getSaveModelClone in saveDashboard
2022-02-28 11:30:11 +00:00
Joey Tawadrous
42e516523f
InfluxDB: test datasource ( #45636 )
...
* Test datasource
* Remove core.explore check
* Extract resused check to function
* Update messages
* Updated message
2022-02-28 10:22:10 +00:00
Joey Tawadrous
f4658b72e1
InfluxDB: variables migration to backend ( #45512 )
...
* Remove check for explore
* Remove core app import
* applyVariables for select
* applyVariables for tags
* applyVariables for other query props
* applyTemplateVariables for flux
* applyTemplateVariables for influx
* Backwards compatibility
* interpolateVariablesInQueries
* Update InfluxQL mode and alias in test
* Should interpolate all variables with Flux mode
* Variables should be interpolated correctly
* Removed unused import
* explore in if check
* Removing backwards compat copy from classicQuery
* Return expandedQuery
* Const
2022-02-28 10:15:33 +00:00
Ivana Huckova
4ab191b612
Prometheus: Create AutoSizeInput with dynamic width ( #45601 )
...
* Autosize input for dynamic width
* Update
* Refactoring to use measureText util instead
* removed react fragment tags
* Add tests
* Use AutoSize input in legend, step and nested queries vector matcher
* Update
* Remove unused imports
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2022-02-28 10:52:58 +01:00
Torkel Ödegaard
9b6552c7b4
Prometheus: Fixes crash in the new options component when range was undefined ( #45921 )
...
* Prometheus: Fixes crash in the new options component when range was undefined
* Simplified conditions
2022-02-28 10:37:22 +01:00
Erik Sundell
1df040eb23
CloudWatch: Remove error message when using multi-valued template vars in region field ( #45886 )
...
* don't show error message when using multi-valued template variables in region field
* add unit tests
* remove commented code
2022-02-28 09:28:27 +01:00
Shachi Solanki
190757b3c6
Tempo / Trace Viewer: Support Span Links in Trace Viewer ( #45632 )
...
* Support Span Links in Trace Viewer
* Update ReferencesButton styles
* Remove datasource prop
Co-authored-by: Connor Lindsey <cblindsey3@gmail.com>
2022-02-25 11:14:13 -07:00
Ikko Ashimine
c656a6bf1e
Live: fix typo in channel.ts ( #45915 )
...
recieved -> received
2022-02-25 18:20:16 +03:00
Peter Holmberg
4ef58e595c
Alerting: Add validation to slack contact point ( #45618 )
...
* add requiredifempty
* rename field, fix logic
* update mockdata
* remove logs
* update test
* fix json expected payload in e2e tests
* fix test
* fix test again
Co-authored-by: Jean-Philippe Quémémer <jeanphilippe.quemener@grafana.com>
2022-02-25 15:10:21 +01:00
Ashley Harrison
033f6cffb5
Add this import to fix main ( #45905 )
2022-02-25 12:54:19 +01:00
J Guerreiro
14ec0cbd3b
Service Accounts: Polish service account detail page ( #45846 )
...
* ServiceAccounts: add teams to service account DTO
* ServiceAccounts: Add team display to service accounts
* ServiceAccounts: add AC metadata to detail route
* ServiceAccounts: add role picker to detail page
* ServiceAccounts: Add role to profile DTO
* ServiceAccounts: remove wip mention of created by
2022-02-25 11:33:34 +01:00
Torkel Ödegaard
f7291ce270
Prometheus: Remove the auto range vector option ( #45715 )
...
* Prometheus: Remove auto range option
* Prometheus: Remove auto range option
* Overhaul of range vector operations and default param
* Make sure label is string
2022-02-25 11:18:08 +01:00
Peter Holmberg
9d61dcb02b
Alerting: Disable Alertmanager picker if there's only one Alertmanager ( #45781 )
2022-02-25 11:17:28 +01:00
Gábor Farkas
1cad35ea67
loki: backend mode: support all query types ( #45619 )
...
* loki: backend mode: support all query types
* loki: backend: adjust vector-parsing field-names
* loki: backend: no interval for streams-dataframes
* loki: backend: enable more query types
* better variable name
* removed unnecessary code
* improve frame-processing
* more unit tests
* improved code
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
* remove unused code
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
* simplify code
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
* lint fix
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2022-02-25 09:14:17 +01:00
J Guerreiro
1cc5b25a05
ServiceAccounts: Fix token creation with expiry ( #45855 )
...
* ServiceAccounts: Fix token creation with expiry
* ServiceAccounts: remove extraneous import
2022-02-24 19:22:57 +01:00
Borja Garrido
359ef074fa
Transformations: Add new grouping to matrix transformer ( #28739 )
...
* Add new transformer grouping to matrix
* Add new transformer grouping to matrix tests
* Add new transformer grouping to matrix UI
* Fix tests for grouping to matrix transformer
* Update transformer to latest interfaces
* Add field selector to form
* Make linter happier
* Replace Fields with InlineSnapshot as it was to taking units properly
* Rearrange for new transformers structure
* Expose GroupingToMatrix options as part of data package
* Increase labelWidth as suggested
* Add uniqueValues helper function and use it to extract Column and Row Values
2022-02-24 17:01:04 +00:00
Erik Sundell
b7a2fda2ae
Azure Monitor: Fixes broken log queries that use workspace ( #45820 )
...
* allow log queries to be executed also without a resource
* add unit tests
2022-02-24 15:29:18 +01:00
sam boyer
60db643983
grafana-cli: Diff generated ts directly instead of relying on git ( #45815 )
...
* Add diffing support to grafana-cli cue gen-ts
* Rely on diff comparison in cuetsify pipeline step
* Ignore *.gen.ts files with eslint
* Chore: Fix lint `sdboyer/cuetsify-compare` (#45818 )
* Sync drone
(cherry picked from commit 40645ab19e39ff9b0a12b7ebb13a4dc4c5e1d472)
* Fix lint
(cherry picked from commit c95ece983984432fea029335b2b729b09d76c7eb)
* Sign drone
Co-authored-by: Dimitris Sotirakis <sotirakis.dim@gmail.com>
2022-02-24 12:03:07 +01:00
Ashley Harrison
d3700c4032
Chore: Remove console output from some jest tests ( #45792 )
...
* Chore: Remove console output from some jest tests
* Skip manual performance test
2022-02-24 10:49:48 +00:00
Andrej Ocenas
5c6061acd2
Prometheus/QueryBuilder: Fix parsing of functions without args ( #45508 )
2022-02-24 11:37:25 +01:00
Konrad Lalik
d6c580e338
Alerting: Lotex alert groups removal ( #45150 )
...
* Add lotex group removal UI
* Connect UI to delete group action
* Add rules' refreshing after deletion of a group
* Improve confirmation message
* Add tests for RulesGroup
* Remove redundant check
2022-02-24 11:31:36 +01:00
Dominik Prokop
1dff00a7b3
Fixes state timeline and status history colors when pallet is used ( #45765 )
...
Co-authored-by: Victor Marin <victor.marin@grafana.com>
Co-authored-by: Victor Marin <victor.marin@grafana.com>
2022-02-24 00:38:49 -08:00
Piotr Jamróz
5715be4afa
Explore: Integration test for running a query and saving it in query history ( #45728 )
...
* Create basic query history test
* Clean up
* Clean up
* Use run button selector
* Mock AutoSizer instead of monkey-patching
* Reset local storage after each test
* Add accessible name to Run Query button and use it in the test
* Update public/app/features/explore/spec/helper/interactions.ts
Co-authored-by: Giordano Ricci <me@giordanoricci.com>
* Rename query to urlParams
* Fix linting errors
* Remove unused import
Co-authored-by: Giordano Ricci <me@giordanoricci.com>
2022-02-23 19:05:38 +01:00
renovate[bot]
ce4bba888c
Update dependency lru-cache to v7.4.0 ( #45739 )
...
* Update dependency lru-cache to v7.4.0
* Update snapshot
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2022-02-23 16:24:49 +01:00
kay delaney
043c1be572
NewNavigation: Fix failing e2e test ( #45779 )
2022-02-23 15:47:56 +01:00
Torkel Ödegaard
ef3f254208
Annotations: Fixes issue with tags filter not showing in annotation query ( #45724 )
2022-02-23 04:34:33 -08:00
kay delaney
860e94420e
NewNavigation: Fix default pinned items ( #45769 )
2022-02-23 12:40:56 +01:00
kay delaney
59317a22e4
AppNotifications: Migrate usage of deprecated appEvents.emit method to redux actions ( #45607 )
2022-02-23 11:31:15 +00:00
Jack Westbrook
d0d5304662
Revert "Update dependency react-hook-form to v7.26.1" ( #45761 )
...
* Revert "Update dependency react-hook-form to v7.26.1 (#43670 )"
This reverts commit 175891a5e3
.
* chore(renovate): prevent bumping react-hook-form so plugins dont break
2022-02-23 12:22:45 +01:00
kay delaney
49ac8b9f0a
Dashboards: Move slow dashboard logic to css ( #45686 )
2022-02-23 09:35:42 +00:00
Connor Lindsey
af2d19b02e
Tracing: Add option to map tag names to log label names in trace to logs settings ( #45178 )
...
* Add mapped tags input to allow renaming tags in trace to logs settings
* Use mappedTags in createSpanLink
* Update traceToLogs docs
* Show 'add kv' button if no tags
* Update docs
* Default mappedTags to tag values
2022-02-22 23:17:45 +01:00
J Guerreiro
e201b777c2
Service Accounts: small typo and dto fixes ( #45677 )
...
* ServiceAccounts: respect js casing and small fixes to displayed values
* ServiceAccounts: fix typos on service account
* ServiceAccounts: fix missing orgID in service account
* ServiceAccounts: Small fixes to dtos for profile
* ServiceAccounts: use result org id
* ServiceAccounts: return value is always nil
2022-02-22 14:58:42 +01:00
Ashley Harrison
5e3be8b17f
Variables: Fix adding variables to an unsaved dashboard ( #45722 )
...
* 🚧 : Mob session work 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* 🚧 : Mob session work 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
Co-authored-by: Alexandra Vargas <alexa1866@gmail.com>
2022-02-22 13:21:01 +00:00
Alexander Emelin
28c30a34ad
Comments: support live comments in dashboards and annotations ( #44980 )
2022-02-22 10:47:42 +03:00
kay delaney
b6682cdcb9
Navigation: Proof-of-concept for pinning navbar items ( #44775 )
2022-02-21 15:25:47 +00:00
Kristina
31090a75eb
Explore: Save log results sort order ( #45423 )
...
* Explore: Save log results sort order
* Change to radio group, add test and make language consistent with logs plugin
2022-02-21 06:09:43 -06:00
kay delaney
d134740bba
Redux: Factor Invites out to separate slice ( #45552 )
2022-02-21 11:37:49 +00:00
Ryan McKinley
636af1fff4
Testdata: use alias in streaming example ( #45631 )
2022-02-18 16:30:57 -08:00
Gábor Farkas
78c35e6000
cloudwatch: use monaco from grafana-ui ( #45597 )
2022-02-18 17:14:14 +01:00
renovate[bot]
175891a5e3
Update dependency react-hook-form to v7.26.1 ( #43670 )
...
* Update dependency react-hook-form to v7.27.0
* fix type errors for alerting components with new react-hook-form version (#45341 )
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Nathan Rodman <nathanrodman@gmail.com>
2022-02-18 17:13:31 +01:00
Levente Balogh
1e21184f65
Fix: JSON parsing in backend_srv ( #45598 )
...
* fix(plugins/state): console log errors during install / uninstall
* fix(backend_srv): catch JSON parse errors
Sometimes it can happen that a backend API responses says that it's
returning with a JSON content-type, however it actually returns an invalid
JSON (e.g. an empty body) - in which case the backendSrv() request errors out.
2022-02-18 16:06:37 +01:00
Piotr Jamróz
25f155a44d
Explore: Fix closing split pane when logs panel is used ( #45602 )
...
* Clear cache when LogsNavigation is mounted
* Update docs
2022-02-18 15:34:19 +01:00
Torkel Ödegaard
0838f4b1ad
Plugins: Fix importing panel modules ( #45590 )
2022-02-18 12:51:55 +01:00
Yaelle Chaudy
530913dd37
Azure Monitor : Adding json formatting of error messages in Panel Header Corner and Inspect Error Tab ( #44877 )
...
* Trying out json formatting of azure graph err from frontend
* Added some tests wip
* Wrap text in popper tooltip
* fix conflict
* Wrap text in tooltip
* Complete tests
* Added invalid json test
* Backend changes and tests
* removed comments
* Added split of message / json and edge cases tests
* Addressed comments
* moved catch to parseErrorMessage
2022-02-18 12:09:24 +01:00
Gábor Farkas
dd9b52fd41
log-volume: adjust request-id to avoid conflicts ( #45511 )
...
* log-volume: adjust request-id to avoid conflicts
* added unit test
* simplify test
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
* added missing import
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
2022-02-18 12:05:29 +01:00
Eric Leijonmarck
c6943797f9
Admin: token expiration colors and calculations ( #45231 )
...
* token expiration colorign and calculations
* Update public/app/features/serviceaccounts/ServiceAccountTokensTable.tsx
* removed unused calculation for expiry
* optional attribute
* fix: typo
* implement failing test :thumpsup:
* tests
* refactor: tests to use assertify
* tiem
* refactor: remote porntf
* refactor: make test NOT sleep 1 sec for all builds :D
Co-authored-by: J Guerreiro <joao.guerreiro@grafana.com>
2022-02-18 11:43:33 +01:00
renovate[bot]
f6780d8861
Update dependency lru-cache to v7 ( #45074 )
...
* Update dependency lru-cache to v7
* Make latest lru cache work
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2022-02-18 10:23:06 +01:00
Agnès Toulet
478efffce7
Data source insights: Switch from ID to UID ( #45532 )
2022-02-18 09:19:39 +01:00
Hugo Häggmark
dbec2b02fd
Variables: move state tree into a keyed state ( #44642 )
...
* Variables: move state tree into a keyed state
* Update public/app/features/variables/state/transactionReducer.ts
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
* Chore: fix prettier error
* Chore: renamed slices and lastUid
* Chore: rename toUidAction
* Chore: rename dashboardVariableReducer
* Chore: rename state prop back to templating
* Chore renames variable.dashboardUid
* Chore: rename toDashboardVariableIdentifier
* Chore: rename getDashboardVariable
* Chore: rename getDashboardVariablesState
* Chore: rename getDashboardVariables
* Chore: some more renames
* Chore: small clean up
* Chore: small rename
* Chore: removes unused function
* Chore: rename VariableModel.stateKey
* Chore: rename KeyedVariableIdentifier.stateKey
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
* user essentials mob! 🔱
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
Co-authored-by: kay delaney <kay@grafana.com>
Co-authored-by: Alexandra Vargas <alexa1866@gmail.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2022-02-18 06:06:04 +01:00
Kyle Cunningham
7a619cbe4e
Hide Barchart Value Labels for Automatic Display When Overlapping ( #44809 )
...
* Implement skip list for hiding value labels when Auto is selected
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2022-02-17 14:07:50 -06:00
Sarah Zinger
85753afdf0
Cloudwatch: Fix bug with onblur in Metric Search ( #45488 )
2022-02-17 12:53:42 -05:00
Cat Perry
fcd85951a7
Tempo: Switch out Select with AsyncSelect component to get loading state in Tempo Search ( #45110 )
...
* Replace Select with AsyncSelect to get loading state
2022-02-17 09:18:25 -08:00
Stephanie Closson
abe32b9521
Implement PromQL Functions in new query editor ( #45431 )
...
* adding functions for prometheus queries
* WIP: functions added. Just categorizing them and testing each function out
* WIP: testing functions
* WIP verifying other functions
* Functions added and classified
* added tests
* moved bottomk to aggregations module
* added tests to the PromQueryModeller
* code review comments. Made range renderer common with code
* removed duplicate functions
* updated comments
2022-02-17 12:39:41 -04:00
Ryan McKinley
bbddab0294
Chore: refactor core transformer folder structure ( #45497 )
2022-02-17 08:12:38 -08:00
Todd Treece
c8bb01d1ad
Expressions: Add support for variables ( #41778 )
2022-02-17 10:50:22 -05:00
Connor Lindsey
6e07b30048
Chore: Clean up logs and deprecated library in tracing tests ( #45486 )
...
* Fix logs and errors from tracing tests
* Refactor SpanBar to remove recompose
* Fix NodeGraph tests
2022-02-17 16:34:16 +01:00
Isabella Siu
dac2b7ef73
Cloudwatch: Fix resource variables ( #45496 )
2022-02-17 09:04:59 -05:00
Kristina
773da0e330
Explore: Add t * keybindings to change time range ( #45020 )
...
* Add keybindings to explore, allow override of dashboard model update for explore update
* Remove edits to Dashboard Model, add definition when url params should be updated
* Add tests
* Add and expose util function instead of bringing in unrelated library do not define explicit path to library file
* Use more generic model for TimeSrv
* Remove url utility functions, use javascript function instead
* Break out TimeModel into new type and bring it in
* condense object creation
2022-02-17 07:39:02 -06:00
Agnès Toulet
8835020457
Feature Highlights: add RS event for nav items ( #45470 )
2022-02-17 14:20:37 +01:00
Peter Holmberg
0502a84922
Alerting: Add choice to external alertmanagers ( #45157 )
...
* implement alertmanagersChoice
* return empty array and remove non null assertion
2022-02-17 12:47:38 +01:00
Torkel Ödegaard
7bc12629fd
Prometheus: Fixing state timing issues ( #45458 )
2022-02-17 11:41:05 +01:00
Artur Wierzbicki
3e53a08090
#44449 : hide dashboard preview admin UI ( #45493 )
2022-02-17 12:34:07 +04:00
Ryan McKinley
bb86ba99ee
Heatmap: new panel based based on uPlot ( #44080 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2022-02-16 14:49:17 -08:00
Ryan McKinley
685ec5383e
Chore: avoid pointer events in viz tooltip ( #45492 )
2022-02-16 13:52:39 -08:00
Isabella Siu
50a53ef58b
CloudWatch: replace metricFindQueries with CallResourceHandler ( #41571 )
2022-02-16 14:28:26 -05:00
Artur Wierzbicki
6c76aa71e8
Previews: capability check ( #44601 )
...
* add SQL migrations
* dashboard previews from sql: poc
* added todos
* refactor: use the same enums where possible
* use useEffect, always return json
* added todo
* refactor + delete files after use
* refactor + fix manual thumbnail upload
* refactor: move all interactions with sqlStore to thumbnail repo
* refactor: remove file operations in thumb crawler/service
* refactor: fix dashboard_thumbs sql store
* refactor: extracted thumbnail fetching/updating to a hook
* refactor: store thumbnails in redux store
* refactor: store thumbnails in redux store
* refactor: private'd repo methods
* removed redux storage, saving images as blobs
* allow for configurable rendering timeouts
* added 1) query for dashboards with stale thumbnails, 2) command for marking thumbnails as stale
* use sql-based queue in crawler
* ui for marking thumbnails as stale
* replaced `stale` boolean prop with `state` enum
* introduce rendering session
* compilation errors
* fix crawler stop button
* rename thumbnail state frozen to locked
* #44449 : fix merge conflicts
* #44449 : remove thumb methods from `Store` interface
* #44449 : clean filepath, defer file closing
* #44449 : fix rendering.Theme cyclic import
* #44449 : linting
* #44449 : linting
* #44449 : mutex'd crawlerStatus access
* #44449 : added integration tests for `sqlstore.dashboard_thumbs`
* #44449 : added comments to explain the `ThumbnailState` enum
* #44449 : use os.ReadFile rather then os.Open
* #44449 : always enable dashboardPreviews feature during integration tests
* #44449 : add /previews/system-requirements API
* #44449 : remove sleep time, adjust number of threads
* #44449 : review fix: add `orgId` to `DashboardThumbnailMeta`
* #44449 : review fix: automatic parsing of thumbnailState
* #44449 : update returned json
* #44449 : UI changes - dashboard previews sytem req check
* #44449 : lint fixes
* #44449 : fix tests
* #44449 : typo
* #44449 : fix getSystemRequirements API: return 200 even if we plugin version is invalid
* #44449 : fix getSystemRequirements API: don't return SemverConstraint on error
* #44449 : fix getSystemRequirements API
* #44449 : fix previews sytem requirements text
* #44449 : add `doThumbnailsExist` to repo
* #44449 : remove redux api
* #44449 : add missing model
* #44449 : implement frontedsettings-driven capability check
* #44449 : simplify
* #44449 : revert test changes
* #44449 : add dummy setup settings
* #44449 : implicit typing over `FC<Props>`
* #44449 : refactor conditionals
* #44449 : replace `getText` with a react component
* #44449 : fix component interface
* #44449 : add onRemove to `PreviewsSystemRequirements` alert
* #44449 : add bottom/top margin to previewSystemRequirements modal
* #44449 : merge conflict fix
* #44449 : remove console.log
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
Co-authored-by: Alexander Emelin <frvzmb@gmail.com>
2022-02-16 21:49:50 +04:00
Ryan McKinley
1554bffcb8
Search: apply security in before returning results ( #45430 )
...
Co-authored-by: Artur Wierzbicki <wierzbicki.artur.94@gmail.com>
2022-02-16 09:47:41 -08:00
Dan Cech
51cd6f3cc5
Configuration: Add ability to customize okta login button name and icon ( #44079 )
...
* add ability to customize okta login button name and icon
* update configs, add basic frontend test
* add icon to oauth settings type
* trigger tests
* fix typecheck
2022-02-16 11:35:00 -05:00
Torkel Ödegaard
2b9e46d1f8
Angular: Option to disable angular support and isolate angular dependencies ( #45421 )
...
* Angular: Initial setting that disables angular, load angular support in separate chunk
* Load angular panels on demand
* Load alerting in separate chunk only when angularSupportEnabled
* progress, do not export core_module if angular disabled
* Progress
* Update public/app/features/plugins/built_in_plugins.ts
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
* Removing remaining usage of angular from outside angular app (not counting plugins)
* Update config and docs
* Fix sample.ini
* Update public/app/features/alerting/AlertTab.tsx
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
* Fixing prettier issue
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
2022-02-16 17:14:33 +01:00
Dominik Prokop
8bb3de3037
Analytics: Collect information about queries reordering ( #45392 )
2022-02-16 14:16:25 +01:00
Torkel Ödegaard
cfa24a3cfb
Prometheus: Auto legend handling ( #45367 )
...
* Legend editor is working
* It's working
* Progress on auto legend mode
* Fixes
* added unit tests
* Added go tests
* Fixing tests
* Fix issue with timing and internal state
* Update public/app/plugins/datasource/prometheus/querybuilder/components/PromQueryCodeEditor.tsx
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2022-02-16 14:06:33 +01:00
Zoltán Bedi
da91c93f4a
QueryEditor: Fix setting panel state to done if query had no error ( #45453 )
2022-02-16 11:48:22 +01:00
Konrad Lalik
1886a59a12
Fix notification routes editing when filters are applied ( #45380 )
...
* Fix route editing when filters are applied
* Fix route delete operation, reset expanded item when filters change
* Refactor edit and delete functions, add tests
* Fix comment
2022-02-16 11:03:53 +01:00
Zoltán Bedi
befb2afccc
QueryEditor: Fix crash in angular panels when query have error ( #45422 )
2022-02-16 10:34:29 +01:00
Joey Tawadrous
b4dd3138ce
InfluxDB: metricFindQuery migration to backend ( #44546 )
...
* Send metricFindQuery to backend
* Added feature toggle
* Changed flag name
* metricFindQuery backend
* Added test for metricFindQuery backend parse
* Added test for show tag values
* Test for metricFindQueries
* Updated tests
* Put back comment
* Case insensitive in transformRows
* Check length ov value pair
* Sep tests
* Updated valuePair index
2022-02-16 09:16:22 +00:00
Hugo Häggmark
5760a18da5
Chore: Replace enzyme with RTL in OrgSwitcher.test.tsx ( #45439 )
2022-02-16 00:48:13 -08:00
Ivana Huckova
a1a96a7324
Prometheus: Fix removing of labels when removed outside of component ( #45424 )
...
* Prometheus: Don't remove lables when switching metrics
* Always update labels when labels from prop change
* Add test
* Update variable name
* Revert "Update variable name"
This reverts commit ca186f8b0b
.
2022-02-16 09:40:04 +01:00
Ivana Huckova
d38f0e5d9e
Prometheus: Offer hint for metrics with labels ( #45396 )
...
* Prometheus: Offer hint for counter metric with labels
* Update comment
* Fix hinting for buckets with labe-values
2022-02-16 09:34:32 +01:00
Agnès Toulet
39797e33ae
Highlights: fix RS event name ( #45436 )
2022-02-16 08:52:18 +01:00
Torkel Ödegaard
916f152a6f
Prometheus: Fixes issue adding rest params ( #45364 )
...
* Prometheus: Fixing issue adding rest param and adding test
* Rebuild when expr changes from outside
2022-02-16 08:05:16 +01:00
Torkel Ödegaard
52ae586452
Prometheus: Improvements to binary operations, nesting and parantheses handling ( #45384 )
...
* Prometheus: Improve query nesting ux
* Prometheus: Add parentheses around nested queries with binary ops
* removed unnessary typing change
* Fixing ts issues
* Improved paranthesis logic
* Fixing unit test
* Progress
2022-02-15 21:05:35 +01:00
Ryan McKinley
d665306ad1
Search: add feature flag and basic service ( #45112 )
...
Co-authored-by: Artur Wierzbicki <artur@arturwierzbicki.com>
2022-02-15 10:26:03 -08:00
Ieva
11433cba97
Team access changes for editors when editorsCanAdmin is enabled ( #45405 )
...
* filter teams for editors to only show the teams that they are members of
* frontend changes to only allow clicking on teams that the user can edit
* update frontend test snapshots
* extend docs
* reword
* remove the comment for now
* Update backend tests
* reword the warning, and add it back in
* docs feedback
Co-authored-by: gamab <gabi.mabs@gmail.com>
2022-02-15 17:09:03 +00:00
Torkel Ödegaard
a757a57c6e
Prometheus: Show executed query in inspector ( #45362 )
...
* Prometheus: Show executed query in inspector
* Loki: Improving test
2022-02-15 15:02:03 +01:00
Gabriel MABILLE
d11f6a95a4
AccessControl: Enable empty list New button based on user permissions ( #45398 )
2022-02-15 14:51:19 +01:00
Gabriel MABILLE
91dd0563c9
AccessControl: Trigger permission reload with team removal ( #45383 )
2022-02-15 14:23:40 +01:00
Torkel Ödegaard
ed5b2e5210
Move QueryPartDef out from angular app ( #45386 )
2022-02-15 14:20:50 +01:00
Gilles De Mey
651bb773db
Alerting: do not unescape external AM label values ( #45334 )
2022-02-15 13:57:00 +01:00
kay delaney
e1ff4dc9fe
NewsPanel: Add support for Atom feeds ( #45390 )
2022-02-15 12:26:59 +00:00
Marcus Andersson
146eed400a
TempalteSrv: re-adding variabelExists to prevent breaking angular plugins. ( #45387 )
2022-02-15 13:22:13 +01:00