influxdata / influxdata/kapacitor
opsgenie integration: make enity customizable
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 2.4k
- Forks
- 479
- Avg merge
- 4d 16h
- Merged PRs (30d)
- 4
Description
Currently both the alias and entity fields are set to the same value, could this be made customizable?
https://github.com/influxdata/kapacitor/blob/master/services/opsgenie/service.go#L140
ogData["entity"] = entityID
ogData["alias"] = entityID
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in services/opsgenie/service.go at the referenced payload construction around line 140, then trace where entityID is configured and passed into the integration. Determine how alias and entity can be supplied independently while preserving the current behavior when only one value is provided. No test file is mentioned in the issue, so identify the relevant service tests before making the change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100