Commit Graph

2740 Commits

Author SHA1 Message Date
drew jess
f3694935ed
add an example cloudwatch resource_arns() query that uses multiple tags (ref: #29499) (#29838) 2020-12-15 14:01:19 -05:00
Diana Payton
aa8fb1ae98
MS SQL: Fix MS SQL add data source UI issues (#29832)
* Update config.html

* Update mssql.md

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2020-12-15 08:17:21 -08:00
Caetra
555d3c275d
Docs: Fix broken link in logs-panel (#29833)
Fixes #29799
2020-12-15 16:19:24 +01:00
Diana Payton
e7447c5067
Docs: Update types-options.md (#29777) 2020-12-14 09:30:17 -08:00
Mike Dalrymple
7dd387ce57
Added httpMethod to webhook (#29780)
The values appear like they can be "POST" or "PUT" but there doesn't appear to be a place for that info in the documentation.
2020-12-11 17:50:04 +01:00
Zoltán Bedi
b3838d372e
Tracing: Release trace to logs feature (#29443)
* Remove feature flag

* Add data source setting for Jaeger

* Refactor trace to logs settings

* Fix tests

* Get ds settings in two steps

* Add info to settings

* Update docs for trace to logs

* Update yarn.lock

* Apply suggestions from code review

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

* Update TraceToLogsSettings after merge with master

* Add config for tags

* Add tags to check for keys

* Apply suggestions from code review

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

* Update docs

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2020-12-10 19:42:43 +01:00
Grot (@grafanabot)
8a3fdc3055
ReleaseNotes: Updated changelog and release notes for 7.3.5 (#29753) 2020-12-10 16:35:22 +01:00
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
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
Marcus Andersson
ac3bf352d9
Docs: added version note for rename by regex transformation. (#29735) 2020-12-10 07:53:52 +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
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
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
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
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
7006
cf13c99eed
Update getting-started.md (#29670)
fix typo
2020-12-07 20:05:00 -05:00
Diana Payton
90081be9b8
Docs: Changed image format (#29658) 2020-12-07 08:42:10 -08:00
Ryan McKinley
d59086b2e0
Docs: add docs for concatenate transformer (#28667) 2020-12-04 10:25:11 -08:00
Marcus Olsson
9508656b15
Update broken aliases (#29603) 2020-12-04 16:26:59 +01:00
Agnès Toulet
d92beeee3d
API: add ID to snapshot API responses (#29600)
* API: add ID to snapshot API responses

* API: update snapshot tests
2020-12-04 16:22:58 +01:00
Will Browne
1053989686
Docs: Add missing key to enable SigV4 for provisioning Elasticsearch data source (#29584)
* add missing key to enable SigV4

* use right key :o)

* Add .

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

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2020-12-03 20:04:38 +01:00
Diana Payton
df1b0a1daf
Docs: Update formatting-multi-value-variables.md (#29547) 2020-12-02 12:03:45 -08:00
Diana Payton
df0ef18731
Docs: Update syntax.md (#29545)
* Update syntax.md

* Update syntax.md
2020-12-02 11:00:13 -08:00
Diana Payton
18c3f7bba0
Docs: Update repeat-panels-or-rows.md (#29540) 2020-12-02 08:54:09 -08:00
achatterjee-grafana
74a4ffd870
3 minor changes, including updating the title TOC (#29501)
* 3 minor changes, including updating the title TOC

* Fixing the sentence lacking verb.
2020-12-02 11:19:36 -05:00
Ivana Huckova
eb16eb5d72
Docs/Transformations: Add documentation about Binary operations in Add field from calculation (#29511)
* Add also infor about binary operations

* 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: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2020-12-02 09:44:35 +01:00
Diana Payton
9b2592dddf
Docs: Update filter-variables-with-regex.md (#29508) 2020-12-01 14:51:06 -08:00
Rami
05396ef7bd
Docs: InfluxDB_V2 datasource: adding an example on how to add InfluxQL as a datasource (#29490) 2020-12-01 14:01:18 -08:00
mnkii
460883d0b2
Docs: Added Security Group support to Azure Auth (#29418)
Support of both Application and Security groups in groupMembershipClaims, as per @pihai suggestion: https://github.com/grafana/grafana/issues/23358#issuecomment-685377338
2020-12-01 10:27:19 -08:00
Marcus Olsson
c52fd933f6
Docs: Fix broken link for plugins (#29346) 2020-12-01 13:52:32 +01:00
Totalus
754aca25c5
Transformation: added support for excluding/including rows based on their values. (#26884)
* Adding FilterByValue transformer skeleton

* Connecting options with Editor

* Improving UI and making deep copy of options on change.

* Improving Transformation Editor UI

* Implementing Regex filtering

* Adding valueFilters.ts and creating filter registry

* Connecting the test function

* Correcting TypeScript errors

* Using FilterInstance instead of simple Filter test function

* Adding field.type as filter options

* Improving UI. Adding custom placeholder depending on filter.

* Implementing a few more filter types

* Implementing more filters

* Return original data if no filter were processed

* Improving UI

* Correcting TS errors

* Making sure inequality transform are invalid until the filterExpression is not empty

* Cleanup in the UI file

* Improving UI (highlight invalid fields)

* Only show filterType that are supported for the selected field

* Adding tests + correction of a filter

* Adding transformer test

* Adding doc

* Cleanup

* Typing props for FilterSelectorRow component

Co-authored-by: Marcus Andersson <systemvetaren@gmail.com>

* Moving rendering in the JSX

Co-authored-by: Marcus Andersson <systemvetaren@gmail.com>

* Memoizing filterTypeOptions computation

Co-authored-by: Marcus Andersson <systemvetaren@gmail.com>

* Improve code compactness

Co-authored-by: Marcus Andersson <systemvetaren@gmail.com>

* Cleanup + solving TS errors

* Updating some labels

* Wrapping stuff around useMemo and useCallback

* Using cloneDeep from lodash

* Don't highlight field name input if null

* Removing time type fields in selectable options

* We want loose equality in this scenario.

* Adding `onChange` to useCallback dependencies

Co-authored-by: Marcus Andersson <systemvetaren@gmail.com>

* Include or exclude matching any or all conditions

* Correcting field name matching

* Cleanup

* Don't highlight the filterExpression input when its empty

* Adding Range filter

* Updating doc

* Correcting TS error

* Only showing the Match All/Match Any option if more than one condition

* Two inputs for the Range filter instead of one

* Improving invalid highlight for Range filter type

* Cleanup

* Improving labels in UI

* Using ButtonSelect to improve UI

* editor UI updates.

* Updating tests

* Adding component for Regex

* Improve TS typing

* Adding components for the other filter types.

* Cleanup

* Correct error

* Updating valueFilter.test.ts

* Updating filterByValue.test.ts

* Reverting and removing Range filter

* Update docs/sources/panels/transformations.md

* starting to implement poc.

* added a small poc.

* wip

* added tests.

* added structure for dynamic value matcher editors.

* added more support.

* added some more value matchers.

* removed unused value filters.

* added some more matchers.

* adding more matchers.

* added a range matcher.

* fixing some tests.

* fixing tests.

* remove unused dep.

* making the matching a bit more performant.

* UX improvements and alignment fixes

* fixed delete button.

* fixed some spacing in the UI.

* added docs for matchers.

* adding docs and exposing value matcher types.

* will store dateTime as string.

* updated docs according to feedback.

* moved filter by value in transformation list.

* Improved description.

* added regex value filter.

* added support for regex.

* fixing failing tests.

Co-authored-by: Marcus Andersson <systemvetaren@gmail.com>
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2020-12-01 10:22:37 +01:00
Todd Campbell
643f790753
Alerting: Add support for Sensu Go notification channel (#28012)
* Add support for Sensu Go notification channel

Similar to current support for the older "Core" version of
Sensu, this commit add support for the newer version.

Closes #19908

Signed-off-by: Todd Campbell <todd@sensu.io>

* fix linter errors

Signed-off-by: Todd Campbell <todd@sensu.io>

* Apply suggestions from code review

PR review suggestions

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>

* Fix no new variables error

* Replace convey testing with testify

Signed-off-by: Todd Campbell <todd@sensu.io>

* Wording suggestions

Signed-off-by: Todd Campbell <todd@sensu.io>

* Add docker compose environment for testing/maintenance

Signed-off-by: Todd Campbell <todd@sensu.io>

* Renamed and fixed docker-compose.yaml to work in devenv

Signed-off-by: Todd Campbell <todd@sensu.io>

* Change sensugo web UI port to 3080 so as not to conflict with grafana

Signed-off-by: Todd Campbell <todd@sensu.io>

* Apply suggestions from code review

Set the API key as a secure value.

Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com>

* Add Sensu Go information to notifications doc

Signed-off-by: Todd Campbell <todd@sensu.io>

* Update pkg/services/alerting/notifiers/sensugo.go

Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com>

* change assert to require for Error/NoError tests

Signed-off-by: Todd Campbell <todd@sensu.io>

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com>
2020-11-27 19:09:24 +02:00
Grot (@grafanabot)
b3c4db1d27
ReleaseNotes: Updated changelog and release notes for 7.3.4 (#29430) 2020-11-27 10:53:13 +01:00
Joan López de la Franca Beltran
c22a39ab2d
Plugins: Add support for includes' icon (#29416)
* Plugins: Add support for includes' icon

* Docs: Add plugin includes' icon reference
2020-11-27 10:48:37 +01:00
Leonard Gram
43bd492565
Docs: docker -> Docker (#29331) 2020-11-26 16:32:37 +01:00
achatterjee-grafana
5739764e06
Getting started with Grafana and MS SQL (#29401)
* Added new topic and made changes to TOC

* More changes.

* More changes.

* Updated image captions

* More changes.

* More change.

* Some minor changes.

* More reaarangements and verbiage updates.

* Update docs/sources/getting-started/getting-started-sql.md

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

* Update docs/sources/getting-started/getting-started-sql.md

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

* Update docs/sources/getting-started/getting-started-sql.md

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

* Update docs/sources/getting-started/getting-started-sql.md

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

* Update docs/sources/getting-started/getting-started-sql.md

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

* More changes.

* Last of the changes.

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2020-11-25 18:53:10 -05:00
Diana Payton
12a07aff82
Docs: Add Cloud content links (#29317)
* Update _index.md

* Update _index.md

* Update _index.md

* Update _index.md

* changed link format
2020-11-25 11:46:35 -08:00
Diana Payton
f8c73bdc3f
Docs: Update requirements.md (#29350) 2020-11-24 11:00:51 -08:00
Grot (@grafanabot)
7b031f83e8
ReleaseNotes: Updated changelog and release notes for 7.3.4 (#29347) 2020-11-24 16:28:32 +01:00
Grot (@grafanabot)
b39af39958
ReleaseNotes: Updated changelog and release notes for 7.3.4 (#29338)
* ReleaseNotes: Updated changelog and release notes for 7.3.4

* Update _index.md

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
2020-11-24 16:25:40 +01:00
Marcus Efraimsson
27b4390484
Docs: Fix editor role and alert notification channel description (#29301)
* Docs: Fix editor role and alert notification channel description

* Update docs/sources/permissions/organization_roles.md

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

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2020-11-24 11:24:41 +01:00
Arve Knudsen
ab9f39f346
Docs: Improve custom Docker image instructions (#29263)
* Docs: Improve custom Docker image instructions

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>

* Update docs/sources/installation/docker.md

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

* Update docs/sources/installation/docker.md

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

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2020-11-24 11:21:15 +01:00
Danny Kopping
c21cf065b2
Docs: Accurately reflecting available variables (#29302)
Labels are only available at the field level, and not the series level
2020-11-24 09:49:28 +01:00
Ivana Huckova
83329ae7e4
Explore/Logs: Update Parsed fields to Detected fields (#28881)
* Change all parsed fields and functions to detected fields

* Update

* Sneak in UI improvement, add tooltip

* Update docs/sources/whatsnew/whats-new-in-v6-5.md

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

* Update docs/sources/whatsnew/whats-new-in-v6-5.md

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

* Remove changes from old Whats new

* Rename LogMessageParsed

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2020-11-23 20:10:09 +01:00
Matthew Helmke
c574126ebf
fixing a broken relref link (#29312)
* fixing a broken relref link

* Update docs/sources/datasources/loki.md

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

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2020-11-23 11:11:43 -06:00
Leonard Gram
b44a41aab3
Docker: update docker root group docs and docker image (#29222)
* Docs: updates changelog and docs for openshift docker fix

* Docker: local docker build synced with official build

* Update docs/sources/installation/docker.md

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>

* Update docs/sources/installation/upgrading.md

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>

* Update CHANGELOG.md

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

* Update CHANGELOG.md

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

* Update docs/sources/installation/upgrading.md

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2020-11-23 12:29:53 +01:00
achatterjee-grafana
9fcb16ae38
Docs: Remove duplicate "Transformations overview" topics from the TOC (#29247)
* Remove extra "Transformations overview topic from the TOC

* Updated heading to "Transformations" from "Transformations overview".
2020-11-20 09:32:31 +01:00