Commit Graph

28374 Commits

Author SHA1 Message Date
Grot (@grafanabot) e0a1cd2ee9 Document customQueryParameters for prometheus datasource provisioning (#33440) (#33495)
* Document customQueryParameters for prometheus datasource provisioning

The customQueryParameters option was added to prometheus datasources in https://github.com/grafana/grafana/pull/19121.  This PR updates the "provisioning" documentation to contain a reference to this in the `jsonData` options for a prometheus datasource.

* Update docs/sources/administration/provisioning.md

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

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
(cherry picked from commit c56763c42d)

Co-authored-by: Aaron Ecay <aaronecay@gmail.com>
2021-04-28 19:23:05 +02:00
Grot (@grafanabot) b6c41104d3 ReleaseNotes: Updated changelog and release notes for 7.5.5 (#33473) (#33492)
* ReleaseNotes: Updated changelog and release notes for 7.5.5

* Add release notes to index.md

* Update release-notes-7-5-5.md

* Update CHANGELOG.md

Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>

Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com>
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
(cherry picked from commit 08db0435bb)
2021-04-28 18:27:38 +02:00
Grot (@grafanabot) 6780f18bfe Documentation: Update developer-guide.md (#33478) (#33490)
(cherry picked from commit 7509c6cbc4)

Co-authored-by: Gang Chen <13298548+MoonBall@users.noreply.github.com>
2021-04-28 18:00:54 +02:00
Grot (@grafanabot) 00d3b84c04 add closed parenthesis to fix a hyperlink (#33471) (#33481)
Fix a missing character that prevents the hyperlink from rendering correctly.

(cherry picked from commit 86a57d17d2)

Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com>
2021-04-28 09:36:28 -04:00
Grot (@grafanabot) b5190ee547 "Release: Updated versions in package to 7.5.5" (#33469) v7.5.5 2021-04-28 12:11:10 +02:00
Grot (@grafanabot) 8b72772444 GraphNG: Fix exemplars window position (#33427) (#33462)
(cherry picked from commit 70bafc2725)

Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2021-04-28 11:05:05 +02:00
Grot (@grafanabot) 2303e0fb18 Remove field limitation from slack notification (#33113) (#33455)
(cherry picked from commit b3ce655b67)

Co-authored-by: Dimitris Sotirakis <dimitrios.sotirakis@grafana.com>
2021-04-28 08:38:22 +02:00
Ivana Huckova c95500b9ba Prometheus: Support POST in template variables (#33321) (#33441)
* If POST, pass params as data not in url string

* Fix metricNameAndLabelsQuery

* Improve test for new functionality

* Add multiple parameters in test scenarios

* Change urlParams to object

(cherry picked from commit 084066c712)
2021-04-27 21:08:50 +02:00
Carl Bergquist e4d4fa6623 Instrumentation: Add success rate metrics for email notifications (#33359) (#33409)
Signed-off-by: bergquist <carl.bergquist@gmail.com>
(cherry picked from commit 58a325a4e4)
2021-04-27 12:10:32 +02:00
Grot (@grafanabot) dda1c80431 Use either moment objects (for absolute times in the datepicker) or string (for relative time) (#33315) (#33406)
(cherry picked from commit 3ee925610a)

Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
2021-04-27 10:45:49 +02:00
Grot (@grafanabot) aee6df674c Docs: Removed type from find annotations example. (#33399) (#33403) 2021-04-27 09:00:43 +02:00
Torkel Ödegaard fc11be7250 [v7.5.x]: FrontendMetrics: Adds new backend api that frontend can use to push frontend measurements and counters to prometheus (#33255)
* Backport of https://github.com/grafana/grafana/pull/32593

* Update prometheus.yml
2021-04-23 10:00:48 +02:00
Grot (@grafanabot) 37d1df05fd Updated label for add panel. (#33285) (#33286)
(cherry picked from commit 463520c03c)

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-04-22 20:46:54 +02:00
Grot (@grafanabot) 538f992aee Bug: Add git to Dockerfile.ubuntu (#33247) (#33248)
* Add git to Dockerfile.ubuntu

* Use apt-get

* Add quiet flag

* Update Dockerfile.ubuntu

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

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
(cherry picked from commit 6acb99afde)

Co-authored-by: Dimitris Sotirakis <dimitrios.sotirakis@grafana.com>
2021-04-22 09:36:53 +02:00
Torkel Ödegaard ceeb381eae Docs: Sync latest master docs with 7.5.x (#33156)
* Docs: Sync latest master docs with 7.5.x

* remove some remaining next aliases and links

* Docs: Removed v8 doc changes

* fixed merge issue
2021-04-22 07:32:32 +02:00
Grot (@grafanabot) 5ee4c694ea Docs: Update getting-started-influxdb.md (#33234) (#33241)
* Update getting-started-influxdb.md

* Merge branch 'master' into oddlittlebird-patch-6

(cherry picked from commit 8ea1470893)

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2021-04-21 22:35:45 +02:00
achatterjee-grafana b61fc8bb7b Doc: Document the X-Grafana-Org-Id HTTP header (#32478) (#33239)
* Doc: Document the X-Grafana-Org-Id HTTP header

* Update docs/sources/http_api/auth.md

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

* update the auth.md with X-Grafana-Org-Id

* remove empty line

* Update docs/sources/http_api/auth.md

* Update docs/sources/http_api/auth.md

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

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>

Co-authored-by: ying-jeanne <74549700+ying-jeanne@users.noreply.github.com>
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2021-04-21 22:26:04 +02:00
Grot (@grafanabot) 713dec5268 Minor Changes in Auditing.md (#31435) (#33238)
* Improved glossary

* Minor Changes Test

Co-authored-by: achatterjee-grafana <aparajita.chatterjee@grafana.com>
(cherry picked from commit d97e1b685b)

Co-authored-by: Carrie Crowe <36338913+carriecrowe1138@users.noreply.github.com>
2021-04-21 22:02:32 +02:00
Grot (@grafanabot) 16e03f34ba Docs: Add license check endpoint doc (#32987) (#33236)
* Docs: Add license check endpoint doc

* Change request example

Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>

* Change response example

Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>

Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
Co-authored-by: achatterjee-grafana <aparajita.chatterjee@grafana.com>
(cherry picked from commit 711cf47b41)

Co-authored-by: Tania B <yalyna.ts@gmail.com>
2021-04-21 21:58:44 +02:00
Marcus Efraimsson 2b0cc8c9b4 Postgres: Fix time group macro when TimescaleDB is enabled and interval is less than a second (#33153) (#33219)
Fixing a special case with time group macro when
using TimescaleDB and interval is lower than a second.

Fixes #33124

(cherry picked from commit dd0ba96d7c)
2021-04-21 16:55:59 +02:00
Gábor Farkas 051994d758 Docs: InfluxDB doc improvements (#32815) (#33185)
* Create getting-started-influxdb.md

* Update getting-started-prometheus.md

* Update getting-started-sql.md

* data source edits

* single source intro

* Create first-step.md

* Update influxdb.md

* Update getting-started-influxdb.md

* Update influxdb.md

* break up long file

* Update influxdb-templates.md

* more updates

* Update _index.md

* Update _index.md

* Update getting-started-sql.md

* Update _index.md

* edits

* Update docs/sources/datasources/influxdb/_index.md

Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>

* Delete influxdb.md

* Update getting-started-influxdb.md

* Update influx-flux.md

* Update _index.md

* Update getting-started-influxdb.md

* Update getting-started-influxdb.md

* content

* content changes

* Update _index.md

* link fixes

* Update getting-started-influxdb.md

* Update getting-started-influxdb.md

* Merge branch 'master' into docs-influxdb

* updated port

Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
(cherry picked from commit c986aaa0a8)

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2021-04-21 06:50:11 -07:00
Grot (@grafanabot) f9bbe2fe41 [v7.5.x] Loki: Pass Skip TLS Verify setting to alert queries (#33031)
* WIP (#33025)

(cherry picked from commit 4f7728738e)

* Update pkg/tsdb/loki/loki.go

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2021-04-21 15:17:02 +02:00
Robby Milo 2135316a74 update cla (#33181) 2021-04-20 19:00:15 +02:00
Grot (@grafanabot) 7f0d28abf5 Fix inefficient regular expression (#33155) (#33159)
(cherry picked from commit e017de4f06)

Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
2021-04-20 14:02:31 +02:00
Grot (@grafanabot) 5dcfad56cf Auth: Don't clear auth token cookie when lookup token fails (#32999) (#33136)
If LookupToken fails we don't clear the auth token cookie.

Ref #15316

(cherry picked from commit 747f3cd300)

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2021-04-20 09:25:46 +02:00
Grot (@grafanabot) 01ed0afb9f Elasticsearch: Add documentation for supported Elasticsearch query transformations (#33072) (#33128)
* Elasticsearch:  Add documentation for supported Elasticsearch query transformation

* Update docs/sources/datasources/elasticsearch.md

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

* Remove beta notives for ES logs

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
(cherry picked from commit 875fa37d10)

Co-authored-by: Giordano Ricci <me@giordanoricci.com>
2021-04-19 16:27:57 +01:00
Grot (@grafanabot) 2afeb5a60a Update team.md (#33060) (#33084)
Missing start { in http response.

Co-authored-by: achatterjee-grafana <aparajita.chatterjee@grafana.com>
(cherry picked from commit 1ed724ea6e)

Co-authored-by: Per <perjahn@gmail.com>
2021-04-16 17:07:44 -04:00
achatterjee-grafana 744d93eb35 GE issue 1268 (#33049) (#33081)
* GE issue 1268 (#33049)

* Updated sentence format.

* Added new placeholder page for Enterprise License information, added links also adjusted weights.

* Created new folder license and moved 4 files to here.

* Added aliases.

* link fixes and such

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

* Fixed broken relref.

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2021-04-16 15:15:44 -04:00
achatterjee-grafana 5bcc482697 Fixed some formatting issues for PRs from yesterday. (#33078) (#33079) 2021-04-16 13:13:06 -04:00
Grot (@grafanabot) 4106856569 Explore: Load default data source in Explore when the provided source does not exist (#32992) (#33061)
* Fallback to default data source in Explore and use uid for history

uid is used to allow changing the name of the datasource and preserve history

* Remove redundant console logs

(cherry picked from commit da03175d0b)

Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
2021-04-16 10:19:15 +02:00
achatterjee-grafana ea51a660e9 Docs: Replace next with latest in aliases (#33054) (#33059)
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2021-04-15 20:44:35 -04:00
Grot (@grafanabot) b484d59ed6 Added missing link item. (#33052) (#33055)
(cherry picked from commit cf6d3fb8fb)

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-04-15 17:54:28 -04:00
achatterjee-grafana c423a15ec8 Backport 33034 (#33038)
* Fix for doc issue https://github.com/grafana/grafana/issues/32890 (#33034)

* Added new section "Implications of enabling `Anonymous` access to dashboards".

* Linked from Anonymous authentication section in "Grafana Auth".

* Update docs/sources/administration/security.md

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

* Update docs/sources/auth/grafana.md

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

* Fixed formatting issues.

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

* Fix for doc issue https://github.com/grafana/grafana/issues/32890 (#33034)

* Added new section "Implications of enabling `Anonymous` access to dashboards".

* Linked from Anonymous authentication section in "Grafana Auth".

* Update docs/sources/administration/security.md

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

* Update docs/sources/auth/grafana.md

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

* Fixed formatting issues.

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

* Fix for doc issue https://github.com/grafana/grafana/issues/32890 (#33034)

* Added new section "Implications of enabling `Anonymous` access to dashboards".

* Linked from Anonymous authentication section in "Grafana Auth".

* Update docs/sources/administration/security.md

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

* Update docs/sources/auth/grafana.md

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

* Fixed formatting issues.

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

* Fix format issue.

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2021-04-15 20:33:00 +02:00
Torkel Ödegaard 8011ff4f79 Docs: Backport 32916 to v7.5x (#33008)
* fixing things

* Update add-authentication-for-data-source-plugins.md

* Docs: Sync release branch with latest docs (#32986)

* Docs: Sync release branch with latest docs

* Fixed what branch to update

* Elasticsearch: Force re-rendering of each editor row type change (#32993) (#32996)

(cherry picked from commit 136460d369)

Co-authored-by: Giordano Ricci <me@giordanoricci.com>

* ReleaseNotes: Updated changelog and release notes for 7.5.4 (#32973) (#32998)

* ReleaseNotes: Updated changelog and release notes for 7.5.4 (#32973)

* ReleaseNotes: Updated changelog and release notes for 7.5.4

* Update index link

* Fix boldness

* Update CHANGELOG.md

Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>

* Update CHANGELOG.md

Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>

* Update codespell words

* Update docs/sources/release-notes/release-notes-7-5-4.md

* Update CHANGELOG.md

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

* Update docs/sources/release-notes/release-notes-7-5-4.md

* Change bold markers

* Fix escaping

* Update drone yaml

Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com>
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
(cherry picked from commit a516ff00db)

* Add old release notes

Co-authored-by: Grot (@grafanabot) <43478413+grafanabot@users.noreply.github.com>

* fixing things

* Merge branch 'v7.5.x' of https://github.com/grafana/grafana into backport-32916-to-v7.5.x

* Update add-authentication-for-data-source-plugins.md

* Update license-restrictions.md

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
Co-authored-by: Grot (@grafanabot) <43478413+grafanabot@users.noreply.github.com>
Co-authored-by: Giordano Ricci <me@giordanoricci.com>
Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com>
2021-04-14 15:40:43 -07:00
Andrej Ocenas f6268bc37a ReleaseNotes: Updated changelog and release notes for 7.5.4 (#32973) (#32998)
* ReleaseNotes: Updated changelog and release notes for 7.5.4 (#32973)

* ReleaseNotes: Updated changelog and release notes for 7.5.4

* Update index link

* Fix boldness

* Update CHANGELOG.md

Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>

* Update CHANGELOG.md

Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>

* Update codespell words

* Update docs/sources/release-notes/release-notes-7-5-4.md

* Update CHANGELOG.md

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

* Update docs/sources/release-notes/release-notes-7-5-4.md

* Change bold markers

* Fix escaping

* Update drone yaml

Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com>
Co-authored-by: Ursula Kallio <73951760+osg-grafana@users.noreply.github.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
(cherry picked from commit a516ff00db)

* Add old release notes

Co-authored-by: Grot (@grafanabot) <43478413+grafanabot@users.noreply.github.com>
2021-04-14 19:23:07 +02:00
Grot (@grafanabot) ab7b01ec10 Elasticsearch: Force re-rendering of each editor row type change (#32993) (#32996)
(cherry picked from commit 136460d369)

Co-authored-by: Giordano Ricci <me@giordanoricci.com>
2021-04-14 17:22:00 +01:00
Torkel Ödegaard 6b1c98de8b Docs: Sync release branch with latest docs (#32986)
* Docs: Sync release branch with latest docs

* Fixed what branch to update
2021-04-14 18:08:10 +02:00
Grot (@grafanabot) 615c153b3a "Release: Updated versions in package to 7.5.4" (#32971) v7.5.4 2021-04-14 11:07:34 +02:00
Grot (@grafanabot) b6763e0ac2 fix(datasource_srv): prevent infinite loop where default datasource is named default (#32949) (#32967)
(cherry picked from commit b0470c84a5)

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2021-04-14 10:38:55 +02:00
Josh Hunt eebe4a5e6f Added Azure Monitor support for Microsoft.AppConfiguration/configurationStores namespace (#32123) (#32968)
Closes #28733

Co-authored-by: deesejohn <deese.john@gmail.com>
2021-04-14 10:20:39 +02:00
Grot (@grafanabot) 385bf145d8 fix sqlite3 tx retry condition operator precedence (#32897) (#32952) 2021-04-13 19:12:06 +03:00
Grot (@grafanabot) ef3cf5cc94 AzureMonitor: Add support for Virtual WAN namespaces (#32935) (#32947)
* AzureMonitor: Add support for additional Microsoft.Network namespaces

* Update supported_namespaces.ts

* Update supported_namespaces.ts

(cherry picked from commit a7d18bbc89)

Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com>
2021-04-13 18:07:35 +02:00
Grot (@grafanabot) 7354150b79 Plugins: Allow a non-dashboard page to be the default home page (#32926) (#32945)
* feat: introduce home page redirect if default dashboard

* style: clean up

* Apply suggestions from code review

Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>

* chore(dashboard): remove obsolete setting import

* docs(config): add home_page description

Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com>
(cherry picked from commit bd74953f0d)

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2021-04-13 17:27:05 +02:00
Grot (@grafanabot) 4f542d69db GraphNG: uPlot 1.6.8 (#32859) (#32863)
(cherry picked from commit 0c71fdac3d)

Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2021-04-09 22:35:05 -05:00
Dimitris Sotirakis d548282ed5 Alerting: Add ability to include aliases with dashes (/) and at (@) signs in InfluxDB (#32844) 2021-04-09 15:51:12 +02:00
Grot (@grafanabot) 3e67fc8670 Prometheus: Allow exemplars endpoint in data source proxy (#32802) (#32804)
(cherry picked from commit 7a2ab93e7a)

Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2021-04-08 18:41:24 +02:00
Grot (@grafanabot) 580030ed9a [v7.5.x] Table: Fixes table data links so they refer to correct row after sorting (#32758)
* Table: Fixes table data links so they refer to correct row after sorting (#32571)

* Table: Fixes table data links so they refer to correct row after sorting

* Tests: adds some basic tests incl sorting

* Refactor: removes dependeny on app

Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
(cherry picked from commit 5e1d0a8851)

* Tests: mocks locationUtl to fix test

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
2021-04-08 07:38:23 +02:00
Grot (@grafanabot) 7fc361d50f TablePanel: Makes sorting case-insensitive (#32435) (#32752)
* UI/Table: Make sorting case-insensitive
Closes #30476

(cherry picked from commit 6c16ecf65f)

Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
2021-04-07 16:05:41 +02:00
Grot (@grafanabot) 3e3cf4dc60 "Release: Updated versions in package to 7.5.3" (#32745) v7.5.3 2021-04-07 12:36:01 +02:00
Grot (@grafanabot) 68d8de712d FolderPicker: Prevent dropdown menu from disappearing off screen (#32603) (#32741)
* fix(folderpicker): remove position fixed so menu works in panel editor for dashlist & alertlist

* test(folderpicker): update snapshot

(cherry picked from commit 8b38b70e00)

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2021-04-07 11:28:07 +02:00