grafana/pkg
Andreas Christou b779ce5687
AzureMonitor: Improve Log Analytics query efficiency (#74675)
* Promisify loading schema

- Move schema loading to LogsQueryEditor
- Improve typing
- Switch callbacks to promises

* Update types

* Refactor backend for new props

- Rename intersectTime
- Support setting timeColumn
- Add additional properties to logs request body

* Update applyTemplateVariables

* Update set functions

* Add new TimeManagement component

* Update LogsQueryEditor

* Hardcode timestamp column for traces queries

* Ensure timeColumn is always set for log queries

* Update tests

* Update frontend tests

* Readd type to make migration easier

* Add migration

* Add fake schema

* Use predefined type

* Update checks and defaults

* Add tests

* README updates

* README update

* Type update

* Lint

* More linting and type fixing

* Error silently

* More linting and typing

* Update betterer

* Update test

* Simplify default column setting

* Fix default column setting

* Add tracking

* Review

- Fix typo on comment
- Destructure and remove type assertion
- Break out await into two variables
- Remove lets and rename variable for clarity
2023-09-18 18:38:39 +01:00
..
api Plugins: Move store and plugin dto to pluginsintegration (#74655) 2023-09-11 13:59:24 +02:00
build Chore: Upgrade Alpine base image to 3.18.3 (#74984) 2023-09-18 12:44:04 +03:00
bus Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
cmd server target command (#74408) 2023-09-06 13:11:57 -04:00
codegen Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
components Loki: Fix typo in Loki logger error message (#73860) 2023-09-07 15:06:49 -04:00
cuectx Kinds: publish kinds to kind registry (#67515) 2023-06-13 14:01:29 +02:00
events Alerting: Update rules version when folder title is updated (#53013) 2022-08-01 19:28:38 -04:00
expr SSE: Reduce to add warning notice to only the first result (#74940) 2023-09-15 11:07:17 -04:00
extensions Tempo: TraceQL query response streaming (#69212) 2023-07-14 15:10:46 +01:00
ifaces/gcsifaces Chore: Upgrade Go to 1.19.1 (#54902) 2022-09-12 12:03:49 +02:00
infra Tracing: Support remote, rate-limited, and probabilistic sampling in tracing.opentelemetry config section (#73587) 2023-09-11 12:13:29 -04:00
kinds DashboardScene: Repeat panel by variable (#74294) 2023-09-05 13:51:46 +02:00
kindsysreport Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
login Chore: capitalise log message for auth packages (#74332) 2023-09-04 18:49:47 +02:00
middleware Instrumentation: Add status_source label to request metrics/logs (#74114) 2023-09-11 12:13:13 +02: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 Chore: refactor grafana-apiserver a bit (#74177) 2023-08-31 09:12:01 -04:00
plugins Plugins: Angular: Removed getLegacyAngularInjector Angular pattern (#74862) 2023-09-18 11:50:45 +02:00
registry Plugins: Move store and plugin dto to pluginsintegration (#74655) 2023-09-11 13:59:24 +02:00
server Plugins: Move store and plugin dto to pluginsintegration (#74655) 2023-09-11 13:59:24 +02:00
services Navigation: Create feature toggle for dockedMegaMenu (#74985) 2023-09-18 12:57:11 +02:00
setting Feature: Allow to skip plugin loading (#74840) 2023-09-14 12:58:12 +02:00
tests Correlations: Allow creating correlations for provisioned data sources (#73737) 2023-09-13 15:10:09 +02:00
tsdb AzureMonitor: Improve Log Analytics query efficiency (#74675) 2023-09-18 18:38:39 +01:00
util Instrumentation: Add status_source label to request metrics/logs (#74114) 2023-09-11 12:13:13 +02:00
web Auth: Implement requester interface in access control module (#74289) 2023-09-06 11:16:10 +02: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.