grafana/pkg/services/alerting
ismail simsek 3fb6319d1b
Prometheus: Introduce prometheus backend library (#83952)
* Move files to prometheus-library

* refactor core prometheus to use prometheus-library

* modify client transport options

* mock

* have a type

* import aliases

* rename

* call the right method

* remove unrelated test from the library

* update codeowners

* go work sync

* update go.work.sum

* make swagger-clean && make openapi3-gen

* add promlib to makefile

* remove clilogger

* Export the function

* update unit test

* add prometheus_test.go

* fix mock type

* use mapUtil from grafana-plugin-sdk-go
2024-03-11 17:22:33 +01:00
..
conditions Prometheus: Introduce prometheus backend library (#83952) 2024-03-11 17:22:33 +01:00
models Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
notifiers Chore: Remove public vars in setting package (#81018) 2024-01-23 12:36:22 +01:00
testdata DashboardSchema: Remove old unused legacy props style and timepicker.enable (#73879) 2023-08-28 12:18:17 +02:00
alerting_usage_test.go Chore: Rename Id to ID in alerting models (#62777) 2023-02-02 17:22:43 +01:00
alerting_usage.go Chore: capitalise messages for alerting (#74335) 2023-09-04 18:46:34 +02:00
engine_integration_test.go Chore: Remove public vars in setting package (#81018) 2024-01-23 12:36:22 +01:00
engine_test.go Chore: Remove public vars in setting package (#81018) 2024-01-23 12:36:22 +01:00
engine.go Chore: Remove public vars in setting package (#81018) 2024-01-23 12:36:22 +01:00
eval_context_test.go chore: move alert-related models (#61716) 2023-01-23 08:19:25 -05:00
eval_context.go Chore: Remove Result field from datasources (#63048) 2023-02-09 15:49:44 +01:00
eval_handler_test.go Chore: Fix goimports grouping in alerting (#62424) 2023-01-30 09:55:35 +01:00
eval_handler.go Apply templating on alert notifications on OK state (#47355) 2022-04-13 17:04:10 -03:00
extractor_test.go Chore: clean up access control for data sources (#73010) 2023-08-21 14:26:49 +01:00
extractor.go Chore: clean up access control for data sources (#73010) 2023-08-21 14:26:49 +01:00
interfaces.go chore: move alert-related models (#61716) 2023-01-23 08:19:25 -05:00
models.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
notifier_test.go Rendering: Adds PDF support behind feature toggle (#81811) 2024-02-08 13:09:34 +01:00
notifier.go Rendering: Adds PDF support behind feature toggle (#81811) 2024-02-08 13:09:34 +01:00
reader.go Chore: Rename Id to ID in alerting models (#62777) 2023-02-02 17:22:43 +01:00
result_handler.go Chore: Remove public vars in setting package (#81018) 2024-01-23 12:36:22 +01:00
rule_test.go Chore: rename Id to ID in alert notification models (#62868) 2023-02-03 15:46:55 +01:00
rule.go Chore: rename Id to ID in alert notification models (#62868) 2023-02-03 15:46:55 +01:00
scheduler.go Chore: Remove public vars in setting package (#81018) 2024-01-23 12:36:22 +01:00
service_test.go Chore: Update test database initialization (#81673) 2024-02-09 09:35:39 -05:00
service.go Chore: Remove public vars in setting package (#81018) 2024-01-23 12:36:22 +01:00
store_notification_test.go Chore: rename Id to ID in alert notification models (#62868) 2023-02-03 15:46:55 +01:00
store_notification.go Chore: capitalise messages for alerting (#74335) 2023-09-04 18:46:34 +02:00
store_test.go Remove folderid service test (#80433) 2024-01-12 16:43:39 +01:00
store.go Authz: Remove use of SignedInUser copy for permission evaluation (#78448) 2023-11-22 14:20:22 +01:00
test_notification.go Chore: Remove public vars in setting package (#81018) 2024-01-23 12:36:22 +01:00
test_rule.go Chore: Rename Id to ID in alerting models (#62777) 2023-02-02 17:22:43 +01:00