grafana/pkg
gotjosh 23fe8f4e9c
Alerting: Introduce a Mimir client as part of the Remote Alertmanager (#78357)
* Alerting: Introduce a Mimir client as part of the Remote Alertmanager

This is our first attempt at making Grafana communicate use Mimir as a backend - it uses a new set of APIs that we've developed on the Mimir side to upload the grafana configuration and alertmanager state so that it can then be ported over.

Codewise, we've introduced a couple of things:

A client to isolate in its own package all the communication that happens with Mimir
A few changes to the remote/alertmanager to include uploading the configuration and state when it starts
A few refactors that align a bit better with the design approach that we're thinking
An integration tests again these newly developed APIs using a custom image

---------

Signed-off-by: gotjosh <josue.abreu@gmail.com>
Co-authored-by: Santiago <santiagohernandez.1997@gmail.com>
2023-11-23 16:59:36 +00:00
..
api Auth: Add more context to logs around token rotation, revocation (#78600) 2023-11-23 16:48:54 +01:00
apis K8s: Add subresource to the example apiserver (#78030) 2023-11-14 05:51:58 +02:00
build K8s: Use grafana executable for standalone api service (#77904) 2023-11-09 16:50:27 -08:00
bus Tracing: Standardize on otel tracing (#75528) 2023-10-03 14:54:20 +02:00
cmd Bug: Fix loading behavior with FlagExternalCorePlugins (#78388) 2023-11-21 11:51:13 +01:00
codegen Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
components imagestorage: fix templating of public_url option for webdav (#74885) 2023-09-28 00:35:10 +03: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 Plugins: Backend: Skip host environment variables (#77858) 2023-11-15 18:09:14 +01:00
extensions Chore: Replace gofpdf (#75805) 2023-10-02 15:32:35 +02:00
ifaces/gcsifaces Chore: Upgrade Go to 1.19.1 (#54902) 2022-09-12 12:03:49 +02:00
infra Authz: Remove use of SignedInUser copy for permission evaluation (#78448) 2023-11-22 14:20:22 +01:00
kinds Dashboards: Implement natural sort for query variables (#78024) 2023-11-21 10:17:38 +01:00
kindsysreport Chore: Add app o11y viz as code owners for sparkline related stuff (#78310) 2023-11-17 14:02:52 +02:00
login Auth: Refactor OAuth connectors' initialization (#77919) 2023-11-20 09:45:40 +01:00
middleware Avatar: Allow browser caching of /avatar/ (#78314) 2023-11-22 17:41:54 +01: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 Chore: Change endpoint to check versions in cli (#78008) 2023-11-21 12:46:26 +01:00
registry Login: refactor auth info package (#78459) 2023-11-21 14:47:23 +01:00
server PublicDashboards: Middleware creation (#77941) 2023-11-21 17:56:36 -03:00
services Alerting: Introduce a Mimir client as part of the Remote Alertmanager (#78357) 2023-11-23 16:59:36 +00:00
setting RBAC: Check plugins:install globally (#78438) 2023-11-21 15:09:43 +01:00
tests Login: refactor auth info package (#78459) 2023-11-21 14:47:23 +01:00
tsdb CloudWatch: Add AWS Bedrock metrics definition (#78478) 2023-11-22 13:40:40 -05:00
util Loki: Fix scope of labels variable being wrong (#78417) 2023-11-21 10:14:21 +01:00
web Chore: Upgrade Go to 1.21.3 (#77304) 2023-11-01 09:17:38 -07: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.