Eric Leijonmarck
a98328b092
Auditlogging: add docs about dsquery ( #87218 )
...
* add docs for dsquery
* update the generic actions
2024-05-03 11:11:46 +01:00
Georges Chaudy
dd0e646e92
k8s: remove dependency on app_mode development ( #85474 )
...
* k8s: remove dependency on app_mode development
* remove dev conditions on storage server
* remove logic to drop entity tables
2024-05-03 11:28:15 +03:00
Nicholas P. Cole
64d5440c5a
Docs: Fix link to values.yaml file ( #87014 )
...
Fix link to values.yaml file
Linking to the "edit" URL fails if the reader doesn't have write access
to the repo: they'll be prompted to fork the repo or to sign in to
GitHub. Instead link to the "blob" URL which is accessible to all
readers.
2024-05-02 10:39:51 -05:00
Galen Kistler
840aeddbd1
Logs: Explore panel default visualization feature flag ( #87189 )
...
* add logsExploreTableDefaultVisualization feature flag
* use feature flag in calculating initial visualization type
* add feature flag to tracking
2024-05-02 10:28:15 -05:00
Mihai Doarna
a979417700
SSO: Update ssoSettingsApi
flag to general availability ( #87216 )
...
* update ssoSettingsApi flag to general availability
* generate files
2024-05-02 16:00:52 +03:00
Dai Nguyen
ccd2bff8b0
Docs: Create the Azure AD application section has outdated information. ( #71498 )
...
Update index.md
2024-04-29 10:24:49 +01:00
Piotr Jamróz
f6e472f879
Explore: Show a drawer with tabs for the library and query history ( #86279 )
...
* Create basic feature toggle
* Rename context to reflect it contains query history and query library
* Update icons and variants
* Rename hooks
* Update tests
* Fix mock
* Add tracking
* Turn button into a toggle
* Make dropdown active as well
This is required to have better UI and an indication of selected state in split view
* Update Query Library icon
This is to make it consistent with the toolbar button
* Hide query history button when query library is available
This is to avoid confusing UX with 2 button triggering the drawer but with slightly different behavior
* Make the drawer bigger for query library
To avoid confusion for current users and test it internally a bit more it's behind a feature toggle. Bigger drawer may obstruct the view and add more friction in the UX.
* Fix tests
The test was failing because queryLibraryAvailable was set to true for tests. This change makes it more explicit what use case is being tested
* Remove active state underline from the dropdown
* Allow closing Query Library drawer from the toolbar
* Simplify dropdown design
2024-04-24 10:32:11 +02:00
Pepe Cano
14789db1b7
Docs: add Provisioning
section to Install on Kubernetes
docs ( #83875 )
...
* Docs: add `Provisioning` section to `Install on Kubernetes` docs
* prefix k8s object names with `grafana-`
* Fix `suplying` typo
2024-04-23 18:24:25 +02:00
Laura Fernández
2fb38a34ac
Navigation: Add a return to previous button when navigating to different sections ( #86764 )
2024-04-23 15:56:04 +02:00
Kristina
2247d6c415
Short Links: Add setting for changing expiration time ( #86003 )
...
* Add setting for changing shortlink expiration time
* Add docs, add better language
* put all the numbers in the duration 🤷
* 🙄
* update language to be correct and clear
* Add max limit and more documentation
2024-04-22 07:39:24 -05:00
Alex Khomenko
44e1bce55a
Feature toggles: Remove dashboardEmbed toggle ( #86587 )
2024-04-19 12:48:08 +02:00
Ryan McKinley
5a8384a245
QueryService: Add feature toggles to better support testing ( #86493 )
2024-04-19 12:26:21 +03:00
ismail simsek
28a683cf28
InfluxDB: Remove influxdbSqlSupport feature toggle ( #86518 )
...
Remove influxdbSqlSupport feature toggle
2024-04-18 16:29:27 +02:00
Nick Richmond
d3fee607e2
Expressions: sort numeric metrics behind feature toggle ( #85911 )
...
* feat: sort numeric metrics behind feature toggle
* chore: upgrade `dataplane/sdata` to latest tag
* chore: `go work sync`
2024-04-16 10:52:47 -04:00
Ryan McKinley
ba510d1a7d
Playlists: Enable kubernetesPlaylists by default in OSS ( #86259 )
2024-04-16 09:19:35 +02:00
Brendan O'Handley
f85470d652
Prometheus: Use the frontend package in Prometheus and remove feature toggle ( #86080 )
...
* add history links for monaco completion provider folder
* add history links for monaco query field folder
* add history links for components folder
* add history links for configuration folder
* add history links for dashboard json folder
* add history links for gcopypaste folder
* add history link for variableMigration
* add history link for querybuilder/components/metrics-modal folder
* add history link for querybuilder/components/promqail folder
* add history links for querybuilder/components folder
* add history links for querybuilder/hooks folder
* add history links for querybuilder/shared folder
* add history links for querybuilder folder
* add history links for querycache folder
* add history links for src folder
* use frontend package and custom auth in module.ts
* remove files and fix import issues
* remove usePrometheusFrontendPackage
* remove extra files
* update betterer
* remove extra files after rebase
* fix betterer for rebase
* fix e2e flakiness
2024-04-15 16:45:23 -05:00
Giuseppe Guerra
eec9d3dbc4
Plugins: Removed feature toggle pluginsDynamicAngularDetectionPatterns ( #85956 )
...
* Plugins: Removed feature toggle pluginsDynamicAngularDetectionPatterns
* re-generate feature toggles
2024-04-15 10:37:28 +02:00
Ieva
56f4664875
RBAC: add a feature toggle for action sets ( #86064 )
...
* add a feature toggle for action sets
* update feature toggle name
2024-04-12 17:19:25 +01:00
Brendan O'Handley
a25b59c6d8
Prometheus: Change feature toggle usePrometheusFrontendPackage to general availability ( #85951 )
...
change feature toggle to GA after testing
2024-04-11 14:13:30 -04:00
Giuseppe Guerra
e42d8f0bd0
Plugins: Removed feature toggle enablePluginsTracingByDefault ( #85953 )
2024-04-11 18:40:47 +02:00
Marcus Efraimsson
78f460c4de
Tracing: Allow otel service name and attributes to be overridden from env ( #85937 )
...
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2024-04-11 15:18:46 +02:00
Darren Janeczek
66c0fd4dcc
chore: update datatrails feature flag and enable ( #85508 )
...
* chore: update datatrails feature flag and enable
* fix: rename `datatrails` feature flag to `exploreMetrics`
2024-04-09 14:15:18 -04:00
Andreas Christou
3420e942ac
Chore: Update RPM docs to include beta release references ( #85753 )
...
* Update RPM docs to include beta release references
* andreas/update-installation-docs/ run lint
* Don't number lists
---------
Co-authored-by: jev forsberg <jev.forsberg@grafana.com>
2024-04-09 14:11:22 +03:00
Isabella Siu
58f32150c2
CloudWatch: Improve metric label parsing ( #84835 )
2024-04-05 11:57:56 -04:00
Nick Richmond
559fab9dc6
Prometheus: Fuzzy search for metric names in Code Mode ( #85396 )
...
* perf: limit metric names in Code Mode suggestions
* feat: configurable metric names limit
* feat: code mode autocomplete info/disclaimer
* chore: put new functionality behind new feature toggle
* refactor: avoid type assertions
* refactor: avoid explicit `any`
refactor: type guards
* refactor: type guards
* chore: add testdata results
* fix: add missing feature toggle guard
* perf: prefer array access to `Array.prototype.at`
* test: add missing config override
* test: refactor for brevity & clarity
* perf: avoid unnecessary mapping
* chore: undo testdata changes
* fix: use correct limit; perf optimizations
* refactor: avoid unnecessary `async`s
* types: simplify
* test: add missing tests
* fix: avoid hardcoding
* test: update mock path
* docs: fix typo
style: remove formatting artifact
style: remove formatting artifact
style: remove formatting artifact
* fix: event scope regression
* style: refactor for clarity
* refactor: prefer `useCallback` to in-effect handler
* refactor: simplify & broaden `filter`
* refactor: rename file to keep with conventions
* chore: mirror Prometheus package changes in app
* refactor: prefer no `@ts-ignore`
* chore: update betterer results
* docs: use type in TSDoc `@link` without `@ts-ignore`
* test: add missing provider
* test: fix jest mock path
* fix: display disclaimer in empty input case
2024-04-04 23:38:23 +03:00
Leon Sorokin
1522499c4a
VizTooltips: Remove remaining old bits ( #85500 )
...
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2024-04-02 19:32:01 -05:00
Fredrik Ekre
e9969e3542
Auth: add Dex example to generic OAuth2 documentation ( #84744 )
...
This patch adds an example configuration for setting up generic OAuth2
authentication using [Dex IdP](https://dexidp.io/ ).
2024-03-28 15:36:00 -05:00
linoman
e4250a72db
JWT: Find login and email claims with JMESPATH ( #85305 )
...
* add function to static function to static service
* find email and login claims with jmespath
* rename configuration files
* Replace JWTClaims struct for map
* check for subclaims error
2024-03-28 17:25:26 +01:00
Isabel Matwawana
5f38455f31
Docs: fix availability note ( #85315 )
...
Fixed availability note
2024-03-28 08:33:38 -04:00
Santiago
ce57ce4125
Docs: Add capture_timeout option ( #85340 )
2024-03-28 13:19:08 +01:00
Ryan McKinley
713970d00a
SQLStore: Cleanup migrationLocking ( #85054 )
2024-03-25 10:09:15 +03:00
Brendan O'Handley
d084595211
Prometheus: Use frontend package in Prometheus DS with a feature toggle ( #84397 )
...
* add feature toggle usePrometheusFrontendPackage
* add feature toggle logic to Prometheus module
* use config editor with package and remove configOverhaul feature toggle
* update betterer because we will be removing other files as we replace with files from @grafana/prometheus
* fix exemplar ds picker selector
* add more description to ts-ignore
* remove go.work.sum change
* copy go.work.sum from main
* update go.work.sum after talking with ismail
* put back the promlib entry
---------
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>
2024-03-22 19:47:53 -05:00
Sofia Papagiannaki
33b653534e
SQLStore: Enable migration locking by default ( #84983 )
...
* Introduce new configuration for migration locking
* Remove feature toggle
* Fix test and turn it into an integration
* Fix docs
2024-03-22 21:22:29 +02:00
Matthew Jacobson
980b9a62c6
Alerting: Enable simplified routing FF by default ( #84856 )
2024-03-22 13:45:20 -04:00
Leon Sorokin
d7fa99e2df
XYChart: Refactor to new model (behind feature toggle) ( #82499 )
...
Co-authored-by: drew08t <drew08@gmail.com>
Co-authored-by: Ihor Yeromin <yeryomin.igor@gmail.com>
2024-03-22 10:44:37 -05:00
chalapat
65c0669f01
Server: Reload TLS certs without a server restart ( #83589 )
...
* server: reload of grafana server certs when renewed without restart.
Signed-off-by: Rao, B V Chalapathi <b_v_chalapathi.rao@nokia.com>
* server: reload of grafana server certs when renewed without restart.
Signed-off-by: Rao, B V Chalapathi <b_v_chalapathi.rao@nokia.com>
* Update http_server.go
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
* Update http_server.go
Address the comments
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Dan Cech <dan@aussiedan.com>
* Update http_server.go
Align the spaces
* Update http_server.go
* Update http_server.go
* Update pkg/api/http_server.go
Co-authored-by: Dan Cech <dan@aussiedan.com>
---------
Signed-off-by: Rao, B V Chalapathi <b_v_chalapathi.rao@nokia.com>
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
Co-authored-by: Dan Cech <dan@aussiedan.com>
2024-03-22 17:13:22 +02:00
Juan Cabanas
8d4ca72f2a
PublicDashboards: Scene migration ( #84409 )
2024-03-22 11:48:21 -03:00
Eric Leijonmarck
bb792ff540
Auth: Remove oauth skip org role sync ( #84972 )
...
* remove oauth wide skip org role sync
* we are warning from config
* set it to false
* removed from config ini files and updated docs
2024-03-22 15:34:05 +01:00
Serge Zaitsev
df2d0574c1
Chore: Enable nestedFolders by default ( #84631 )
...
* Enable nestedFolders by default
* Make nestedFolders GA
Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com>
* regenerate files
* also update docs
* skip failing test
---------
Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com>
2024-03-22 14:13:43 +01:00
Giuseppe Guerra
ef5d71711a
Plugins: Enable feature toggle enablePluginsTracingByDefault
by default ( #84645 )
...
* Enable feature flag enablePluginsTracingByDefault by default
* re-generate feature toggles
2024-03-22 11:22:36 +02:00
Agnès Toulet
4f8b14ebf4
FeatureToggle: Update newPDFRendering to public preview ( #84883 )
...
FeatureToggle: update newPDFRendering to public preview
2024-03-22 09:50:53 +01:00
Ieva
9772ed6526
RBAC: Enable annotation permission update by default ( #84787 )
...
* display teams to team reader if they also have the access to list team permissions
* fix a typo in the docs
* enable annotationPermissionUpdate by default
* update wording
2024-03-22 00:45:23 +02:00
Ivan Ortega Alba
33f9e8554d
GenAI: Autogenerate title and description for panels and dashboards ( #84933 )
2024-03-21 17:58:27 +01:00
Giuseppe Guerra
eb31f71f60
Plugins: Enable feature toggle pluginsDynamicAngularDetectionPatterns
by default ( #84723 )
...
* Enable feature toggle pluginsDynamicAngularDetectionPatterns by default
* Change backgroundJobInterval to 24h
* re-generate feature toggles
* Use different intervals for cloud vs on-prem
* temporarily switch interval log to info level
* debug level again
* Simplify provideDynamic for tests
* re-generated feature toggles files
* PR review feedback
* PR review feedback: removed dependency from plugin management config
2024-03-21 18:22:06 +02:00
Ida Štambuk
18eac9df9e
Feature toggles: Remove redshiftAsyncQueryDataSupport and athenaAsyncQueryDataSupport toggles ( #84653 )
2024-03-20 15:14:21 +01:00
Andreas Christou
6bb7ab261a
AzureMonitor: User authentication support ( #81918 )
...
* Stub out frontend user auth
* Stub out backend user auth
* Add context
* Reorganise files
* Refactor app registration form
* Alert for user auth service principal credentials
* AzureMonitor: Add flag for enabling/disabling fallback credentials for current user authentication (#82332 )
* Rename field
* Add fallback setting
* Update tests and mock
* Remove duplicate setting line
* Update name of property
* Update frontend settings
* Update docs and default config files
* Update azure-sdk
* Fix lint
* Update test
* Bump dependency
* Update configuration
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
* Docs review
* AzureMonitor: User authentication frontend updates (#83107 )
* Rename field
* Add fallback setting
* Update tests and mock
* Remove duplicate setting line
* Update name of property
* Update frontend settings
* Update docs and default config files
* Add alerts to query editor
- Add authenticatedBy property to grafana/data
- Update mocks
- Update query editor to disable it under certain circumstances
- Update tests
* Add separate FallbackCredentials component
- Reset AppRegistrationCredentials component to only handle clientsecret credentials
- Update AzureCredentialsForm
- Update selectors
- Update tests
- Update credentials utility functions logic
* Alert when fallback credentials disabled
* Update condition
* Update azure-sdk
* Fix lint
* Update test
* Remove unneeded conditions
* Set auth type correctly
* Legacy cloud options
* Fix client secret
* Remove accidental import
* Bump dependency
* Add tests
* Don't use VerticalGroup component
* Remove unused import
* Fix lint
* Appropriately set oAuthPassThru and disableGrafanaCache properties
* Clear azureCredentials on authType change
* Correctly retrieve secret
* Fix bug in authTypeOptions
* Update public/app/plugins/datasource/azuremonitor/components/ConfigEditor/CurrentUserFallbackCredentials.tsx
Co-authored-by: Andrew Hackmann <5140848+bossinc@users.noreply.github.com>
* Update public/app/plugins/datasource/azuremonitor/components/QueryEditor/QueryEditor.tsx
Co-authored-by: Andrew Hackmann <5140848+bossinc@users.noreply.github.com>
* Update public/app/plugins/datasource/azuremonitor/components/ConfigEditor/CurrentUserFallbackCredentials.tsx
Co-authored-by: Andrew Hackmann <5140848+bossinc@users.noreply.github.com>
* Add documentation links
* Fix broken link
---------
Co-authored-by: Andrew Hackmann <5140848+bossinc@users.noreply.github.com>
* AzureMonitor: Update docs for current user authentication (#83440 )
* Rename field
* Add fallback setting
* Update tests and mock
* Remove duplicate setting line
* Update name of property
* Update frontend settings
* Update docs and default config files
* Add alerts to query editor
- Add authenticatedBy property to grafana/data
- Update mocks
- Update query editor to disable it under certain circumstances
- Update tests
* Add separate FallbackCredentials component
- Reset AppRegistrationCredentials component to only handle clientsecret credentials
- Update AzureCredentialsForm
- Update selectors
- Update tests
- Update credentials utility functions logic
* Alert when fallback credentials disabled
* Update condition
* Update azure-sdk
* Fix lint
* Update test
* Remove unneeded conditions
* Set auth type correctly
* Legacy cloud options
* Fix client secret
* Remove accidental import
* Bump dependency
* Add tests
* Don't use VerticalGroup component
* Remove unused import
* Update docs
* Fix lint
* Appropriately set oAuthPassThru and disableGrafanaCache properties
* Clear azureCredentials on authType change
* Correctly retrieve secret
* Feedback
* Spelling
* Update docs/sources/datasources/azure-monitor/_index.md
Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com>
* Update docs/sources/datasources/azure-monitor/_index.md
Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com>
* Update docs/sources/datasources/azure-monitor/_index.md
Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com>
* Update docs/sources/datasources/azure-monitor/_index.md
Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com>
---------
Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com>
* Docs review
* Update docs with additional configuration information
* Fix to appropriately hide the query editor
* Typo
* Update isCredentialsComplete
* Update test
---------
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
Co-authored-by: Andrew Hackmann <5140848+bossinc@users.noreply.github.com>
Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com>
2024-03-19 16:32:24 +00:00
Hugo Kiyodi Oshiro
b1c4ebe6e8
Plugins: Enable managedPluginsInstall by default ( #84721 )
...
Plugins: enable managedPluginsInstall by default
2024-03-19 16:34:46 +01:00
Isabella Siu
00f16cd018
CloudWatch Logs: Remove toggle for cloudWatchLogsMonacoEditor ( #84414 )
2024-03-18 08:56:57 -04:00
Isabella Siu
a0b68deae4
Cloudwatch: Remove cloudWatchWildCardDimensionValues feature toggle ( #84329 )
2024-03-15 09:49:53 -04:00
Larissa Wandzura
f727e21873
Docs: Fixed a typo in the Azure config page ( #84475 )
...
fixed typo, cleaned up some language
2024-03-14 11:10:35 -05:00