David
aae6e86547
Prometheus: Metrics browser layout ( #35035 )
...
* Metrics browser layout
* Simplified layout
2021-06-04 16:50:17 +02:00
Giordano Ricci
7a304223e6
Elasticsearch: Fix min_doc_count value when alerting ( #35254 )
...
* Elasticsearch: Fix min_doc_count value when alerting
* Add tests
2021-06-04 16:42:00 +02:00
Uchechukwu Obasi
70155c7fd0
Graph: fixes storybook crashing when using the story ( #35251 )
...
* Graph: fixes storybook crashing when using the story
* fixes the GraphWithLegend story too
2021-06-04 16:22:11 +02:00
Torkel Ödegaard
3331506660
Docs: Adds docs for histogram visualization ( #35241 )
...
* Docs: Adds docs for histogram visualization
* Bucket offset clarification
* tweaks
* less bad math
* Update docs/sources/panels/visualizations/histogram.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/panels/visualizations/histogram.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/panels/visualizations/histogram.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/panels/visualizations/histogram.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/panels/visualizations/histogram.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/panels/visualizations/histogram.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/panels/visualizations/histogram.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/panels/visualizations/histogram.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-06-04 16:19:44 +02:00
Marcus Andersson
456b356f21
Expressions: updating copy from experimental to beta. ( #35149 )
2021-06-04 15:18:21 +02:00
Sofia Papagiannaki
15c55b0115
Alerting: Fix notification channel migration and handle case when Alertmanager default configuration is absent ( #35086 )
...
* Fix dashboard alert and nootifier migration for MySQL
* Fix POSTing Alertmanager configuration if no current configuration exists
in case the default configuration has not be stored yet
or has failed to get stored
* Change CreatedAt field type
2021-06-04 15:52:41 +03: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
Ganesh Vernekar
de3bcb6071
Alerting: Update docs for templating in rule labels ( #35238 )
...
* Alerting: Update docs for templating in rule labels
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
* Fix comment
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2021-06-04 17:46:05 +05:30
Agnès Toulet
5f6c172b5a
Renderer: add version information ( #34964 )
...
* Renderer: add version information
* fix alerting test
2021-06-04 14:33:49 +03:00
Diana Payton
b46715ee4a
Docs: Time series panel update 8.0 ( #35215 )
...
* Update text-panel.md
* Update _index.md
* content updates
* Update _index.md
* Update graph-time-series-stacking.md
2021-06-04 13:32:44 +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
Torkel Ödegaard
bbfafa7908
Docs: Initial bar chart docs ( #35155 )
...
* Docs: Initial bar chart docs
* minor tweak
* Another minor tweak
* Updated what's new
* Updated list formatting
* Update bar-chart.md
* Update bar-chart.md
* Review feedback updates
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2021-06-04 12:36:49 +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
Alex Khomenko
f683a497eb
Add missing select options for controls ( #35178 )
2021-06-04 10:28:27 +01:00
Will Browne
2e9ad871b3
remove incorrect use of grafana-cli logger ( #35228 )
2021-06-04 11:06:34 +02:00
Hugo Häggmark
a7606d130e
Annotations: Fix so annotations work in panel edit ( #35195 )
2021-06-04 10:55:14 +02:00
Andrej Ocenas
1f16fac8d7
Docs: Update node graph docs ( #35196 )
...
* Update node graph docs
* Apply suggestions from code review
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* Update image links
* Update wording
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2021-06-04 10:00:02 +02:00
David Kaltschmidt
87c10e9504
Move screenshot in docs
2021-06-04 09:51:36 +02:00
Dimitris Sotirakis
4c8ce8a450
Scuemata: Checking json validity by enabling skipped tests ( #34385 )
...
* Make sure we don't skip any tests - refactoring
* Remove commented lines
* Move test folder
2021-06-04 08:18:03 +02:00
Leon Sorokin
43d3d97562
Histogram: enable client-side zoom (with bucket snapping) ( #35220 )
2021-06-03 20:05:47 -05:00
Ryan McKinley
e1af571efd
Timeseries: move join field to index zero ( #35217 )
2021-06-03 16:05:08 -07: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
Diana Payton
49075f235f
Docs: Table update 8.0 ( #35214 )
...
* Update _index.md
* Delete table-field-options.md
* Update _index.md
* Update _index.md
2021-06-03 22:29:16 +02:00
Diana Payton
1c37fc1a6f
Docs: Yet more panel updates ( #35213 )
...
* Update stat-panel.md
* Update stat-panel.md
* Update whats-new-in-v8-0.md
* Update state-timeline.md
* fixed links
* Update news-panel.md
2021-06-03 22:02:47 +02:00
Diana Payton
692568520f
Docs: Add GCM update to what's new ( #35211 )
...
* content updates
* 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: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-06-03 21:25:30 +02:00
Diana Payton
2c406e9a00
Docs: More panel options updates for Grafana 8.0 ( #35212 )
...
* Update gauge-panel.md
* Update heatmap.md
* Update news-panel.md
* Update pie-chart-panel.md
2021-06-03 21:22:26 +02:00
achatterjee-grafana
f3b0c16751
Updated What's New with Prometheus metrics browser entry. ( #35209 )
...
* Added placeholder.
* Reduced the size of 2 images.
2021-06-03 20:16:45 +02:00
Alexandre de Verteuil
4ee037f523
Fix Markdown syntax in enterprise/license/_index.md ( #34683 )
2021-06-03 13:57:23 -04:00
David
9c72f196ff
Docs: Prometheus metrics browser ( #35152 )
...
* Docs: Prometheus metrics browser
* Update docs/sources/datasources/loki.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/datasources/loki.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/datasources/prometheus.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/datasources/prometheus.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/datasources/prometheus.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/datasources/prometheus.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/datasources/prometheus.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/datasources/prometheus.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/datasources/prometheus.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/datasources/prometheus.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/datasources/prometheus.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-06-03 13:41:21 -04:00
Ganesh Vernekar
8417088969
Alerting: Expand {{$labels.xyz}}
template in labels and annotations ( #35159 )
...
* Alerting: Expand `{{$labels.xyz}}` template in labels and annotations
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
* Fix annotation not updating for same alert
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2021-06-03 19:24:36 +02:00
David Parrott
17d98cfe43
Alerting: unified alerting docs state and health ( #34945 )
...
* alerting rule lading page
* add alert state and health doc
* update
* Conflicts:
docs/sources/alerting/unified-alerting/alerting-rules/rule-list.md
2021-06-03 18:59:45 +02:00
Diana Payton
d50b7c526b
Docs: Document new value mappings ( #35067 )
...
* Update value-mappings.md
* Update value-mappings.md
* Update whats-new-in-v8-0.md
* Update add-authentication-for-data-source-plugins.md
* Update _index.md
* updates
* Update docs/sources/panels/value-mappings.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update value-mappings.md
* Update value-mappings.md
* Update panel-editor.md
* Update panel-editor.md
* Update docs/sources/panels/value-mappings.md
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
* Update value-mappings.md
* Update value-mappings.md
* Update value-mappings.md
* Update value-mappings.md
* Update value-mappings.md
* Update value-mappings.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
2021-06-03 09:21:26 -07:00
Kyle Brandt
406f0458b2
Alerting/Docs: Non-timeseries / numeric alerting ( #35190 )
...
Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-06-03 18:15:24 +02:00
Sofia Papagiannaki
eeb84d09c2
SSE: Change math expression to accept any value convertible to float ( #34996 )
...
* SSE: Change math expression to accept any scalar value
* Apply suggestions from code review
* Update test
* Remove TODO
2021-06-03 18:06:12 +03:00
Gábor Farkas
b558d32502
influxdb: docs: add new screenshot ( #35156 )
2021-06-03 17:05:13 +02:00
Alexander Emelin
8bd9a430c6
Live: docs ( #34642 )
2021-06-03 18:03:57 +03: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
Diana Payton
b0adc806f8
Docs: Update bar-gauge-panel.md ( #35136 )
...
* Update bar-gauge-panel.md
* Update bar-gauge-panel.md
* Update alert-list-panel.md
* Update bar-gauge-panel.md
* Update alert-list-panel.md
* Update bar-gauge-panel.md
2021-06-03 07:42:02 -07:00
Diana Payton
cd3954dfc6
Docs: Update Dashboard list and Bar gauge ( #35137 )
...
* Update dashboard-list-panel.md
* Update gauge-panel.md
* Update whats-new-in-v8-0.md
* Update whats-new-in-v8-0.md
2021-06-03 07:40:54 -07:00
Josh Hunt
5fb37ad5dc
AzureMonitor: Fix permissions issue with Logs template variable queries ( #35181 )
2021-06-03 15:22:13 +01:00
Ganesh Vernekar
a30e60a0b8
Alerting: Do not hard fail on templating errors in channels ( #35165 )
...
* Alerting: Do not hard fail on templating errors in channels
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
* Fix review
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2021-06-03 19:39:32 +05:30
Arve Knudsen
4d1cbe551f
Chore: Upgrade golangci-lint ( #35188 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-06-03 16:05:49 +02: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
Ganesh Vernekar
aa4c5bbfe4
Alerting: Don't save Alertmanager config on migration when 0 channels ( #35119 )
...
* Alerting: Don't save Alertmanager config on migration when 0 channels
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
* Fix review
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2021-06-03 15:07:34 +02:00
Serge Zaitsev
9d33a06b4e
Add verbose version flag to list dependencies as well as the version ( #34741 )
...
* add verbose version flag to list dependencies as well as the version
* Fix typo in the println message
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-06-03 14:51:51 +02:00
Josh Hunt
32d9b04666
Grafana-UI: Fix checkbox vertical alignment ( #35124 )
...
* Grafana-UI: Fix Checkbox vertical layout issues
* reorganise css
* revert my 'fix' and just go back to setting a min height :(
2021-06-03 15:37:59 +03:00
Marcus Efraimsson
b3e9087557
Chore: Refactor backend plugin manager/tsdb query data ( #34944 )
...
Move QueryData method into backend plugin manager which HandleRequest uses to
query data from plugin SDK supported data sources. This allowed us to remove a lot
of code no longer needed.
Ref #21510
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
2021-06-03 14:16:58 +02:00
Dimitris Sotirakis
56e0efbb56
Chore: Update drone pipeline failure message to include target branch ( #35170 )
2021-06-03 14:09:53 +02: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