f9df1f3051
Docs: Plugins doc reorganization, part 1 ( #69864 )
...
* 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
c0a1fc2cbd
SQL Datasources: Reinstate SQL data source behavior around database selection when default configured databases already exist ( #65659 )
...
* badlm0mma/sql_datasource_update/ initial notes
* baldm0mma/sql_datasource_update/ solution
* baldm0mma/sql_datasource_update/ clean datasetSelector
* baldm0mma/sql_datasource_update/ clean up queryEditor.tsx
* baldm0mma/sql_datasource_update/ clewan up queryHeader.tsx
* baldm0mma/sql_datasource_update/ clean up tableSelector.tsx
* baldm0mma/sql_datasource_update/ clean up mysqlDatasource.ts
* baldm0mma/sql_datasource_update/ clean up configurationEditor.tsx
* baldm0mma/sql_datasource_update/ rem conlog from queryEditor.tsx
* baldm0mma/sql_datasource_update/ rem conlog from queryEditor.tsx
* baldm0mma/sql_datasource_update/ remove conlog in tableSelector.tsx
* baldm0mma/sql_datasource_update/ rem conlog in sqlDatasource.ts
* baldm0mma/sql_datasource_update/ update deafult database value in sqlDatasource.ts
* baldm0mma/sql_datasource_update/ update logic to accomidate no preconfig
* baldm0mma/sql_datasource_update/ update props
* baldm0mma/sql_datasource_update/ update prop names
* baldm0mma/sql_datasource_update/ update prop names in tableSelector
* baldm0mma/sql_datasource_update/ update annos in datasetSelector
* baldm0mma/sql_datasource_update/ update naming
* baldm0mma/sql_datasource_update/ update to standard langauae
* baldm0mma/sql_datasource_update/ update prop names
* baldm0mma/sql_datasource_update/ update annos in datasetSelector
* baldm0mma/sql_datasource_update/ remove unused import in tableSelector.tsx
* baldm0mma/sql_datasource_update/ remove addDefaultdataset
* baldm0mma/sql_datasource_update/ reset query when needed
* baldm0mma/sql_datasource_update/ update asymc return val
* baldm0mma/sql_datasource_update/ remove psql query editor
* baldm0mma/sql_datasource_update/ remove con logs in defaults.ts
* baldm0mma/sql_datasource_update/ revert postgres changes
* baldm0mma/sql_datasource_update/ update postgres naming
* baldm0mma/sql_datasource_update/ add altert
* baldm0mma/sql_datasource_update/ update annos and add alerts and alert logic
* baldm0mma/sql_datasource_update/ update postgres nomenclature
* baldm0mma/sql_datasource_update/ update annos and remove con logs
* baldm0mma/sql_datasource_update/ update nomenclature
* baldm0mma/sql_datasource_update/ drone fix
* baldm0mma/sql_datasource_update/ export and format
* baldm0mma/sql_datasource_update/ update docs for mysql datasource with dataset dropdown disable info
* baldm0mma/sql_datasource_update/ update mssql docs
* baldm0mma/sql_datasource_update/ update postgres docs and alert logic
* baldm0mma/sql_datasource_update/ add tests
* baldm0mma/sql_datasource_update/ update docs
* baldm0mma/sql_datasource_update/ update test names
* baldm0mma/sql_datasource_update/ update alert language
* baldm0mma/sql_datasource_update/ correct spelling
* baldm0mma/sql_datasource_update/ update postgres query builder image
* baldm0mma/sql_datasource_update/ update annos
* baldm0mma/sql_datasource_update/ update tests
* baldm0mma/sql_datasource_update/ docs updated
* baldm0mma/sql_datsource_update/ refactor determinePlaceholder
* Update public/app/features/plugins/sql/components/QueryEditor.tsx
spelling
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
* Update public/app/features/plugins/sql/components/QueryEditor.tsx
spelling
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
* baldm0mma/sql_datasource_update/ remove superfluous cleanup data from tests
* baldm0mma/sql_datasource_update/ update spelling
* Update public/app/features/plugins/sql/components/SqlComponents.test.tsx
spelling
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
* baldm0mma/sql_datasource_update/ add logic to prevent db call for tables if dataset it nullish
* baldm0mma/sql_datasource_update/ update alert tests
* baldm0mma/sql_datasource_update/ update button text
* baldm0mma/sql_datasource_update/ update tests to preferred standard
* baldm0mma/sql_datasource_update/add feature flag
* baldm0mma/sql_datasource_update/ update mssql docs
* baldm0mma/sql_datasource_update/ add feature flag to registry
* baldm0mma/sql_datasource_update/ adjust table and dataset dropdown logic
* baldm0mma/sql_datasource_update/ update testing to deal with feature flag
* baldm0mma/sql_datasource_update/ update wioth cascadeDisable
* baldm0mma/sql_datasource_update/ update naming
* baldm0mma/sql_datasource_update/ update tests to reflect enabled feature flag
* baldm0mma/sql_datasource_update/ update annotations
* baldm0mma/sql_datasource_update/ update annos in queryEd
* baldm0mma/sql_datasource_update/ update test names
* baldm0mma/sql_datasource_update/ update anno issues
* baldm0mma/slq_datasource_update/ add query to sqlDatasource with error
* baldm0mma/sql_datasource_update/ update docs language
* baldm0mma/sql_datasource_update/ remove notes to self
* baldm0mma/sql_datasource_update/ add QueryEditorFeatureFlag.utils.ts
* baldm0mma/sql_datasource_update/ update database into json
* baldm0mma/sql_datasource_update/ found file
* Update docs/sources/datasources/mssql/query-editor/index.md
Co-authored-by: lwandz13 <126723338+lwandz13@users.noreply.github.com>
* baldm0mma/sql_datasource_update/ update feature flag and toggles
* baldm0mma/sql_datasource_update/ add hasConfigIssue, update annos, rethink disable logic
* baldm0mma/sql_datasource_update/ update warning language
* baldm0mma/sql_datasource_update/ update button content
* baldm0mma/sql_datasource_update/ update jsonData logic in frontendsettings.go
* baldm0mma/sql_datasource_update/ update jsonData logic
* baldm0mma/sql_datasource_update/ update annos in frontendsettings.go
* baldm0mma/sql_datasource_update/ update sql editor docs
* baldm0mma/sql_datasource_update/ update mysql docs
* baldm0mma/sql_datasource_update/ update postgres docs
* baldm0mma/sql_datasource_update/ remove unused code in datasetSelector.tsx
* baldm0mma/sql_datasource_update/ update syntax conventions
* baldm0mma/sql_datasource_update/ add logs
* baldm0mma/sql_datasource_update/ remove unused code
* baldm0mma/sql_datasource_update/ remove conlogs
* baldm0mma/sql_datasource_update/ update tests
* baldm0mma/sql_datasource_update/ add second error to query
* baldm0mma/sql_datasource_update/ run make gen-cue
* baldm0mma/sql_database_update/ lint registry
* baldm0mma/sql_datasource_update/ update registry
* baldm0mma/sql_datasource_update/ upate datasource logic
* baldm0mma/sql_datasource_update/ add logs
* baldm0mma/sql_datasource_update/ add comms to self
* baldm0mma/sql_datasource_update/ comment out false pos tests, and add investigatory comments
* baldm0mma/sql_database_update/ update query error to only test for config change if query was made in "builder" mode
* baldm0mma/sql_datasource_update/ update annos in frontendsettings.go
* baldm0mma/sql_datasource_update/ update error logic to datasource
* baldm0mma/sql_datasource_update/ remove alerts from query editor
* baldm0mma/sql_datasource_update/ remove unused imports
* baldm0mma/sql_datasource_update/ update tests
* baldm0mma/sql_datasource_update/ remove comments
* baldm0mma/sql_datasource_update/ remove logs in queryGroup.tsx
* baldm0mma/sql_datasource_update/ remove outdated annotation in datasetSelector.tsx
* baldm0mma/sql_datasource_update/ remove superfluous test and update test description
* baldm0mma/sql_datasource_update/ remove feature flag
* baldm0mma/sql_datasource_update/ add back feature flag
* baldm0mma/sql_datasource_update/ update to enums
* baldm0mma/sql_datasource_update/ update panel caps
* baldm0mma/sql_datasource_update/ update dataset selector to default update the database correctly
* baldm0mma/sql_datasource_update/ move onChange into conditional
* baldm0mma/sql_datasource_update/ add logic for previous datasets choice
* baldm0mma/sql_datasource_update/ add back previous logic for assigning default datasets
* baldm0mma/sql_datasource_update/ update useEffect dep array
* baldm0mma/sql_datasource_update/ remove feature toggle
* baldm0mma/sql_datasource_update/ add feature toggle
---------
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
Co-authored-by: lwandz13 <126723338+lwandz13@users.noreply.github.com>
2023-06-06 10:28:52 -06:00
6758fd4888
MySQL: Add option to allow cleartext passwords ( #63232 )
...
* Add "Allow Cleartext Passwords" checkbox to MySQL connection settings
* Fix lint issues
* Add docs
* Add line break and bold text
---------
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2023-05-26 12:33:55 +02:00
1c4bb9ca00
[feat] docs; update admonition syntax ( #68842 )
...
* [feat] docs; update admonition syntax
- Standardizes according to style conventions: https://grafana.com/docs/writers-toolkit/style-guide/style-conventions/#admonitions
- Prepares docs for better, uniform admonition style.
* Remove false positives and irregularities
* false positive removal
* Update docs/sources/datasources/mysql/_index.md
* Update docs/sources/developers/angular_deprecation/angular-plugins.md
* fix link errors
* Prettify some nested blockquotes
* remoe unnecessary admonition
2023-05-22 15:45:28 -05:00
a5e3157540
Docs: Fix help docs for SQL datasources ( #66749 )
...
Fix example queries for SQL datasources
2023-04-25 14:05:49 +02:00
92d92187d9
SQL Datasources: Update Max Connection and Max Idle Connection Defaults to 100 and add auto mode ( #65834 )
...
* Update connection configuration for SQL datasources
* Working auto state for connection numbers
* Add migration
* Use defaults from constants file
* Remove dead code
* Add tests and restructure useMigrateDatabaseField
* Update function names
* Update docs
* Make sure we don't continually issue updates
* Update docs
* Use onOptionsChnage in ConnectionLimits
* Update docs
* Clean up docs
* Update migration
* Fix default values in docs
* Fix spacing issue
* Fix test
* Update default values for SQL connections
* Include consts
* Allow override for default SQL datasource connection parameters
* Fix linter errors
* Remove extra @ts-ignore
* Centralize logic for default values
* Remove debugging
* Remove unecessary function
* Update configuration docs
* minor suggested change
* Fix comment misspelling
* Remove unecessary default setting code
* Update docs to indicate that code was included for backport version
* Remove dead code
---------
Co-authored-by: lwandz13 <larissa.wandzura@grafana.com>
2023-04-17 11:44:05 +03:00
ea6aedd10a
docs: nav updates for data sources ( #65873 )
...
* navigation related text updates
* fixed lead-in sentences and indented config options as part of steps
* updated azure managed identity image
* Apply suggestions from code review
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
---------
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2023-04-03 15:45:28 -05:00
09f71a6901
MySql Datasource: Improve Tooltips and Documentation ( #64122 )
...
* Add tooltips to Skip TLS and TLS Auth
* Update docs with provisioning examples
2023-03-09 19:50:07 +07:00
62c30dea4d
MySQL: Quote identifiers that include special characters ( #61135 )
...
* SQL: toRawSQL required and escape table
* Fix autocomplete for MySQL
* Change the way we escape for builder
* Rework escape ident to be smart instead
* Fix A11y for alias
* Add first e2e test
* Add test for code editor
* Add doc
* Review comments
* Move functions to sqlUtil
2023-01-31 18:16:28 +01:00
d65899de7b
SQL Datasources: Move database setting to jsonData ( #58649 )
...
* Datasource settings: Add deprecation notice for database field
* SQL Datasources: Migrate from settings.database to settings.jsonData.database
* Check jsonData first
* Remove comment from docs
2022-12-13 09:56:52 +01:00
c1c48dd610
Use relative aliases for all non-current Grafana aliases ( #60062 )
...
* Use relative aliases for all non-current Grafana aliases
Prevents non-latest documentation "stealing" the page away from latest
and through permanent redirects for latest pages that no longer exist.
The redirected pages are indexed by search engines but our robots.txt
forbids them crawling the non-latest page.
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Remove aliases from shared pages
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Rewrite all current latest aliases to be next
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Fix typo in latest alias
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Remove all current page aliases
find docs/sources -type f -name '*.md' -exec sed -z -i 's#\n *- /docs/grafana/next/[^\n]*\n#\n#' {} \;
find docs/sources -type f -name '*.md' -exec sed -Ez -i 's#\n((aliases:\n *-)|aliases:\n)#\n\2#' {} \;
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Prettier
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2022-12-09 12:36:04 -04:00
852d069a3c
Docs: Refactor data sources content ( #57573 )
...
* Docs: Revise data source index
* Docs: Consolidate data source administration docs
* Docs: Revise panels docs related to data sources
* Docs: Revise Alertmanager data source
* Docs: Reorganize AWS CloudWatch data source docs
* Docs: Reorganize Azure Monitor data source docs
* Docs: Move azuremonitor to azure-monitor
* Docs: Revise Elasticsearch docs
* Docs: Move Elasticsearch index into bundle
* Docs: Revise GCM docs
* Docs: Revise Graphite docs
* Docs: Move Graphite index into bundle
* Docs: Revise InfluxDB docs
* Docs: Revise Jaeger docs
* Docs: Move Jaeger index into bundle
* Docs: Revise Loki docs
* Docs: Move Loki index into bundle
* Docs: Revise MS SQL docs
* Docs: Move MS SQL index into bundle
* Docs: Revise Prometheus docs
* Docs: Move Prometheus index into bundle
* Docs: Revise Tempo docs
* Docs: Move Tempo index into bundle
* Docs: Revise TestData DB docs
* Docs: Move TestData DB index into bundle
* Docs: Revise Zipkin docs
* Docs: Move Zipkin index into bundle
* Docs: Move other data sources' index pages into bundles
* Docs: Revise frontmatter
* Fixing hugo markdown errors
* Docs: Add query editor and template var sections to overview doc
* Docs: Remove CTAs across data source docs
* Docs: Remove CTA
* Docs: Remove CTA
* Docs: Fix links, images, typos, and usage consistency.
* Docs: Fix typos
* Docs: Fix CI issues
* Update docs/sources/datasources/_index.md
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
* Update docs/sources/datasources/_index.md
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
* Docs: Fix query editor links
* Update docs/sources/panels-visualizations/_index.md
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
* Update docs/sources/panels-visualizations/_index.md
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
* Docs: Rebundle child pages per writers' toolkit
* Docs: Fix prettier for CI
* Docs: Fix relrefs from outside data sources docs
* Docs: Fix broken relrefs within datasources
* Docs: Fix relrefs to data sources docs
* Fixed some more refs
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2022-11-01 10:22:06 -05:00