Jeremy Alvis
f021f97c31
DataSourceSettings: Add servername field to DataSource TLS config ( #29279 )
...
* DataSourceSettings: Add servername field to DataSource TLS config
A DNS lookup URL can be provided in the DataSource URL field in order
to dynamically load balance between multiple instances of a DataSource.
When using mutual TLS, Golang's TLS config implementation checks that
the certificate's common name (< 1.15) or subject alternative name
(>= 1.15) has the same value as the domain being accessed. If the DNS
entry is dynamically generated for a specific environment, the
certificate cannot be generated with a name matching the dynamic
DNS URL. As such, Golang offers a servername field that can be set to
overwrite what value is used when checking against the certificate's
common name (or subject alternative name). Without this change, Skip
TLS Verify must be set to true in order for the DataSource to work,
removing some of the benefits gained by using mutual TLS.
This commit adds the ability to set Grafana's internal Golang TLS config
servername field from the UI or a provisioned DataSource.
The servername field is optional and the existing behavior is retained if
the field is not set.
Co-authored-by: Dana Pruitt <dpruitt@vmware.com>
Co-authored-by: Jeremy Alvis <jalvis@pivotal.io>
* Update docs with PR review changes
Co-authored-by: Jeremy Alvis <jalvis@pivotal.io>
Co-authored-by: Dana Pruitt <dpruitt@vmware.com>
* Update with additional PR requested changes
* Minor updates based on PR change requests
Co-authored-by: Dana Pruitt <dpruitt@vmware.com>
2020-12-10 16:07:05 +01:00
Will Browne
ed9076da29
Chore: update stable and testing versions ( #29748 )
2020-12-10 15:04:47 +01:00
Grot (@grafanabot)
61fe235253
ReleaseNotes: Updated changelog and release notes for 7.3.5 ( #29744 )
...
* ReleaseNotes: Updated changelog and release notes for 7.3.5
* Update _index.md
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
2020-12-10 14:05:51 +01:00
Chris Cowan
491a4dc967
Elasticsearch: View in context feature for logs ( #28764 )
...
* Elasticsearch: View in context feature for logs
* Fixing unused type
* Limit show context to esVersion > 5
* Fixing scope for showContextToggle; removing console.log
* Fix typing; adding check for lineField
* Update test to reflect new sorting keys for logs
* Removing sort from metadata fields
* Adding comment for clarity
* Fixing scenerio where the data is missing
* remove export & use optional chaining
Co-authored-by: Elfo404 <gio.ricci@grafana.com>
2020-12-10 11:19:14 +00:00
Arve Knudsen
8b21290164
Chore: Disable gosec on certain line ( #29382 )
...
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-12-10 11:53:21 +01:00
Domas
70d68c156d
Logging: log frontend errors caught by ErrorBoundary, including component stack ( #29345 )
...
* log component stack on error boundary
* test for error boundary
* PR feedback fixes
2020-12-10 10:50:37 +01:00
Uchechukwu Obasi
4ea2c7d2b1
ChangePassword: improved keyboard navigation ( #29567 )
...
* ChangePassword: improved keyboard navigation
* updated skip button with appropriate tag
* applied box shadow to skip button
2020-12-10 09:41:44 +01:00
Torkel Ödegaard
955c96ffd8
GrafanaDataSource: Fix selecting -- Grafana -- data source, broken after recent changes ( #29737 )
2020-12-10 09:26:28 +01:00
Marcus Andersson
ac3bf352d9
Docs: added version note for rename by regex transformation. ( #29735 )
2020-12-10 07:53:52 +01:00
Ivana Huckova
e313c0cea0
@grafana/ui: Fix UI issues for cascader button dropdown and query input ( #29727 )
...
* Fix broken cascader width
* Remove text cursor in area where it does not affect slate
2020-12-09 19:01:28 +01:00
Diana Payton
f1b3c8ba4b
Docs: Update configuration.md ( #29728 )
2020-12-09 08:22:12 -08:00
Diana Payton
97a104598a
Docs: Remove survey ( #29549 )
...
* removed the survey code
* Update _index.md
2020-12-09 07:55:50 -08:00
Domas
7d9a528184
Logging: rate limit fronted logging endpoint ( #29272 )
...
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2020-12-09 16:22:24 +01:00
Agnès Toulet
924212b42b
API: add Status() to RedirectResponse ( #29722 )
2020-12-09 15:08:53 +01:00
Giordano Ricci
7f0802a9c9
Elasticsearch: Deprecate browser access mode ( #29649 )
...
* Elasticsearch: Show deprecation warning when selecting browser access mode
* Docs: Show deprecation warning for Elasticsearch Browser access mode
2020-12-09 13:27:40 +00:00
Giordano Ricci
58b63a1678
Elasticsearch: Fix query initialization action ( #29652 )
2020-12-09 12:53:59 +00:00
Hugo Häggmark
941ba1d2f7
PanelLibrary: Adds api and db to create Library/Shared/Reusable Panel ( #29642 )
...
* PanelLibrary: Adds panellib table
* Refactor: removes drop table migration
* Refactor: fixes spelling mistake
* Refactor: changes after PR comments
* Refactor: some more renames
* PanelLibrary: Adds api and db to create Library/Shared/Reusable Panel
* Refactor: reverts SqlStore change and uses RegisterOverride instead
* Refactor: fixes lint error
* Refactor: fixes imports
* Refactor: reverts unintentional changes
* Refactor: Adds repository
* Revert "Refactor: Adds repository"
This reverts commit 4c46e8a6c4
.
* Refactor: changes after PR comments
* Refactor: Simplfies further
* Chore: fixes linting
* Chore: Changes after PR comments
* Update pkg/services/librarypanels/api.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Chore: fixes import after commited suggestion
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-12-09 13:10:18 +01:00
Chris Cowan
82b21fe35e
Transformer: Rename metrics based on regex ( #29281 )
...
* Grafana: Rename By Regex Transformer
* Removing unused deps
* Add scrollIntoView() to TranformTab.content()
* Exporting RenameByRegexTransformerOptions
* Add doc block to renameByRegex transformer
* Adding doc block for RenameByRegexTransformerOptions
* removing scrollIntoView() for transform tab
* Adding back in scrollIntoView() for transform panel
* Tests: fixes e2e tests
* Apply to displayName instead of just the name of the frame
* Rewrite docblock to match new functionality
* Adding documentation
* Changing TLD to domain name
* Fixing typo
* Update docs/sources/panels/transformations/types-options.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* Update docs/sources/panels/transformations/types-options.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* Update docs/sources/panels/transformations/types-options.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2020-12-09 11:31:13 +01:00
Hugo Häggmark
3f2b28975c
Variables: Fixes upgrade of legacy Prometheus queries ( #29704 )
...
* Variables: Fixes upgrade of legacy queries
* Chore: changes after PR comments
2020-12-09 11:18:58 +01:00
Will Browne
31d64d9074
Auth: Add SigV4 header allowlist to reduce chances of verification issues ( #29650 )
...
* enforce allowlist
* fix default auth selection
* add Host and comment
2020-12-09 10:45:57 +01:00
Ryan McKinley
770e8e4a0b
DataFrame: add path and description metadata ( #29695 )
2020-12-08 17:36:09 -08:00
Will Browne
3de091edf1
Alerting: Use correct time series name override from frame fields ( #29693 )
...
* cater for empty labels and new DisplayNameFromDS field
* simplify
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* increase priority for ds display name
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-12-08 22:04:05 +01:00
Ryan McKinley
7974972d49
GraphNG: fix bars migration and support color and linewidth ( #29697 )
2020-12-08 12:50:18 -08:00
Shahzad
3bd4b8756a
PanelHeader: Fix panel header description inline code wrapping ( #29628 )
2020-12-08 19:55:50 +01:00
Dafydd
af3c0fe602
Bugfix 29848: Remove annotation_tag entries as part of annotations cleanup ( #29534 )
...
closes https://github.com/grafana/grafana/issues/29484
2020-12-08 19:41:35 +01:00
Ryan McKinley
e8ae6fd01f
GraphNG: simple settings migration from flot panel ( #29599 )
2020-12-08 08:13:39 -08:00
Ryan McKinley
3ce93050e0
GraphNG: replace bizcharts with uPlot for sparklines ( #29632 )
2020-12-08 08:13:12 -08:00
Torkel Ödegaard
0e0ab8c9ef
GitHubActions: Update node version in github action ( #29683 )
2020-12-08 17:09:22 +01:00
Carl Bergquist
609d61dece
Adds go dep used by an Enterprise feature. ( #29645 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2020-12-08 16:22:24 +01:00
Torkel Ödegaard
6c1789e549
Typescript: Raise strict error limit for enterprise ( #29688 )
2020-12-08 15:56:55 +01:00
Ivana Huckova
d85829ffd1
Remove unnecessary escaping ( #29677 )
2020-12-08 15:40:35 +01:00
aleemosman
a6d720f779
Update getting-started-prometheus.md ( #29678 )
...
Grafana format update.
2020-12-08 09:36:26 -05:00
Carl Bergquist
e1d5fc8627
instrumentation: align label name with our other projects ( #29514 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2020-12-08 14:26:07 +01:00
Torkel Ödegaard
a7afab4b8a
Typescript: Fixing typescript strict error, and separate check from publishing ( #29679 )
...
* Typescript: Fixing typescript string error, and seperate check from publishing
* now should pass
2020-12-08 12:56:37 +01:00
ying-jeanne
9668c172b3
CloudWatch: namespace in search expression should be quoted if match exact is enabled #29109 ( #29563 )
2020-12-08 12:37:07 +01:00
Marcus Olsson
d0f8adae04
Docs: Plugin schema updates ( #28232 )
...
* WIP
* Update plugin metadata schema
* Fix review comments
* Update descriptions
* Add description
* Fix review comment
2020-12-08 10:41:33 +01:00
Torkel Ödegaard
a4953bb65a
RadioButton: Fix flex issue in master for radio buttons ( #29664 )
2020-12-08 09:08:06 +01:00
7006
cf13c99eed
Update getting-started.md ( #29670 )
...
fix typo
2020-12-07 20:05:00 -05:00
Kyle Brandt
46d1c99e2c
Expr: fix time unit typo in ds queries ( #29668 )
2020-12-07 16:14:22 -05:00
Kyle Brandt
311b563c9b
Expr: make reduction nan/null more consistent ( #29665 )
2020-12-07 15:07:18 -05:00
Kyle Brandt
da32cef4ae
Expr: fix func argument panic ( #29663 )
...
would get wrong type for reflect
2020-12-07 13:58:20 -05:00
Diana Payton
785aa4df26
Update documentation-style-guide.md ( #29661 )
...
* Update documentation-style-guide.md
* Update documentation-style-guide.md
* Update documentation-style-guide.md
2020-12-07 10:51:11 -08:00
Diana Payton
5a780227b0
Update documentation-markdown-guide.md ( #29659 )
...
* Update documentation-markdown-guide.md
* Update documentation-markdown-guide.md
* Update documentation-markdown-guide.md
* Update documentation-markdown-guide.md
2020-12-07 10:50:44 -08:00
Diana Payton
90081be9b8
Docs: Changed image format ( #29658 )
2020-12-07 08:42:10 -08:00
Kyle Brandt
6d64c603c2
Expr: fix failure to execute due to OrgID ( #29653 )
...
* Expr: fix failure to execute due to OrgID
Get orgID from the plugin context, which makes more sense anyways.
makes expressions work again after https://github.com/grafana/grafana/pull/29449 changes.
* Do not save organisation on its alert query model
Co-authored-by: Sofia Papagiannaki <sofia@grafana.com>
2020-12-07 10:30:38 -05:00
Leon Sorokin
fee0d44e5c
GraphNG: rename "points" to "showPoints" ( #29635 )
...
* rename "points" to "showPoints"
* rename ShowPoints enum to PointVisibility
2020-12-07 09:29:34 -06:00
Torkel Ödegaard
874f2fafb2
Expressions: Restore showing expression query editor even if main data source is not mixed ( #29656 )
2020-12-07 15:37:30 +01:00
Ryan McKinley
4e4211965e
GraphNG: time range should match the panel timeRange ( #29596 )
...
* match time range
* less logging
* almost working
* more logging
* more logging
* fix snapshot
* Use layout effect for the time range ref update
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2020-12-07 14:48:10 +01:00
Tania B
c869ae5791
Support svg embedded favicons in whitelabeling ( #29436 )
...
* Fix favicon embedding in whitelabeling
* Fix formatting
2020-12-07 12:23:53 +02:00
Marcus Olsson
45c6daaf95
Add changelog to docs style guide ( #29581 )
...
* Add changelog to docs style guide
* Fix review comments
2020-12-07 10:35:24 +01:00