Commit Graph

28716 Commits

Author SHA1 Message Date
Sofia Papagiannaki
c4d5a67b38
[Alerting] Forking alert manager API (#32300)
* Alertmanager lotex ruler

* Apply suggestions from code review
2021-03-29 18:18:25 +03:00
Ganesh Vernekar
740c5813d4
AlertingNG: Fix dispatcher metrics in notifier (#32434)
Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2021-03-29 20:35:15 +05:30
Dimitris Sotirakis
814db3d28e
Chore: Change from double to single quotes (#32430) 2021-03-29 17:40:26 +03:00
Torkel Ödegaard
bb995e966d
PanelEdit: Remove right side padding for options pane (#32427) 2021-03-29 16:21:38 +02:00
kay delaney
6015432f07
BarGauge: Fix percentage-based thresholds (#32415)
Closes #31756
2021-03-29 15:11:23 +01:00
Carl Bergquist
5ec530f3fc
API: Return 409 on datasource version conflict (#32425)
Signed-off-by: bergquist <carl.bergquist@gmail.com>
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
2021-03-29 16:03:15 +02:00
Carl Bergquist
e1458391bb
API: Return 400 on invalid Annotation requests (#32429)
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2021-03-29 15:47:16 +02:00
Torkel Ödegaard
636be0ed22
TimeSeries: Fixes issue with time x-axis and hour ticks that stretches across more than one day (#32389)
* TimeSeries: Fixes issue with time x-axis and hour ticks that stretches across more than one day

* Fixed logic
2021-03-29 14:36:01 +02:00
Will Browne
1d7f155c92
remove unnecessary state (#32278) 2021-03-29 14:22:56 +02:00
Torkel Ödegaard
f37c8c10c5
Variables: Fixes problem with data source variable when default ds is selected (#32384) 2021-03-29 14:10:40 +02:00
Marcus Andersson
eebcc55faa
Chore: changed so the PanelChrome story can be changed via controls. (#32105) 2021-03-29 14:08:00 +02:00
ying-jeanne
73a5fec2d7
Docs: /sources/http_api/folder.md (#32407) 2021-03-29 13:21:20 +02:00
Marcus Efraimsson
b82c510581
Postgres/MySQL/MSSQL: Don't return connection failure details to the client (#32408)
For security reasons, log any SQL connection error 
details rather than returning it to the client.

Fixes #26623
Fixes #22000

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-03-29 13:03:01 +02:00
kay delaney
a98fd22e34
Panel/DashList: Fetch folders with View permission (#32406)
Closes #31357
2021-03-29 11:11:51 +01:00
Dominik Prokop
5b2a419df8
Fix inline code being rendered as block in the panel description (#32405) 2021-03-29 11:47:37 +02:00
kay delaney
2827d89ccf
Table: Fixes so links work for image cells (#32370)
* Panel/Table: Adjust data links logic
Closes #31576
2021-03-29 10:42:48 +01:00
kay delaney
ab4b980d54
AppRootPage: Fix tests (#32364) 2021-03-29 10:02:18 +01:00
Dimitris Sotirakis
f15882f507
Update logger message to be more generic (#32403) 2021-03-29 11:45:03 +03:00
dependabot[bot]
77ef835e8c
Chore(deps): Bump github.com/aws/aws-sdk-go from 1.38.2 to 1.38.7 (#32399)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.38.2 to 1.38.7.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.38.2...v1.38.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-29 09:47:54 +02:00
Carl Bergquist
eb241b960f
API: Datasource endpoint should return 400 bad request if id and orgId is invalid (#32392)
* return 400 bad request if id and orgId is invalid

Signed-off-by: bergquist <carl.bergquist@gmail.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-03-29 08:56:58 +02:00
Torkel Ödegaard
a4b0ad3937
DashboardQueryEditor: Run query after selecting source panel (#32383) 2021-03-29 08:16:24 +02:00
Torkel Ödegaard
52ff968a72
PanelEditor: Fixes issue with data source picker not updating when selecting mixed data source (#32386) 2021-03-29 08:15:26 +02:00
Torkel Ödegaard
340334994f
Variables: Fixes error when manually non-matching entering custom value in variable input/picker (#32390) 2021-03-29 08:14:43 +02:00
Torkel Ödegaard
27aa7bb900
ImportDashboard: Fixes backend handler not found error when importing dashboard (#32391) 2021-03-29 08:13:49 +02:00
Domas
0779dab0de
NgAlerting: loki & cortex have different prom & ruler endpoint prefixes (#32344) 2021-03-29 08:55:09 +03:00
Torkel Ödegaard
feaaa32ffd
Shortcuts: Fixes panel shortcuts so they always work (#32385)
* Shortcuts: Fixes panel shortcuts so they always work

* Updated snapshot
2021-03-29 07:52:57 +02:00
Torkel Ödegaard
4becb79f1e
TestData: Don't add query model for every testdata query scenario by default (#32388) 2021-03-29 07:51:15 +02:00
Kevin Minehart
6a97236b7a
Update enterprise-configuration.md (#32365) 2021-03-26 15:13:03 -05:00
Alexander Tymchuk
3efca53edf
Docs: /sources/http_api/user.md (#31152)
I believe it's a mistake in the docs, since http requests against those endpoints are not supposed to be authenticated with API keys. 

If I correctly understand Grafana's auth design, the API key is not issued/tied to a user, therefore there is no mechanism to detect who the user is when the request is authenticated with an API key.

Please note there may be other endpoints like this...
2021-03-26 13:15:10 -04:00
Jennifer Villa
96ca2d6afc
Updated index of installation page. (#32366)
* Updated index of installation page.

* Update docs/sources/installation/_index.md

accepting suggestions from docs team

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-03-26 12:31:42 -04:00
Giordano Ricci
85a6544198
Elasticsearch: Guess field type from first non-empty value (#32290) 2021-03-26 16:08:38 +00:00
Ivana Huckova
5ce9fa360d
Loki: Convert Loki query response to dataframes (#32316)
* Return dataFrames instead of series

* Add test for parseResponse

* Update pkg/tsdb/loki/loki.go

Co-authored-by: Dimitris Sotirakis <sotirakis.dim@gmail.com>

* Fix linting, add test

Co-authored-by: Dimitris Sotirakis <sotirakis.dim@gmail.com>
2021-03-26 16:47:46 +01:00
Grot (@grafanabot)
ccb563d572
ReleaseNotes: Updated changelog and release notes for 7.5.1 (#32367)
* ReleaseNotes: Updated changelog and release notes for 7.5.1

* added link to realease notes.

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2021-03-26 16:28:52 +01:00
Hugo Häggmark
266e74bccc
Update latest.json (#32368) 2021-03-26 16:27:33 +01:00
Diana Payton
1d46e7c2e9
Docs: Update whats-new-in-v7-5.md (#32331) 2021-03-26 10:22:13 -04:00
Dimitris Sotirakis
2a5279911f
Add legend name to dataframes config (#32356) 2021-03-26 16:20:46 +02:00
Piotr Jamróz
9f2fa7c20c
Show graphite functions descriptions (#32305)
* Fix parsing and displaying Graphite function descriptions

* Update docs

* Add support for inf value

* Remove redundant console.log

Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>

* Remove empty line

Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2021-03-26 15:16:25 +01:00
Jeffrey C. Ollie
70576873f7
Add 'informational' to LogLevel (#30942)
Recognize 'informational' as a synonym for the canonical 'info' log level.
2021-03-26 15:00:54 +01:00
Conor Evans
3af573ea96
Loki: Remove empty annotations tags (#32359)
* Loki - filter labels with empty values

Signed-off-by: Conor Evans <coevans@tcd.ie>

* Apply prettier change

Signed-off-by: Conor Evans <coevans@tcd.ie>

* Apply Piotr's suggestion - swap map/filter statements

Signed-off-by: Conor Evans <coevans@tcd.ie>
2021-03-26 14:16:31 +01:00
Henry Jenkins
8bb56fabe0
Fix docs for GID (#32323)
The Dockerfile and other parts of the docs state GID of zero is used. Update to correct this.
2021-03-26 14:02:32 +01:00
Marcus Efraimsson
5985c199ae
SQL: Fix so that all captured errors are returned from sql engine (#32353) 2021-03-26 13:17:18 +01:00
Arve Knudsen
c8afce5fd6
MSSQL: Upgrade go-mssqldb (#32347)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2021-03-26 13:16:57 +01:00
Hugo Häggmark
ce679a67b7
Chore: Lazy loads VisJs library (#32341) 2021-03-26 10:07:22 +01:00
Dominik Prokop
95c65a1f4a
GraphNG: Fix tooltip displaying wrong or no data (#32312) 2021-03-26 09:56:40 +01:00
Ganesh Vernekar
a0db4dce32
Render new email template and fix the title (#32314)
* Render new email template and fix the title

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>

* Fix nit

Signed-off-by: Ganesh Vernekar <ganeshvern@gmail.com>
2021-03-26 12:53:14 +05:30
Ryan McKinley
600f63f627
revert changes (#32335) 2021-03-25 22:10:29 -04:00
Jennifer Villa
fc4d4471ff
Add documentation page for how to install Grafana and GE on K8s (#32008)
* Adding a documentation page for how to install Grafana and Grafana Enterprise on Kubernetes. We will then reference this in the GEM documentation since that setup is written for K8s users.

* Update docs/sources/installation/kubernetes.md

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

* Update docs/sources/installation/kubernetes.md

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

* Update docs/sources/installation/kubernetes.md

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

* Update docs/sources/installation/kubernetes.md

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

* Update docs/sources/installation/kubernetes.md

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

* Update docs/sources/installation/kubernetes.md

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

* Update docs/sources/installation/kubernetes.md

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

* Update docs/sources/installation/kubernetes.md

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

* Update docs/sources/installation/kubernetes.md

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

* Update docs/sources/installation/kubernetes.md

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

* Fixing the numbering and some of the changes suggested by review.

* Update docs/sources/installation/kubernetes.md

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

* Update docs/sources/installation/kubernetes.md

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

* Update docs/sources/installation/kubernetes.md

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

* Update docs/sources/installation/kubernetes.md

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

* Making the final changes to the documentation to address comments.

* Fixed numbering.

* spacing changes.

* spacing didn't render as intended.

* Last set of changes including spacing fixes, getting the right headings, and getting the right weighting so it shows up in the right place in the menu.

Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-03-25 22:09:05 -04:00
Ryan McKinley
adda7c798a
Chore: use uppercase names in manual entry scenario (#32334) 2021-03-26 00:18:17 +01:00
Alexander Emelin
07f7c60ae0
live: fix writing headers in hijacked connection with gzip enabled (#32310) 2021-03-25 21:36:52 +03:00
Grot (@grafanabot)
08dfdddefd
ReleaseNotes: Updated changelog and release notes for 7.5.0 (#32318)
* ReleaseNotes: Updated changelog and release notes for 7.5.0

* Chore: Adds link to _index.md

Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
2021-03-25 18:33:30 +01:00