opensearch-project / opensearch-project/alerting

Add support for tags on destinations / monitors

Open
#40 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Kotlin
Stars
82
Forks
133
Avg merge
2d 11h
Merged PRs (30d)
9

Description

Issue by phillbaker
Saturday Jun 15, 2019 at 13:48 GMT
Originally opened as https://github.com/opendistro-for-elasticsearch/alerting/issues/70


When using the API to configure alerting, it would be helpful to create destinations (and potentially monitors) with tags so that the destinations could be retrieved by searching for a given set of tags.

For example, when creating a new monitor, I might want to re-use the destination for "production" and "team A", but there doesn't appear to be a good way to explicitly label destinations so they can be programatically retrieved.

As a couple of workarounds, I suppose:

  • this information could be stored in the name of a destination
  • the underlying object in the index could be updated

Related to #56 a bit.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the alerting API behavior for creating and retrieving destinations, then compare the related discussion in #56. Define the scope for tagging destinations and possible monitor support, including how a set of tags is queried and what successful assignment and retrieval should look like.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.