Commit Graph

29916 Commits

Author SHA1 Message Date
Diana Payton
1c40d723b3
Update CODEOWNERS (#35287) 2021-06-04 21:19:30 +02:00
Ryan McKinley
351400b82e
Panels: avoid crash while switching between panels types (#35286) 2021-06-04 12:11:04 -07:00
achatterjee-grafana
64f5f91d44
Docs lib panel 2: Added Petros's comments (#35284)
* Few more changes based on PM review..

* Updates that I missed in PR 35272
2021-06-04 20:50:12 +02:00
achatterjee-grafana
1f75afc8e8
Docs: library panel (#35272)
* Added "Create a library panel".

* Fixed broken relrefs

* More changes.

* Added more content.

* Update docs/sources/panels/panel-library.md

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>

* Updated title

* Added link to topic from What's New

* Few minor edits.

* Updated intro based on Petros's feedback.

* Slight modification to create lib panel based on feedback.

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2021-06-04 20:13:56 +02:00
Sofia Papagiannaki
fba90b8f9b
Alerting: Recact html responses (#35277) 2021-06-04 20:57:24 +03:00
Sofia Papagiannaki
8cda1f5153
Alerting: Allow rules with same title across folders (#35270)
* Alerting: Allow rules with same title across folders

* Add test
2021-06-04 20:45:26 +03:00
Ryan McKinley
99a6337e1f
Histogram: support units on the x axis (#35218) 2021-06-04 10:42:53 -07:00
Jack Westbrook
3bbe6473b6
feat(plugin-admin-app): show message prompting user to refresh browser when installing panel plugin (#35271) 2021-06-04 19:20:06 +02:00
Gabriel MABILLE
2bbf4fa405
AccessControl: Update permissions and scopes in docs (#35263)
* Saving the current changes made with @osg-grafana @donomii

* Update remaining descriptions

* Update docs/sources/enterprise/access-control/permissions.md

Co-authored-by: Vardan Torosyan <vardants@gmail.com>

* Cleanup grammar

Co-authored-by: Jeremy Price <Jeremy.price@grafana.com>
Co-authored-by: Vardan Torosyan <vardants@gmail.com>
2021-06-04 18:10:49 +02:00
Uchechukwu Obasi
c39d0fa8c3
Grafana-ui: explicitly set storybook control types (#35265) 2021-06-04 17:51:44 +02:00
Kevin Minehart
0a28304d2a
Caching: document memory limit settings (#35189)
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-06-04 09:54:41 -05:00
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