* Alerting: post alerts to the remote Alertmanager and fetch them
* fix broken tests
* Alerting: Add Mimir Backend image to devenv (blocks)
* add alerting as code owner for mimir_backend block
* Alerting: Use Mimir image to run integration tests for the remote Alertmanager
* skip integration test when running all tests
* skipping integration test when no Alertmanager URL is provided
* fix bad host for mimir_backend
* remove basic auth testing until we have an nginx image in our CI
* add integration tests for alerts
* fix tests
* change SendCtx -> Send, add context.Context to Send, fix CI
* add reover() for functions from the Prometheus Alertmanager HTTP client that could panic
* add TODO to implement PutAlerts in a way that mimicks what Prometheus does
* fix log format
// NewAlertsSenderMock creates a new instance of AlertsSenderMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
// The first argument is typically a *testing.T value.
require.Truef(t,ok,fmt.Sprintf("expected argument of function was supposed to be 'definitions.PostableAlerts' but got %T",sender.Calls[0].Arguments[1]))
require.Truef(t,ok,fmt.Sprintf("expected argument of function was supposed to be 'definitions.PostableAlerts' but got %T",sender.Calls[0].Arguments[2]))
require.Truef(t,ok,fmt.Sprintf("expected argument of function was supposed to be 'definitions.PostableAlerts' but got %T",sender.Calls[0].Arguments[1]))
require.Truef(t,ok,fmt.Sprintf("expected argument of function was supposed to be 'definitions.PostableAlerts' but got %T",sender.Calls[0].Arguments[2]))
require.Truef(t,ok,fmt.Sprintf("expected argument of function was supposed to be 'definitions.PostableAlerts' but got %T",sender.Calls[0].Arguments[1]))
require.Truef(t,ok,fmt.Sprintf("expected argument of function was supposed to be 'definitions.PostableAlerts' but got %T",sender.Calls[0].Arguments[2]))