influxdata / influxdata/kapacitor

Feature Request - Allow custom Alias definition for OpsGenie V2 integration

Open
#2,042 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2.4k
Forks
479
Avg merge
4d 16h
Merged PRs (30d)
4

Description

I have a need to use the "alias" field to deduplicate alerts going to OpsGenie. This is especially important for load balanced resources where I may receive 8 separate alerts for a single proxy going down.

I noticed in code that you set the alias ...
`alias := base64.URLEncoding.EncodeToString([]byte(entityID))`

I think I saw in the same code that EntityID might be an option that I could supply within my TICK script but did not see that in the latest documentation. If EntityID is something I could set myself then I suppose encoding the byte stream would still be OK. I also make use of the Chronograf UI to build my tasks but see nowhere to add EntityID via the UI; however, if that's a valid option then I could just update the TICK script, I suppose.

Contributor guide

Open the contributing guide

Research direction

Start by locating the OpsGenie V2 integration code that assigns alias from the encoded entityID. Review how EntityID is exposed in TICK scripts and whether Chronograf can configure it; done means defining and documenting a supported way to provide a custom deduplication alias.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend, observability-sre
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.