influxdata / influxdata/kapacitor
Kapacitor - [alerta error while sending out alert]
- Dominant language
- Go
- Stars
- 2.4k
- Forks
- 479
- Avg merge
- 4d 16h
- Merged PRs (30d)
- 4
Description
Hi,
When I try to send out alert using .alerta() in kapacitor it throws up the below error message in kapacitor logs.
E! failed to send alert data to Alerta: failed to understand Alerta response. code: 405 content:
405 Method Not Allowed
Method Not Allowed
The method is not allowed for the requested URL.
Config File configuration for Alerta
=============
[alerta]
enabled = true
url = "http://xx.xxx.xxx.xxx:8080/webhooks/anomaly"
token = ""
environment = ""
origin = "Kapacitor"
Contributor guide
Research direction
Start with the Alerta configuration in the issue and trace how the .alerta() integration sends requests and interprets responses. Compare the configured /webhooks/anomaly endpoint and request method with the expected Alerta API behavior; done means alerts are accepted without the reported 405 error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- observability-sre
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100