3
0
mirror of https://github.com/grafana/grafana.git synced 2025-02-25 18:55:37 -06:00
Commit Graph

5156 Commits

Author SHA1 Message Date
Pierre Baumard
5654359813
I18n: Add server config to detect browser language ()
* I18N: Add browser language detector

* Improve style

* No new property for type check

* Add dependency

* Suggested doc change

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>

* Fix prettier

* 'detect' as special language, no cache and only navigator detector

As per PR suggestion comments

* Update language configuration doc

* Suggested change in doc

From @chri2547

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>

* Fix import

* Revert public/app/types/explore.ts changes

* Prettier write

---------

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
Co-authored-by: joshhunt <josh@trtr.co>
2023-07-14 10:24:50 +00:00
Nathan Marrs
c91f340579
Docs: Add disconnect value feature documentation ()
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-07-13 14:54:00 -07:00
Yuri Tseretyan
541bfe636d
SSE: Support for ML query node ()
* introduce a new node-type ML and implement a command outlier that uses ML plugin as a source of data.
* add feature flag mlExpressions that guards the feature
2023-07-13 20:37:50 +03:00
David Harris
c4fff1c5f2
docs: update references to deprecated plugins ()
* docs: update plugin management

2 of the 3 panels were deprecated and should no longer be referenced. Picked two recently updated panels to replace.

* docs: update create app

Remove reference to deprecated worldmap panel
2023-07-13 09:17:50 -07:00
Selene
e9e2d9ff83
Core: Update thema, cuetsy and cue fork ()
* Update cue fork

* Update dashboard schema

* Fix lint
2023-07-13 17:29:38 +03:00
Michael Mandrus
a42bab9c97
Docs: Fix minor errors in query caching documentation ()
merge over changes from Larissa
2023-07-13 14:37:08 +01:00
Gábor Farkas
e045860fbf
loki: generate dataplane-compliant logs dataframes (behind feature flag) ()
* add feature flag

* prepare tests

* enable dataplane-format in loki-backend
2023-07-13 09:58:00 +02:00
Isabel
c3a0207615
docs: add alphaPanels feature toggle information ()
* add feature toggle information

* fix typo

* fixed config information
2023-07-12 18:04:08 -04:00
Ludovic Viaud
5099e88227
Transformation redesign ()
Transformation redesign
2023-07-12 18:35:49 +02:00
David Harris
3a45f02ef3
docs: update nodejs required version ()
* docs: update nodejs required version

* docs: update nodejs version in plugin tutorials

* docs: update to LTS guidance
2023-07-12 16:40:52 +01:00
Isabel
adc7f65453
docs: restructure dashboard annotations page ()
* restructured page, updated and removed images, replaced a paragraph with a procedure

* Clarify language

* Apply suggestions from code review

* removed native annotation language, added missing link, added text from UI

* fixed relref

* replaced relref with simple link

* updated links and link text in whats new for annotations updates

* fixed some grammar/wording and style issues

* Apply suggestions from code review

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>

* fix typo

Co-authored-by: Ezequiel Victorero <ezequiel.victorero@grafana.com>

* make link text more clear

* fix typo

---------

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
Co-authored-by: Ezequiel Victorero <ezequiel.victorero@grafana.com>
2023-07-12 11:34:00 -04:00
Timur Olzhabayev
471c858e67
Docs: Adding alias to package a plugin ()
Adding alias to package a plugin
2023-07-12 16:24:11 +01:00
Sven Grossmann
7e4e743a42
Logs: Add experimental table visualisation in Explore ()
* add table visualisation for logs

* add `logsExploreTableVisualisation` feature flag

* add feature flag to visualisation switch

* fix english

* improve state when no data is present

* improve margin

* add missing prop to test

* add tests

* fix logs table height

* fix linting

* move visualisation toggle

* add field config overrides

* update tests

* fix explore test

* fix explore test

* add missing header and revert test changes

* use timefield from logsFrame.ts

* add TODO

* move to new file

* hide fields that should be hidden

* add test to hide fields

* remove unused lines
2023-07-12 15:52:42 +02:00
Ieva
cb695cef8e
Auth: update GitHub OAuth documentation ()
* github oauth doc improvements

* add skip_org_role_sync to config for github provider

* update links and section headings

* update the docs based on the first PR

* update references
2023-07-12 15:25:46 +02:00
Zach Day
7f865f627a
Update info for the Support Bundle ()
* Update info for the Support Bundle

Add in a note that access to the Support Bundle requires Grafana 9.5 and above.

* Make the user/permission restriction more visible since it gets lost a little in the code block

* Run prettier

* Move the new content to Before you begin section

This is the pattern that we're following with other doc topics as well.

* fix a typo

* linting

---------

Co-authored-by: Vardan Torosyan <vardants@gmail.com>
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
2023-07-12 15:13:42 +02:00
linoman
340f55fa15
Remove duplicated entry in properties table () 2023-07-11 21:48:40 +02:00
Kim Nylander
41def2e346
[DOC] Fix tracing links in explore/tracing ()
Fix tracing links
2023-07-11 11:16:00 -05:00
Misi
54f1c8a40d
Docs: Add note for setting root_url in case of NGINX TLS termination ()
* Add note for setting root_url in case of TLS termination

* Update docs/sources/tutorials/run-grafana-behind-a-proxy/index.md

Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com>

---------

Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com>
2023-07-11 17:29:26 +02:00
Andrej Ocenas
6f102ccad0
Flamegraph: Remove feature toggle for sandwich view and color schemes () 2023-07-11 14:58:43 +02:00
Robby Milo
c3a8819ed2
fix shortcode usage () 2023-07-11 13:21:14 +01:00
Ryan McKinley
09cc63329f
XYChart: Improve base options setup () 2023-07-10 17:54:01 -07:00
Josh Hunt
899de865fc
Update Public Dashboards documentation ()
The documentation for how to support public dashboards is slightly incorrect.
2023-07-10 15:53:46 +00:00
Ieva
276c63a656
Auth: update generic OAuth documentation ()
* update generic OAuth docs

* some more fixes and corrections

* update examples and sync sections

* fix a link

* linting

* formatting and adding more links to OAuth integrations

* add a section with config walkthrough

* fix link

* move examples to the end of the doc

* extend role mapping

* small improvements

* add a before you begin section, clean up steps, remove some text

* remove unnecessary section

* merge main 2

* OAuth -> OAuth2

* remove Centrify example because it's likely outdated

* add shared intro content

* indentation

* add refresh token to tasks, clean up more sections

* linting

* linting

* Apply suggestions from code review

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>

* Update docs/sources/setup-grafana/configure-security/configure-authentication/generic-oauth/index.md

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>

* indentation and small descriptions under headings

* add a table for config options

* clean up more sections

* rewrite email address section

* rewriting login and display name sections, plus adding line breaks

* clean up more sections

* update role mapping section

* indentation again

* update section names

* incorporates final edits

* Apply suggestions from code review

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>

* pr feedback

* Apply suggestions from code review

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>

* PR feedback: rewording

---------

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
Co-authored-by: Chris Moyer <chris.moyer@grafana.com>
2023-07-10 16:00:05 +03:00
Jack Baldry
01f6b8e90c
Use docs/reference style links for all Alerting links ()
* Replace all alerting links with docs/reference style links

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Fix broken docs/reference style link

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Update all alerting links to go to Grafana Cloud resources when the page is published in Grafana Cloud

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Prettier

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Replace another link

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

---------

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2023-07-10 11:51:29 +01:00
Joseph Perez
d9e0ab2964
Docs: fix incorrect alias for sign-a-plugin.md () 2023-07-10 10:30:58 +02:00
matt abrams
69d8e3d8dc
Docs: Fix broken links to play ()
* fix broken links to play

* Update docs/sources/dashboards/variables/_index.md

Co-authored-by: lwandz13 <126723338+lwandz13@users.noreply.github.com>

---------

Co-authored-by: lwandz13 <126723338+lwandz13@users.noreply.github.com>
2023-07-07 10:00:05 -10:00
Armand Grillet
3ec0558204
Clarify external AM limitation () 2023-07-07 17:13:11 +02:00
Mitch Seaman
ac78146091
Docs: update the word "integration" in Okta config () 2023-07-07 08:44:27 -05:00
Leanna Shippy
217265baee
Docs: Updates Grafana alerting link text on Panel Editor Overview page ()
* Updates Grafana alerting link text on panel editor overview page

* fixed wording of link text

---------

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-07-07 08:12:19 -04:00
David Harris
a9368aab7a
docs: remove kentik from angular plugins ()
As of v1.7.0 this plugin no longer uses Angular
2023-07-07 12:28:57 +01:00
Gilles De Mey
536146de5f
Docs: Adding the right syntax highlighting in a few places ()
Adding the right syntax highlighting in a few places
2023-07-07 09:15:39 +02:00
Ida Štambuk
d33508453f
Plugins: Add feature toggle for Temporary Credentials ()
* Add feature toggle

* Change team name in codeowners file
2023-07-06 17:06:11 +02:00
Gilles De Mey
6af12b1953
Docs: Set up alert state history ()
Co-authored-by: Armand Grillet <2117580+armandgrillet@users.noreply.github.com>
2023-07-06 17:03:32 +02:00
Alex Khomenko
420b19e0e4
Dashboards: Add dashboard embed route ()
* Dashboard embed: Set up route

* Dashboard embed: Cleanup

* Dashboard embed: Separate routes

* Dashboard embed: Render dashboard page

* Dashboard embed: Add toolbar

* Dashboard embed: Send JSON on save

* Dashboard embed: Add JSON param

* Dashboard embed: Make the dashboard editable

* Fix sending dashboard to remote server

* Add notifications

* Add "dashboardEmbed" feature toggle

* Use the toggle

* Update toggles

* Add toggle on backend

* Add get JSON endpoint

* Add drawer

* Close drawer on success

* Update toggles

* Cleanup

* Update toggle

* Allow embedding for the d-embed url

* Allow embedding via custom X-Allow-Embedding header

* Use callbackUrl

* Cleanup

* Update public/app/features/dashboard/containers/EmbeddedDashboardPage.tsx

Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>

* Use theme for spacing

* Update toggles

* Update public/app/features/dashboard/components/EmbeddedDashboard/SaveDashboardForm.tsx

Co-authored-by: Polina Boneva <13227501+polibb@users.noreply.github.com>

* Add select data source modal

---------

Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
Co-authored-by: Polina Boneva <13227501+polibb@users.noreply.github.com>
2023-07-06 17:43:20 +03:00
Torkel Ödegaard
0fb7369a79
Docs: Fix scenes what's new in Grafana 10 entry ()
Fix scenes release note
2023-07-06 14:19:51 +00:00
Michael Mandrus
ff6d6659fb
Query: Fix concurrency handling for mixed datasource queries ()
* split queries and merge responses

* increase concurrency again

* update unit test to verify the headers are merged

* fix lint issue

* fix race condition in unit test

* Fix function name and add a bit more documentation about how the func should be used

* update function call after rename

* check for duplicate header vals

* make concurrent query limit configurable

* Update conf/sample.ini

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

---------

Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>
2023-07-06 17:15:43 +03:00
Galen Kistler
daf9f9cd19
Prometheus: Incremental querying profile data updates ()
* add prometheusIncrementalQueryInstrumentation feature flag, update instrumentation data
2023-07-05 14:39:49 -05:00
Joseph Perez
f9df1f3051
Docs: Plugins doc reorganization, part 1 ()
* Initial commit

* Prettier fixes

* Doc-validator fixes part 1

* Doc-validator fixes part 2

* More doc-validator fixes

* More doc-validator fixes

* Test

* link test

* Linnk test

* Link test

* More fixes

* More fixes

* Doc-validator fixes

* Doc-validator fixes

* fix broken link

* Fix

* Testing

* Doc fixes

* Link fixes

* Fix links

* Update docs/sources/developers/plugins/create-a-grafana-plugin/_index.md

Co-authored-by: David Harris <david.harris@grafana.com>

* Testing

* Testing

* Testing

* Testing

* Doc-validator fixes

* Doc-validator fixes

* Doc-validator fixes

* Fix broken links for plugins reorganization project

* Prettier fixes

* Prettier fixes

* Incorporate reviewer feedback

* Link fixes

* Link fixes

* Link fixes

* Link fix

* Deleted space

* Codeowners fix

* Change grafana.com links to absolute URLs for Hugo

---------

Co-authored-by: David Harris <david.harris@grafana.com>
2023-07-05 13:25:11 -05:00
prenzlern
bdf60d69de
Docs: update heatmap panel options ()
Added some heatmap panel configuration options which were missing from the docs
2023-07-05 13:43:54 -04:00
Kristina
f18a02149a
Correlations: Create paginated API ()
* Add pagination params and apply to sql

* Create getCorrelationsResponse that returns metadata

* Set up pagination, change correlations fetch to only get source datasource correlations

* Move correlations from root to pane, only fetch correlations for one datasource when initialized or datasource is changed

* Fix tests

* Fix remaining tests

* Use functional component to handle state

* Remove unneeded mocks, fix tests

* Change perPage to limit

* Fix Go Tests

* Fix linter

* Remove parameter

* Account for mixed datasources

* Delete unused hook

* add source UID filter to API, start backing out front end hook changes

* add source IDs to API, use when loading or changing datasource

* Fix prettier

* Mock correlations response

* Get correlations for all datasources in mixed scenario

* Add documentation for new parameters

* Attempt to fix swagger

* Fix correlations page

* add swagger and openapi docs

* Add mocks to failing test

* Change API for consistency, remove extra hooks and unused function

* Add max to limit and re-gen api docs

* Move the page to the previous page if deleting all the rows on the page

* Only fetch if remove does not have value

* Change page to a reference hook

* Fix documentation, a test and some logic thinking page could be 0
2023-07-05 09:37:17 -05:00
Christopher Moyer
971058919f
Docs: adds uninstall instructions to debian/ubuntu ()
* adds uninstall to debian/ubuntu

* updates based on SME feedback

* Update docs/sources/setup-grafana/installation/debian/index.md

Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>

* Moved remove grafana repo as separate step

* adds uninstall docs to remaining linux topics

* Update docs/sources/setup-grafana/installation/debian/index.md

Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>

* Update docs/sources/setup-grafana/installation/suse-opensuse/index.md

Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>

* Update docs/sources/setup-grafana/installation/redhat-rhel-fedora/index.md

Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>

* Update docs/sources/setup-grafana/installation/suse-opensuse/index.md

* corrects punctuation

* makes prettier

---------

Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com>
2023-07-05 08:06:03 -05:00
Alfredo
f02e1548d7
Update derived fields provisioning example ()
* Update derived fields provisioning example

*WHAT*

Update loki derived fields provisioning example:
- Remove `# Right now, Grafana supports only Jaeger and Zipkin data sources as link targets.` comment since it supports other trace data sources as well such as Tempo".
- Add example to include `URL Label` to provide full configuration example that reflects the options visible on the UI.

* Update _index.md

* makes prettier

---------

Co-authored-by: lwandz13 <larissa.wandzura@grafana.com>
2023-07-05 07:08:45 -05:00
Esteban Beltran
72f6793344
Plugins: Add monitoring only mode to frontend sandbox () 2023-07-05 13:48:25 +02:00
Esteban Beltran
d618bc46d1
Plugins: Add config option to exclude specific plugins from frontend sandbox () 2023-07-05 11:16:56 +02:00
Emil Tullstedt
f2bb9fd92a
Docs: Provide absolute paths for set-up-https.md ()
Fixes 
2023-07-04 14:08:37 +00:00
Galen Kistler
0817ee00f9
Prometheus: Remove duplicate definition in docs ()
remove duplicate lines
2023-06-30 13:50:37 -05:00
sam boyer
751b982d9c
Schemas: Allow nulls in schema for +/-Infinity types ()
* Add null options and remove veneer attributes

* Generate all code, remove old veneer defs

* Remove now-unnecessary error expect
2023-06-30 18:15:02 +03:00
Frederic Hemberger
ad8211cce7
docs/serviceaccount.md - Incorrect key "role" for creating token ()
The key "role" in the JSON body doesn't make sense for creating service account *tokens* (and the method will happily create one without it). It is only required for creating the service account itself.
2023-06-30 16:14:31 +01:00
Shantanu Alsi
72581a77ac
Prometheus: Add disableRecordingRules datasource config ()
* Add config to toggle recording rules for Prometheus

* Add documentation for Prometheus disableRecordingRules
2023-06-29 18:58:22 +03:00
Brendan O'Handley
8cc8834407
Prometheus: Metrics explorer add docs and image ()
* add docs and image

* update spelling and image

* titles are in sentence case

* run checks

* add text to differentiate the metrics explorer and the metrics browser

* spelling

* capitalize Prometheus

Co-authored-by: lwandz13 <126723338+lwandz13@users.noreply.github.com>

* code mode code style

Co-authored-by: lwandz13 <126723338+lwandz13@users.noreply.github.com>

* remove metric select option image tag

* caps for Prometheus

---------

Co-authored-by: lwandz13 <larissa.wandzura@grafana.com>
Co-authored-by: lwandz13 <126723338+lwandz13@users.noreply.github.com>
2023-06-29 10:54:08 -04:00