Azure: Add support for custom namespace and custom metrics variable queries (#99279)
* Add custom metric namespace and metric name queries
* Fix outdated type
* Support specifying custom
- Add custom support to getMetricNamespaces
- Ensure the customNamespace is specified in getMetricNames calls
* Update data source tests
* Support custom namespace/metrics variable queries
- Add tests
* Add fields to variable editor
- Update tests
- Update docs
- Update selectors
* Remove unneeded Promise.resolve
* Add comment
* Don't mutate expected path
* Lint
* Update docs/sources/datasources/azure-monitor/template-variables/index.md
Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com>
* Update docs/sources/datasources/azure-monitor/template-variables/index.md
Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com>
* Update docs
* Update conditionals
* Lint
---------
Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com>
(cherry picked from commit e01d8ad5b5)
# Conflicts:
# pkg/tsdb/azuremonitor/kinds/dataquery/types_dataquery_gen.go