Skip to content

Alertmanager: Separate alertmanager sub-components #4958

Open
@stevesg

Description

@stevesg

It can be confusing to follow the code in pkg/alertmanager/multitenant.go, particularly with respect to what code and interfaces belong to the distributor, and what belongs to the alertmanager instance (this is quite apparent in #4928). I'd like to suggest splitting pkg/alertmanager as follows:

  • /pkg/alertmanager/distributor (can contain distributor.go and the contents of merger/)
  • /pkg/alertmanager/instance

There might be other opportunities to cleanup too.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions