Commit Graph

26573 Commits

Author SHA1 Message Date
Arve Knudsen
a078e40238
Settings: Rename constants/variables to follow Go naming standards (#28002)
* settings: Rename constants/variables to follow Go naming standards
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-02 15:45:45 +02:00
vin01
a5e12f653d
Use read_api scope in gitlab oauth config sample (#27992) 2020-10-02 09:42:57 -04:00
Lundbyit
2c1c4d613c
Storybook: Fix checkbox spacing (#27980)
* Remove <br> and add line-height

* use theme line-height instead of custom
2020-10-02 16:07:47 +03:00
Matheus Alcantara
b4b3f6a088
Test: Create unit test to SplitEmails (#27985) 2020-10-02 08:42:10 +02:00
Carl Bergquist
a28a2fba51
healthchecks should work regardless domain (#27981) 2020-10-02 07:14:26 +02:00
Hugo Häggmark
845bc7c444
Variables: Adds loading state and indicators (#27917)
* Refactor: Replaces initLock with state machine

* Refactor: removes some states for now

* Refactor: adds loading state in OptionsPicker

* Refactor: major refactor of load state

* Refactor: fixes updating graph in parallell

* Refactor: moves error handling to updateOptions

* Refactor: fixes the last cases

* Tests: disables variable e2e again

* Chore: removes nova config

* Refactor: small changes when going through the code again

* Refactor: fixes typings

* Refactor: changes after PR comments

* Refactor: split up onTimeRangeUpdated and fixed some error handling

* Tests: removes unused func

* Tests: fixes typing
2020-10-02 07:02:06 +02:00
achatterjee-grafana
add777ad40
Change metadata of doc topics (#27943)
* Changes. to metadata in Manage users

* changes to install section

* Added titile

* More changes.

* Updated administration folder metadata, moved 2 files from installation folder.

* Added links to Administration landing page, other metadata changes worked out.

* Updated alerting section metadata.

* Updated metadata of Auth section. Broke index and created separate Grafana Authentication section.

* Added correct weight.

* Updated metadata for the Best practices section.

* Updated metadata in templates, broke Overview topic.

* Updated subment Variable types metadata

* Fixed yaml file and H1 description of Variables syntax topic.

* Couple more metadata changes.

* Added aliases files, as suggested by Diana.
2020-10-01 17:37:26 -04:00
Diana Payton
715f0133ee
Docs: Remove reference folder (#27944)
* Delete stack_guide_graphite.md

* moved json-model

* Moved Export and import

* Delete _index.md

* Moved Scripted dashboards

* Moved Share dashboard

* fixed links
2020-10-01 14:13:39 -07:00
Marcus Andersson
5f41818766
Build: restoring temporary commit so we can get lerna to publish the frontend packages. (#27979)
* restoring commit function.

* removed spacing.
2020-10-01 20:50:17 +02:00
vin01
78a2026a82
Use read_api scope for GitLab OAuth (#27976)
`read_api` seems to be the minimal scope currently which can be used, it shall be preferred over `api` which grants complete read/write access.

- https://gitlab.com/gitlab-org/gitlab/-/merge_requests/28944#note_322904691
- https://gitlab.com/gitlab-org/gitlab/-/issues/21909
2020-10-01 14:29:48 -04:00
kay delaney
185442115c
Chore: Remove angular dependency from data sources (#27735)
* Chore: Remove angular dependency from data sources

* Removes default export for time and template srvs
Also uses @grafana/runtime versions of the interfaces where possible

* Replace usage of internal templateSrv where possible

* Use runtime templateSrv in a couple more places
2020-10-01 18:51:23 +01:00
Ryan McKinley
8a5fc00330
Live: broadcast events when dashboard is saved (#27583)
Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
2020-10-01 10:46:14 -07:00
Marcus Andersson
44c9aea28c
skipping the verification of a clean workspace. (#27978) 2020-10-01 19:35:41 +02:00
DECarreras
54df058b95
Docs: Fixed lazy numbering in all documentation files (#27975) 2020-10-01 12:45:05 -04:00
Arve Knudsen
c3f277a6fe
Drone: Fix releasing of next NPM packages (#27965)
* CI: Upgrade build pipeline tool

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

* Drone: Don't bump NPM package version as part of script

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

* cleaned up release next packages script.

* made the comment a bit better.

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2020-10-01 17:37:56 +02:00
Stefan
cf071a36f9
Docs: Update whats-new-in-v7-2.md (#27950)
* Update whats-new-in-v7-2.md

Grafana 7.2.0 was released 2020-09-23 and isn't in beta anymore, see https://github.com/grafana/grafana/blob/master/CHANGELOG.md

* Update docs/sources/guides/whats-new-in-v7-2.md

Remove warning about article being incomplete

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

Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
2020-10-01 07:58:24 -07:00
Andrej Ocenas
26ba7ab598
Chore: Remove loki version hack in explore (#27966) 2020-10-01 15:41:05 +02:00
Ivana Huckova
43c389d119
Revert "Update refId for instant queries (#27954)" (#27960)
This reverts commit 9546da3189.
2020-10-01 14:39:32 +02:00
Zoltán Bedi
a230aa1031
Prometheus: refactor to DataFrame (#27737)
* Add typing to prometheus response

* Refactor result_transformer to return DataFrame

* Refactor + test fixes

* Fix Prometheus data source test

* Modify heatmap function + add back tests

* Update performInstantQuery return type

* Remove duplicate code from result_transformer

* Address review comments

* Update metric labels retrival logic to be safer
2020-10-01 12:58:06 +02:00
Arve Knudsen
f97f12f69d
Drone: Don't use npx (#27955)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-01 12:56:48 +02:00
Ivana Huckova
9546da3189
Update refId for instant queries (#27954) 2020-10-01 12:19:24 +02:00
Ivana Huckova
2f5a60f561
Explore: Remove ui params from url (#27753)
* Remove ui from url

* Update tests

* Update changeDedupStrategy

* Add test coverage
2020-10-01 12:18:21 +02:00
Domas
bd9add72de
toolkit: expose maxWorkers option for plugin build & test tasks (#27724) 2020-10-01 10:50:56 +02:00
Amal
22b2d4d412
Minor change for readability (#27938) 2020-10-01 10:43:59 +02:00
Amal
f05ec42bd5
Minor change for better readability of docs (#27937)
* Minor change for better readability of docs

* Update docs/sources/developers/plugins/backend/plugin-protocol.md

Accepting review suggestions

Co-authored-by: Marcus Olsson <marcus.olsson@hey.com>

Co-authored-by: Marcus Olsson <marcus.olsson@hey.com>
2020-10-01 10:43:09 +02:00
Marcus Efraimsson
747513d444
Plugins: Fix loading of backend plugins (#27951)
Ref #27921
2020-10-01 10:39:42 +02:00
Arve Knudsen
298ac20dc5
Drone: Upgrade build pipeline tool (#27949)
* Drone: Don't use npx

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

* Drone: Upgrade build pipeline tool

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-01 10:00:11 +02:00
Hugo Häggmark
fa2781391a
DashboardLinks: values in links are updated when variables change (#27926)
* DashboardLinks: values in links are updated when variable changes

* Tests: adds e2e test that verifies links
2020-10-01 08:44:56 +02:00
Sartaj Singh Baveja
4e4242d475
Variables: Adds support for key/value mapping in Custom variable (#27829)
* Initial work on adding new mapping variable type

* Remove add button

* Update custom variable type to include key/value mapping

* Update custom variable docs

* Try to fix failing build

* Update reducer.ts

* Fix failing build

* Remove expansion of the colon

* Update docs

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

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2020-10-01 06:06:52 +02:00
Marcus Efraimsson
c028d3047c
CI: Notify failures in separate pipeline (#27936)
* Notify failures in separate pipeline

* Include branch and event in triggers

* Use snake case

* Use snake case

* Fix enterprise/downstream

* Apply suggestions from code review

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-30 22:14:47 +02:00
denominator
1d2b839a1d
Docs: Fix note format for documentation (#27940) 2020-09-30 12:45:07 -07:00
Amal
1586baf55a
Correcting case in docs (#27941) 2020-09-30 15:03:25 -04:00
Carl Bergquist
7b891d10ee
Instrumentation: Removes invalid chars from label names (#27921) 2020-09-30 20:12:57 +02:00
Amal
e26b8636a9
Typo correction in documentation (#27935) 2020-09-30 13:50:02 -04:00
Arve Knudsen
833903bd00
Drone: Sync with enterprise (#27939)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-30 19:28:28 +02:00
Diana Payton
75d1c16f0b
Docs: Update time-range-controls.md (#27914) 2020-09-30 09:39:32 -07:00
Amal
ca4e48a8e4
Typo correction in docs (#27934) 2020-09-30 17:35:54 +02:00
Amal
831fe2d2b3
Update plugin-protocol.md (#27932) 2020-09-30 17:35:16 +02:00
Marcus Olsson
016ec7343a
Add marcusolsson as code owner for plugin docs (#27810) 2020-09-30 15:08:01 +02:00
Marcus Olsson
902ecc9a06
Docs: Add trace and exemplar to glossary (#27854)
* Format glossary table

* Add trace and examplar to glossary

* Fix typo

* Fix review comments

* Fix review comment

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

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

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2020-09-30 15:07:44 +02:00
Arve Knudsen
b892aa2eb7
Drone: Don't ignore failure to publish next NPM packages (#27927)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-30 14:11:40 +02:00
Arve Knudsen
a59a89dfb8
Drone: Fix publishing of next NPM packages (#27925)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-30 13:36:09 +02:00
Marcus Andersson
b59be220ce
Build: fixing failing release packaged build due to uPlot dependency not properly setup (#27887)
* removed dependency from grafana/ui on public/app.

* fixed so we don't get rollup issues when building the packages.

* fixed so import path is working properly.

* removed uncommented code.
2020-09-30 12:59:02 +02:00
Arve Knudsen
34a355fe54
Drone: Add Slack failure notifier (#27920)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-30 11:04:37 +02:00
Arve Knudsen
739395abb6
Drone: Don't build enterprise Windows installer unless downstream (#27919)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-30 10:36:33 +02:00
Torkel Ödegaard
d105db3e5b
Graph: Fixed histogram bucket calculations to avoid missing buckets (#27883)
* Graph: Fixed histogram bucket calculations to avoid missing buckets

* Removed testdata

* Updated tests
2020-09-30 09:26:06 +02:00
Arve Knudsen
7a12094ddc
Drone: Ignore failure to publish front-end metrics (#27918)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-30 09:23:48 +02:00
Agnès Toulet
05cb049733
Dashboard: Don't send analytics for explore or edit events (#27789)
* Dashboard: don't send analytics for explore or edit event

* AnalyticsProcessor: merge subsequent conditions

* Add analyticsProcessor tests

* apply PR feedback
2020-09-30 08:29:33 +02:00
Joan López de la Franca Beltran
e03da3760e
Add index at user_auth_token.user_id column (#27908) 2020-09-30 01:20:29 +02:00
Arve Knudsen
702fb1edd1
Drone: Upgrade drone-grafana-docker image (#27911)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-09-29 21:34:34 +02:00