Skip to content

Enable support for http proxy for alertmanager receivers #2044

@Fantaztig

Description

@Fantaztig

Describe the bug

Currently it's not possible to configure a proxy for alertmanager receivers.
This is pretty annoying since the receivers also ignore a proxy set via HTTPS_PROXY env variables.

To Reproduce

  • Set up mimir with alertmanager
  • Try to configure a webhook with http proxy via the grafana UI

Expected behavior

It should be possible to specify the proxy either when configuring the contact point/receiver or globally via environment variables.

Additional Context

It seems this was fixed recently in cortex as well, see: cortexproject/cortex#4741

Setting HTTP(S)_PROXY env variables is a bad solution for this imho as the proxy is currently also used for replication between alertmanager instances in an HA deployment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions