grafana/pkg/tsdb
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
..
azuremonitor AzureMonitor: Correct series name accounting for dimensions (#67050) 2023-04-21 19:24:23 +01:00
cloudmonitoring Google Cloud Monitoring: Fix project variable (#66524) 2023-04-14 15:11:25 +00:00
cloudwatch CloudWatch: Deprecate dynamic labels feature toggle, remove support for Alias in backend (#66494) 2023-04-27 11:19:45 +02:00
elasticsearch Elasticsearch: Move response parsing tests to 1 file (#67288) 2023-04-26 18:21:04 +02:00
grafanads Chore: Rename Id to ID in alerting models (#62777) 2023-02-02 17:22:43 +01:00
graphite Chore: Upgrade golangci-lint to v1.51.2 (#63630) 2023-02-23 15:10:03 +01:00
influxdb Chore: Use latest go-sdk (v0.158.0) (#66054) 2023-04-05 21:00:31 +03:00
intervalv2 Refactor time durations (#58484) 2022-11-22 15:09:15 +08:00
legacydata Plugins: Migrate plugincontext, adapters and pluginsettings to pkg/services/pluginsintegration package (#64154) 2023-03-07 11:22:30 -05:00
loki Loki: Remove alpha feature toggle lokiDataframeApi (#65918) 2023-04-13 15:22:09 +02:00
mssql Plugins: Remove secure socks proxy feature toggle (#66611) 2023-04-18 11:11:23 -06:00
mysql Plugins: Remove secure socks proxy feature toggle (#66611) 2023-04-18 11:11:23 -06:00
opentsdb Chore: Upgrade golangci-lint to v1.51.2 (#63630) 2023-02-23 15:10:03 +01:00
parca Schema: Remove key from root DataQuery type (#64467) 2023-03-08 16:52:31 -05:00
phlare Phlare: ability to set maxNodes parameter (#67017) 2023-04-27 10:50:11 +02:00
postgres Plugins: Remove secure socks proxy feature toggle (#66611) 2023-04-18 11:11:23 -06:00
prometheus Prometheus: Configuration page overhaul (#66198) 2023-04-27 09:43:54 -04:00
sqleng SQL Datasources: Update Max Connection and Max Idle Connection Defaults to 100 and add auto mode (#65834) 2023-04-17 11:44:05 +03:00
tempo Tempo: TraceQL Configurable static fields (#65284) 2023-03-31 10:35:37 +01:00
testdatasource Live: Remove (alpha) ability to configure live pipelines (#65138) 2023-03-22 20:09:44 +02:00