Deprecated: Function get_magic_quotes_gpc() is deprecated in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 99
Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 619
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 832
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
resource "allquiet_integration_mapping" "your_prometheus_mapping" {
integration_id = allquiet_integration.your_prometheus.id
attributes_mapping = {
attributes = [
{
name = "CorrelationId"
mappings = [
{ json_path = "$.jsonBody.alerts[0].fingerprint" }
]
},
{
name = "Status"
mappings = [
{ json_path = "$.jsonBody.status" },
{ map = "firing->Open,->Resolved" }
]
},
{
name = "Status"
mappings = [
{ json_path = "$.jsonBody.alerts[0].status" },
{ map = "firing->Open,->Resolved" }
]
},
{
name = "Severity"
mappings = [
{ json_path = "$.jsonBody.commonLabels.severity" },
{ map = "critical->Critical,->Warning" }
]
},
{
name = "Severity"
mappings = [
{ json_path = "$.jsonBody.alerts[0].labels.severity" },
{ map = "critical->Critical,->Warning" }
]
},
{
name = "Title"
mappings = [
{ json_path = "$.jsonBody.commonLabels.alertname" }
]
},
{
name = "Title"
mappings = [
{ json_path = "$.jsonBody.alerts[0].labels.alertname" }
]
},
{
name = "Job"
mappings = [
{ json_path = "$.jsonBody.commonLabels.job" }
]
},
{
name = "Job"
mappings = [
{ json_path = "$.jsonBody.alerts[0].labels.job" }
]
},
{
name = "Monitor"
mappings = [
{ json_path = "$.jsonBody.commonLabels.monitor" }
]
},
{
name = "Monitor"
mappings = [
{ json_path = "$.jsonBody.alerts[0].labels.monitor" }
]
},
{
name = "URL"
mappings = [
{ json_path = "$.jsonBody.externalURL" }
]
}
]
}
}