31889 Commits

Author SHA1 Message Date
3cefa0bbba Add support for local Makefile to docker (#41296) 2021-11-04 11:13:10 -03:00
fb5a65d9be ValueMappings: Value mappings field config defaults should not apply to time field (#41132) 2021-11-04 14:50:42 +01:00
2c209e735c Prometheus: Rename step in explore to min step (#41209)
* Prometheus: Make it clear that step in explore is min step

* Fix width

* Update public/app/plugins/datasource/prometheus/components/PromExploreExtraField.tsx

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-11-04 13:19:44 +01:00
603dae33d6 Fix test (#41287) 2021-11-04 12:22:33 +01:00
da5033f3fb Chore: Add context to temp user (#41284)
* Add context to temp user

* Remove xorm and InTransaction
2021-11-04 11:17:07 +01:00
b82797d1b0 BarChart: rotate barchart x axis labels (#40299)
* GraphNG: add axes label rotation property

* Adds rotation option and adds padding to avoid clipping labels

* Slider: Enable slider marks display (#41275)

Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2021-11-04 10:59:15 +01:00
3b637f4b44 Access control: Redirect non-API calls (#41100) 2021-11-04 09:59:52 +01:00
5afaf8930c Add monthlyActiveUsers to stats API and usage report (#41289)
Closes grafana/grafana-enterprise-partnerships-team#7
2021-11-03 18:59:05 -03:00
e8e84f9c23 Alerting: UI for contact point testing with custom annotations and labels (#40491)
* Support custom annotations and labels when testing contact points

* Add modal for testing contact point

* add option for custom notification type

* use annotation and labels fields from rule editor

* update receivers test for new contact point testing method

* rename modal and remove reserved keys for annotations

* add docs for testing contact points

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>

Co-authored-by: George Robinson <george.robinson@grafana.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-11-03 09:57:59 -07:00
863f8aea2f Fix bug that was breaking aws-sdk ConnectionConfig (#41215)
Fix bug that was breaking aws-sdk ConnectionConfig
2021-11-03 11:21:36 -04:00
5f27959a5e Tempo: Add links to nodes in Service Graph pointing to Prometheus metrics (#41135) 2021-11-03 15:56:39 +01:00
7f74102bc1 Update dependency jest-junit to v13 (#41259)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-03 14:42:06 +00:00
7465716086 ReleaseNotes: Update release notes for v8.2.3 (#41269)
* ReleaseNotes: Updated release notes for v8.2.3

* Update release-notes-8-2-3.md

* Update CHANGELOG.md
2021-11-03 15:38:19 +01:00
da39c6ce55 Settings: Add a method to Provider interface to check if a feature is enabled (#41250)
* Settings: Add method to Provider interface to get feature toggles

* Apply review comment
2021-11-03 16:37:16 +02:00
1c3c1a52bb Update opt-in.md (#41216)
Need to change that `true` to `false`.
2021-11-03 09:53:47 -04:00
bb079641d7 NewsPanel: Prevent small titles being split onto multiple lines (#41193) 2021-11-03 13:53:37 +00:00
9340430723 Chore: Add alert ctx (#41161)
* Add context for alert

* Remove context.TODO

* Remove xorm

* Remove context.TODO

* Fix UsageStatsQuerier interface
2021-11-03 14:10:39 +01:00
0997065e04 Navigation: remove redundant config nav link (#41252) 2021-11-03 14:07:58 +01:00
4c727248a3 Chore: Fix for query variables using DataSourceRef (#41255) 2021-11-03 13:14:22 +01:00
18151ce652 Update dependency inquirer to v8 (#41240)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-03 11:41:21 +00:00
9fc5193ecd Dashboard: Disable image renderer link for unsaved dashboards (#41249) 2021-11-03 12:17:16 +01:00
f8d75726e7 Graph panel: listen to events from timeseries panel (#41033)
* TimeSeries: share cursor with old graph

* Typo fix

* Fix typecheck errors

* Revert "TimeSeries: share cursor with old graph"

This reverts commit 1e7dd4f6270612ceb391f8ae9687ad4b64a5ac7e.

* Graph: subscribe to DataHoverEvent

* Revert "Fix typecheck errors"

This reverts commit 737c8ea8c1f972fd806061842b2985b8dac96214.
2021-11-03 11:49:37 +01:00
47f6bb3583 Chore: Add context to org (#40685)
* Add context to org

* Rebase

* Fix rebase
2021-11-03 11:31:56 +01:00
91da1bbb79 prometheus: monaco: allow listing label names + values without a metric (#41233)
* prometheus: monaco: allow listing label names + values without a metric

* removed comment
2021-11-03 11:20:04 +01:00
72ae3235fa prometheus: monaco: autocomplete: offer function-names in functions (#41212) 2021-11-03 10:56:43 +01:00
244e149c34 prometheus: query-field: monaco: implement open-help-by-default (#41112)
* prometheus: query-field: monaco: implement open-help-by-default

* better comment

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>

* fixed typo in comment

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>

* better log-message

* fixed comment spelling

Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>

* better setting

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
2021-11-03 10:55:07 +01:00
a5f747104c CloudWatch: Adde AWS Global Accelerator metrics and dimensions (#41236) 2021-11-03 10:44:49 +01:00
43bd32206f Barchart/Time series: Allow x axis label (#41142) 2021-11-03 09:42:07 +01:00
be5dafb980 Update dependency @types/marked to v3 (#41234)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-03 09:37:08 +01:00
553197c6a9 Update dependency http-server to v14 (#41204)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-03 08:57:18 +01:00
f5b9515643 CloudWatch: Add AWS Transfer metrics and dimension (#41168)
What this PR does / why we need it:
Adding AWS Transfer metics according to:
https://docs.aws.amazon.com/transfer/latest/userguide/monitoring.html#metrics

Which issue(s) this PR fixes:
No issue

Special notes for your reviewer:
Based on AWS documentation only, I didn't tried to monitor AWS Transfer myself
2021-11-03 08:41:36 +01:00
651ab98e66 Update dependency fast-json-patch to v3 (#40886)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-03 08:40:17 +01:00
f5ab8c147a Chore: fixes DataSourceRef for adhoc variables (#41232)
* Chore: fixes DataSourceRef for adhoc variables

* Chore: fix path to packages
2021-11-03 08:02:51 +01:00
bac6168e62 Update Select.mdx (#41205)
* Update Select.mdx

* kick drone
2021-11-02 21:28:13 +00:00
8a88caaa71 Alerting: Rule evaluation loop refactoring (#40238)
* move evaluation function out of loop
* extract updateRule function
* isolate alertRule change. update returns new rule and the evaluation accepts the rule as argument
* extract retry loop into a function
* add function wide log context.
* refactor metrics + add tests + replace timeNow with schedule.clock
2021-11-02 17:04:13 -04:00
3da4e1cdcd Azure Monitor: Add Resource Picker to Template Variable Query Editor (#40841)
Azure Monitor: Add Resource Picker to Template Variable Query Editor
- Should fix bug related broken template variables that relied on a deprecated default workspace.
2021-11-02 15:30:15 -04:00
7b7c193551 Elasticsearch: Add time zone setting to Date Histogram aggregation (#40882)
* TimeZonePicker: Allow specifying internal timezones to display

* Elasticsearch: Add time zone setting to Date Histogram aggregation

* rename time_zone to timeZone

* Add tests

* fix typo

* Update packages/grafana-data/src/datetime/timezones.ts

Co-authored-by: Chris Cowan <chris@chriscowan.us>

Co-authored-by: Chris Cowan <chris@chriscowan.us>
2021-11-02 16:18:39 +00:00
de83e5702c Prometheus: Run annotation queries trough backend (#41059)
* Prometheus: Run annotation queries trough backend

* Be more explicit on what type of query we are running

* Fix typing, remove unused variables
2021-11-02 16:46:20 +01:00
e0b2e0b152 Annotations: Ensure legacy annotation editors are cleaned up properly when switching datasource (#41115)
* Annotations: Ensure Angular-based annotation editors are cleaned up properly

* Annotations: Remove ng-if instead of wrapping in div
2021-11-02 15:30:20 +00:00
3c5003373c A11y: Fix various fastpass accessibility issues (#41154) 2021-11-02 15:27:07 +00:00
14ddb2939c Chore: Enable strict Typescript checks (#41198)
* Chore: Enable strict Typescript checking

* Chore: Remove old strict budget checks
2021-11-02 15:23:44 +00:00
eb223a6645 LibraryPanels: Ensure the list can be fully scrolled when adding a library panel (#41196) 2021-11-02 15:21:11 +00:00
cedbddafe3 removing the log function after enterprise repo update (#41197) 2021-11-02 22:39:55 +08:00
96f37b3f30 CloudMonitoring: use CallResourceHandler instead of PluginProxy (#41064) 2021-11-02 10:37:02 -04:00
69fe2def89 Alerting: Fix duplicating queries in rule editor (#41091) 2021-11-02 15:18:35 +01:00
28ae9f1bdd prometheus: query-editor: refactor: rename intent to situation (#41079)
* prometheus: query-editor: refactor: rename intent to situation

* fixed forgotten rename
2021-11-02 15:09:35 +01:00
0b61d83739 renovate: block updating eslint for now (#41199) 2021-11-02 15:06:07 +01:00
d85b4dc7a8 CI: Update grafana/build-container version (#41191)
* Update node and yarn versions

* Update drone yaml
2021-11-02 13:52:16 +00:00
cb948d10e0 CloudWatch: Fix strict Typescript errors (#41160)
* CloudWatch: Fix strict typscript errors

* Update public/app/plugins/datasource/cloudwatch/components/ConfigEditor.tsx

Co-authored-by: Sarah Zinger <sarahzinger@users.noreply.github.com>

* Chore: reduce strict error

* Update ci-check-strict.sh

Co-authored-by: Sarah Zinger <sarahzinger@users.noreply.github.com>
Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
2021-11-02 13:16:46 +00:00
6987ad7b4d Fix issues with invalid Slack contact points (#41062)
* Add validation when creating/updating a contact point

* Change 201 status code for 200 (as it was before)
2021-11-02 10:11:19 -03:00