grafana/pkg
Nick Richmond 559fab9dc6
Prometheus: Fuzzy search for metric names in Code Mode (#85396)
* perf: limit metric names in Code Mode suggestions

* feat: configurable metric names limit

* feat: code mode autocomplete info/disclaimer

* chore: put new functionality behind new feature toggle

* refactor: avoid type assertions

* refactor: avoid explicit `any`

refactor: type guards

* refactor: type guards

* chore: add testdata results

* fix: add missing feature toggle guard

* perf: prefer array access to `Array.prototype.at`

* test: add missing config override

* test: refactor for brevity & clarity

* perf: avoid unnecessary mapping

* chore: undo testdata changes

* fix: use correct limit; perf optimizations

* refactor: avoid unnecessary `async`s

* types: simplify

* test: add missing tests

* fix: avoid hardcoding

* test: update mock path

* docs: fix typo

style: remove formatting artifact

style: remove formatting artifact

style: remove formatting artifact

* fix: event scope regression

* style: refactor for clarity

* refactor: prefer `useCallback` to in-effect handler

* refactor: simplify & broaden `filter`

* refactor: rename file to keep with conventions

* chore: mirror Prometheus package changes in app

* refactor: prefer no `@ts-ignore`

* chore: update betterer results

* docs: use type in TSDoc `@link` without `@ts-ignore`

* test: add missing provider

* test: fix jest mock path

* fix: display disclaimer in empty input case
2024-04-04 23:38:23 +03:00
..
api Feature Flags: use FeatureToggles interface where possible (#85131) 2024-04-04 12:22:31 -04:00
apimachinery Chore: Sync go workspace (#84932) 2024-03-21 18:34:40 +02:00
apis Scopes: Add basic integration tests (#85351) 2024-03-29 16:12:28 +02:00
apiserver Storage: Add mode-specific dual writers (#85551) 2024-04-04 14:02:51 +02:00
build Chore: Bump golangci-lint v1.57.1 (#84998) 2024-03-25 15:28:24 +01:00
bus Tracing: Standardize on otel tracing (#75528) 2023-10-03 14:54:20 +02:00
cmd Feature Flags: use FeatureToggles interface where possible (#85131) 2024-04-04 12:22:31 -04:00
codegen Core: Remove thema and kindsys dependencies (#84499) 2024-03-21 11:11:29 +01:00
components Chore: Remove public vars in setting package (#81018) 2024-01-23 12:36:22 +01:00
events Alerting: Update rules version when folder title is updated (#53013) 2022-08-01 19:28:38 -04:00
expr Feature Flags: use FeatureToggles interface where possible (#85131) 2024-04-04 12:22:31 -04:00
extensions Chore: Replace gofpdf (#75805) 2023-10-02 15:32:35 +02:00
generated K8s: update hack codegen script (#81216) 2024-01-25 12:01:09 -08:00
ifaces/gcsifaces Chore: Upgrade Go to 1.19.1 (#54902) 2022-09-12 12:03:49 +02:00
infra Auth: Decouple client and hook registration (#85084) 2024-04-04 09:33:00 +02:00
kinds Schemas: Replace registry generation and github workflow (#83490) 2024-03-13 18:05:21 +02:00
login/social samlsettings: api integration (#84300) 2024-03-25 10:54:45 +01:00
middleware Chore: Remove repetitive words (#84132) 2024-03-11 08:55:18 -04:00
mocks/mock_gcsifaces Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
models Auth: Add empty role definition (#64694) 2023-07-06 15:40:06 +02:00
modules Storage: Unified Storage based on Entity API (#71977) 2023-12-06 15:21:21 -05:00
plugins Plugins: Factory for instantiating core plugin (#85047) 2024-03-25 15:41:26 +01:00
promlib Chore: Upgrade grafana-plugin-sdk-go (#85562) 2024-04-04 08:07:29 +03:00
registry Feature Flags: use FeatureToggles interface where possible (#85131) 2024-04-04 12:22:31 -04:00
server Chore: Replace sqlstore with db interface (#85366) 2024-04-04 15:04:47 +02:00
services Prometheus: Fuzzy search for metric names in Code Mode (#85396) 2024-04-04 23:38:23 +03:00
setting Auth: Extended JWT client for OBO and Service Authentication (#83814) 2024-04-02 17:45:15 +02:00
tests Chore: Replace sqlstore with db interface (#85366) 2024-04-04 15:04:47 +02:00
tsdb CloudWatch: Fix SageMaker MBP namespace typo (#85557) 2024-04-03 15:50:09 -04:00
util Auth: Extended JWT client for OBO and Service Authentication (#83814) 2024-04-02 17:45:15 +02:00
web Image Rendering: Add settings for default width, height and scale (#82040) 2024-02-26 13:27:34 +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.