Kamal Galrani
c136f7da39
removes erroneous $ ( #26257 )
2020-07-13 09:35:40 +03:00
Kamal Galrani
f4b6abb05e
fixes footer inconsistency ( #26255 )
2020-07-11 11:50:25 +02:00
Kamal Galrani
6a0f530fdf
fixes spelling error ( #26253 )
2020-07-11 08:56:02 +02:00
Ryan McKinley
5f8eb93db1
AppPlugin: give full control to page layout when navigation is missing ( #26247 )
2020-07-10 11:57:09 -07:00
Ryan McKinley
33acf4c056
Flux: use monaco query editor ( #26179 )
2020-07-10 10:07:36 -07:00
Kyle Brandt
c1ede4fc71
backend: use latest go plugin sdk (0.74.0) to sort wide frames ( #26207 )
...
This makes it so results are more stable between refreshes of data and fixes sorting issues with Azure Application Insights service as well as the two Azure Analytics services.
fixes #22937
2020-07-10 12:22:50 -04:00
Arve Knudsen
396ff9f478
Drone: Disable enterprise build for PRs ( #26241 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-07-10 17:24:12 +02:00
Ivana Huckova
6d8545da63
Elastic: Fix error "e.buckets[Symbol.iterator] is not a function" when using filter ( #26217 )
...
* Add bucket to array if it is not in array
* Fix issue one level above
* Rename variable
* Move array check to processAggregationDocs
2020-07-10 17:04:05 +02:00
Arve Knudsen
d28d495235
Chore: Enable PR testing in Drone ( #26189 )
...
* Add Drone configuration
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Add more steps
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Add more steps
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Build front-end before testing it
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Upgrade grafana/build-container
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Add packaging step
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Trigger on push
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Remove some steps
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Enable steps
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Install Dockerize
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Use node image for test-frontend
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Increase number of test workers
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Make plugin installation depend on frontend tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Make integration tests depend on frontend tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Use grafana/build-container also for front-end tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Upgrade dependencies in order to fix front-end tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Depend on es-check
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Dont' depend on tests before building front-end
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Add more steps
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix packaging
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Simplify
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Try to build images
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix e2e tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Remove steps
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Install netcat
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Include golangci-lint with grafana/build-container
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Build storybook and docs website
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix e2e tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Use build image with root user
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Drop CircleCI dependencies
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix e2e tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix e2e under Drone
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Execute e2e server separately
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Use own plugin for building Docker images
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Use Starlark to configure Drone
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Add enterprise steps to pipeline
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Add more enterprise steps to pipeline
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Maintain Yarn cache
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Build enterprise Docker images
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Build Ubuntu Docker images
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Refactor
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Add Postgres integration test
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Add MySQL integration test
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix integration tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Parameterize integration test DB connections
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Categorize integration tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Use grabpl integration-tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Remove unintended change
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Drone: Disable Ubuntu Docker images for PR pipeline
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Regenerate yarn.lock
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Upgrade grabpl
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Restore Yarn cache before installing in grafana-enterprise
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Use separate pipelines for OSS and enterprise
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Let OSS builds depend on tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Restore Go cache before building back-end
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Reduce number of variants built for PRs
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix building of Docker images
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Drone: Simplify logic
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Drone: Use Starlark
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Drone: Fix syntax error
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Convert .drone.star to YAML
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Upgrade AWS Go SDK
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Drone: Fix Go linting
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Undo irrelevant changes
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Revert "Undo irrelevant changes"
This reverts commit 5152f65972
.
* Undo irrelevant changes
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* e2e: Support Circle
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Remove unused script
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* TypeScript fixes
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* TypeScript fixes
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Remove unused script
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* More Drone support
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Remove unused script
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix build on Circle
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Remove TODO comment
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-07-10 16:09:21 +02:00
kay delaney
1391575853
Chore: Removes some unneeded console logging and changes logs to errors ( #26235 )
2020-07-10 15:07:04 +01:00
Alex Khomenko
718d6fb25d
Grafana-UI: Add time range input ( #26158 )
...
* Grafana UI: Do not submit form on range change
* Grafana UI: Add TimeRangeInput
* Grafana UI: Style input
* Grafana UI: Customize content
* Grafana UI: Adjust caret style
* Grafana UI: Add mdx
* Grafana UI: Fix caret styles
* Grafana UI: Fix typo
* Grafana UI: Do not reload page on timerange change
* Grafana UI: Sync TimeRangeForm state with external value
* Grafana UI: Close overlay on apply
* Grafana UI: Remove unused props
* Grafana UI: Fix story
* Grafana-UI: Make time zone optional
* Grafana-UI: Update styles
* Grafana-UI: Extract button label props
* Grafana-UI: hideHistory => showHistory
* Grafana-UI: Fix caret styles
2020-07-10 14:45:49 +03:00
Torkel Ödegaard
8f78b0e7bc
Chore: Fix all Typescript strict null errors ( #26204 )
...
* Chore: Fix typescript strict null errors
* Added new limit
* Fixed ts issue
* fixed tests
* trying to fix type inference
* Fixing more ts errors
* Revert tsconfig option
* Fix
* Fixed code
* More fixes
* fix tests
* Updated snapshot
* Chore: More ts strict null fixes
* More fixes in some really messed up azure config components
* More fixes, current count: 441
* 419
* More fixes
* Fixed invalid initial state in explore
* Fixing tests
* Fixed tests
* Explore fix
* More fixes
* Progress
* Sub 300
* Now at 218
* Progress
* Update
* Progress
* Updated tests
* at 159
* fixed tests
* Progress
* YAy blow 100! at 94
* 10,9,8,7,6,5,4,3,2,1... lift off
* Fixed tests
* Fixed more type errors
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2020-07-10 12:46:59 +02:00
Ryan McKinley
3d98641a45
DataLinks: add internal flag in comments ( #26215 )
2020-07-09 14:35:31 -07:00
Josh Soref
7752434d11
Docs: Use current spelling for macOS ( #26181 )
2020-07-09 08:06:04 -07:00
Tobias Skarhed
5a3eb413d9
Issue Template: @grafana/ui component request ( #25981 )
...
* Add first draft of issue template
* Remove feature request line
* Update PR feedback
* Minor tweaks
* Update .github/ISSUE_TEMPLATE/4-grafana_ui_component.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* Fix punctuation
Co-authored-by: Clarity-89 <homes89@ukr.net>
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2020-07-09 18:00:28 +03:00
Robby Milo
429c4c903b
add plugin aliases ( #26206 )
2020-07-09 07:42:04 -07:00
Diana Payton
26cf3d9c66
Docs: Update debian.md ( #26100 )
...
* Update debian.md
* Revert "Update debian.md"
This reverts commit 063c1f09d9
.
* Update debian.md
* Update debian.md
* Update debian.md
* Update docs/sources/installation/debian.md
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-07-09 07:25:10 -07:00
Andrej Ocenas
64bc85963b
Explore: Unification of logs/metrics/traces user interface ( #25890 )
...
Removes "Metrics"/"Logs" mode switcher from Explore, allowing for both
metrics and logs queries at the same time.
Co-authored-by: kay delaney <kay@grafana.com>
2020-07-09 15:14:55 +01:00
Marcelo Nunes Alves
be961c5466
Elasticsearch: Fix using multiple bucket script aggregations when only grouping by terms ( #24064 )
...
* In the parser when it was configurate more bucket it put the formula in name column
* Tests
* Tests
* Tests
* Tests
* Tests
* Tests
* Process/Tests - backend (Go)
* Update pkg/tsdb/elasticsearch/response_parser.go
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
* reverse
* Update pkg/tsdb/elasticsearch/response_parser.go
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2020-07-09 15:21:19 +02:00
Torkel Ödegaard
49b5fc4b9a
Chore: More typescript strict null fixes, going for sub 200 ( #26134 )
...
* Chore: Fix typescript strict null errors
* Added new limit
* Fixed ts issue
* fixed tests
* trying to fix type inference
* Fixing more ts errors
* Revert tsconfig option
* Fix
* Fixed code
* More fixes
* fix tests
* Updated snapshot
* Chore: More ts strict null fixes
* More fixes in some really messed up azure config components
* More fixes, current count: 441
* 419
* More fixes
* Fixed invalid initial state in explore
* Fixing tests
* Fixed tests
* Explore fix
* More fixes
* Progress
* Sub 300
* Now at 218
* Progress
* Update
* Progress
* Updated tests
* at 159
* fixed tests
* Fixed test
2020-07-09 15:16:35 +02:00
Arve Knudsen
9285595c50
tsdb/postgres: Support Unix socket for host ( #25778 )
...
* tsdb/postgres: Support Unix socket for host
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix host regex
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix host regex
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Remove panic
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fix host parsing; add tests
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Add test
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Use strings.HasPrefix to detect Unix socket host
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Remove debug logging
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Escape single quotes and backslashes
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Test generateConnectionString as requested in review
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
* Add test case for SSL mode
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-07-09 14:57:09 +02:00
Peter Holmberg
9948e9298f
Fix: Redirect to correct url after creating a folder ( #26160 )
2020-07-09 14:38:47 +02:00
kay delaney
2ac1bfcc79
Datasource/CloudWatch: More robust handling of different query modes ( #25691 )
...
* Datasource/CloudWatch: More robust handling of different query modes
A small refactor which changes how the CloudWatch datasource handles
multiple queries with different query modes. Groundwork for future
Logs/Metrics unification work.
2020-07-09 13:11:13 +01:00
Torkel Ödegaard
ddcc0c3c80
Update latest.json
2020-07-09 13:47:51 +02:00
Arve Knudsen
e9e74040ea
CircleCI: Upgrade grabpl ( #26196 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-07-09 12:17:35 +02:00
Torkel Ödegaard
be7bc293a1
Release: Update changelog with 7.0.6
2020-07-09 12:00:16 +02:00
Andrej Ocenas
53eb856d20
Explore: Run query on splitOpen action ( #26161 )
2020-07-09 11:21:45 +02:00
Torkel Ödegaard
0428f27194
Templating: Fix recursive loop of template variable queries when changing ad-hoc-variable ( #26191 )
...
* Templating: Fix url sync issue with adhoc variables
* Update packages/grafana-ui/src/components/Segment/SegmentAsync.tsx
* Update packages/grafana-ui/src/components/Segment/SegmentAsync.tsx
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2020-07-09 10:14:28 +02:00
Ivana Huckova
d3dcb19a5b
Loki: Improve error message for unescaped \ and add LogQL link to docs ( #26136 )
...
* Add custom escaping error message
* Include regex escape error message
* Update docs, add logql link
* Refactor
2020-07-09 10:13:41 +02:00
Sofia Papagiannaki
45cfb3451b
Upgrade build pipeline tool ( #26165 )
...
* Upgrade build pipeline tool
* Update config.yml
* Remove edition parameter from deploy-to-kubernetes
2020-07-09 10:21:39 +03:00
Torkel Ödegaard
7b80e300d9
BarGauge: Fix space bug in single series mode ( #26176 )
2020-07-09 09:18:05 +02:00
Torkel Ödegaard
2191fe1285
DataSourceWithBackend: Switch to new Observable fetch api ( #26043 )
...
* BackendSrv: Observable all the way POC
* starting to unify code paths
* tests pass
* Unified error handling
* Single request path and error handling
* Fixed ts issue
* another ts issu
* Added back old requestId cancellation
* Slow progress trying to grasp the full picture of cancellation
* Updates
* refactoring
* Remove a bunch of stuff from backendSrv
* Removed another function
* Do not show error alerts for data queries
* Muu
* Updated comment
* DataSourceWithBackend: Switch to new Observable fetch api
* fixed ts issue
* unify request options type
* Made query inspector subscribe to backendSrv stream instead of legacy app events
* Add back support for err.isHandled to limit scope
* never show success alerts
* Updated tests
* use ovservable in test
* remove processResponse
* remove processResponse
* trying to get tests to pass :(
* no need for the extra tests
* Fixed processsing
* Fixed tests
* Updated tests to mock fetch call
* lint fixes
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2020-07-09 07:32:39 +02:00
Tim Schwenke
4df441f822
Docs: Update azuread.md to reflect Azure Portal Interface ( #25420 )
2020-07-08 16:30:15 -07:00
Kyle Brandt
c6a3afb4b8
Docs: Azure Monitor data source changes for 7.1 ( #26096 )
...
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2020-07-08 15:47:00 -04:00
Marcus Efraimsson
c91e5adfcc
Alerting: Don't encrypt username for webhook notifier ( #26170 )
...
Can be hard for users to understand what user is configured
when encrypting the username field why this reverts to
store the username in cleartext.
Also, we don't encrypt username for data sources.
Ref #25967
2020-07-08 19:13:59 +02:00
Marcus Efraimsson
3223d4b419
Alerting: Store sensitive settings encrypted for webhook notifier ( #26164 )
...
Store sensitive settings (username and password) encrypted for webhook notifier.
Ref #25967
2020-07-08 17:46:34 +02:00
Jess
f242840275
Create ConfirmButton.mdx ( #26113 )
...
add docs to ConfirmButton element
2020-07-08 18:29:33 +03:00
Oana Mangiurea
ea33668014
Update TextArea.mdx ( #26159 )
...
Add additional information in docs to textarea component
2020-07-08 18:06:08 +03:00
Oana Mangiurea
84bf94709e
Created Legend.mdx ( #26146 )
...
Add simple docs to legend component
Signed-off-by: Oana <oana.mangiurea@gmail.com>
2020-07-08 18:05:42 +03:00
Jess
14209c0ed1
Create Badge.mdx ( #26114 )
2020-07-08 18:05:18 +03:00
Jess
6d4f72cd04
Create Slider.mdx ( #26149 )
...
add simple documentation for slider component
2020-07-08 18:05:01 +03:00
kay delaney
fd29b952a6
Backend: use latest Go plugin SDK ( #26162 )
2020-07-08 15:26:49 +01:00
Torkel Ödegaard
cace879c96
Templating: Fixed recursive queries triggered when switching dashboard settings view ( #26137 )
...
* Templating: Fixed recursive queries triggered when going into dashboard settings
* Fixed unused import
* use locationUtil
2020-07-08 13:22:09 +02:00
Torkel Ödegaard
8ab5d2ddd9
Dashboard: Refresh intervals should not always add the server min refresh interval ( #26150 )
2020-07-08 13:21:12 +02:00
Marcus Andersson
17d87071e6
Transform: adding missing "table"-transform and "series to rows"-transform to Grafana v7-transforms. ( #26042 )
...
* Fixed so the merge for table values works as it did before.
* wip
* fixed tests.
* merge tests are green.
* removed unused code and simplify the seriesToRows.
* added time series to rows editor.
* using getFrameDisplayName for the metric value.
* updated description of transforms.
* updated docs.
* fixed according to feedback.
* changed from images to markdown tables for the examples.
* forgot to save :P
2020-07-08 12:40:05 +02:00
Torkel Ödegaard
fd44c01675
Chore: Fix typescript strict null fixes now at 298 ( #26125 )
...
* Chore: Fix typescript strict null errors
* Added new limit
* Fixed ts issue
* fixed tests
* trying to fix type inference
* Fixing more ts errors
* Revert tsconfig option
* Fix
* Fixed code
* More fixes
* fix tests
* Updated snapshot
* Chore: More ts strict null fixes
* More fixes in some really messed up azure config components
* More fixes, current count: 441
* 419
* More fixes
* Fixed invalid initial state in explore
* Fixing tests
* Fixed tests
* Explore fix
* More fixes
* Progress
* Sub 300
* Fixed incorrect type
* removed unused import
2020-07-08 11:05:20 +02:00
Torkel Ödegaard
89b56782c6
DataLinks: Fixed interpolation of repeated variables used in data links ( #26147 )
2020-07-08 11:04:23 +02:00
Mitsuhiro Tanda
292c985b76
Alerting: Support storing sensitive notifier settings securely/encrypted ( #25114 )
...
Support storing sensitive notification settings securely/encrypted.
Move slack notifier url and api token to secure settings.
Migrating slack notifier to store token and url encrypted is currently
a manual process by saving an existing slack alert notification channel.
saving an existing slack alert notification channel will reset the stored
non-secure url and token.
Closes #25113
Ref #25967
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2020-07-08 10:17:05 +02:00
Ryan McKinley
b26ef1db25
CSV: force UTF-8 encoding for download ( #26145 )
2020-07-07 23:53:03 -07:00
Dominik Prokop
30a682a4da
Do not break dashboard settings UI when time intervals end with trailing comma ( #26126 )
2020-07-08 08:52:06 +02:00