Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

feat: Introducing SNS integration (AWS) (#7996)

Piyush Singariya7feb94e5eb15
diff --git a/pkg/query-service/app/cloudintegrations/services/definitions/aws/sns/assets/dashboards/overview.json b/pkg/query-service/app/cloudintegrations/services/definitions/aws/sns/assets/dashboards/overview.json
new file mode 100644
index 0000000000..4edbf5089b
--- /dev/null
+++ b/pkg/query-service/app/cloudintegrations/services/definitions/aws/sns/assets/dashboards/overview.json
@@ -0,0 +1,818 @@
+{
+ "description": "View key AWS SNS metrics with an out of the box dashboard.",
+ "image": "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iODBweCIgaGVpZ2h0PSI4MHB4IiB2aWV3Qm94PSIwIDAgODAgODAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8IS0tIEdlbmVyYXRvcjogU2tldGNoIDY0ICg5MzUzNykgLSBodHRwczovL3NrZXRjaC5jb20gLS0+CiAgICA8dGl0bGU+SWNvbi1BcmNoaXRlY3R1cmUvNjQvQXJjaF9BV1MtU2ltcGxlLU5vdGlmaWNhdGlvbi1TZXJ2aWNlXzY0PC90aXRsZT4KICAgIDxkZXNjPkNyZWF0ZWQgd2l0aCBTa2V0Y2guPC9kZXNjPgogICAgPGRlZnM+CiAgICAgICAgPGxpbmVhckdyYWRpZW50IHgxPSIwJSIgeTE9IjEwMCUiIHgyPSIxMDAlIiB5Mj0iMCUiIGlkPSJsaW5lYXJHcmFkaWVudC0xIj4KICAgICAgICAgICAgPHN0b3Agc3RvcC1jb2xvc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kgNjIsMjkgQzY0LjIwNiwyOSA2NiwyNy4yMDYgNjYsMjUgQzY2LDIyLjc5NCA2NC4yMDYsMjEgNjIsMjEgQzYwLjE0MiwyMSA1OC41ODksMjIuMjggNTguMTQzLDI0IEw1MywyNCBDNTIuNDQ3LDI0IDUyLDI0LjQ0OCA1MiwyNSBMNTIsMzkgTDQ1LDM5IEw0NSw0MSBMNTIsNDEgTDUyLDU1IEM1Miw1NS41NTIgNTIuNDQ3LDU2IDUzLDU2IEw1OC4xNDMsNTYgQzU4LjU4OSw1Ny43MiA2MC4xNDIsNTkgNjIsNTkgQzY0LjIwNiw1OSA2Niw1Ny4yMDYgNjYsNTUgQzY2LDUyLjc5NCA2NC4yMDYsNTEgNjIsNTEgQzYwLjE0Miw1MSA1OC41ODksNTIuMjggNTguMTQzLDU0IEw1NCw1NCBMNTQsNDEgWiIgaWQ9IkFXUy1TaW1wbGUtTm90aWZpY2F0aW9uLVNlcnZpY2VfSWNvbl82NF9TcXVpZCIgZmlsbD0iI0ZGRkZGRiI+PC9wYXRoPgogICAgPC9nPgo8L3N2Zz4=",
+ "layout": [
+ {
+ "h": 6,
+ "i": "4eb87f89-0213-4773-9b06-6aecc6701898",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 0
+ },
+ {
+ "h": 6,
+ "i": "7a010b4e-ea7c-4a45-a9eb-93af650c45b4",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 0
+ },
+ {
+ "h": 6,
+ "i": "2299d4e3-6c40-4bf2-a550-c7bb8a7acd38",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 0,
+ "y": 6
+ },
+ {
+ "h": 6,
+ "i": "16eec8b7-de1a-4039-b180-24c7a6704b6e",
+ "moved": false,
+ "static": false,
+ "w": 6,
+ "x": 6,
+ "y": 6
+ }
+ ],
+ "panelMap": {},
+ "tags": [],
+ "title": "SNS Overview",
+ "uploadedGrafana": false,
+ "variables": {
+ "51f4fa2b-89c7-47c2-9795-f32cffaab985": {
+ "allSelected": false,
+ "customValue": "",
+ "description": "AWS Account ID",
+ "id": "51f4fa2b-89c7-47c2-9795-f32cffaab985",
+ "key": "51f4fa2b-89c7-47c2-9795-f32cffaab985",
+ "modificationUUID": "b7a6b06b-fa1f-4fb8-b70e-6bd9b350f29e",
+ "multiSelect": false,
+ "name": "Account",
+ "order": 0,
+ "queryValue": "SELECT DISTINCT JSONExtractString(labels, 'cloud_account_id') AS cloud_account_id\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name = 'aws_SNS_PublishSize_count' GROUP BY cloud_account_id",
+ "showALLOption": false,
+ "sort": "DISABLED",
+ "textboxValue": "",
+ "type": "QUERY"
+ },
+ "9faf0f4b-b245-4b3c-83a3-60cfa76dfeb0": {
+ "allSelected": false,
+ "customValue": "",
+ "description": "Account Region",
+ "id": "9faf0f4b-b245-4b3c-83a3-60cfa76dfeb0",
+ "key": "9faf0f4b-b245-4b3c-83a3-60cfa76dfeb0",
+ "modificationUUID": "8428a5de-bfd1-4a69-9601-63e3041cd556",
+ "multiSelect": false,
+ "name": "Region",
+ "order": 1,
+ "queryValue": "SELECT DISTINCT JSONExtractString(labels, 'cloud_region') AS region\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name = 'aws_SNS_PublishSize_count' AND JSONExtractString(labels, 'cloud_account_id') IN {{.Account}} GROUP BY region",
+ "showALLOption": false,
+ "sort": "ASC",
+ "textboxValue": "",
+ "type": "QUERY"
+ },
+ "bfbdbcbe-a168-4d81-b108-36339e249116": {
+ "allSelected": true,
+ "customValue": "",
+ "description": "SNS Topic Name",
+ "id": "bfbdbcbe-a168-4d81-b108-36339e249116",
+ "modificationUUID": "dfed7272-16dc-4eb6-99bf-7c82fc8e04f0",
+ "multiSelect": true,
+ "name": "Topic",
+ "order": 2,
+ "queryValue": "SELECT DISTINCT JSONExtractString(labels, 'TopicName') AS topic\nFROM signoz_metrics.distributed_time_series_v4_1day\nWHERE metric_name = 'aws_SNS_PublishSize_count' AND JSONExtractString(labels, 'cloud_account_id') IN {{.Account}} AND JSONExtractString(labels, 'cloud_region') IN {{.Region}}\nGROUP BY topic",
+ "showALLOption": true,
+ "sort": "ASC",
+ "textboxValue": "",
+ "type": "QUERY"
+ }
+ },
+ "version": "v4",
+ "widgets": [
+ {
+ "bucketCount": 30,
+ "bucketWidth": 0,
+ "columnUnits": {},
+ "description": "",
+ "fillSpans": false,
+ "id": "4eb87f89-0213-4773-9b06-6aecc6701898",
+ "isLogScale": false,
+ "isStacked": false,
+ "mergeAllActiveQueries": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregateAttribute": {
+ "dataType": "float64",
+ "id": "aws_SNS_NumberOfMessagesPublished_max--float64--Gauge--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "aws_SNS_NumberOfMessagesPublished_max",
+ "type": "Gauge"
+ },
+ "aggregateOperator": "max",
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filters": {
+ "items": [
+ {
+ "id": "8fd51b53",
+ "key": {
+ "dataType": "string",
+ "id": "TopicName--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "TopicName",
+ "type": "tag"
+ },
+ "op": "in",
+ "value": [
+ "$Topic"
+ ]
+ },
+ {
+ "id": "b18187c3",
+ "key": {
+ "dataType": "string",
+ "id": "cloud_region--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "cloud_region",
+ "type": "tag"
+ },
+ "op": "=",
+ "value": "$Region"
+ },
+ {
+ "id": "eebe4578",
+ "key": {
+ "dataType": "string",
+ "id": "cloud_account_id--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "cloud_account_id",
+ "type": "tag"
+ },
+ "op": "=",
+ "value": "$Account"
+ }
+ ],
+ "op": "AND"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "TopicName--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "TopicName",
+ "type": "tag"
+ }
+ ],
+ "having": [],
+ "legend": "{{TopicName}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "reduceTo": "avg",
+ "spaceAggregation": "max",
+ "stepInterval": 60,
+ "timeAggregation": "max"
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "9c67615a-55f7-42da-835c-86922f2ff8bb",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "stackedBarChart": false,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Number of Messages Published",
+ "yAxisUnit": "none"
+ },
+ {
+ "bucketCount": 30,
+ "bucketWidth": 0,
+ "columnUnits": {},
+ "description": "",
+ "fillSpans": false,
+ "id": "7a010b4e-ea7c-4a45-a9eb-93af650c45b4",
+ "isLogScale": false,
+ "isStacked": false,
+ "mergeAllActiveQueries": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregateAttribute": {
+ "dataType": "float64",
+ "id": "aws_SNS_PublishSize_max--float64--Gauge--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "aws_SNS_PublishSize_max",
+ "type": "Gauge"
+ },
+ "aggregateOperator": "max",
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filters": {
+ "items": [
+ {
+ "id": "1aa0d1a9",
+ "key": {
+ "dataType": "string",
+ "id": "TopicName--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "TopicName",
+ "type": "tag"
+ },
+ "op": "in",
+ "value": [
+ "$Topic"
+ ]
+ },
+ {
+ "id": "62255cff",
+ "key": {
+ "dataType": "string",
+ "id": "cloud_region--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "cloud_region",
+ "type": "tag"
+ },
+ "op": "=",
+ "value": "$Region"
+ },
+ {
+ "id": "17c7153e",
+ "key": {
+ "dataType": "string",
+ "id": "cloud_account_id--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "cloud_account_id",
+ "type": "tag"
+ },
+ "op": "=",
+ "value": "$Account"
+ }
+ ],
+ "op": "AND"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "TopicName--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "TopicName",
+ "type": "tag"
+ }
+ ],
+ "having": [],
+ "legend": "{{TopicName}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "reduceTo": "avg",
+ "spaceAggregation": "max",
+ "stepInterval": 60,
+ "timeAggregation": "max"
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "a635a15b-dfe6-4617-a82e-29d93e27deaf",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "stackedBarChart": false,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Published Message Size",
+ "yAxisUnit": "decbytes"
+ },
+ {
+ "bucketCount": 30,
+ "bucketWidth": 0,
+ "columnUnits": {},
+ "description": "",
+ "fillSpans": false,
+ "id": "2299d4e3-6c40-4bf2-a550-c7bb8a7acd38",
+ "isLogScale": false,
+ "isStacked": false,
+ "mergeAllActiveQueries": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregateAttribute": {
+ "dataType": "float64",
+ "id": "aws_SNS_NumberOfNotificationsDelivered_max--float64--Gauge--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "aws_SNS_NumberOfNotificationsDelivered_max",
+ "type": "Gauge"
+ },
+ "aggregateOperator": "max",
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filters": {
+ "items": [
+ {
+ "id": "c96a4ac0",
+ "key": {
+ "dataType": "string",
+ "id": "TopicName--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "TopicName",
+ "type": "tag"
+ },
+ "op": "in",
+ "value": [
+ "$Topic"
+ ]
+ },
+ {
+ "id": "8ca86829",
+ "key": {
+ "dataType": "string",
+ "id": "cloud_region--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "cloud_region",
+ "type": "tag"
+ },
+ "op": "=",
+ "value": "$Region"
+ },
+ {
+ "id": "8a444f66",
+ "key": {
+ "dataType": "string",
+ "id": "cloud_account_id--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "cloud_account_id",
+ "type": "tag"
+ },
+ "op": "=",
+ "value": "$Account"
+ }
+ ],
+ "op": "AND"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "TopicName--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "TopicName",
+ "type": "tag"
+ }
+ ],
+ "having": [],
+ "legend": "{{TopicName}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "reduceTo": "avg",
+ "spaceAggregation": "max",
+ "stepInterval": 60,
+ "timeAggregation": "max"
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "0d2fc26c-9b21-4dfc-b631-64b7c8d3bd71",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "stackedBarChart": false,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Number of Notifications Delivered",
+ "yAxisUnit": "none"
+ },
+ {
+ "bucketCount": 30,
+ "bucketWidth": 0,
+ "columnUnits": {},
+ "description": "",
+ "fillSpans": false,
+ "id": "16eec8b7-de1a-4039-b180-24c7a6704b6e",
+ "isLogScale": false,
+ "isStacked": false,
+ "mergeAllActiveQueries": false,
+ "nullZeroValues": "zero",
+ "opacity": "1",
+ "panelTypes": "graph",
+ "query": {
+ "builder": {
+ "queryData": [
+ {
+ "aggregateAttribute": {
+ "dataType": "float64",
+ "id": "aws_SNS_NumberOfNotificationsFailed_max--float64--Gauge--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "aws_SNS_NumberOfNotificationsFailed_max",
+ "type": "Gauge"
+ },
+ "aggregateOperator": "max",
+ "dataSource": "metrics",
+ "disabled": false,
+ "expression": "A",
+ "filters": {
+ "items": [
+ {
+ "id": "6175f3d5",
+ "key": {
+ "dataType": "string",
+ "id": "TopicName--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "TopicName",
+ "type": "tag"
+ },
+ "op": "in",
+ "value": [
+ "$Topic"
+ ]
+ },
+ {
+ "id": "e2084931",
+ "key": {
+ "dataType": "string",
+ "id": "cloud_region--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "cloud_region",
+ "type": "tag"
+ },
+ "op": "=",
+ "value": "$Region"
+ },
+ {
+ "id": "0b05209a",
+ "key": {
+ "dataType": "string",
+ "id": "cloud_account_id--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "cloud_account_id",
+ "type": "tag"
+ },
+ "op": "=",
+ "value": "$Account"
+ }
+ ],
+ "op": "AND"
+ },
+ "functions": [],
+ "groupBy": [
+ {
+ "dataType": "string",
+ "id": "TopicName--string--tag--false",
+ "isColumn": false,
+ "isJSON": false,
+ "key": "TopicName",
+ "type": "tag"
+ }
+ ],
+ "having": [],
+ "legend": "{{TopicName}}",
+ "limit": null,
+ "orderBy": [],
+ "queryName": "A",
+ "reduceTo": "avg",
+ "spaceAggregation": "max",
+ "stepInterval": 60,
+ "timeAggregation": "max"
+ }
+ ],
+ "queryFormulas": []
+ },
+ "clickhouse_sql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "id": "526247af-6ac9-42ff-83e9-cce0e32a9e63",
+ "promql": [
+ {
+ "disabled": false,
+ "legend": "",
+ "name": "A",
+ "query": ""
+ }
+ ],
+ "queryType": "builder"
+ },
+ "selectedLogFields": [
+ {
+ "dataType": "string",
+ "name": "body",
+ "type": ""
+ },
+ {
+ "dataType": "string",
+ "name": "timestamp",
+ "type": ""
+ }
+ ],
+ "selectedTracesFields": [
+ {
+ "dataType": "string",
+ "id": "serviceName--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "serviceName",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "name--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "name",
+ "type": "tag"
+ },
+ {
+ "dataType": "float64",
+ "id": "durationNano--float64--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "durationNano",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "httpMethod--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "httpMethod",
+ "type": "tag"
+ },
+ {
+ "dataType": "string",
+ "id": "responseStatusCode--string--tag--true",
+ "isColumn": true,
+ "isJSON": false,
+ "key": "responseStatusCode",
+ "type": "tag"
+ }
+ ],
+ "softMax": 0,
+ "softMin": 0,
+ "stackedBarChart": false,
+ "thresholds": [],
+ "timePreferance": "GLOBAL_TIME",
+ "title": "Number of Notifications Failed",
+ "yAxisUnit": "none"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/pkg/query-service/app/cloudintegrations/services/definitions/aws/sns/assets/dashboards/overview.png b/pkg/query-service/app/cloudintegrations/services/definitions/aws/sns/assets/dashboards/overview.png
new file mode 100644
index 0000000000..3a25276ffe
Binary files /dev/null and b/pkg/query-service/app/cloudintegrations/services/definitions/aws/sns/assets/dashboards/overview.png differ
diff --git a/pkg/query-service/app/cloudintegrations/services/definitions/aws/sns/icon.svg b/pkg/query-service/app/cloudintegrations/services/definitions/aws/sns/icon.svg
new file mode 100644
index 0000000000..6cb54adab2
--- /dev/null
+++ b/pkg/query-service/app/cloudintegrations/services/definitions/aws/sns/icon.svg
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg width="80px" height="80px" viewBox="0 0 80 80" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <!-- Generator: Sketch 64 (93537) - https://sketch.com -->
+ <title>Icon-Architecture/64/Arch_AWS-Simple-Notification-Service_64</title>
+ <desc>Created with Sketch.</desc>
+ <defs>
+ <linearGradient x1="0%" y1="100%" x2="100%" y2="0%" id="linearGradient-1">
+ <stop stop-color="#B0084D" offset="0%"></stop>
+ <stop stop-color="#FF4F8B" offset="100%"></stop>
+ </linearGradient>
+ </defs>
+ <g id="Icon-Architecture/64/Arch_AWS-Simple-Notification-Service_64" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
+ <g id="Icon-Architecture-BG/64/Application-Integration" fill="url(#linearGradient-1)">
+ <rect id="Rectangle" x="0" y="0" width="80" height="80"></rect>
+ </g>
+ <path d="M17,38 C18.103,38 19,38.897 19,40 C19,41.103 18.103,42 17,42 C15.897,42 15,41.103 15,40 C15,38.897 15.897,38 17,38 L17,38 Z M41,64 C29.314,64 19.289,55.466 17.194,43.98 C18.965,43.894 20.427,42.659 20.857,41 L27,41 L27,39 L20.857,39 C20.427,37.342 18.966,36.107 17.195,36.02 C19.285,24.71 29.511,16 41,16 C45.313,16 49.832,17.622 54.429,20.821 L55.571,19.179 C50.633,15.743 45.73,14 41,14 C28.27,14 16.949,23.865 15.063,36.521 C13.839,37.207 13,38.5 13,40 C13,41.5 13.839,42.793 15.063,43.478 C16.97,56.341 28.056,66 41,66 C46.407,66 51.942,64.157 56.585,60.811 L55.415,59.189 C51.11,62.292 45.991,64 41,64 L41,64 Z M30.101,36.442 C31.955,36.895 34.275,37 36,37 C37.642,37 39.823,36.905 41.629,36.506 L37.105,45.553 C37.036,45.691 37,45.845 37,46 L37,50.453 C36.199,50.964 34.833,51.812 34,51.986 L34,46 C34,45.868 33.974,45.737 33.923,45.615 L30.101,36.442 Z M36,33 C40.025,33 42.174,33.604 42.841,34 C42.174,34.396 40.025,35 36,35 C31.975,35 29.826,34.396 29.159,34 C29.826,33.604 31.975,33 36,33 L36,33 Z M33,54 L34,54 C34.043,54 34.086,53.997 34.128,53.992 C35.352,53.833 36.909,52.887 38.272,52.013 L38.535,51.845 C38.824,51.661 39,51.342 39,51 L39,46.236 L44.559,35.12 C44.833,34.801 45,34.434 45,34 C45,31.39 39.361,31 36,31 C32.639,31 27,31.39 27,34 C27,34.366 27.12,34.684 27.32,34.967 L32,46.2 L32,53 C32,53.552 32.447,54 33,54 L33,54 Z M62,53 C63.103,53 64,53.897 64,55 C64,56.103 63.103,57 62,57 C60.897,57 60,56.103 60,55 C60,53.897 60.897,53 62,53 L62,53 Z M62,23 C63.103,23 64,23.897 64,25 C64,26.103 63.103,27 62,27 C60.897,27 60,26.103 60,25 C60,23.897 60.897,23 62,23 L62,23 Z M64,38 C65.103,38 66,38.897 66,40 C66,41.103 65.103,42 64,42 C62.897,42 62,41.103 62,40 C62,38.897 62.897,38 64,38 L64,38 Z M54,41 L60.143,41 C60.589,42.72 62.142,44 64,44 C66.206,44 68,42.206 68,40 C68,37.794 66.206,36 64,36 C62.142,36 60.589,37.28 60.143,39 L54,39 L54,26 L58.143,26 C58.589,27.72 60.142,29 62,29 C64.206,29 66,27.206 66,25 C66,22.794 64.206,21 62,21 C60.142,21 58.589,22.28 58.143,24 L53,24 C52.447,24 52,24.448 52,25 L52,39 L45,39 L45,41 L52,41 L52,55 C52,55.552 52.447,56 53,56 L58.143,56 C58.589,57.72 60.142,59 62,59 C64.206,59 66,57.206 66,55 C66,52.794 64.206,51 62,51 C60.142,51 58.589,52.28 58.143,54 L54,54 L54,41 Z" id="AWS-Simple-Notification-Service_Icon_64_Squid" fill="#FFFFFF"></path>
+ </g>
+</svg>
\ No newline at end of file
diff --git a/pkg/query-service/app/cloudintegrations/services/definitions/aws/sns/integration.json b/pkg/query-service/app/cloudintegrations/services/definitions/aws/sns/integration.json
new file mode 100644
index 0000000000..cc11c86c9e
--- /dev/null
+++ b/pkg/query-service/app/cloudintegrations/services/definitions/aws/sns/integration.json
@@ -0,0 +1,130 @@
+{
+ "id": "sns",
+ "title": "SNS",
+ "icon": "file://icon.svg",
+ "overview": "file://overview.md",
+ "supported_signals": {
+ "metrics": true,
+ "logs": false
+ },
+ "data_collected": {
+ "metrics": [
+ {
+ "name": "aws_SNS_NumberOfMessagesPublished_count",
+ "unit": "Count",
+ "type": "Gauge",
+ "description": ""
+ },
+ {
+ "name": "aws_SNS_NumberOfMessagesPublished_max",
+ "unit": "Count",
+ "type": "Gauge",
+ "description": ""
+ },
+ {
+ "name": "aws_SNS_NumberOfMessagesPublished_min",
+ "unit": "Count",
+ "type": "Gauge",
+ "description": ""
+ },
+ {
+ "name": "aws_SNS_NumberOfMessagesPublished_sum",
+ "unit": "Count",
+ "type": "Gauge",
+ "description": ""
+ },
+ {
+ "name": "aws_SNS_NumberOfNotificationsDelivered_count",
+ "unit": "Count",
+ "type": "Gauge",
+ "description": ""
+ },
+ {
+ "name": "aws_SNS_NumberOfNotificationsDelivered_max",
+ "unit": "Count",
+ "type": "Gauge",
+ "description": ""
+ },
+ {
+ "name": "aws_SNS_NumberOfNotificationsDelivered_min",
+ "unit": "Count",
+ "type": "Gauge",
+ "description": ""
+ },
+ {
+ "name": "aws_SNS_NumberOfNotificationsDelivered_sum",
+ "unit": "Count",
+ "type": "Gauge",
+ "description": ""
+ },
+ {
+ "name": "aws_SNS_NumberOfNotificationsFailed_count",
+ "unit": "Count",
+ "type": "Gauge",
+ "description": ""
+ },
+ {
+ "name": "aws_SNS_NumberOfNotificationsFailed_max",
+ "unit": "Count",
+ "type": "Gauge",
+ "description": ""
+ },
+ {
+ "name": "aws_SNS_NumberOfNotificationsFailed_min",
+ "unit": "Count",
+ "type": "Gauge",
+ "description": ""
+ },
+ {
+ "name": "aws_SNS_NumberOfNotificationsFailed_sum",
+ "unit": "Count",
+ "type": "Gauge",
+ "description": ""
+ },
+ {
+ "name": "aws_SNS_PublishSize_count",
+ "unit": "Bytes",
+ "type": "Gauge",
+ "description": ""
+ },
+ {
+ "name": "aws_SNS_PublishSize_max",
+ "unit": "Bytes",
+ "type": "Gauge",
+ "description": ""
+ },
+ {
+ "name": "aws_SNS_PublishSize_min",
+ "unit": "Bytes",
+ "type": "Gauge",
+ "description": ""
+ },
+ {
+ "name": "aws_SNS_PublishSize_sum",
+ "unit": "Bytes",
+ "type": "Gauge",
+ "description": ""
+ }
+ ]
+ },
+ "telemetry_collection_strategy": {
+ "aws_metrics": {
+ "cloudwatch_metric_stream_filters": [
+ {
+ "Namespace": "AWS/SNS"
+ }
+ ]
+ }
+ },
+ "assets": {
+ "dashboards": [
+ {
+ "id": "overview",
+ "title": "SNS Overview",
+ "description": "Overview of SNS",
+ "image": "file://assets/dashboards/overview.png",
+ "definition": "file://assets/dashboards/overview.json"
+ }
+ ]
+ }
+}
\ No newline at end of file
diff --git a/pkg/query-service/app/cloudintegrations/services/definitions/aws/sns/overview.md b/pkg/query-service/app/cloudintegrations/services/definitions/aws/sns/overview.md
new file mode 100644
index 0000000000..296007f86a
--- /dev/null
+++ b/pkg/query-service/app/cloudintegrations/services/definitions/aws/sns/overview.md
@@ -0,0 +1,3 @@
+### Monitor SNS with SigNoz
+
+Collect SNS key Metrics and view them with an out of the box dashboard.