influxdata / influxdata/kapacitor
use kapacitor task name for opsgenie2 integration
Open
Beginner friendly
- Dominant language
- Go
- Stars
- 2.4k
- Forks
- 479
- Avg merge
- 4d 16h
- Merged PRs (30d)
- 4
Description
I think it's a bit confusing using the Name instead of the TaskName at that code section:
`ogDetails["Kapacitor Task Name"] = row.Name` since it's more unique and as it's already called "Kapacitor Task Name" I would have assumed it really is the TaskName :)
So I would recommend changing it to `row.TaskName`.
Contributor guide
Research direction
Search the Opsgenie2 integration for the assignment to ogDetails["Kapacitor Task Name"] and inspect the surrounding row fields. Change the value source to row.TaskName, then verify that the integration reports the Kapacitor task name from TaskName rather than Name.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- observability-sre
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 68/100