Betula-L
7ef8136e16
Loki: Refactor label browser from GrafanaTheme to GrafanaTheme2 ( #35569 )
2021-06-15 17:08:13 +02:00
Olof Bourghardt
41fca2e2df
Log level determined from striped message ( #35607 )
2021-06-15 15:42:18 +02:00
Maria Alexandra
b774dd9b1a
Dashboard: Fix changes doesn't reflect after changing panel sizes in inspect JSON and click on apply ( #35276 )
...
* Trigger DashboardPanelsChangedEvent from InspectJSONTab if the panel.gridPos changed and if the dashboard needs to re-render, if yes we will that will update the positioning
* Minor cleanup
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2021-06-15 14:12:32 +02:00
Hugo Häggmark
3395142ece
Chore: Refactors flaky Frontend test ( #35645 )
...
* Chore: Refactors flaky Frontend test
* Refactor: update after PR comments
2021-06-15 13:33:24 +02:00
kay delaney
0f81703c35
Chore: Fix more strict typescript errors ( #35514 )
2021-06-14 15:13:48 +01:00
Uchechukwu Obasi
6ee2f1fe3e
Add Panel: fixes No gap between rows in safari ( #35570 )
...
* Add Panel: fixes No gap between rows in safari
* removes extra margin from bottom and far right
* fixes frontend test
* make add panel actions accessible and rewrite test using RTL
2021-06-14 15:12:56 +01:00
Domas
0439009d4f
Alerting: miscellaneous alertmanager config issues, tests ( #35364 )
2021-06-14 15:37:28 +03:00
Dominik Prokop
08bc2b402b
ValueMappings: Improve singlestat value mappings migration ( #35578 )
...
* Migrate singlestat value mappings to new value mappings
* Update public/app/features/dashboard/state/DashboardMigrator.ts
* Update migration to produce single value map
2021-06-14 13:47:34 +02:00
Torkel Ödegaard
7599ab8217
PanelEdit: Always have bottom border to make sections easier to see when expanded ( #35565 )
2021-06-14 12:41:09 +02:00
Torkel Ödegaard
75ff02a9fb
Annotations: Fix annotation line and marker colors ( #35608 )
2021-06-14 11:36:33 +02:00
Olof Bourghardt
1974bbb873
Graphite: Change font-family for query editor to monospace ( #35515 )
...
* Changed font-family to monospace
Added an inline style attribute to the input field for the graphite query editor which changes the font-family to monospace
* Change graphite query editor font-family to monospace
Added an inline style attribute to the input field for the graphite query editor which changes the font-family to monospace
2021-06-14 09:23:47 +02:00
Hugo Häggmark
d94817146e
Variables: Hides default data source if missing from regex ( #35561 )
2021-06-14 06:06:34 +02:00
Ryan McKinley
056e17216e
Stat: improve color mode migration from singlestat panels ( #35538 )
2021-06-11 18:03:30 +02:00
Torkel Ödegaard
4907d09ffe
Snapshots: Remove dashboard links from snapshots ( #35567 )
2021-06-11 17:42:42 +02:00
Torkel Ödegaard
f884381a68
Theme: Change white base in dark theme ( #35564 )
...
* Theme: Change white base in dark theme
* Updated
* Updated snapshots
2021-06-11 17:33:56 +02:00
Ashley Harrison
60f79a3548
Dashboard: handle the case where refresh_intervals
could be null ( #35511 )
...
* handle the case where refresh_intervals === null + add unit test
* have a clean _dashboard for each test
* modify check to see if refresh_intervals is an array
2021-06-11 16:20:18 +01:00
Betula-L
6707b61434
elasticsearch plugin: Migrate from GrafanaTheme to GrafanaTheme2 ( #35336 )
2021-06-11 15:06:24 +02:00
Betula-L
51214ac3da
Promethus: Migrate from GrafanaTheme to GrafanaTheme2 ( #35331 )
2021-06-11 15:03:58 +02:00
Oscar Kilhed
38734366d1
TimeSeries: Fix fill below for dataframes with name ( #35453 )
...
Use original dataframes for matching config.
2021-06-11 13:49:26 +02:00
Hugo Häggmark
1838e6b774
Configuration: Fix changing org preferences on FireFox ( #35549 )
2021-06-11 11:49:40 +02:00
Alex Khomenko
8e827337ea
Search: runAllTimers => runOnlyPendingTimers ( #35509 )
2021-06-11 12:45:18 +03:00
Ivana Huckova
97a59a4855
Loki: Add support for "label_values(log stream selector, label)" in templating ( #35488 )
...
* Use series endpoint if we have queries expr
* Update documentation
2021-06-11 10:57:40 +02:00
Marcus Andersson
5ac2a7cca6
AlertList: make sure we sort the alert list when displayed in "recent state changes" mode. ( #35544 )
2021-06-11 09:18:35 +02:00
Stephanie Closson
cee30a05a1
allow templating for test datasource ( #33447 )
2021-06-10 13:39:53 +00:00
Andres Martinez Gotor
83b6df738e
GoogleCloudMonitoring: Fix query object for panels prior to v7 ( #35449 )
...
* Fix query object for cloudmonitor panel from v6
* Use proper function
2021-06-10 10:37:55 +02:00
Ivana Huckova
34f680a20d
Logs panel: Add paddings so first and last lines can be copied ( #35410 )
...
* Logs panel: Add paddings so all lines can be copied
* Update public/app/plugins/panel/logs/LogsPanel.tsx
Co-authored-by: Giordano Ricci <me@giordanoricci.com>
Co-authored-by: Giordano Ricci <me@giordanoricci.com>
2021-06-09 18:08:08 +02:00
Ashley Harrison
445356d6aa
remove box-shadow from sidenav items using images for consistency ( #35428 )
2021-06-09 14:49:55 +01:00
Torkel Ödegaard
b3a2740d57
Dashboard: Fixes Dashboard init failed error on dashboards with old singlestat panels in collapsed rows
2021-06-09 15:41:59 +02:00
Marc Bachmann
9a5e10e6fb
Annotations: Fix sql annotation parsing for empty responses ( #35367 )
...
* fix sql annotation parsing for empty responses
* fix backend when no data returned
* add back frontend changes
Co-authored-by: Ying WANG <ying.wang@grafana.com>
2021-06-09 21:14:28 +08:00
Marcus Efraimsson
bf7301e485
Postgres/MySQL/MSSQL: Fix so that numeric/non-string values are returned from query variables ( #35411 )
...
Fixes a problem with query variables where SQL query returning for example only
numeric values didn't populate the query variables with values.
Fixes #35391
2021-06-09 14:18:54 +02:00
Hugo Häggmark
35168764c3
Chore: Fix observable function in DashboardQueryRunnerImpl ( #35398 )
2021-06-09 07:39:09 +02:00
Hugo Häggmark
6d78f92816
Heatmap: Adds width property to YAxis ( #35230 )
2021-06-09 06:14:03 +02:00
Ryan McKinley
78d53c5e3d
Live: only connect when user has a role ( #35339 )
2021-06-08 14:00:24 -07:00
Alex Khomenko
2cc172db1a
Search: minor UI fixes ( #35335 )
...
* Increase margin between search item so it's visible
* Fix manage dashboards height overflow
* Align folder icon
* Increase margin
* Update container height
* Fix className not being passed to CardContainer
2021-06-08 14:41:06 +02:00
Torkel Ödegaard
26027fea2a
Dashboard: Removed console log prompt ( #35366 )
2021-06-08 13:48:17 +02:00
Tobias Skarhed
5e7df4cf6a
Angular cleanup: Move directives ( #35330 )
...
* angular2react: Remove json_editor_ctrl
* angular2react: Move directives
* Add to angular dir
2021-06-08 08:28:56 +02:00
Ivana Huckova
defaa6f40e
Logs: Add documentation for log details and caching ( #35103 )
...
* Add documentation for logs navigation and log details
* Change step to Step in Prometheus annotation editor
* Update docs/sources/explore/logs-integration.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2021-06-07 17:11:44 +02:00
Uchechukwu Obasi
9d21dccc30
ManageDashboard: fixes dashboard list overflowing its parent container ( #35317 )
2021-06-07 14:04:23 +01:00
Torkel Ödegaard
ce513e4637
Login: Fixes Unauthorized message showing when on login page or snapshot page ( #35311 )
2021-06-07 11:42:49 +02:00
Leon Sorokin
36925ef521
Histogram: reduce default bucket size, fix rendering ( #35294 )
2021-06-04 20:15:08 -05:00
Ryan McKinley
351400b82e
Panels: avoid crash while switching between panels types ( #35286 )
2021-06-04 12:11:04 -07:00
Ryan McKinley
99a6337e1f
Histogram: support units on the x axis ( #35218 )
2021-06-04 10:42:53 -07:00
David
aae6e86547
Prometheus: Metrics browser layout ( #35035 )
...
* Metrics browser layout
* Simplified layout
2021-06-04 16:50:17 +02:00
Marcus Andersson
456b356f21
Expressions: updating copy from experimental to beta. ( #35149 )
2021-06-04 15:18:21 +02:00
Jack Westbrook
c13f247a94
Card: Defend against conditional action buttons ( #35204 )
...
* fix(card): defend against invalid elements types passed to BaseActions
* test(card): add test to support conditional buttons being passed in
* fix(playlistpage): remove disabled prop from LinkButton for editors
* chore(playlistpage): remove title from edit button
2021-06-04 14:38:29 +02:00
Sergey Kostrukov
412bcf1fb0
AzureMonitor: fix Azure Resource Graph queries in Azure China ( #35235 )
...
* Optimize Azure Monitor routes
* Update API version compatible with Azure China
2021-06-04 12:29:18 +01:00
Alex Khomenko
bfcc6a2248
Remove extra margin for checkboxes ( #35169 )
2021-06-04 13:10:57 +02:00
Chris Cowan
f580c9149c
Elasticsearch: Add Top Metrics Aggregation and X-Pack support ( #33041 )
...
* Elasticsearch: Add Top Metrics Aggregation
* Adding support for non-timeseries visualizations
* removing console.logs
* restoring loadOptions type
* Honor xpack setting
* Adding test for elastic_response
* adding test for query builder
* Adding support of alerting
* Fixing separator spelling
* Fixing linting issues
* attempting to reduce cyclomatic complexity
* Adding elastic77 Docker block
* Update public/app/plugins/datasource/elasticsearch/components/QueryEditor/MetricAggregationsEditor/MetricEditor.test.tsx
Co-authored-by: Giordano Ricci <grdnricci@gmail.com>
* refactoring MetricsEditor tests
* Fixing typo
* Change getFields type & move TopMetrics to a separate component
* Fix SegmentAsync styles in TopMetrics Settings
* Fix field types for TopMetrics
* WIP
* Refactoring client side to support multiple top metrics
* Adding tests and finishing go implimentation
* removing fmt lib from debugging
* fixing tests
* reducing the cyclomatic complexity
* Update public/app/plugins/datasource/elasticsearch/elastic_response.ts
Co-authored-by: Giordano Ricci <grdnricci@gmail.com>
* Update public/app/plugins/datasource/elasticsearch/hooks/useFields.ts
Co-authored-by: Giordano Ricci <grdnricci@gmail.com>
* Checking for possible nil value
* Fixing types
* fix fake-data-gen param
* fix useFields hook
* Removing aggregateBy and size
* Fixing go tests
* Fixing TS tests
* fixing tests
* Fixes
* Remove date from top_metrics fields
* Restore previous formatting
* Update pkg/tsdb/elasticsearch/client/models.go
Co-authored-by: Dimitris Sotirakis <dimitrios.sotirakis@grafana.com>
* Update pkg/tsdb/elasticsearch/client/models.go
Co-authored-by: Dimitris Sotirakis <dimitrios.sotirakis@grafana.com>
* Fix code review comments on processTopMetricValue
* Remove underscore from variable names
* Remove intermediate array definition
* Refactor test to use testify
Co-authored-by: Giordano Ricci <grdnricci@gmail.com>
Co-authored-by: Elfo404 <me@giordanoricci.com>
Co-authored-by: Dimitris Sotirakis <dimitrios.sotirakis@grafana.com>
2021-06-04 11:07:59 +01:00
Hugo Häggmark
a7606d130e
Annotations: Fix so annotations work in panel edit ( #35195 )
2021-06-04 10:55:14 +02:00
Leon Sorokin
43d3d97562
Histogram: enable client-side zoom (with bucket snapping) ( #35220 )
2021-06-03 20:05:47 -05:00
Andrej Ocenas
1dc387536e
NodeGraph: Fix sorting markers in grid view ( #35200 )
...
* Fix test data field label
* Fix sorting
* Changed icon for sorting
2021-06-03 23:52:20 +02:00
Hugo Häggmark
abd4e70792
Annotations: Fix so adds, updates and deletes are shown correctly ( #35184 )
...
* Annotations: Fix for update/save/delete annotation not appearing/disappearing
* Annotations: Fix so adds, updates and deletes are shown correctly
* Chore: updates after PR comments
2021-06-03 16:55:04 +02:00
Josh Hunt
5fb37ad5dc
AzureMonitor: Fix permissions issue with Logs template variable queries ( #35181 )
2021-06-03 15:22:13 +01:00
Dimitris Sotirakis
1c49986b2f
Chore: Remove endpoints that contain the slug field ( #35104 )
...
* Chore: Remove endpoints that contain the slug field
* More cleanups
* Lint fixes
* Remove unnecessary funcs
* Cleanup frontend code
* Remove deprecated endpoints from docs
* Revert change according to reviewer's comments
2021-06-03 16:20:13 +03:00
Andrej Ocenas
0b94f33813
NodeGraph: Don't check for preferredVisualisationType ( #35116 )
...
* Don't check for preferredVisualisationType inside the NodeGraph
* Fix layout worker mocking
2021-06-03 12:48:26 +02:00
Leon Sorokin
a3ba605aff
Timeline: tooltip fixups ( #35145 )
2021-06-03 04:46:32 -05:00
Dominik Prokop
7359ba44d0
Timeline/Status grid panel: Add tooltip support ( #35005 )
...
* Timeline/Status grid tooltip support first pass
* Tooltips workin
* Use getValueFormat to get the duration
* Separate boxes highlight from tooltip interpolation
* Separate state timeline tooltip component, rely on field display color to retrieve color of series
* create an onHover/onLeave API and optimize implementation
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2021-06-02 21:43:47 -05:00
Ryan McKinley
a9b5aa1088
State-timeline: support migrating from discrete panel ( #35071 )
2021-06-02 12:18:20 -07:00
Ryan McKinley
f7893ca5cf
Live: fix field filtering and survive reconnect ( #35122 )
2021-06-02 12:12:48 -07:00
Zoltán Bedi
bf96f5e285
Tempo: search fixes ( #35004 )
...
* Tempo: search fixes
Add custom width to time and trace id
Run and show query in search after page refresh
* Iterate through all response data
* Don't store linkedQuery as a property
2021-06-02 16:37:36 +02:00
Gábor Farkas
89fc92947c
InfluxDB: deprecate direct browser access in data source ( #35105 )
...
* influxdb: deperacate direct browser-access
* better docs-formatting
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-06-02 16:37:16 +02:00
Dominik Prokop
a08ee057eb
VizLegend: add readonly prop ( #35096 )
...
* VizLegend: add readonly prop
* Update packages/grafana-ui/src/components/VizLegend/VizLegendTableItem.tsx
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
2021-06-02 15:39:20 +02:00
kay delaney
7c0158cdff
Library Panels: Fix refresh when changing to angular library panel ( #35048 )
...
Closes #34874
2021-06-02 13:35:12 +01:00
Josh Hunt
3be0a2d328
AzureMonitor: Use resource type display names in the UI ( #35060 )
...
* AzureMonitor: Use display names for resource types and locations
* de-pluralize resource types
* Rename Namespace field to Resource Type, and use display names
* add comments
2021-06-02 12:47:04 +02:00
Torkel Ödegaard
e6f2b10a36
ChangeTracker: Unified unsaved changes handling with library panels ( #34989 )
...
* UnsavedChanges: Move Change tracker to use Prompt
* Fix a lot of race conditions and stacking of changes in onConfirm and onDismiss
* Listen to save event
* add missing delay argument
* migrated the change tracker unit tests
* Updated snapshot
* Removed unessary action
* removed updateSourcePanel
* Fix hiding save library panel modal prompt when clicking discard
* change saved libray panel title and buttons so they are a bit different as Prompt and when used from save button
* Fixed issue with saving new dashboard
* Now all scenarios work
* increase wait time
* Fixed one more race condition
2021-06-02 12:24:19 +02:00
Sergey Kostrukov
f052f10289
Cleanup the options initialization ( #35080 )
2021-06-02 10:56:57 +01:00
Simon Podlipsky
4137534650
Variables: Support raw values of boolean type ( #34727 )
2021-06-02 06:40:37 +02:00
Leon Sorokin
878474a808
Color utils: optimize colorManipulator/alpha() for common cases ( #34948 )
2021-06-01 12:52:58 -05:00
Andrej Ocenas
aa7dbd7a69
NodeGraph: Make grid view responsive ( #35047 )
2021-06-01 17:30:47 +02:00
Alex Khomenko
486ab7c639
Debounce location update ( #35033 )
2021-06-01 17:20:00 +03:00
kay delaney
2e38bbf751
Chore: Reduce number of strict typescript errors ( #34595 )
2021-06-01 13:47:29 +01:00
Maria Alexandra
ff03b456f1
Dashboard: Fix Table view when editing causes the panel data to not update ( #34998 )
...
* Dashboard: Fix Table view when editing causes the panel data to not update
- Add event subscription on PanelEditorTableView
- Extract runAllPanelQueries into Panel Model in order to use it on PanelChrome and PanelEditorTableView
- Add simple unit test for runAllQueryPaneQueries
2021-06-01 13:52:08 +02:00
Jack Westbrook
cb3c317e81
TimeSeries: Migration from old graph legend values ( #34997 )
...
* fix(timeseries): filter enabled graph legend values when migrating
* test(timeseries): update snapshots
* test(timeseries): add additional tests for legend
2021-06-01 09:49:19 +02:00
Piotr Jamróz
f4a40a4d85
Logs: Use GraphNG to plot log histograms ( #34531 )
...
* Switch to GraphNG for Logs Histogram
* Remove redundant timeZone
It was used just to format timestamp in the tooltip but it's not needed anymore.
* Add tests for creating logs histogram data
* Update decoractors tests
* Adjust bar width to be more like in the old graph
* Fix tooltip pointer color
* Test tooltip pointer color
* Decouple graph config from uPlot internals
* Ensure nested properties are not mutated when overrides are applied
* Add legend toggling for Explore graphs
* Remove unused component
ExploreGraphNGPanel is now used in Explore
* Code formatting
* allow multiple bars pathBuilders to be globally cached with different settings
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2021-06-01 09:28:25 +02:00
Will Browne
8d51c2ae97
Plugins: Update plugin signing copy + docs ( #34716 )
...
* update plugin signing copy + docs
* rewording
* remove grafana sig note
* update unsigned plugin wording
* remove org admin reference in catalog docs
* add whitespace to message
* apply pr suggestion
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
* apply pr feedback
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
2021-05-31 21:54:53 +02:00
Alex Khomenko
05f3161f8e
Admin: hide per role counts for licensed users ( #34984 )
...
* Hide per-role counts for licensed users
* Hide totals
2021-05-31 17:06:45 +03:00
Nathan Rodman
7dd5a065ba
Alerting: New alert list panel component ( #34614 )
2021-05-31 14:08:05 +02:00
Jack Westbrook
8c93899b15
PluginsList Panel: Redirect to catalog app for updating plugins ( #34893 )
...
* feat(pluginlistpanel): if catalog app is enabled redirect user if plugin is upgradable
* refactor(catalog): update copy if plugin is disabled
2021-05-31 13:53:40 +02:00
Zoltán Bedi
6e5d349ae8
Explore: Fix show all series ( #34968 )
2021-05-31 11:18:50 +02:00
Gábor Farkas
618dc6a2f6
InfluxDB: InfluxQL: apply on enter not on blur ( #34963 )
2021-05-31 10:09:29 +02:00
Alex Khomenko
10f6638d9e
Add custom icons for layout options ( #34890 )
2021-05-31 10:38:39 +03:00
Dominik Prokop
573d7b8893
GraphNG: Remove fieldName and hideInLegend properties from UPlotSeriesBuilder ( #34901 )
...
* Remove fieldName and hideInLegend properties from UPlotSeriesBuilder
* Fix test
2021-05-31 09:27:57 +02:00
Jack Westbrook
fd028fd798
DashboardLinks: Fix dropdown positioning ( #34909 )
2021-05-31 09:01:12 +02:00
Torkel Ödegaard
c7076c9e19
DataLinks: Fixes an issue __series.name is not working in data link ( #34932 )
2021-05-31 08:59:27 +02:00
Leon Sorokin
13768da417
State timeline: defer quadtree construction until first mousemove ( #34949 )
2021-05-29 14:01:58 -05:00
Ryan McKinley
4972e0f6a1
Rename: Status grid to history ( #34864 )
2021-05-29 20:24:14 +02:00
Torkel Ödegaard
d6a9a9b975
Themes: Add border to sidemenu, and reduce border in dark theme a tiny bit ( #34737 )
...
* Themes: Add border to sidemenu, and reduce border in dark theme a tiny bit
* Updated
2021-05-29 07:08:05 +02:00
ying-jeanne
b391e43472
[Dashboard] Revert feature toggle trimdefaults ( #34888 )
...
* Revert "solve comments and retrigger the test"
This reverts commit f08d2d9eca
.
* Revert "update api doc"
This reverts commit cc09ceb853
.
* Revert "remove post trim"
This reverts commit 46fe8ed596
.
* Revert "fix typo"
This reverts commit 3b3ceee16e
.
* Revert "Apply suggestions from code review"
This reverts commit 3b7f3b8e15
.
* Revert "update comments"
This reverts commit b9c6260876
.
* Revert "update doc"
This reverts commit 8e4c4d7c93
.
* Revert "remove feature toggle + add libraryPaneldefinition"
This reverts commit d01cfcc2ed
.
* fix some typos
* Update public/app/features/dashboard/components/ShareModal/ShareExport.tsx
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
* Update docs/sources/dashboards/export-import.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* fix comments
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-05-28 22:29:30 +02:00
Ivana Huckova
add1b827ae
Prometheus: Add info that using Loki as Prometheus data source is no longer supported and might stop working ( #34650 )
...
* Add information that Loki as Prometheus data source is not supported
* Fix ugly error when loki as prometheus used
* Refactor, add test
* Fix type error
* Fix test by passing missing method
* Update public/app/plugins/datasource/prometheus/query_hints.ts
* Remove optionality in prop
2021-05-28 17:10:10 +02:00
Ivana Huckova
6adcfa9e50
Add info about logs histogram ( #34886 )
2021-05-28 17:07:27 +02:00
kay delaney
8143991b94
Security: Update default CSP template and fix firefox CSP issues ( #34836 )
...
* Security: Update default content_security_policy_template
- Add 'strict-dynamic' back to script-src
- Add ws(s)://$ROOT_PATH to connect-src
- Change onEvent to on-event in angular templates to fix CSP issues in firefox.
- Add blob: to style-src
2021-05-28 17:01:10 +02:00
Domas
d6037a49b6
Docs: document creating alert rules ( #34839 )
2021-05-28 17:20:54 +03:00
Zoltán Bedi
4435895833
Prometheus: exemplars show different symbols ( #34763 )
...
* Show different symbols for different queries
* Only run different exemplars
* Address review comment
* Do the same for dashboard + tests
2021-05-28 15:40:15 +02:00
David
2205464a8d
Prometheus: Add metadata to metrics in Metrics browser ( #34708 )
...
* Prometheus: Add metadata to metrics in Metrics browser
- use the available metadata to enhance the tooltip on metric items in the metrics browser
- added meta info for histogram metrics (was missing before)
- also added one for ALERTS
* fix test
2021-05-28 14:51:06 +02:00
Joan López de la Franca Beltran
886f6fc55b
Docs: Settings updates at runtime ( #34169 )
...
* Docs: Settings updates on runtime docs skeleton
* Docs: Settings HTTP API
* Docs: Minor changes on settings updates at runtime docs
* Docs: Settings updates at runtime description
* Docs: Minor fix
* Docs: Move PUT /api/admin/settings docs into Admin API page
* Docs: Added longer explanation into 'Settings updates at runtime' page
* Apply suggestions from code review
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: Leonard Gram <leo@xlson.com>
* Docs: Include order of precedence description at settings updates page
* Update docs/sources/http_api/admin.md
* Docs: Add link to main configuration page from Settings updates at runtime
* Apply suggestions from code review
Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: Leonard Gram <leo@xlson.com>
Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com>
2021-05-28 13:28:40 +02:00
Sergey Kostrukov
179eb0898e
AzureMonitor: remove requirement for default subscription ( #34787 )
...
* Do not require default subscription for Azure Monitor
* Fix explore URLs when default subscription not set
* Test datasource fixes
* Added comment
* Fix first or default subscription/workspace
* SubscriptionField doesn't depend on Log Analytics
* Tests fixed
* Select default subscription only when user clicked
2021-05-28 10:19:31 +01:00
Andres Martinez Gotor
48dc78fd48
AzureMonitor: Deprecate using separate credentials for Logs ( #34758 )
...
* Hide switch for using different credentials in AzureMonitor
* Apply feedback. Use @testing-library
2021-05-28 10:14:59 +02:00
Fredrik Enestad
261319a4be
Loki: Add formatting for annotations ( #34774 )
...
* add formatting for loki annotations
based/copied from the same features from the prometheus datasource
2021-05-28 10:12:03 +02:00
Josh Hunt
888cddb834
AzureMonitor: Support querying Subscriptions and Resource Groups in Logs ( #34766 )
...
* AzureMonitor: Support querying Subscriptions and Resource Groups in Logs
* cleanup
2021-05-28 08:58:46 +01:00
Danilo Bargen
83a83de10a
Clarify that Threema Gateway Alerts support only Basic IDs ( #34828 )
...
Threema Gateway supports two types of IDs: Basic IDs (where the
encryption is managed by the API server) and End-to-End IDs (where the
keys are managed by the user).
This plugin currently does not support End-to-End IDs (since it's much
more complex to implement, because the encryption needs to happen
locally). Add a few clarifications to the UI.
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-05-28 08:54:55 +02:00
Torkel Ödegaard
658cc5dd2d
PieChart: Support row data in pie chart ( #34755 )
...
* PieChart: Support row data in pie chart
* Make color override work
* removed thing
* Minor refactoring
2021-05-28 07:29:57 +02:00
Leon Sorokin
3fd006604f
BarChart: hide cursor crosshair ( #34862 )
2021-05-27 23:18:15 -05:00
Josh Hunt
7646246d8c
AzureMonitor: Hide App Insights for data sources not using it ( #34725 )
...
* AzureMonitor: Hide Application Insights and Insights Analytics for panels not using them
* AzureMonitor: Hide Application Insights config
* simplify
* fix test
2021-05-27 20:28:36 +01:00
Alexander Emelin
6d750c000e
Live: max_connections option with strict default ( #34634 )
...
this should help Live to be enabled by default but still
do not affect setups with lots of simultenious users. To
properly handle many WS connections Grafana administrators
should tune infrastructure a bit - for example increase a
number of open files for a process. Will be in more details
in documentation.
2021-05-27 22:03:18 +03:00
Matt Abrams
f05bddae43
fixes toggleDownloadForExcel function ( #34685 )
2021-05-27 20:58:44 +02:00
Sergey Kostrukov
de86114b66
AzureMonitor: reset default subscription when credentials change ( #34707 )
...
* Update default subscription on credentials change
* Fix secret reset when subscription selected
* Remove unused exports
2021-05-27 19:03:36 +01:00
Torkel Ödegaard
52f3025901
Timeline: Default line width to 0 ( #34802 )
2021-05-27 17:30:18 +02:00
Torkel Ödegaard
119dbc4d76
Histogram: Adds histogram test dashboard & test data ( #34821 )
...
* Added test data that contains normal distribution
* Added histogram test dashboard
* Fixed so panels share same data
2021-05-27 17:27:29 +02:00
Peter Holmberg
e085b2316c
Alerting: Set max width on alerting query rows ( #34749 )
2021-05-27 16:15:43 +02:00
Andrej Ocenas
fcdab32750
NodeGraph: Fix error when clicking link in a context menu ( #34817 )
...
* Add prevent default if onClick exists
* Apply field overrides
2021-05-27 15:33:25 +02:00
Jack Westbrook
8ced249c91
AddPanelWidget: Add padding to prevent top being cut off ( #34806 )
...
* fix(dashboardpage): add padding so add panel chrome isnt cut off
* fix(addpanelwidget): introduce wrapping element to cater for pulsate animation offset
* refactor(addpanelwidget): use spacing.xs rather than spacing.sm
* test(addpanelwidget): update snapshot
2021-05-27 15:28:09 +02:00
Koenraad Verheyden
ec3f8ce04c
Tempo: Fix the test data source implementation ( #34762 )
...
Fixes #32677
2021-05-27 14:47:10 +02:00
Domas
347273cdea
Alerting: check upstream response content type in lotex proxy ( #34760 )
2021-05-27 14:12:29 +03:00
Domas
5660bb585f
check if alertmanager being configured is cortex or vanilla ( #34726 )
2021-05-27 13:47:55 +03:00
Domas
871e476e41
sort alert instance, "datasource" -> "data source" ( #34724 )
2021-05-27 13:47:26 +03:00
Marcus Andersson
1ded9a37c1
Alerting: rename type to make it obvious what part of the code base it belongs to. ( #34714 )
...
* renamed grafana query to grafana alert query.
* renamed according to feedback in PR.
2021-05-27 12:29:10 +02:00
Torkel Ödegaard
ca79d08dd8
PanelChrome: Fix issue with empty panel after adding a non data panel and coming back from panel edit ( #34765 )
...
* PanelChrome: Fix issue with empty panel after adding a non data panel and coming back from panel edit
* Removed the console.log
2021-05-27 12:19:06 +02:00
Ryan McKinley
67028af99e
Live: check schema equality between push messages ( #34548 )
2021-05-27 12:55:42 +03:00
ying-jeanne
c59a2e1bcf
remove feature toggle + add libraryPaneldefinition ( #34488 )
...
* remove feature toggle + add libraryPaneldefinition
* update doc
* update comments
* Apply suggestions from code review
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* fix typo
* remove post trim
* update api doc
* solve comments and retrigger the test
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2021-05-27 11:14:58 +02:00
Peter Holmberg
23cf31a567
Alerting: Move Visualization to QueryRow ( #34658 )
...
* move visualization to queryeditorrow
* add prop to hide disable query
* move panel plugin state outside the vizwrapper
2021-05-27 10:46:06 +02:00
Dominik Prokop
811704fd2e
PanelEdit: Allow standard field config properties extensions without altering order of standard options ( #34669 )
...
* Render tooltip options in correct category
* Allow custom field config properties that extend standard categories
2021-05-27 10:36:45 +02:00
Torkel Ödegaard
6394a60a08
Dashboard: Fixes issue with title or folder change has no effect after exiting settings view ( #34677 )
...
* Dashboard: Fixes issue with title or folder change has no effect after existing settings view
* Updates snapshot
2021-05-27 10:07:51 +02:00
Andi Pabst
29be741f26
MySQL Datasource: Add timezone parameter ( #27535 )
...
* Add MySQL timezone parameter
* Reword docs/sources/features/datasources/mysql.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* update documentation
* fix formatting mistake from merge
* enhance documentation with reason for parameter usage
* enhance documentation with reason for parameter usage
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2021-05-27 10:03:03 +02:00
Hugo Häggmark
3a68409e5d
Plugins: Adds back getMappedValue to @grafana/data ( #34746 )
...
* Plugins: Adds back getMappedValue to @grafana/data
* Chore: fixes doc errors
* Tests: fixes snapshot
* Tests: dummy change to restart Drone
* Tests: tries to fix snapshot
2021-05-27 09:29:22 +02:00
Kevin Minehart
3aba08f708
hide caching settings when its disabled ( #34756 )
2021-05-26 12:27:28 -05:00
Leon Sorokin
1dd5d6ffb0
GraphNG: uPlot 1.6.10 ( #34759 )
2021-05-26 11:46:24 -05:00
Maria Alexandra
cebe67ab01
Explore: Fix Browser title not updated on Navigation to Explore ( #34651 )
...
- Update document.title on Explore page
- Add unit test and snapshot for Wrapper component
2021-05-26 18:44:16 +02:00
Jack Westbrook
515c73d8e6
Transformations: Prevent FilterByValue transform crashing panel edit ( #34747 )
2021-05-26 17:30:34 +02:00
Andrej Ocenas
9dafd4f863
NodeGraph: Show node graph collapsed by default with trace view ( #34491 )
...
* Show node graph collapsed by default with trace view
* Fix rename variable
* Change the message
* Add test
* Fix e2e test
* Remove expect in exemplars test
* Align icon
* review fixes
2021-05-26 15:11:47 +02:00
Torkel Ödegaard
6fb0560a84
TestData: Some simple small test data and first draft of what's new in v8 demo dashboard ( #34731 )
...
* TestData: More test data
* Added v8 demo dashboard
2021-05-26 14:11:57 +02:00
Jack Westbrook
bcc7bd9dd3
VisualisationPicker: allow scrolling in Safari ( #34717 )
2021-05-26 11:45:50 +02:00
Jack Westbrook
ad3b0b2272
PageToolbar: add bottom padding ( #34602 )
...
* fix(pagetoolbar): pad elements top and bottom to keep vertical align and wrapper padding
* fix(sidemenu): prevent mobile sidemenu squashing dashboard, vertically align mobile sidemenu icon
* fix(dashboardsettings): prevent subheader overlap
* fix(pagetoolbar): center align all toolbar elements vertically
* refactor(pagetoolbar): combine vertical paddings to bring back original padding values
* refactor: update padding values for components that use PageToolbar
* fix(playlists): update Empty cta link route to prevent 404
* test(dashboard): update snapshot
2021-05-26 10:49:39 +02:00
Torkel Ödegaard
987bffe482
TestData: Support for csv files & csv content ( #34674 )
...
* initial implementation of csv support for test data source
* CSV file & content scenarios working
* Removing categorical data
* fixing handler names
* Update pkg/tsdb/testdatasource/csv_data.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update pkg/tsdb/testdatasource/csv_data.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update pkg/tsdb/testdatasource/csv_data.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update pkg/tsdb/testdatasource/csv_data.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update pkg/tsdb/testdatasource/csv_data.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update pkg/tsdb/testdatasource/csv_data.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update pkg/tsdb/testdatasource/csv_data.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fixed lint issues
* updated so it uses the same parsing
* more CSV tests
* lint fixes
* more lint
* lint
* support time field
* migrate manual entry to csv
* more test output
* more test output
* missing file
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2021-05-26 10:42:42 +02:00
Josh Hunt
b4ce068f0e
AzureMonitor: Display variables in Logs resource picker ( #34648 )
...
* AzureMonitor: Display variables in Resource Picker
* tests
* hide template variable group when there's no template variables
2021-05-26 09:42:17 +01:00
Marcus Andersson
70efaa5582
Alerting: making sure we use the updated queries when querying for data. ( #34631 )
2021-05-26 10:07:20 +02:00
Marcus Andersson
e19b3df1a9
Alerting: added possibility to preview grafana managed alert rules. ( #34600 )
...
* starting to add eval logic.
* wip
* first version of test rule.
* reverted file.
* add info colum to result to show error or (with CC evalmatches)
* fix labels in evalmatch
* fix be test
* refactored using observables.
* moved widht/height div to outside panel rendere.
* adding docs api level.
* adding container styles to error div.
* increasing size of preview.
Co-authored-by: kyle <kyle@grafana.com>
2021-05-26 10:06:28 +02:00
Torkel Ödegaard
ec33bae8d4
PanelEdit: Add data source label to data source picker dropdown ( #34605 )
...
* PanelEdit: Add data source label to data source picker dropdown
* Updated based on ux feedback
2021-05-26 08:59:49 +02:00
Ivana Huckova
93c5c8345c
Prometheus: Update default HTTP method to POST for existing data sources ( #34599 )
...
* Change default method to POST
* Update comment
* Add tests
* Update Whats new
* Update docs/sources/whatsnew/whats-new-in-v8-0.md
Co-authored-by: Julien Pivotto <roidelapluie@inuits.eu>
* Update docs/sources/whatsnew/whats-new-in-v8-0.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/whatsnew/whats-new-in-v8-0.md
Co-authored-by: Julien Pivotto <roidelapluie@inuits.eu>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-05-25 18:56:46 +02:00
Hugo Häggmark
881abb3af8
Admin: Fixes infinite loading edit profile page ( #34627 )
...
* UserProfile: Fixes infinite loading spinner
* Refactor: some clean up
* Refactor: some more cleanup
* Tests: Adds tests for UserProfileEditPage
* Chore: updates after PR comments
* Refactor: removes unnecessary unmount/mount
2021-05-25 14:48:16 +02:00
Simon Podlipsky
2f14ef9235
Chore: Remove console.log() from AngularApp ( #34641 )
2021-05-25 13:10:54 +02:00
Peter Holmberg
dcef87fd79
Alerting: Move query components to unified folder ( #34587 )
2021-05-25 11:34:19 +02:00
Domas
d666defaea
Alerting: misc ui fixes volume 4 ( #34503 )
2021-05-25 10:26:10 +03:00
Josh Hunt
1d3bcb0e90
AzureMonitor: ResourceMonitor children refactor ( #34591 )
...
* AzureMonitor: Refactor children to be an arrayu
* Add some resourcePickerData tests
* update tests
* some quick NestedResourceTable tests
2021-05-25 07:51:48 +01:00
Torkel Ödegaard
888683a8ad
RowOptions: Fix enter key updating row options ( #34586 )
2021-05-24 16:21:54 +02:00
Gábor Farkas
0afc4c0361
InfluxDB: InfluxQL query editor: better handling of slow queries ( #34507 )
...
* InfluxDB: InfluxQL query editor: better handling of slow queries
* adjusted message to be similar to other messages
* simplify code
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
2021-05-24 15:58:59 +02:00
Uchechukwu Obasi
395d7eb74c
DashboardRow: fixes time variable not updating when used in row title ( #34523 )
...
* DashboardRow: fixes time variable not updating when used in row title
* adds test cases for subscribe event
2021-05-24 14:28:26 +01:00
Peter Holmberg
a0b78313f3
Alerting: Remove unused NGAlerting components ( #34568 )
2021-05-24 14:20:11 +02:00
Alex Khomenko
e9e438ee2f
Form: Expose all return values from useForm ( #34380 )
2021-05-24 15:09:33 +03:00
Ivana Huckova
247bdc2f9b
Explore: Add caching for queries run from logs navigation ( #34297 )
...
* WIP: Implement simple caching
* If results are cached, don't run new query and use those results
* Add duplicate key check
* Clean up
* Clean up
* Add tests for caching
* Remove unused variables
* Update public/app/features/explore/state/query.test.ts
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
* Update public/app/features/explore/state/query.test.ts
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
* Use decorateData to apply all decorators
* Remove unused variables
* Change loading stte to Done
* Clear cache when running query from navigation
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
2021-05-24 13:56:48 +02:00
mmenbawy
6796a89e9d
Loki: Bring back processed bytes as meta info ( #34092 )
...
* Loki: Bring back processed bytes as meta info
* style: Lint
2021-05-24 12:28:10 +02:00