grafana/public/app/plugins/datasource
Brendan O'Handley 0a9240aeba
Prometheus: Configuration page overhaul (#66198)
* organize layout, make design uniform, add doc link

* fix e2e test

* move overhauled config parts into prometheus code

* update tooltips with doc links

* clean component styles for section padding, top and bottom 32px

* make additional settings subsection headers h6

* use secondary gray for section descriptions

* fix merge issues

* change inlineswitch to switch only in prom settings because the other components are shared

* remove legacy formfield and input, replace with inlinefield and input from grafana-ui

* find more formfield and UI design fixes like changing inlineformlabel to inlinefield

* remove unused inline form label

* replace legacy duration validations with <FieldValidationMessage>

* fix styles secondary gray from theme

* change language, headings and datasource -> data source

* update alert setting styles with new component

* update prom url heading and tooltip

* update default editor tooltip and set builder as default editor

* update interval tooltip

* update prom type tooltip

* update custom query params tooltip

* update exemplar internal link tooltip

* fix inline form styling inconsistency

* allow for using the DataSourceHTTPSettings component without the connection string

* remove overhaul component, re-use dshtttps comp, and use connection input in config editor

* make tooltips interactive to click links

* consistent label width across the elements we can control for now, fix exemplar switch

* make connection url a component

* refactor onBlur validation

* remove unused component

* add tests for config validations

* add more meaningful health check

* fix e2e test

* fix e2e test

* fix e2e test

* add error handling for more url errors

* remove unnecessary conversion

* health check tests

* Clean up the health check

* health check unit tests

* health check unit tests improved

* make pretty for drone

* lint check go

* lint check go

* add required attr to connection component

* Update public/app/plugins/datasource/prometheus/configuration/Connection.tsx

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>

* fix read only issue for provisioned datasources

* validate multiple durations for incremental query setting

* use sentence case for headers

* use className consistently for styles

* add tests for url regex

* remove console logs

* only use query as healthcheck as the healthy api is not supported by Mimir

* fix exemplar e2e test

* remove overhaul prop from custom headers setting component

* remove connection section and use DatasourceHttpSettings connection with custom label and interactive tooltip

* add spaces back

* spaces

---------

Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2023-04-27 09:43:54 -04:00
..
alertmanager Plugins: Remove secure socks proxy feature toggle (#66611) 2023-04-18 11:11:23 -06:00
azuremonitor AzureMonitor: Update ARG Subscription selection (#66890) 2023-04-21 10:59:40 +01:00
cloud-monitoring Plugins: Remove secure socks proxy feature toggle (#66611) 2023-04-18 11:11:23 -06:00
cloudwatch CloudWatch: Deprecate dynamic labels feature toggle, remove support for Alias in backend (#66494) 2023-04-27 11:19:45 +02:00
dashboard [Under FF] New DS Picker with advance mode (#66566) 2023-04-19 16:08:09 +03:00
elasticsearch Elasticsearch: Deprecate index setting for annotation queries (#67046) 2023-04-24 17:02:55 +02:00
grafana Datagrid: Switch to panel context update (#67221) 2023-04-26 15:43:20 +03:00
graphite Graphite: Variable editor add definition to onChange (#66895) 2023-04-25 10:23:23 -04:00
influxdb FieldValues: Use plain arrays instead of Vector (part 3 of 2) (#66612) 2023-04-20 17:59:18 +03:00
jaeger Plugins: Remove secure socks proxy feature toggle (#66611) 2023-04-18 11:11:23 -06:00
loki Loki: Fix margin in Log Context (#67299) 2023-04-27 12:44:16 +02:00
mixed [Under FF] New DS Picker with advance mode (#66566) 2023-04-19 16:08:09 +03:00
mssql FieldValues: Use plain arrays instead of Vector (part 3 of 2) (#66612) 2023-04-20 17:59:18 +03:00
mysql Docs: Fix help docs for SQL datasources (#66749) 2023-04-25 14:05:49 +02:00
opentsdb Plugins: Remove secure socks proxy feature toggle (#66611) 2023-04-18 11:11:23 -06:00
parca Plugins: Remove secure socks proxy feature toggle (#66611) 2023-04-18 11:11:23 -06:00
phlare Phlare: ability to set maxNodes parameter (#67017) 2023-04-27 10:50:11 +02:00
postgres Docs: Fix help docs for SQL datasources (#66749) 2023-04-25 14:05:49 +02:00
prometheus Prometheus: Configuration page overhaul (#66198) 2023-04-27 09:43:54 -04:00
tempo Tempo: Add kind to TraceQL intrinsics (#65111) 2023-04-24 14:11:28 +01:00
testdata FieldValues: Use standard array functions (#67012) 2023-04-20 22:03:38 -07:00
zipkin Plugins: Remove secure socks proxy feature toggle (#66611) 2023-04-18 11:11:23 -06:00