grafana/pkg
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
..
api Plugins: Fs: Add option to access unallowed files in dev mode (#66492) 2023-04-27 10:26:15 +02:00
build Build: Add optional build-args for COMMIT_SHA and BUILD_BRANCH (#66672) 2023-04-18 10:03:27 -03:00
bus Chore: Fix goimports grouping in other backend platform packages (#62422) 2023-01-30 08:26:42 +00:00
cmd Plugins: Simplify plugin file removal (#66115) 2023-04-20 11:52:59 +02:00
codegen Chore: Remove CRD generation (#67286) 2023-04-26 09:52:13 -04:00
components ApiKeyGenPrefix: rename package (#65623) 2023-03-30 17:04:10 +02:00
cuectx extract kindsys to external library (#64562) 2023-03-15 12:04:28 -04:00
events Alerting: Update rules version when folder title is updated (#53013) 2022-08-01 19:28:38 -04:00
expr Expressions/threshold: Fix incorrect thresholds args length (#66859) 2023-04-20 05:42:34 -04:00
extensions Deps: Replace go-jose v2 with go-jose v3 (#64228) 2023-03-06 15:12:51 +01:00
ifaces/gcsifaces Chore: Upgrade Go to 1.19.1 (#54902) 2022-09-12 12:03:49 +02:00
infra Chore: Remove opentracing and use opentelemetry instead (#67200) 2023-04-27 15:04:43 +02:00
kinds Chore: Remove CRD generation (#67286) 2023-04-26 09:52:13 -04:00
kindsysreport Chore: Fix times in schemas (#64906) 2023-03-21 10:42:19 +01:00
login Auth: Make GitHub auth's allowed_organizations be case insensitive (#66879) 2023-04-20 12:36:22 +02:00
middleware CSRF middleware: Add flag to skip login cookie check (#66806) 2023-04-24 10:11:08 -03:00
mocks/mock_gcsifaces Chore: Fix goimports grouping in other backend platform packages (#62422) 2023-01-30 08:26:42 +00:00
models Auth: Add feature flag to move token rotation to client (#65060) 2023-03-23 14:39:04 +01:00
modules Chore: Add initial support for deployment modes (#63992) 2023-03-06 14:06:52 -05:00
plugins Plugins: Fs: Add option to access unallowed files in dev mode (#66492) 2023-04-27 10:26:15 +02:00
registry Chore: Remove CRD generation (#67286) 2023-04-26 09:52:13 -04:00
server Chore: Use KVStore for the manifest public key (#66839) 2023-04-25 13:01:49 +02:00
services Chore: Remove opentracing and use opentelemetry instead (#67200) 2023-04-27 15:04:43 +02:00
setting Chore: Remove test type app mode (#66987) 2023-04-26 08:30:57 -07:00
tests Trend: Promote to beta (#67323) 2023-04-26 14:34:51 -07:00
tsdb Prometheus: Configuration page overhaul (#66198) 2023-04-27 09:43:54 -04:00
util Proxy: Improve header handling for reverse proxy (#67279) 2023-04-27 13:30:11 +02:00
web Alerting: Add limits and filters to Prometheus Rules API (#66627) 2023-04-17 17:45:06 +01:00
README.md Chore: Move all backend contribution documents to a single directory (#61140) 2023-01-11 11:16:52 +01:00
ruleguard.rules.go Chore: update all +build statements (#38782) 2021-09-01 17:38:56 +03:00

This directory contains the code for the Grafana backend.

The contributor documentation for Grafana's backend is in /contribute/backend/README.md.