Commit Graph

44851 Commits

Author SHA1 Message Date
Galen Kistler
873ebc58b4
InfluxDB: make influxql options the default if nothing defined (#73247)
make influxql options the default if nothing defined
2023-08-14 22:31:11 +03:00
Sarah Zinger
09d5483c6c
Cloudwatch: Upgrade aws-sdk and display external ids for temporary credentials (#72821)
(under a feature toggle, not yet ready for public testing)
2023-08-14 13:42:30 -04:00
Sarah Zinger
c2aeb9882d
Cloudwatch: reorg files in components (#73176) 2023-08-14 12:18:58 -04:00
Ivana Huckova
6880ab687c
Elasticsearch: Enable running of queries trough data source backend (#73222)
Elasticsearch: Enable enableElasticsearchBackendQuerying feature toggle by default
2023-08-14 17:05:08 +02:00
Ashley Harrison
963fffeef1
Chore: fix some more types (#72726)
fix some more types
2023-08-14 16:04:04 +01:00
Matias Chomicki
7c098c59fd
Loki: Migrate HTTP settings to new components (#72831)
* Loki: migrate data source http settings

* Remove unused export

* Update e2e tests

* Update unit test
2023-08-14 14:42:14 +02:00
Joey
e6c96e7308
Tracing: Split name column in search results (#72449)
* Split name column

* Add tests

* Update test
2023-08-14 13:26:08 +01:00
Will Browne
c830c01e61
Plugins: Remove unnecessary error result from env vars interface (#73224)
* remove error from interface

* fix test
2023-08-14 14:17:54 +02:00
Karl Persson
16d24a8429
RBAC: remove LoadPermissionsMiddleware (#73228)
* PubDash: remove LoadPermissionMiddleware from tests

* RBAC: Remove unused LoadPermission middleware
2023-08-14 14:07:09 +02:00
Alex Simonok
140624603f
Drawer: Fix scrolling drawer content on Safari (#73080)
Add min-height to allow scroll drawer content on Safari
2023-08-14 13:03:31 +01:00
Fabrizio
0f402347aa
Fix error message for variable names (#72580) 2023-08-14 11:34:54 +02:00
Ivana Huckova
a47577c8e8
Logs: Improve plugins developer documentation for logs APIs (#72441)
* Logs: Add plugins developer documentation for logs APIs

* Update

* Update

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Haris Rozajac <58232930+harisrozajac@users.noreply.github.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update docs/sources/developers/plugins/create-a-grafana-plugin/extend-a-plugin/add-log-queries.md

Co-authored-by: Matias Chomicki <matyax@gmail.com>

* Update based on feedback

* Update common labels content

* Remove redundant comment notes

* Adjust code snippets

* Move documentation into ow to build a logs data source plugin

* Propose edits for enhancements to logs datasource plugins tutorial (#73074)

* Initial commiit

* Additional edits

* Additional edits

* Update docs/sources/developers/plugins/create-a-grafana-plugin/develop-a-plugin/build-a-logs-data-source-plugin.md

* Update docs/sources/developers/plugins/create-a-grafana-plugin/develop-a-plugin/build-a-logs-data-source-plugin.md

* Add required field info into a table

---------

Co-authored-by: Matias Chomicki <matyax@gmail.com>
Co-authored-by: Haris Rozajac <58232930+harisrozajac@users.noreply.github.com>
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
Co-authored-by: Joseph Perez <45749060+josmperez@users.noreply.github.com>
2023-08-14 10:02:48 +02:00
Virginia Cepeda
6c007641e0
Alerting: Remove dump wrapper for yaml config (#73169)
Remove dump wrapper for yaml config
2023-08-13 11:12:28 +02:00
David Harris
63ffd95110
docs: remove Moogsoft from angular list, update version for helm (#73204) 2023-08-11 16:40:10 +01:00
Kevin Burke
a9d2bbc814
Update index.md (#73183)
* Update index.md

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

---------

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2023-08-11 08:02:51 -05:00
Andreas Christou
95546551bc
AzureMonitor: Allow serviceTags and tags to be empty for trace results (#73145)
Allow serviceTags and tags to be empty
2023-08-11 13:13:19 +01:00
Jean-Philippe Quéméner
44b94eca19
docs(alerting): add section about running redis for HA (#73153) 2023-08-11 13:57:00 +02:00
David Harris
a70d2d39f6
docs: remove strava from angular plugin list (#73192) 2023-08-11 12:27:11 +01:00
Andre Pereira
039ed7a5bd
Tempo: Integrate context aware autocomplete API (#67845)
* Send query in search tag values call

* Make sure to send the full query when using the code editor

* Fix merge conflicts

* Remove unused params
2023-08-11 10:31:09 +01:00
Esteban Beltran
84181eb613
Sandbox: Fix monaco editor custom languages not working correctly inside the sandbox (#72911) 2023-08-11 10:50:57 +02:00
Gilles De Mey
51a67b99f2
Alerting: Always invalidate the AM config after mutation (#73162) 2023-08-11 08:36:49 +02:00
Milton Prado
ff1fdac675
Update [analytics] section to include the ability to set to false (#71473)
* Update [analytics] section to include the ability to set to false

In the follow section: 

https://grafana.com/docs/grafana/latest/setup-grafana/configure-grafana/#analytics

Added a line for 'enabled' under the [analytics] section to include the ability to set to false as this is now a togglable feature.

* Update docs/sources/setup-grafana/configure-grafana/_index.md

* Update docs/sources/setup-grafana/configure-grafana/_index.md

---------

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2023-08-10 15:36:13 -05:00
Dan Cech
dd97038b00
Slug: Combine various slugify fixes for special character handling (#73164)
* combine various slugify fixes for special character handling

* a couple more test cases

* update more tests

* goimports
2023-08-10 16:12:50 -04:00
Kevin Burke
3bc3c4f2bb
Update index.md (#73077) 2023-08-10 14:57:43 -05:00
Jess Sartin
3c289d8a08
Docs: Update to include keycloak link in oauth docs (#72698)
Update to include keycloak link in oauth docs
2023-08-10 14:56:18 -05:00
Alyssa Bull
eeefa7dd22
Cloud Monitoring: Support AliasBy property in MQL mode (#73116) 2023-08-10 10:55:09 -06:00
Jo
89c7116720
Auth: Move star service to identity interface (#73114)
* move star service to identity interface

* Update pkg/services/auth/identity/requester.go

Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>

* Update pkg/services/contexthandler/model/model.go

---------

Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
2023-08-10 17:17:27 +02:00
Alexa V
0dcba0952e
Dashboards: PanelChrome - remove untitled placeholder and add border when panel is transparent (#73150) 2023-08-10 15:17:56 +02:00
Stephanie Hingtgen
05b710ef0c
Dev docs: Add a doc around feature toggles (#72938) 2023-08-10 07:07:46 -06:00
Will Browne
c5e9a82ccb
Plugins: Do not fail bootstrap stage if single decorate step fails (#73147)
* don't fail all if decorate step fails

* fix casing

* include err too

* cover pluginsintegration too
2023-08-10 14:46:38 +02:00
Jo
67de18ff06
Auth: Move Service Account service to SignedInUser Interface (#73142)
* move service account service to identity interface

* Update pkg/services/auth/identity/requester.go
2023-08-10 14:20:58 +02:00
Joey
8c2f439cd7
Table: Support display of multiple sub tables (#71953)
* Add nested option to DataFrame. Refactor Table to use nested dataframes for sub-tables

* Use nested frames for TraceQL response

* debugging

* Fix cell text and table position

* Update getItemSize

* noHeader size

* Update sub table renderer

* Update table container height

* Cleanup and fix RawPrometheusContainer height

* Update resultTransformer and docker script

* Updates to TableContainer, resultTransformer after merge

* Fixes for table pagination in dashboards

* Cell height and show footer enhancement/fix

* Sub table links

* Update RawPrometheusContainer

* Remove console log

* Update tests

* Update storybook

* Remove Tempo demo

* Store nested data in single field via its values

* Move nested prop into custom

* Tempo demo

* Add field type & update incorrect logic

* Update docker compose image for Tempo

* Update packages/grafana-data/src/field/fieldOverrides.ts

Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>

* Simplify logic for getting nestedFrames and rendering sub tables

* Update docs for table

* Update nested table bg color

* Lighten nested table bg color

* Renames

* Migrate frames using parentRowIndex and add deprecation notice

* Update title

* Align expander icon size between Table and interactive table

* Table: Refactor out the expanded rows bits

* fix spacing

* Add line along left side for expanded rows

* Disable hover row background when expanded

---------

Co-authored-by: André Pereira <adrapereira@gmail.com>
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2023-08-10 12:33:46 +01:00
Karl Persson
43aab615c3
Auth: Remove unused Authenticator service (#73143)
Auth: remove unused Authenticator service
2023-08-10 11:02:32 +02:00
Will Browne
d29f4a8f76
Plugins: Add context to StaticRouteResolver and ErrorResolver interfaces (#73121)
* add ctx

* fix tests
2023-08-10 10:32:12 +02:00
Karl Persson
2c57bca176
Auth: Remove auth broker flag and clean up login handlers (#73109)
* Auth: Remove auth broker flag and clean up login handlers
2023-08-10 09:56:04 +02:00
Joseph Perez
eb6e19c7af
Docs: Fix broken links to create-plugin docs (#72965)
* Fix broken links to create-plugin docs

* Typo fix

* Fix additional broken link

* Fix additional links
2023-08-09 14:53:53 -05:00
Jean-Philippe Quéméner
2266e09f94
Alerting: optimize rules with multiple loki range queries (#73103) 2023-08-09 19:00:51 +02:00
Will Browne
72da44db0e
Plugins: Add validation stage to plugin loader pipeline (#73053)
* first pass

* change validation signature

* err tracking

* fix

* undo golden

* 1 more

* fix

* adjust doc

* add test helper

* fix linter
2023-08-09 18:25:28 +02:00
Yuri Tseretyan
69c8200fc9
Alerting: Add more tests for state manager ProcessEvalResults (#73019)
Co-authored-by: Matthew Jacobson <matthew.jacobson@grafana.com>
2023-08-09 12:21:12 -04:00
arunkg2787
cda78c6fe8
Update _index.md (#72562)
Fixes # https://github.com/grafana/support-escalations/issues/6887

Configure HA: Added ha_peer_Timeout global config in the unified alerting
2023-08-09 17:53:57 +02:00
Michael Mandrus
779e0fe311
Feature Toggles: Create API for updating feature toggle state from the feature toggle admin page (#73022)
* create roles for writing feature toggles

* create update endpoint / handler

* api changes

* add feature toggle validations

* hide toggles based on their state

* make FlagFeatureToggle read only

* add username log

* add username string

* refactor for better readability

* refactor unit tests so we can do more validations

* some skeletoning for the set tests

* write unit tests for updater

* break helper functions out

* update sample ini to match defaults

* add more logic to ReadOnly label

* add user documentation

* fix lint issue

* Update docs/sources/setup-grafana/configure-grafana/_index.md

Co-authored-by: J Stickler <julie.stickler@grafana.com>

* Update docs/sources/setup-grafana/configure-grafana/_index.md

Co-authored-by: J Stickler <julie.stickler@grafana.com>

* Update docs/sources/setup-grafana/configure-grafana/_index.md

Co-authored-by: J Stickler <julie.stickler@grafana.com>

* Update docs/sources/setup-grafana/configure-grafana/_index.md

Co-authored-by: J Stickler <julie.stickler@grafana.com>

* Update docs/sources/setup-grafana/configure-grafana/_index.md

Co-authored-by: J Stickler <julie.stickler@grafana.com>

* Update docs/sources/setup-grafana/configure-grafana/_index.md

Co-authored-by: J Stickler <julie.stickler@grafana.com>

---------

Co-authored-by: IbrahimCSAE <ibrahim.mdev@gmail.com>
Co-authored-by: J Stickler <julie.stickler@grafana.com>
2023-08-09 11:32:28 -04:00
Gilles De Mey
d9695eb507
Alerting: Add "no-rules" to redirect to rule viewer (#73111) 2023-08-09 17:17:41 +02:00
Karl Persson
e53e22ef2a
Contexthandler: Remove code that is no longer used (#73101)
* Contexthandler: remove dead code

* Contexthandler: Add tests

* Update pkg/tests/api/alerting/api_alertmanager_test.go

Co-authored-by: Jo <joao.guerreiro@grafana.com>

---------

Co-authored-by: Jo <joao.guerreiro@grafana.com>
2023-08-09 15:17:59 +02:00
Jo
5d8e6aa162
Auth: Org Invite and Team API SignedInUser interfacing (#73085)
* fix ngalert Evaluate sig change

* interface for teams and org invites

* Update pkg/api/org_invite.go

Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>

---------

Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
2023-08-09 12:33:35 +02:00
Sven Grossmann
1343c74362
Logs: Disable query splitting due to conflicts with transformations (#73086)
* disable query splitting for now

* change stage of `lokiQuerySplitting`
2023-08-09 13:21:38 +03:00
Jo
97ba611e4c
Chore: Fix ngalert Evaluate signature change (#73084)
fix ngalert Evaluate sig change
2023-08-09 11:27:14 +02:00
Jo
bd1a856d33
Auth: Add SignedIn user interface NamespacedID (#72944)
* wip

* scope active user to 1 org

* remove TODOs

* add render auth namespace

* import cycle fix

* make condition more readable

* convert Evaluate to user Requester

* only use active OrgID for SearchUserPermissions

* add cache key to interface definition

* change final SignedInUsers to interface

* fix api key managed roles fetch

* fix anon auth id parsing

* Update pkg/services/accesscontrol/acimpl/accesscontrol.go

Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>

---------

Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
2023-08-09 09:35:50 +02:00
Karl Persson
144e4887ee
Auth: Use authn.Service for all tests (#72921)
* Dashboards: Fix tests when authn broker is enabled.
StarService was not configured for tests, the call was guarded by !c.IsSignedIn

* Change default to be anon user to match expectations from tests

* OAuth: rewrite tests to work with authn.Service

* Setup template renderer by default

* Extract cookie options from cfg instead of relying on global variables

* Fix test to work with authn service

* Middleware: rewrite auth tests

* Remvoe session cookie if we cannot refresh access token
2023-08-09 08:54:52 +02:00
Clément Duveau
5eef8291e2
Add a warning in the documentation (#72975)
A partner complained in the name of a customer. They have 6k datasources and it took them some time to figure out why they only had 5k coming back.

This commit add a warning for this edge case, content is pretty clear.
2023-08-08 14:15:45 -07:00
Konrad Lalik
df3d10606d
Alerting: Optimize rule details page data fetching (#72977) 2023-08-08 20:36:38 +02:00