Webhooks for onprem installations
If you are using cloud based observability applications like Grafana Cloud or Datadog, we need to be able to relay the alert generated to the onprem unSkript url, which is not publicly accessible. To get around this problem, we recommend using AWS Lambda Function URLs.
We provide a terraform to create a lambda function URL in the vpc where unSkript is installed. Follow the steps below to deploy the lambda function URL
If you need this service, reach out to the team, and we can give you access to the GitHub repository that you'll need.
Now to install the lambda, please ensure that you have python 3.8 version, you can create a virtual environment with conda using the following command:
conda create --name python3.8 python=3.8
Create a terraform.tfvars file with the following content: NOTE: the type below can be aws, grafana, prometheus or datadog
Run the terraform using
terraform init
followed byterraform apply
Capture the out put of the terraform, it should output the function url
Take that url and put that in the webhook configuration of your observability application.
Last updated