Commit Graph

25263 Commits

Author SHA1 Message Date
Boyko
1e74037eae
React: refactor away from unsafe lifecycle methods (#21291)
* refactor aliasBy and PopoverCtrl components

* refactor Aggregations component

* refactor MetricSelect component

* refactor UserProvider

* popoverCtr: remove redundant logic

* simplified the MetricsSelect a bit.

* skipping testing of internal component logic.

* changed to componentWillMount.

* changed elapsed time to a functional component.

* rewrote the tests.

* fixed missing test title.

* fixed a tiny issue with elapsed time.

* rename of field.

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2020-05-18 18:03:29 +02:00
Marcus Efraimsson
44fae66bc0
Grafana v7.0 changelog update (#24737)
* Grafana v7.0 changelog update

* enterprise changelog

* docs: white-labeling login title and subtitle

* Add backend plugins breaking change regarding plugin signing

* Update CHANGELOG.md

Co-authored-by: Kyle Brandt <kyle@grafana.com>

* Update docs/sources/installation/upgrading.md

Co-authored-by: Kyle Brandt <kyle@grafana.com>

* Update docs/sources/installation/upgrading.md

Co-authored-by: Leonard Gram <leo@xlson.com>
Co-authored-by: Kyle Brandt <kyle@grafana.com>
2020-05-18 17:52:59 +02:00
Marcus Andersson
cadadb6290
Docs: fixing link issue with time range controls in "what's new". (#24794) 2020-05-18 17:17:59 +02:00
Marcus Efraimsson
23610fbc3b
Docs: Update index page with link to What's new in v7.0 (#24793) 2020-05-18 17:15:28 +02:00
Diana Payton
3818e521f1
Docs: Update menu.yaml (#24792) 2020-05-18 17:14:48 +02:00
Josh Soref
4db782fd5b
ci-build: spelling (#24386) 2020-05-18 16:41:06 +03:00
zhulongcheng
9ccdd4b824
TSDB: show influxdb error message (#24393)
Closes #21647

Signed-off-by: zhulongcheng <zhulongcheng.dev@gmail.com>
2020-05-18 13:56:23 +02:00
Arve Knudsen
cc6df0ac6b
CloudWatch: Clean up code (#24666)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-05-18 12:25:58 +02:00
Alex Khomenko
7b6deef46d
Search: make anchor full-height (#24783) 2020-05-18 11:31:10 +03:00
Rydez
de1ce049e8
Docs: Align naming with Grafana.com (#24745)
* Rename to Grafana Cloud Account

* Rename 'hosted x'
2020-05-18 10:23:12 +02:00
Šimon Podlipský
9106f2f68a
Makefile: Build should build bundled plugins 2020-05-18 10:22:45 +02:00
Ryan McKinley
9622536a98
Dashboard: Remove isTimezoneUtc (#24754) 2020-05-18 10:21:21 +02:00
Daniel Lee
2b23f81929
docs: add links and updates to whats new 7.0 (#24715)
* docs: add links and updates to whats new 7.0

* Apply suggestions from code review

Co-authored-by: Jessica <4947705+jessabe@users.noreply.github.com>
Co-authored-by: Carl Bergquist <carl@grafana.com>

* Update docs/sources/guides/whats-new-in-v7-0.md

Co-authored-by: Jessica <4947705+jessabe@users.noreply.github.com>

* docs: link for time zones in what's new

* Backend plugins update

Co-authored-by: Jessica <4947705+jessabe@users.noreply.github.com>
Co-authored-by: Carl Bergquist <carl@grafana.com>
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2020-05-18 09:44:54 +02:00
Kamal Galrani
7b18b101b4
Dashboard/Links: Fixes open in new window for dashboard link (#24772)
* fixes target in dashboard link

* Update DashboardLinks.tsx

* Revert "Update DashboardLinks.tsx"

This reverts commit 2b23db8dc4.
2020-05-18 09:36:31 +02:00
Kamal Galrani
319051c70e
Capitalize Grafana in test email notification (#24770) 2020-05-17 13:57:43 +02:00
Diana Payton
150d9b2a77
Docs: fixing links (#24757) 2020-05-15 14:33:37 -07:00
Diana Payton
0e53b15375
Docs: Update links for 7.0 (#24751)
* update menu

* updated alert list

* Update alert-list-panel.md

* Update alert-list-panel.md

* Update bar-gauge-panel.md

* Delete bar_gauge.md

* Delete dashlist.md

* Update dashboard-list-panel.md

* deleted old panels

* Update gauge-panel.md

* Update graph-panel.md

* Update heatmap.md

* Update logs-panel.md

* Update news-panel.md

* Updated stat panel

* Update table-panel.md

* Update text-panel.md

* Fixed broken links

* Update _index.md

* Update alerts-overview.md

* Update add-a-panel.md

* Update field-configuration-options.md

* removed beta text

* Update inspect-panel.md

* Update panel-editor.md

* Update thresholds.md

* Update transformations.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* Update transformations.md
2020-05-15 13:58:39 -07:00
Diana Payton
26964b383f
Docs: Update time range controls (#24709)
* moved file and updated menu

* Delete timerange.md

* Update menu.yaml

* Update time-range-controls.md

* fixed links

* Update time-range-controls.md

* content updates

* Update time-range-controls.md

* Apply suggestions from code review

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>

* Update docs/sources/dashboards/time-range-controls.md

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>

* Update time-range-controls.md

* Update docs/sources/dashboards/time-range-controls.md

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>

* Update docs/sources/dashboards/time-range-controls.md

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>

* Update docs/sources/dashboards/time-range-controls.md

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>

* Update time-range-controls.md

Co-authored-by: Daniel Lee <dan.limerick@gmail.com>
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2020-05-15 09:53:51 -07:00
Diana Payton
f8801952bf
Docs: New panel editor documentation (#24711)
* Create panel-editor.md

* content updates

* Update panels-overview.md

* Update panel-editor.md

* Update panel-editor.md

* Update menu.yaml

* Update whats-new-in-v7-0.md

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

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>

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

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>

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

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>

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

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>

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

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>

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

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>

* Update _index.md

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

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>

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

Co-authored-by: sarlinska <sarlinska@gmail.com>

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

Co-authored-by: sarlinska <sarlinska@gmail.com>

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

Co-authored-by: sarlinska <sarlinska@gmail.com>

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

Co-authored-by: sarlinska <sarlinska@gmail.com>

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
Co-authored-by: sarlinska <sarlinska@gmail.com>
2020-05-15 09:49:30 -07:00
Diana Payton
2a54398e43
Docs : Add heatmap visualization topic (#24456)
* Create heatmap.md

* Update heatmap.md

* Docs: add missing heatmap fields description.

* Update heatmap.md

Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com>
2020-05-15 09:06:55 -07:00
Diana Payton
5a5575ef38
Docs: Create gauge-panel.md (#24698)
* Create gauge-panel.md

* Create field-configuration-options.md

* Revert "Create field-configuration-options.md"

This reverts commit 65e62d8d1f.

* Update gauge-panel.md

Co-authored-by: Daniel Lee <dan.limerick@gmail.com>
2020-05-15 08:36:08 -07:00
fuku
5ddc72fb95
Docs: fix using oauth login with OneLogin (#24722) 2020-05-15 08:25:58 -07:00
Arve Knudsen
e598664be1
CircleCI: Upgrade build pipeline tool (#24740)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-05-15 17:16:04 +02:00
Ivana Huckova
3cdbeffdce
Add displayname to TextArea component (#24734) 2020-05-15 16:20:19 +02:00
Alexander Zobnin
0fc9ad1d67
Docs: guide how to set up SAML with Okta (#24613)
* Docs: Okta SAML guide

* Apply suggestions from code review

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

* Docs: review fixes

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2020-05-15 16:37:35 +03:00
Arve Knudsen
7a44034d1c
CircleCI: Upgrade build pipeline tool (#24732)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-05-15 14:15:09 +02:00
Arve Knudsen
bd42407620
CircleCI: Fix test release pipeline (#24701)
* CircleCI: Fix test release pipeline
* CircleCI: Ensure that we don't release NPM packages when testing
2020-05-15 10:02:50 +02:00
Torkel Ödegaard
7fcf2615e1
Metrictank: Fixed updated schema and dedupe strategy (#24685)
* Metrictank: Fixed updated schema and dedupe strategy

* revert schema change

* fix
2020-05-15 07:42:29 +02:00
Ryan McKinley
b73d237bf8
Query: do not require datasource name and id (#24718) 2020-05-14 20:05:16 -07:00
Marcus Andersson
6a0abf895e
Docs: generated a 7.0 version of the packages reference docs. (#24708)
* fixes so we match the transformer based on name properly.

* changed the signature on the FieldMatcher.

* introduced a names option so you can filter in name specificly.

* changed so the matcher UI uses the new options format.

* moved the exported functions together.

* changing editors a bit.

* made the filter by name work with both regex and name filtering.

* fixed failing tests and make sure we always parse regex the same way.

* removed unused code.

* simplified to make the existing field overrides still working.

* fixed issue reported by hugo.

* added tests for the name matcher.

* added tests for filter by name.

* added more tests.

* generated new version of the packages docs.

* fixed spelling error.

* regenerated the docs.
2020-05-14 21:34:59 +02:00
Diana Payton
713fe39b1f
Docs: Add graph panel (#24460)
* Create graph-panel.md

* Update _index.md

* Create panels-overview.md

* Update graph-panel.md

* Applied Torkel's edits

* Update graph-panel.md

* Update panels-overview.md

* Update _index.md

* Update graph-panel.md

* Create add-a-panel.md

* Update add-a-panel.md

* Update add-a-panel.md

* Revert "Update add-a-panel.md"

This reverts commit 6d51ee8712.

* Update add-a-panel.md

* Update graph-panel.md
2020-05-14 12:24:26 -07:00
Marcus Andersson
98d5633601
Fix: changing so we are using date/time values in UTC during test. (#24707) 2020-05-14 20:59:42 +02:00
Marcus Andersson
96f26cbd5b
Transform: fixes so we match the field based on the proper name. (#24659)
* fixes so we match the transformer based on name properly.

* changed the signature on the FieldMatcher.

* introduced a names option so you can filter in name specificly.

* changed so the matcher UI uses the new options format.

* moved the exported functions together.

* changing editors a bit.

* made the filter by name work with both regex and name filtering.

* fixed failing tests and make sure we always parse regex the same way.

* removed unused code.

* simplified to make the existing field overrides still working.

* fixed issue reported by hugo.

* added tests for the name matcher.

* added tests for filter by name.

* added more tests.
2020-05-14 20:48:43 +02:00
kay delaney
0e8638ec92
Datasource/CloudWatch: Allows a user to search for log groups that aren't there initially (#24695)
Closes #24554
2020-05-14 19:41:38 +01:00
Andrej Ocenas
bc8c05137b
CloudWatch/Logs: Fix query error when results are sparse (#24702) 2020-05-14 20:36:06 +02:00
Peter Holmberg
bf1e5aa16c
PanelInspect: Make header names reflect the field name in the exported CSV file (#24624)
* fix header names and filename

* use panel title as filename

* add frame argument

* escaping double quotes

* wrapping header name in  quotes

* Fix replace

* Add test for csv double quotes escaping

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2020-05-14 20:14:23 +02:00
Robby Milo
ce8b5030c1
Docs: fix links (#24704)
* fix broken links

* fix another link
2020-05-14 20:08:32 +02:00
kay delaney
1b29d3460e
Datasource/CloudWatch: Handle invalidation of log groups when switching datasources (#24703) 2020-05-14 20:06:20 +02:00
Lukas Siatka
d3a8f6d026
Explore: fixes loading more logs in logs context view (#24135) 2020-05-14 18:55:30 +02:00
Tobias Skarhed
e4cbeb5cb3
Docs: Panel inspector release highlights (#24686)
* Add Panel inspector highlight

* Update CHANGELOG.md

* Update CHANGELOG.md

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

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2020-05-14 18:23:17 +02:00
Diana Payton
59ffe4f413
Docs: Rewrite alerting docs (#24653)
* updated menu and added alerts-overview.md

* Delete metrics.md

* Update menu.yaml

* changed file name and updated menu

* Update create-alerts.md

* added file and link

* Create view-alerts.md

* added content and links

* Update pause-an-alert.md

* added content and links

* edited notification content

* updated link

* Update docs/sources/alerting/create-alerts.md

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>

* Applied marcus e. edits

* Update docs/sources/alerting/alerts-overview.md

Co-authored-by: Carl Bergquist <carl@grafana.com>

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
Co-authored-by: Carl Bergquist <carl@grafana.com>
2020-05-14 09:19:15 -07:00
Diana Payton
28344c145f
Docs: Add field config documentation (#24647)
* Create field-config.md

* Update field-config.md

* updated intros

* Update field-config.md

* changed file name

* Update whats-new-in-v7-0.md

* added links and content

* Update docs/sources/panels/field-configuration-options.md

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>

* Update docs/sources/panels/field-configuration-options.md

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>

* Update docs/sources/panels/field-configuration-options.md

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>

* Update docs/sources/panels/field-configuration-options.md

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>

* Update docs/sources/panels/field-configuration-options.md

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>

* Update field-configuration-options.md

* Update field-configuration-options.md

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2020-05-14 09:18:56 -07:00
Marcus Olsson
6efa3f95ae
Add warning about plugin.json docs being auto-generated (#24692) 2020-05-14 17:52:13 +02:00
Lukas Siatka
ee12f5e742
Strict null fixes: updates return type of getMessageFromError, fixes QueryOperationAction props (#24690)
* Chore: updates getMessageFromError return type

* Chore: updates the position of incorrectly placed bang operator

* Chore: updates typing on dropdown typeahead directive

* Chore: updates QueryOperationAction props to require title

* Revert "Chore: updates QueryOperationAction props to require title"
2020-05-14 17:08:52 +02:00
David
25e1238022
Logs: Fix total bytes process calculation (#24691)
- log stats for Loki are per query
- this change tracks the query stats by refId, preventing the summing of
    the same stats across multiple series of the same response.
2020-05-14 16:27:26 +02:00
Jess
405145fdd3
@grafana/ui: Checkbox docs (#23141)
* Add "When to use" info to Checkbox.mdx

Added info about how checkboxes generally work and when to use another component instead.

* Replaced words with proper component names

* Update Checkbox.mdx

Elaborate on explanations. Add examples for how to use checkboxes the user-friendliest way.

* Apply suggestions from code review

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>

Co-authored-by: Tobias Skarhed <tobias.skarhed@gmail.com>
Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com>
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2020-05-14 16:17:34 +02:00
Agnès Toulet
7fbed90b89
Datasources: fix pre styles (#24687) 2020-05-14 16:04:53 +02:00
Torkel Ödegaard
c59f5436c0
TablePanel: Do not include angular options in options when switching from angular panel (#24684) 2020-05-14 16:03:27 +02:00
Andrej Ocenas
2b9cc8ba30
CloudWatch/Logs: Fix autocomplete after by keyword (#24644) 2020-05-14 15:52:47 +02:00
Marcus Efraimsson
0c8ee5b2c9
Add deprecation note about the unofficial first version of backend plugins (#24675) 2020-05-14 15:37:44 +02:00