Commit Graph

2671 Commits

Author SHA1 Message Date
Will Browne
a7ea8de47e
Short URL: Cleanup unvisited/stale short URLs (#28867)
* cleanup stale short urls

* refactor test case names

* service injection

* fix query

* add docs

* remove comma
2020-11-09 18:08:16 +01:00
Matthew Helmke
50239f11e5
Adding terms to glossary (#28884)
* Adding terms to glossary

* requested edits and addition to style guide

* Update contribute/style-guides/documentation-style-guide.md

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

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

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

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

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

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
Co-authored-by: Marcus Olsson <marcus.olsson@hey.com>
2020-11-06 16:33:32 +01:00
Mitch Seaman
476b1bdb9b
Docs: Update list of Enterprise plugins (#28882) 2020-11-05 20:34:25 +01:00
achatterjee-grafana
d736fcdd1d
Update share-panel.md (#28880) 2020-11-05 12:57:48 -05:00
Marcus Olsson
f39a8d630b
Docs: Plugin signing docs (#28671)
* WIP

* Update plugin signing docs

* Fix review comments
2020-11-05 16:40:33 +01:00
Marcus Andersson
dbaf213f8a
Variables: added __user.email to global variable (#28853)
* added email to global variable.

* forgot to increase the count.
2020-11-05 15:26:08 +01:00
Alex Khomenko
9b90ff2961
Disable selecting enterprise plugins with no license (#28758)
* Add unlicensed property to plugins

* Disable selecting unlicensed plugin

* Add customizable plugin market place url

* License: workaround enabled only in enterprise

* linter

* Move licensing info to front end

* Update pkg/services/licensing/oss.go

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

* Update pkg/services/licensing/oss.go

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

* Update pkg/setting/setting.go

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

* Update pkg/setting/setting.go

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

* Update pkg/api/frontendsettings.go

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

* Update sample.ini

* Update docs

* Update packages/grafana-runtime/src/config.ts

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>

* Update public/app/features/datasources/state/buildCategories.ts

Co-authored-by: Torkel Ödegaard <torkel@grafana.org>

* Update pkg/api/frontendsettings.go

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

* Update pkg/setting/setting.go

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

* Fix spelling

Co-authored-by: Leonard Gram <leo@xlson.com>
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.org>
2020-11-05 12:55:40 +02:00
Ivana Huckova
0f7a470138
Icon: Replace font awesome icons where possible (#28757)
* Replace font awesome icons where possible

* Implement small updates
2020-11-04 13:34:40 +01:00
jedstar
77f6c241b1
StatPanels: Add new calculation option for percentage difference (#26369)
* Update fieldReducer.ts

addition of percentage difference to the singlestat panel

* Update time_series2.ts

* Update module.ts

* Update calculations-list.md

* Update docs/sources/panels/calculations-list.md

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

* Update public/app/plugins/panel/singlestat/module.ts

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

* Update module.ts

* Update calculations-list.md

* Update calculations-list.md

* Update module.ts

* Update fieldReducer.ts

* Update fieldReducer.ts

* Update fieldReducer.test.ts

* change name to remove wildcard characters

* Update calculations-list.md

* Update time_series2.ts

Fix spelling

* Update module.ts

* Update fieldReducer.ts

* formatting

* Update fieldReducer.ts

* Update fieldReducer.test.ts

* Update fieldReducer.test.ts

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2020-11-04 10:19:23 +01:00
yenalsnavaj
f830d8772a
Variables: Adds named capture groups to variable regex (#28625)
* Dashboard: Add named capture groups to variable query regex

Variable query regex are able to use 'text' and 'value' named capture
groups to allow for separate display text to be extracted from the
query result. e.g.

Using a regex of /foo="(?<text>[^"]+)|bar="(?<value>[^"]+)/g on a query
result of metric{foo="FOO", bar="BAR"} would result in the variable
value being set to 'BAR' but display text being set to 'FOO'

Resolves #21076

* Improve regex capture group documentation

* Update docs/sources/variables/filter-variables-with-regex.md

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

* Apply suggestions from code review

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

* Apply suggestions from code review

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

* Use text capture if value capture does not match

This is to keep the behaviour consistent with the current behavior. See
discussion https://github.com/grafana/grafana/pull/28625/files#r516490942

* Improve regex field placeholder and tooltip message

To make the feature more discoverable to users the place holder example
now includes the named capture groups. The tool tip message also
includes a reference and link to the documentation.

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
2020-11-04 09:31:38 +01:00
Tomasz Napierala
d378240c4b
Docs: Add NGINX example for using websockets to Loki (#27998)
* feat: added NGINX example for using websockets to Loki

* chore: corrections after review

* chore: more correrctions from review

* chore: creview corrections

* chore: addressed review comment by @achatterjee-grafana
2020-11-03 12:35:21 +01:00
ndeevy
97262fb8fc
Docs: Made usage of config/configuration consistent #19270 (#28167)
Rebased ndeevy:docs-config/configuration-consistency-update from grafana/master to resolve conflicts

Co-authored-by: ndeevy <ndeevy@redhat.com>
2020-11-03 12:09:49 +01:00
achatterjee-grafana
24a98213bb
updates from https://github.com/grafana/grafana/pull/28679 (#28708) 2020-10-30 15:52:36 -04:00
Marcus Andersson
e8bfb21851
Build: changing docs docker image to prevent setting up frontend devenv. (#28670)
* Build: changing docs dev-environment

I have added a new image that will include the auto-generated frontend docs so you don't have to generate those locally prior to running the doc container. This has a dependency on this PR: https://github.com/grafana/website/pull/2744 and that we publish a version of the `grafana/docs-devenv` image.

* will ignore everything (even symbolic links)

* fixed spelling.

* added newline.

* updated image name.
2020-10-30 10:22:01 +01:00
Dominik Prokop
9717ec77e2
Add info about CSV download for Excel in What's new article (#28661)
* Add info about CSV download for Excel in What's new article

* Update docs/sources/whatsnew/whats-new-in-v7-3.md

* Update docs/sources/whatsnew/whats-new-in-v7-3.md
2020-10-29 16:35:11 +01:00
Giordano Ricci
17bfc8275f
Docs: Describe pipeline aggregation changes in v7.3 (#28660) 2020-10-29 15:13:58 +00:00
Diana Payton
4301121b9d
Docs: Update graph panel for tabs (#28552)
* Update data-links.md

* Update data-links.md

* content updates

* Update data-links.md
2020-10-28 08:56:55 -07:00
Leonard Gram
aac392c32f
Docs: data source insights (#28542)
* Docs: data source insights

* wording

* review feedback

* screenshot

* feedback
2020-10-28 15:39:07 +01:00
Marcus Efraimsson
cb965ce177
Docs: Data source provisioning and sigV4 (#28593)
Document the sigv4 properties for data source provisioning.
2020-10-28 11:27:48 +01:00
Marcus Efraimsson
aabd3bdf72
Docs: Additional 7.3 upgrade notes (#28592)
Adds a couple upgrade notes for v7.3 regarding database migrations for 
user invites and snapshots.

Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
2020-10-28 11:27:15 +01:00
Ivana Huckova
e94b37c656
Explore/Loki: Update docs and cheatsheet (#28541)
* Add updated histogram docs

* Add to cheatsheet

* Update

* Update docs/sources/explore/index.md

* Update docs/sources/explore/index.md
2020-10-28 09:16:10 +01:00
Anthony D'Atri
5cded1d2cd
docs: a few tweaks for clarity and readability (#28579)
Signed-off-by: Anthony D'Atri <anthony.datri@gmail.com>
2020-10-27 15:57:29 -04:00
Ryan Mendoza
ecaa041ec0
Docs: Update generic-oauth.md (#28517)
Callback URI fragment should be suffixed, not a prefix.
2020-10-26 12:36:37 -07:00
Will Browne
0cdb23a069
Docs: SigV4 What's New and AWS Elasticsearch documentation (#28506)
* add what's new entry and elastic docs

* update docs

* remove caps

* fix image path

* fix md link

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

* fix link case

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

* fix md link

* docs fixes

* update config ref

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

Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com>
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2020-10-26 11:50:39 +01:00
Torkel Ödegaard
7c7a4a05ed
Docs: Update field color scheme docs and 7.3 what's new (#28496)
* Docs: Update field color scheme docs and 7.3 what's new

* update

* Updated

* Added image cell display mode to table docs
2020-10-26 08:40:45 +01:00
Leonard Gram
3a6c20036c
Docs: what's new in enterprise 7.3 (#28472)
* Docs: what's new in enterprise 7.3

* feedback

* feedback

* Update docs/sources/whatsnew/whats-new-in-v7-3.md

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

* link to auditing

Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
2020-10-23 17:08:13 +02:00
Agnès Toulet
a378374c24
Docs: Grafana Enterprise auditing feature (#28356)
* Docs: add auditing documentation

* Docs: improve wording

* Update docs/sources/enterprise/_index.md

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

* Update docs/sources/enterprise/auditing.md

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

* Docs: apply PR feedback

* Docs: add auditing in menu

* Docs: auditing PR feedback

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2020-10-23 10:22:14 +02:00
achatterjee-grafana
de35d76fd5
Getting Started section rehaul (#28090)
* Updated Getting Started topic, based on feedback from Diana and Daniel. Added 2 entries to Glassry.

* Added new topic Getting Started with Grafana and Prometheus

* Corrected image path. A couple of other minor changes.

* Updated image link based on Marcus's suggestion.

* Updated topics based on feedback.

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

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

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

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

* Added Diana's latest changes.

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2020-10-22 18:14:30 -04:00
Diana Payton
5254a7ec5d
Docs: Add survey content (#28446)
* Update change-home-dashboard.md

* added survey code

Added survey blurb.

* Update whats-new-in-v7-3.md

* minor edits
2020-10-22 13:22:34 -07:00
Diana Payton
69847350d3
Docs: Update prometheus.md (#28483) 2020-10-22 11:30:34 -07:00
Diana Payton
f72fd8921e
Docs: Add view settings and view stats (#28155)
* Added view-server-stats.md

* added view-server-settings

* Update docs/sources/administration/view-server-settings.md

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

* Update view-server-stats.md

* Update view-server-stats.md

* Update view-server-stats.md

Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com>
2020-10-22 09:47:00 -07:00
Marcus Andersson
0bb33839f5
Docs: updated cmd to build docs locally to generate docs prior to building site. (#28371)
* added instructions so we generate docs prior to building them.

* replaced ci script.

* improved according to feedback.
2020-10-22 09:57:56 +02:00
Diana Payton
e471a491a2
Docs: Add shared (#28411)
* added content

* Update example.md

* Update example.md
2020-10-21 10:23:17 -07:00
Diana Payton
29162a3aed
Docs: Test survey code (#28437)
* Update change-home-dashboard.md

* Update change-home-dashboard.md
2020-10-21 08:20:38 -07:00
Alvaro [Andor]
3aa9a0ec3f
Docs: Fixing v51 link (#28396)
* Update docker migration link in run.sh

* Fix docker migration link in whats-new-in-v5-1.md
2020-10-20 07:09:53 -07:00
Diana Payton
0a586bb7be
Docs: Add activate-license (#28156)
* add activate-license

* Update _index.md

* Update docs/sources/menu.yaml

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

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-19 11:49:43 -07:00
jartigag
15b593365f
Docs: Make tables formatting more consistent (#28164)
* Make the documentation tables formatting more consistent

* Suggestions incorporated
2020-10-19 10:17:30 -07:00
Carl Bergquist
89ebb97fca
Instrumentation: Adds environment_info metric (#28355)
Signed-off-by: bergquist <carl.bergquist@gmail.com>

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
2020-10-19 16:58:16 +02:00
J-F-Far
2816d3bc90
Update auth-proxy.md (#28339)
Fix a minor grammar mistake: 'handling' to 'handle'.
2020-10-17 07:50:37 +02:00
Alexander Zobnin
2087ff6003
SAML: IdP-initiated SSO docs (#28280)
* SAML: IdP-initiated SSO docs

* Update docs/sources/enterprise/saml.md

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

* Apply suggestions from code review

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

Co-authored-by: Emil Tullstedt <emil.tullstedt@grafana.com>
2020-10-16 18:04:51 +03:00
Elliot Pryde
1760fdd55d
Explore: respect min_refresh_interval (#27988)
* Explore: respect min_refresh_interval

Fixes #27494

* fixup! Explore: respect min_refresh_interval

* fixup! Explore: respect min_refresh_interval

* UI: export defaultIntervals from refresh picker

* fixup! Explore: respect min_refresh_interval

Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2020-10-16 13:10:25 +02:00
ashishagarwal06
535ed75ab2
Docs : - Added period (#28260)
* Docs : - Removed Dot 

Hi - Removed Dot to make it consistent with other points.

Thanks,
Ashish

* Update _index.md
2020-10-15 12:09:36 -04:00
Will Browne
a49c72ae09
Docs: Add What's New 7.3 (#28268)
* add base

* Update docs/sources/whatsnew/whats-new-in-v7-3.md

* Update What's new in 7.3 with CM OOTB dashboards

* Docs: enterprise whats new placeholders

* Add short url info

* Update shorten url after pull

* Update docs/sources/whatsnew/whats-new-in-v7-3.md

Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
Co-authored-by: Sofia Papagiannaki <sofia@grafana.com>
Co-authored-by: Leonard Gram <leo@xlson.com>
Co-authored-by: Ivana <ivana.huckova@gmail.com>
2020-10-15 11:01:45 +02:00
ashishagarwal06
26e2faa779
Added Hyperlink to annotations (#28261)
Hi -  Added Hyperlink to annotations for quick redirection.

Thanks,
Ashish
2020-10-14 17:35:22 -04:00
Ivana Huckova
db071e4939
Explore: Allow shortlink generation (#28222)
* Add short link functionality to Explore and Rich history

* Update documentation

* Implement short url for explore

* Implement short link in Rich history

* Update docs

* Add error alert
2020-10-14 17:08:27 +02:00
Marcus Andersson
31001a016c
Docs: remove checked-in generated package api docs. (#27880) 2020-10-14 15:58:20 +02:00
ashishagarwal06
64f46d6a28
Added hyperlink to Data Source Proxy (#28246)
Hi - Added hyperlink to Data Source Proxy. Pls review and approve.

Thanks,
Ashish
2020-10-14 09:20:47 -04:00
Sofia Papagiannaki
aae4ca7544
Cloud monitoring: out-of-the-box dashboards (#27864)
* Cloud monitoring: out-of-the-box dashboards

* Remove redundant information related to dev account

* Update docs/sources/features/datasources/cloudmonitoring.md

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

* Rename JSON files

* Fix docs

* Fixe docs

* Parameterise dashboards by CM datasource

* Fix metric kind in CloudSQL dashboard

* Set alias to instance name for GCE dashboard panels

Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2020-10-14 16:05:17 +03:00
Pete Davids
65940c7726
Dashboard: Allow shortlink generation (#27409)
* intial frontend resolution/redirection logic

* backend scaffolding

* enough of the frontend to actually test end to end

* bugfixes

* add tests

* cleanup

* explore too hard for now

* fix build

* Docs: add docs

* FE test

* redirect directly from backend

* validate incoming uids

* add last_seen_at

* format documentation

* more documentation feedback

* very shaky migration of get route to middleware

* persist unix timestamps

* add id, orgId to table

* fixes for orgId scoping

* whoops forgot the middleware

* only redirect to absolute URLs under the AppUrl domain

* move lookup route to /goto/:uid, stop manually setting 404 response code

* renaming things according to PR feedback

* tricky deletion

* sneaky readd

* fix test

* more BE renaming

* FE updates -- no more @ts-ignore hacking :) and accounting for subpath

* Simplify code

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

* Short URLs: Drop usage of bus

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

* ShortURLService: Make injectable

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

* Rename file

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

* Add handling of url parsing and creating of full shortURL to backend

* Update test, remove unused imports

* Update pkg/api/short_urls.go

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

* Add correct import

* Pass context to short url service

* Remove not needed error log

* Rename dto and field to denote URL rather than path

* Update api docs based on feedback/suggestion

* Rename files to singular

* Revert to send relative path to backend

* Fixes after review

* Return dto when creating short URL that includes the full url

Use full url to provide shorten URL to the user

* Fix after review

* Fix relative url path when creating new short url

Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Ivana <ivana.huckova@gmail.com>
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2020-10-14 12:48:48 +02:00
ashishagarwal06
a870101471
Docs: Change grafana to Grafana (#28242)
Hi - Made minor change grafana to Grafana.

Thanks,
Ashish
2020-10-14 10:46:22 +02:00