#general

Integrating SigNoz with Microsoft Teams for Alerting

TLDR Harsh is trying to integrate SigNoz with Microsoft Teams, but encountering errors. Srikanth suggests ensuring Teams is accessible to SigNoz. Amol recommends exploring prom2teams for webhook handling.

Powered by Struct AI
6
4mo
Solved
Join the chat
May 02, 2023 (5 months ago)
Harsh
Photo of md5-ca6495d5be926db80e09aabf066f4b8b
Harsh
06:32 AM
Hi Team,

I have setup signoz on my k8s cluster and wants to integrate microsoft teams channel for alerting through webhook, I have put the webhook url and try to test but getting below error, I think signoz is not able to connect to teams as it is internally hosted, Is there any way I can expose any one of the component of signoz through which I am able to access to achieve alerting, Thanks in Advance!
Image 1 for Hi Team,<br><br>I have setup signoz on my k8s cluster and wants to integrate microsoft teams channel for alerting through webhook, I have put the webhook url and try to test but getting below error, I think signoz is not able to connect to teams as it is internally hosted, Is there any way I can expose any one of the component of signoz through which I am able to access to achieve alerting, Thanks in Advance!
Srikanth
Photo of md5-ce04a9988e2fd758a659dc55be6f2543
Srikanth
06:43 AM
> I have put the webhook url and try to test but getting below error
Is this a webhook or teams integration URL?

> I think signoz is not able to connect to teams as it is internally hosted, Is there any way I can expose any one of the component of signoz through which I am able to access to achieve alerting
If your teams is not accessible, how does exposing SigNoz change anything? Shouldn’t it be other way around making teams accessible to SigNoz?
Harsh
Photo of md5-ca6495d5be926db80e09aabf066f4b8b
Harsh
07:28 AM
Thats a connector webhook URL from Teams
Srikanth
Photo of md5-ce04a9988e2fd758a659dc55be6f2543
Srikanth
07:33 AM
We don’t have an integration with the teams yet, so the payload formatting could be the reason if the webhook is accessible. If it is not accessible you need to find a way to make it accessible.
Harsh
Photo of md5-ca6495d5be926db80e09aabf066f4b8b
Harsh
07:49 AM
Sure Thanks!
May 04, 2023 (4 months ago)
Amol
Photo of md5-5b7bdc2d17629f3a81e73099ba313fd4
Amol
06:15 AM
Harsh You could also explore https://github.com/idealista/prom2teams for use or understand things If it works for you. I haven't personally tried or tested this, but it seems to fit the use case.

Ideally the workflow should be:
• setup webhook URL in signoz
• write a custom webhook handler or use prom2teams (if it fits) to forward webhook messages to MS teams