Andreas Christou
5796836662
Azure: Add support for Workload Identity authentication ( #75681 )
...
* Update Azure Monitor
* Update Prometheus
* Update README
* Update docs/sources/datasources/azure-monitor/_index.md
Co-authored-by: Andrew Hackmann <5140848+bossinc@users.noreply.github.com>
* Update docs/sources/datasources/azure-monitor/_index.md
Co-authored-by: Beverly <131809838+BeverlyJaneJ@users.noreply.github.com>
* Update docs/sources/datasources/azure-monitor/_index.md
Co-authored-by: Beverly <131809838+BeverlyJaneJ@users.noreply.github.com>
* Update docs/sources/datasources/azure-monitor/_index.md
Co-authored-by: Beverly <131809838+BeverlyJaneJ@users.noreply.github.com>
* README updates
* Fix prettier
* memoize options
---------
Co-authored-by: Andrew Hackmann <5140848+bossinc@users.noreply.github.com>
Co-authored-by: Beverly <131809838+BeverlyJaneJ@users.noreply.github.com>
2023-09-29 12:35:11 +03:00
ismail simsek
9d44fefe82
Chore: InfluxDB unit test overhaul ( #75436 )
...
* Rename the mock function
* Move tests
* Refactor existing tests
* add influxql_metadata_query tests
* move to root
* remove unnecessary file
* adhoc test
* Remove unused parameter
* tests for future
* fix mocks
* betterer
* changes after review
2023-09-29 11:28:52 +02:00
Oscar Kilhed
a2ee9833dc
Transformations: Add naming mode to partition by value. ( #75650 )
...
* Add naming mode to partition by value
* Apply suggestions from code review
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Fix spelling
* Fix prettier issue
---------
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-09-29 11:12:05 +02:00
Joao Silva
79c0087466
GeneralSettings: Use Box instead of gf-form classes ( #75678 )
...
DashboardSettings: Use Box instead of gf-form classes
2023-09-29 09:35:33 +01:00
Sam Jewell
bbadbeb2be
Build: removing .linguirc to the copied files in the Dockerfile ( #75703 )
...
Local Dockerfile fails with:
```
=> ERROR [js-builder 8/12] COPY tsconfig.json .eslintrc .editorconfig .browserslistrc .prettierrc.js babel.config.json .linguirc ./ 0.0s
=> [go-builder 3/20] WORKDIR /tmp/grafana 0.0s
=> [go-builder 4/20] COPY go.* ./ 0.3s
=> [go-builder 5/20] COPY .bingo .bingo 0.0s
=> CANCELED [go-builder 6/20] RUN go mod download 2.2s
------
> [js-builder 8/12] COPY tsconfig.json .eslintrc .editorconfig .browserslistrc .prettierrc.js babel.config.json .linguirc ./:
------
Dockerfile:24
--------------------
22 | RUN yarn install --immutable
23 |
24 | >>> COPY tsconfig.json .eslintrc .editorconfig .browserslistrc .prettierrc.js babel.config.json .linguirc ./
25 | COPY public public
26 | COPY scripts scripts
--------------------
ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref cc72e2cc-395a-46c9-b6ce-98fa942823cd::dy0j4lc6k08aluey90uugfvr4: "/.linguirc": not found
make: *** [build-docker-full] Error 1
```
That file has not existed on `main` since PR #75658 got merged.
2023-09-29 08:27:00 +00:00
Dominik Prokop
933d920121
Dashboard scene: Share modal export ( #75640 )
...
* Dashboard scene: Share modal export
* i18n
2023-09-29 00:34:22 -07:00
Karl Persson
7a38090bc0
AuthN: Fix namespaces for anonymous and render ( #75661 )
...
* AuthN: remove IsAnonymous from identity struct and set correct namespace for anonymous and render
* Don't parse user id for render namespace
2023-09-29 09:10:33 +02:00
Joseph Perez
0e2b741fc3
Docs: Remove old plugin docs, fix URLs to go to new dev portal ( #75325 )
...
* Remove old plugin docs, add redirects to new dev portal
* Restore plugin.schema.json file
* Update docs/sources/administration/plugin-management/index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
* More updates
* Cleanup links
* Update docs/sources/alerting/fundamentals/evaluate-grafana-alerts.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
* fix codeowners
* Change reference links to inline links to avoid 404s
* Update docs/sources/datasources/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
* Update docs/sources/datasources/mysql/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
* Update docs/sources/datasources/postgres/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
* Update docs/sources/fundamentals/timeseries-dimensions/index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
* Update docs/sources/fundamentals/dashboards-overview/index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
* Update docs/sources/fundamentals/dashboards-overview/index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
* Update docs/sources/panels-visualizations/configure-standard-options/index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
* Update docs/sources/panels-visualizations/query-transform-data/transform-data/index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
* Remove grafana.com from 2 URLs
* Fix 1 more reference link
* Prettier fix
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2023-09-29 07:43:48 +01:00
Oscar Kilhed
bcbfe75770
Transformations: Correct description of rename by regex. ( #75641 )
...
* Fix description of rename by regex
* Update public/app/features/dashboard/components/TransformationsEditor/TransformationsEditor.tsx
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
---------
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-09-29 07:15:55 +02:00
Oscar Kilhed
523cb97aff
Transformations: Fix bug with calculate field when using reduce and the all values calculation ( #75684 )
...
* fix reduce all fields
* Add test for issue
2023-09-28 21:19:10 -05:00
Leon Sorokin
27aa1c466a
Tooltips: Add TooltipPlugin2 ( #75708 )
2023-09-28 20:53:26 -05:00
Todd Treece
c31ddce0b6
K8s: Add org ID and role authorizers ( #75701 )
2023-09-28 18:28:58 -04:00
Ryan McKinley
0af7247612
Chore: cleanup old dashboardPreviews files ( #75682 )
2023-09-28 13:31:07 -07:00
Eve Meelan
d1a6e83093
Update codeowners ( #73159 )
...
* updated codeowners
* Update .github/CODEOWNERS
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2023-09-28 11:31:26 -07:00
Sarah Zinger
b83a58ef55
Cloudwatch: Prevent log group requests with ARNs if feature flag is off ( #75672 )
2023-09-28 14:25:03 -04:00
Isabella Siu
ac3fe55d17
CloudWatch Logs: Make monaco query editor general availability ( #75589 )
2023-09-28 14:00:38 -04:00
Adela Almasan
d66d577c33
DataLinkButton: Remove icon for target _self ( #75598 )
2023-09-28 12:28:10 -05:00
tonypowa
6d08050f84
alerting: docs : expand new nested policy instructions ( #75616 )
...
added some clarifications to new nested pol
2023-09-28 18:31:24 +02:00
Krishna Dhakal
8771e4957b
Docs: enhance disabling presence indicator content ( #75647 )
...
* docs presence indicator disable flag
* Edited
* Fixed typo
* Fixed typo
---------
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com>
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-09-28 12:20:02 -04:00
Galen Kistler
8336b8d4c1
Prometheus: Query builder - show warning when converting ambiguous order of operations ( #75256 )
...
* throw error when converting into visual query when parser detects that an aggregation expression node contains a function that contains a binary expression to detect queries that are ambiguously parsed
2023-09-28 10:46:56 -05:00
Ivana Huckova
c40bc0665b
Elasticsearch: Add instrumentation for elasticsearch_plugin_parse_response_duration_seconds
( #75628 )
...
* Elasticsearch: Add instrumentation for elasticsearch_plugin_parse_response_duration_seconds
* Update error tracking
2023-09-28 18:38:14 +03:00
Krishna Dhakal
8a46f9fd02
Docs: state data source queried upon time range change ( #75639 )
...
* docs changes on time range option
* Removed unneeded sentence, typo fix, and added emphasis
* Fixed prettier linting errors
* Removed emphasis
---------
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com>
2023-09-28 11:35:51 -04:00
Ivana Huckova
5510a0d8d1
Loki: Add instrumentation for grafana_loki_plugin_parse_response_duration_seconds_bucket
( #75570 )
...
* Add metric for loki parsing response duration
* Rename and add exemplars
* Fix lint
2023-09-28 17:25:09 +02:00
Ashley Harrison
0b77db0b74
Chore: Improve sandbox e2e test stability ( #75663 )
...
make sure the input isn't disabled
2023-09-28 18:21:15 +03:00
Gabriel MABILLE
6ffd4a23de
Team: Support sort
query param for teams search endpoint ( #75622 )
...
* Teams: Implement backend sorting
* Add docs
* Make name ordering case insensitive
* lint
* Fix no lowercasing on memberCount
* Add test to double check the filters or correctly OrderBy
2023-09-28 18:20:51 +03:00
Ashley Harrison
a2964731eb
Navigation: Change dashboard settings to use tabs when dockedMegaMenu
is enabled ( #75463 )
...
* kinda working
* return to selected parents
* feature toggle everything
* fix toggling of annotations
* use Trans instead of Text
* kick drone
2023-09-28 16:15:00 +01:00
Jack Baldry
0577c5c8e5
Revert "Remove duplicate "Legend values" heading" ( #75659 )
...
Revert "Remove duplicate "Legend values" heading (#75614 )"
This reverts commit 030e891b3f
.
2023-09-28 16:02:13 +01:00
Ashley Harrison
1c1639b0d8
Chore: Remove .linguirc ( #75658 )
...
* pretty sure we replaced lingui with i18next so this can go
* remove it from CODEOWNERS as well
2023-09-28 17:54:34 +03:00
Aaron Sanders
9e78907233
OpenAI: Avoid two streams to overlap when doing multiple requests ( #75504 )
...
Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com>
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2023-09-28 17:42:56 +03:00
Misi
4551de148c
Docs: Add SameSite troubleshooting to SAML docs ( #75590 )
...
* Add SameSite troubleshooting to SAML docs
* Update docs/sources/setup-grafana/configure-security/configure-authentication/saml/index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
---------
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2023-09-28 16:37:41 +02:00
Karl Persson
fd2235b5ad
AuthN: Implement requester interface for identity ( #75618 )
...
* AuthN: Implement identity.Requester interface for authn.Identity
* AuthN: Replace OrgRole with GetOrgRole
* IDForwarding: skip converting to SignedInUser
* Pass identity directly in permission sync hook
2023-09-28 16:37:32 +02:00
Torkel Ödegaard
2fe4ecde19
DataSourceAPI: Add adhoc filters to DataQueryRequest and make it not depend on global templateSrv ( #75552 )
...
* DataSourceAPI: Add adhoc filters to DataQueryRequest and some methods to make it not depend on global templateSrv
* Minor tweaks/fixes
* Renamed to filters
* Fix test
* Log deprecation warning
* I give up
2023-09-28 16:28:58 +02:00
otilor
6ff767a6bb
i18n: Add translation for json editor settings ( #75549 )
...
* add translation for json editor settings
* add different translations
* update translation
* update pseudo locale
* update locales
* Use Trans and new i118n key
* add psuedo locale translations
* Update public/locales/pseudo-LOCALE/grafana.json
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Update public/locales/en-US/grafana.json
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
* Update public/app/features/dashboard/components/DashboardSettings/JsonEditorSettings.tsx
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
---------
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-09-28 15:24:50 +01:00
Sonia Aguilar
169c5262a5
Alerting: Add Modify export feature for Grafana-managed alert rules ( #75114 )
...
* Initial POC for modified rule expor
* Add rule and group export options to modified export
* Add feature toggle for modifier export
* Rename GrafanaRuleDesigner to ModifyExportRuleForm to identify it easily as a rule form
* Refactor naming and folder for RuleDesigner => ModifyExport
* Don't render more action drop-down button when no more actions are allowed
* Redirect cancel button to alert list view
* Fix modify export page being reloaded correctly without errors
* Fix test
* Protect modify-export route when toggle-feature is not enabled
* Fix css betterer error
* Address pr review coments
---------
Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com>
2023-09-28 16:07:45 +02:00
Orgad Shaneh
b0b2158dea
Chore: Update ubuntu image to 22.04 ( #70719 )
2023-09-28 08:48:41 -05:00
Fabrizio
5fae64ccbe
Properly manage trigger chars with open editor box ( #75461 )
2023-09-28 15:48:18 +02:00
Jack Baldry
030e891b3f
Remove duplicate "Legend values" heading ( #75614 )
...
* Remove second "Legend values" heading
I'm not honestly sure if this is the correct choice but there are two "Legend values" in the current document because the shared page "visualizations/legend-mode.md" has that heading.
I'm assuming because of the use of the shared page, that the information there is preferred.
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Prefer alternative text
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
---------
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-09-28 13:41:21 +00:00
Fabrizio
b1bc379a5c
Tempo: Use timezone of selected range for timestamps ( #75438 )
...
* Use timezone of selected range for timestamps
* Fix tests
2023-09-28 14:05:47 +01:00
Jack Baldry
92e0a986da
Add alias to redirect /docs/grafana/latest/variables/templates-and-variables/ identified as missing by the website crawl ( #75627 )
...
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2023-09-28 13:04:07 +01:00
Jack Baldry
48899eec94
Fix Cloudwatch data source link ( #75624 )
...
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2023-09-28 13:03:33 +01:00
Jack Baldry
7255b97d73
Fix Grafana Enterprise link ( #75623 )
...
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2023-09-28 13:03:23 +01:00
Torkel Ödegaard
6e246a5fd2
Breadcrumbs: Remove logic that is no longer needed ( #75263 )
2023-09-28 13:47:04 +02:00
Sergey Kostrukov
3ee40d3a5a
Azure: Settings for Azure AD Workload Identity ( #75283 )
...
* Settings for Azure AD Workload Identity
* Update dependency on Grafana Azure SDK
* Documentation
* Fix JS code
* Cleanup Prometheus backend code
* Making prettier happy
2023-09-28 12:05:16 +01:00
Gabriel MABILLE
969e6a17ba
Plugins: Rename oauth package to auth ( #75611 )
...
* Plugins: Rename oauth package to auth
* Missed one comment
2023-09-28 12:18:09 +02:00
michiboo
bfdcfa8cc3
I18n: Mark up explore/table for translations ( #74368 )
...
* added Internationalization to table container
* reduce level for label of explore table
* lint
* restore translations
* refactor getTableTitle logic to not require duplicate t phrases
* Update public/app/features/explore/Table/TableContainer.tsx
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
---------
Co-authored-by: Deepali Gupta <90255953+Deepali1211@users.noreply.github.com>
Co-authored-by: joshhunt <josh@trtr.co>
Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com>
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
2023-09-28 12:51:37 +03:00
David Harris
f9edaa5d78
docs: update angular alternatives ( #75184 )
...
* docs: update angular alternatives
* Update docs/sources/developers/angular_deprecation/angular-plugins.md
Co-authored-by: Joseph Perez <45749060+josmperez@users.noreply.github.com>
---------
Co-authored-by: Joseph Perez <45749060+josmperez@users.noreply.github.com>
2023-09-28 10:48:49 +01:00
Joao Silva
8eadc94d3e
Subpath: On stripBaseFromUrl, check if the segmentToStrip is followed by a '/' otherwise dont replace it ( #75559 )
2023-09-28 10:23:53 +01:00
Gabriel MABILLE
96cbe70b14
User: Support sort
query param for user and org user, search endpoints ( #75229 )
...
* User: Add sort option to user search
* Switch to an approach that uses the dashboard search options
* Cable user sort on the org endpoint
* Alias user table with u in org store
* Add test and cover orgs/:orgID/users/search endpoint
* Add test to userimpl store
* Simplify the store_test with sortopts.ParseSortQueryParam
* Account for PR feedback
* Positive check
* Update docs
* Update docs
* Switch to ErrOrFallback
Co-authored-by: Karl Persson <kalle.persson@grafana.com>
---------
Co-authored-by: Karl Persson <kalle.persson@grafana.com>
2023-09-28 10:16:18 +02:00
Gabriel MABILLE
4563fc48af
FeatureToggle: Add a feature toggle for automatic service account and token setup ( #75560 )
...
Add a feature toggle for automatic service account and token setup
2023-09-28 09:26:37 +02:00
Karl Persson
b9b4246432
IDForwarding: Add auth hook to generate id token ( #75555 )
...
* AuthN: Move identity struct to its own file
* IDForwarding: Add IDToken property to usr and identity structs and add GetIDToken to requester interface
* Inject IDService into background services
* IDForwarding: Register post auth hook when feature toggle is enabled
2023-09-28 09:22:05 +02:00