grafana/pkg
Brendan O'Handley 9b6e531549
Prometheus: Metric encyclopedia (#63423)
* add metric encyclopedia feature toggle and component

* remove unused button

* move file, add test file

* add tests

* add pagination and tests

* test with 10,000,000 metrics

* remove unused import

* add filter by type

* search alphabetically and add switch to exclude metrics with no metadata

* add suggested functions and filter for functions

* allow user to select variables in encyclopedia

* fix style and tests

* add fuzzy search by either metric name or all metadata

* if missing metadata, remove metadata fuzzy search option, exclude metadata, and filter by type

* add encyclopedia feature tracking

* indicate that metrics are filtered by labels

* handle metric singular or plural

* add tooltips and fix language

* add filtering tests

* change 'search' to 'browse'

* remove functions filter and tests as not part of work flow

* add m.e. button and selected metric is a tag

* fix hanging search and update styles, padding, labels, and groupings

* small performance improvements

* fix tests

* add backend metrics query option

* add loading spinner for start load and backend search

* autofocus search input

* Update docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>

* run prettier

* run prettier

* fix text for feature toggle

* for license check since https://cla-assistant.io/check/grafana/grafana?pullRequest=<PR#> is not working

* fixing tests

* fix feature toggle docs

* fix feature toggle

* fix feature toggle

* add owner to feature toggle

---------

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2023-03-07 13:41:05 -05:00
..
api Plugins: Migrate plugincontext, adapters and pluginsettings to pkg/services/pluginsintegration package (#64154) 2023-03-07 11:22:30 -05:00
build Docker Build: Use tonistiigi/binfmt image for cross compilation (#64108) 2023-03-03 10:44:54 +01:00
bus Chore: Fix goimports grouping in other backend platform packages (#62422) 2023-01-30 08:26:42 +00:00
cmd Plugins: Migrate plugincontext, adapters and pluginsettings to pkg/services/pluginsintegration package (#64154) 2023-03-07 11:22:30 -05:00
codegen Codegen: Render disjunctions in docs (#63590) 2023-03-03 17:48:25 +01:00
components Loki: Push support for multi-tenancy mode (#60866) 2023-01-23 16:24:22 +01:00
cuectx kindsys: Fix CUE code generation on Windows (#62812) 2023-02-02 15:06:55 -05:00
events Alerting: Update rules version when folder title is updated (#53013) 2022-08-01 19:28:38 -04:00
expr Plugins: Migrate plugincontext, adapters and pluginsettings to pkg/services/pluginsintegration package (#64154) 2023-03-07 11:22:30 -05: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: Add stat for remote cache config (#64276) 2023-03-07 09:24:04 -05:00
kinds Chore: Update oapi-codegen library (#62962) 2023-02-21 12:34:24 +01:00
kindsys Regen cue after conflicting heatmap/table migrations (#63956) 2023-03-01 11:54:10 -05:00
login AuthN: Login error handling (#64239) 2023-03-07 09:57:25 +01:00
middleware Plugins: Fix Cache-Control header response for public/plugins/* assets API (#64051) 2023-03-06 12:42:18 -05:00
mocks/mock_gcsifaces Chore: Fix goimports grouping in other backend platform packages (#62422) 2023-01-30 08:26:42 +00:00
models Chore: Move library elements models to library elements service (#62507) 2023-02-01 17:32:05 +01:00
modules Chore: Add initial support for deployment modes (#63992) 2023-03-06 14:06:52 -05:00
plugins Plugins: Migrate plugincontext, adapters and pluginsettings to pkg/services/pluginsintegration package (#64154) 2023-03-07 11:22:30 -05:00
registry Schemas: Generate CRDs for core kinds (#62641) 2023-02-01 09:08:26 -08:00
server Plugins: Migrate plugincontext, adapters and pluginsettings to pkg/services/pluginsintegration package (#64154) 2023-03-07 11:22:30 -05:00
services Prometheus: Metric encyclopedia (#63423) 2023-03-07 13:41:05 -05:00
setting Chore: Add initial support for deployment modes (#63992) 2023-03-06 14:06:52 -05:00
tests Plugins: Fix Cache-Control header response for public/plugins/* assets API (#64051) 2023-03-06 12:42:18 -05:00
tsdb Plugins: Migrate plugincontext, adapters and pluginsettings to pkg/services/pluginsintegration package (#64154) 2023-03-07 11:22:30 -05:00
util Chore: Remove xorcare/pointer dependency (#63900) 2023-03-06 05:23:15 -05:00
web Chore: Fix goimports grouping (#62423) 2023-01-30 08:25:58 +00: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

This directory contains the code for the Grafana backend.

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