-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Grafana/Signoz Webhook Error Code 400 #139
Comments
Hi @roomit-xyz, |
I have increased VERBOSE variable in .env from 1 - 4, but log still not show. Any configuration for show log? |
This is not a feature, yet, I'll fix this, thanks. |
Hallo @nim65s This following log
Best Regards |
Any update? |
Thanks for the heads up, I had missed your previous comments. So yes, the error tells you that the received payload is lacking a You can spend some time writing a python function that take this dict as entry and output a nicely formated markdown string, with all the data in a pretty way, or we could throw this at pprint, and call it a day, eg.: >>> from pprint import pprint
>>> pprint(data["alerts"])
[{'annotations': {'info': 'The disk sda3 is running full',
'summary': 'please check the instance example1'},
'endsAt': '0001-01-01T00:00:00Z',
'fingerprint': 'ad592b0afcbe2e79',
'generatorURL': '',
'labels': {'alertname': 'DiskRunningFull',
'dev': 'sda3',
'instance': 'example3',
'severity': 'critical'},
'startsAt': '2022-04-25T14:35:19.490146+05:30',
'status': 'firing'}] or yaml: >>> print(yaml.dump(data["alerts"]))
- annotations:
info: The disk sda3 is running full
summary: please check the instance example1
endsAt: '0001-01-01T00:00:00Z'
fingerprint: ad592b0afcbe2e79
generatorURL: ''
labels:
alertname: DiskRunningFull
dev: sda3
instance: example3
severity: critical
startsAt: '2022-04-25T14:35:19.490146+05:30'
status: firing |
Dear Dev,
I have deployed matrix-webhook
If I hit manual using curl, All is running well
And when I added alert I webhook in signoz or grafana I got error 400 code.
I have added in last URL for grafana format
like :
The text was updated successfully, but these errors were encountered: