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.
TypeScript apmapplication-monitoringdistributed-tracinggogood-first-issuejaegerloglogsmetricsmonitoringnextjsobservabilityopen-sourceopentelemetryprometheusreactreactjsself-hostedtracingtypescript
feat: adding cloud storage service for GCP integration (#12341)
Swapnil Nakadebad385011756
diff --git a/docs/api/openapi.yml b/docs/api/openapi.ymlindex 7900654e01..81287c3dbd 100644--- a/docs/api/openapi.yml+++ b/docs/api/openapi.yml@@ -1498,6 +1498,7 @@ components:- memorystore_redis- computeengine- gke+ - cloudstoragetype: stringCloudintegrationtypesServiceMetadata:properties:diff --git a/frontend/src/api/generated/services/sigNoz.schemas.ts b/frontend/src/api/generated/services/sigNoz.schemas.tsindex c9f0243c4c..d1bdccb702 100644--- a/frontend/src/api/generated/services/sigNoz.schemas.ts+++ b/frontend/src/api/generated/services/sigNoz.schemas.ts@@ -2817,6 +2817,7 @@ export enum CloudintegrationtypesServiceIDDTO {memorystore_redis = 'memorystore_redis',computeengine = 'computeengine',gke = 'gke',+ cloudstorage = 'cloudstorage',}export type CloudintegrationtypesCloudIntegrationServiceDTOAnyOf = {/**diff --git a/frontend/src/assets/Logos/gcp-cloud-storage.svg b/frontend/src/assets/Logos/gcp-cloud-storage.svgindex 5b06633eb0..59db35d960 100644--- a/frontend/src/assets/Logos/gcp-cloud-storage.svg+++ b/frontend/src/assets/Logos/gcp-cloud-storage.svg@@ -1 +1 @@-<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1200" height="800" viewBox="-19.2 -28.483 166.401 170.898"><g transform="translate(0 -7.034)"><linearGradient id="a" x1="64" x2="64" y1="7.034" y2="120.789" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#4387fd"/><stop offset="1" stop-color="#4683ea"/></linearGradient><path fill="url(#a)" d="M27.79 115.217 1.54 69.749a11.5 11.5 0 0 1 0-11.499l26.25-45.467a11.5 11.5 0 0 1 9.96-5.75h52.5a11.5 11.5 0 0 1 9.959 5.75l26.25 45.467a11.5 11.5 0 0 1 0 11.5l-26.25 45.466a11.5 11.5 0 0 1-9.959 5.75h-52.5a11.5 11.5 0 0 1-9.96-5.75z"/></g><g transform="translate(0 -7.034)"><defs><path id="b" d="M27.791 115.217 1.541 69.749a11.5 11.5 0 0 1 0-11.499l26.25-45.467a11.5 11.5 0 0 1 9.959-5.75h52.5a11.5 11.5 0 0 1 9.96 5.75l26.25 45.467a11.5 11.5 0 0 1 0 11.5l-26.25 45.466a11.5 11.5 0 0 1-9.96 5.75h-52.5a11.5 11.5 0 0 1-9.959-5.75z"/></defs><clipPath id="c"><use xlink:href="#b" width="100%" height="100%" overflow="visible"/></clipPath><path d="m49.313 53.875-7.01 6.99 5.957 5.958-5.898 10.476 44.635 44.636 10.816.002L118.936 84 85.489 50.55z" clip-path="url(#c)" opacity=".07"/></g><path fill="#fff" d="M84.7 43.236H43.264c-.667 0-1.212.546-1.212 1.214v8.566c0 .666.546 1.212 1.212 1.212H84.7c.667 0 1.213-.546 1.213-1.212v-8.568c0-.666-.545-1.213-1.212-1.213m-6.416 7.976a2.484 2.484 0 0 1-2.477-2.48 2.475 2.475 0 0 1 2.477-2.477c1.37 0 2.48 1.103 2.48 2.477a2.48 2.48 0 0 1-2.48 2.48m6.415 8.491-41.436.002c-.667 0-1.212.546-1.212 1.214v8.565c0 .666.546 1.213 1.212 1.213H84.7c.667 0 1.213-.547 1.213-1.213v-8.567c0-.666-.545-1.214-1.212-1.214m-6.416 7.976a2.483 2.483 0 0 1-2.477-2.48 2.475 2.475 0 0 1 2.477-2.477 2.48 2.48 0 1 1 0 4.956"/></svg>\ No newline at end of file+<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24"><defs><style>.cls-1{fill:#aecbfa;}.cls-2{fill:#669df6;}.cls-3{fill:#4285f4;}.cls-4{fill:#fff;}</style></defs><title>Icon_24px_CloudStorage_Color</title><g data-name="Product Icons"><rect class="cls-1" x="2" y="4" width="20" height="7"/><rect class="cls-2" x="20" y="4" width="2" height="7"/><polygon class="cls-3" points="22 4 20 4 20 11 22 4"/><rect class="cls-2" x="2" y="4" width="2" height="7"/><rect class="cls-4" x="6" y="7" width="6" height="1"/><rect class="cls-4" x="15" y="6" width="3" height="3" rx="1.5"/><rect class="cls-1" x="2" y="13" width="20" height="7"/><rect class="cls-2" x="20" y="13" width="2" height="7"/><polygon class="cls-3" points="22 13 20 13 20 20 22 13"/><rect class="cls-2" x="2" y="13" width="2" height="7"/><rect class="cls-4" x="6" y="16" width="6" height="1"/><rect class="cls-4" x="15" y="15" width="3" height="3" rx="1.5"/></g></svg>\ No newline at end of filediff --git a/pkg/modules/cloudintegration/implcloudintegration/fs/definitions/gcp/cloudstorage/assets/dashboards/overview.json b/pkg/modules/cloudintegration/implcloudintegration/fs/definitions/gcp/cloudstorage/assets/dashboards/overview.jsonnew file mode 100644index 0000000000..4b5f45cace--- /dev/null+++ b/pkg/modules/cloudintegration/implcloudintegration/fs/definitions/gcp/cloudstorage/assets/dashboards/overview.json@@ -0,0 +1,956 @@+{+ "schemaVersion": "v6",+ "image": "/assets/Logos/gcp-cloud-storage",+ "name": "",+ "generateName": true,+ "tags": [+ {+ "key": "tag",+ "value": "observability"+ }+ ],+ "spec": {+ "display": {+ "name": "GCP Cloud Storage Overview",+ "description": "Dashboard for GCP Cloud Storage overview"+ },+ "variables": [+ {+ "kind": "ListVariable",+ "spec": {+ "display": {+ "name": "project_id",+ "description": "GCP Project ID"+ },+ "allowAllValue": false,+ "allowMultiple": false,+ "customAllValue": "",+ "capturingRegexp": "",+ "sort": "none",+ "plugin": {+ "kind": "signoz/DynamicVariable",+ "spec": {+ "name": "project_id",+ "signal": "metrics"+ }+ },+ "name": "project_id"+ }+ },+ {+ "kind": "ListVariable",+ "spec": {+ "display": {+ "name": "bucket_name",+ "description": "GCS bucket name"+ },+ "allowAllValue": true,+ "allowMultiple": true,+ "customAllValue": "",+ "capturingRegexp": "",+ "sort": "none",+ "plugin": {+ "kind": "signoz/DynamicVariable",+ "spec": {+ "name": "bucket_name",+ "signal": "metrics"+ }+ },+ "name": "bucket_name"+ }+ }+ ],+ "panels": {+ "1f0a4d5b-6c2e-4a71-8b3d-9e5c07a41d20": {+ "kind": "Panel",+ "spec": {+ "display": {+ "name": "Bucket size",+ "description": "Total size of all objects in the bucket, grouped by storage class."+ },+ "plugin": {+ "kind": "signoz/TablePanel",+ "spec": {+ "visualization": {+ "timePreference": "global_time"+ },+ "formatting": {+ "columnUnits": {+ "A": "By"+ },+ "decimalPrecision": "2"+ },+ "thresholds": null+ }+ },+ "queries": [+ {+ "kind": "scalar",+ "spec": {+ "name": "A",+ "plugin": {+ "kind": "signoz/BuilderQuery",+ "spec": {+ "name": "A",+ "signal": "metrics",+ "source": "",+ "aggregations": [+ {+ "metricName": "storage.googleapis.com/storage/v2/total_bytes",+ "temporality": "",+ "timeAggregation": "latest",+ "spaceAggregation": "sum",+ "reduceTo": "last"+ }+ ],+ "disabled": false,+ "filter": {+ "expression": "project_id = $project_id AND bucket_name in $bucket_name AND gcp.resource_type = 'gcs_bucket'"+ },+ "groupBy": [+ {+ "name": "bucket_name",+ "signal": "",+ "fieldContext": "attribute",+ "fieldDataType": "string"+ },+ {+ "name": "storage_class",+ "signal": "",+ "fieldContext": "attribute",+ "fieldDataType": "string"+ }+ ],+ "order": [],+ "having": {+ "expression": ""+ },+ "functions": [],+ "legend": "Size"+ }+ }+ }+ }+ ],+ "links": []+ }+ },+ "29ed9824-21db-44c3-9537-12be458f5c20": {+ "kind": "Panel",+ "spec": {+ "display": {+ "name": "Total object bytes",+ "description": "Total size of all objects in the bucket, grouped by storage class and type."+ },+ "plugin": {+ "kind": "signoz/TimeSeriesPanel",+ "spec": {+ "visualization": {+ "timePreference": "global_time",+ "fillSpans": false+ },+ "formatting": {+ "unit": "By",+ "decimalPrecision": "2"+ },+ "chartAppearance": {+ "lineInterpolation": "spline",+ "showPoints": false,+ "lineStyle": "solid",+ "fillMode": "none",+ "spanGaps": {+ "fillOnlyBelow": false,+ "fillLessThan": ""+ }+ },+ "axes": {+ "softMin": 0,+ "softMax": 0,+ "isLogScale": false+ },+ "legend": {+ "position": "right",+ "mode": "list",+ "customColors": null+ },+ "thresholds": null+ }+ },+ "queries": [+ {+ "kind": "time_series",+ "spec": {+ "name": "A",+ "plugin": {+ "kind": "signoz/BuilderQuery",+ "spec": {+ "name": "A",+ "signal": "metrics",+ "source": "",+ "aggregations": [+ {+ "metricName": "storage.googleapis.com/storage/v2/total_bytes",+ "temporality": "",+ "timeAggregation": "latest",+ "spaceAggregation": "sum",+ "reduceTo": "avg"+ }+ ],+ "disabled": false,+ "filter": {+ "expression": "project_id = $project_id AND bucket_name in $bucket_name AND gcp.resource_type = 'gcs_bucket'"+ },+ "groupBy": [+ {+ "name": "bucket_name",+ "signal": "",+ "fieldContext": "attribute",+ "fieldDataType": "string"+ },+ {+ "name": "storage_class",+ "signal": "",+ "fieldContext": "attribute",+ "fieldDataType": "string"+ },+ {+ "name": "type",+ "signal": "",+ "fieldContext": "attribute",+ "fieldDataType": "string"+ }+ ],+ "order": [],+ "having": {+ "expression": ""+ },+ "functions": [],+ "legend": "{{bucket_name}}/{{storage_class}}/{{type}}"+ }+ }+ }+ }+ ],+ "links": []+ }+ },+ "cbc53174-5527-4bce-b32d-317403849e48": {+ "kind": "Panel",+ "spec": {+ "display": {+ "name": "Total object count",+ "description": "Total number of objects and multipart-uploads per bucket, grouped by storage class and type, where type can be live-object, noncurrent-object, soft-deleted-object or multipart-upload."+ },+ "plugin": {+ "kind": "signoz/TimeSeriesPanel",+ "spec": {+ "visualization": {+ "timePreference": "global_time",+ "fillSpans": false+ },+ "formatting": {+ "unit": "{count}",+ "decimalPrecision": "2"+ },+ "chartAppearance": {+ "lineInterpolation": "spline",+ "showPoints": false,+ "lineStyle": "solid",+ "fillMode": "none",+ "spanGaps": {+ "fillOnlyBelow": false,+ "fillLessThan": ""+ }+ },+ "axes": {+ "softMin": 0,+ "softMax": 0,+ "isLogScale": false+ },+ "legend": {+ "position": "right",+ "mode": "list",+ "customColors": null+ },+ "thresholds": null+ }+ },+ "queries": [+ {+ "kind": "time_series",+ "spec": {+ "name": "A",+ "plugin": {+ "kind": "signoz/BuilderQuery",+ "spec": {+ "name": "A",+ "signal": "metrics",+ "source": "",+ "aggregations": [+ {+ "metricName": "storage.googleapis.com/storage/v2/total_count",+ "temporality": "",+ "timeAggregation": "latest",+ "spaceAggregation": "sum",+ "reduceTo": "avg"+ }+ ],+ "disabled": false,+ "filter": {+ "expression": "project_id = $project_id AND bucket_name in $bucket_name AND gcp.resource_type = 'gcs_bucket'"+ },+ "groupBy": [+ {+ "name": "bucket_name",+ "signal": "",+ "fieldContext": "attribute",+ "fieldDataType": "string"+ },+ {+ "name": "storage_class",+ "signal": "",+ "fieldContext": "attribute",+ "fieldDataType": "string"+ },+ {+ "name": "type",+ "signal": "",+ "fieldContext": "attribute",+ "fieldDataType": "string"+ }+ ],+ "order": [],+ "having": {+ "expression": ""+ },+ "functions": [],+ "legend": "{{bucket_name}}/{{storage_class}}/{{type}}"+ }+ }+ }+ }+ ],+ "links": []+ }+ },+ "76e70ce5-47e4-4b5b-9715-49fa21c58b0c": {+ "kind": "Panel",+ "spec": {+ "display": {+ "name": "Deleted bytes",+ "description": "Rate of deleted bytes per bucket, grouped by storage class."+ },+ "plugin": {+ "kind": "signoz/TimeSeriesPanel",+ "spec": {+ "visualization": {+ "timePreference": "global_time",+ "fillSpans": false+ },+ "formatting": {+ "unit": "By/s",+ "decimalPrecision": "2"+ },+ "chartAppearance": {+ "lineInterpolation": "spline",+ "showPoints": false,+ "lineStyle": "solid",+ "fillMode": "none",+ "spanGaps": {+ "fillOnlyBelow": false,+ "fillLessThan": ""+ }+ },+ "axes": {+ "softMin": 0,+ "softMax": 0,+ "isLogScale": false+ },+ "legend": {+ "position": "right",+ "mode": "list",+ "customColors": null+ },+ "thresholds": null+ }+ },+ "queries": [+ {+ "kind": "time_series",+ "spec": {+ "name": "A",+ "plugin": {+ "kind": "signoz/BuilderQuery",+ "spec": {+ "name": "A",+ "signal": "metrics",+ "source": "",+ "aggregations": [+ {+ "metricName": "storage.googleapis.com/storage/v2/deleted_bytes",+ "temporality": "",+ "timeAggregation": "rate",+ "spaceAggregation": "sum",+ "reduceTo": "sum"+ }+ ],+ "disabled": false,+ "filter": {+ "expression": "project_id = $project_id AND bucket_name in $bucket_name AND gcp.resource_type = 'gcs_bucket'"+ },+ "groupBy": [+ {+ "name": "bucket_name",+ "signal": "",+ "fieldContext": "attribute",+ "fieldDataType": "string"+ },+ {+ "name": "storage_class",+ "signal": "",+ "fieldContext": "attribute",+ "fieldDataType": "string"+ }+ ],+ "order": [],+ "having": {+ "expression": ""+ },+ "functions": [],+ "legend": "{{bucket_name}}/{{storage_class}}"+ }+ }+ }+ }+ ],+ "links": []+ }+ },+ "c5af2813-34ec-41a9-8d53-c9acd67f569f": {+ "kind": "Panel",+ "spec": {+ "display": {+ "name": "Request count",+ "description": "Rate of API calls, grouped by the API method name and response code."+ },+ "plugin": {+ "kind": "signoz/TimeSeriesPanel",+ "spec": {+ "visualization": {+ "timePreference": "global_time",+ "fillSpans": false+ },+ "formatting": {+ "unit": "{count}/s",+ "decimalPrecision": "2"+ },+ "chartAppearance": {+ "lineInterpolation": "spline",+ "showPoints": false,+ "lineStyle": "solid",+ "fillMode": "none",+ "spanGaps": {+ "fillOnlyBelow": false,+ "fillLessThan": ""+ }+ },+ "axes": {+ "softMin": 0,+ "softMax": 0,+ "isLogScale": false+ },+ "legend": {+ "position": "right",+ "mode": "list",+ "customColors": null+ },+ "thresholds": null+ }+ },+ "queries": [+ {+ "kind": "time_series",+ "spec": {+ "name": "A",+ "plugin": {+ "kind": "signoz/BuilderQuery",+ "spec": {+ "name": "A",+ "signal": "metrics",+ "source": "",+ "aggregations": [+ {+ "metricName": "storage.googleapis.com/api/request_count",+ "temporality": "",+ "timeAggregation": "rate",+ "spaceAggregation": "sum",+ "reduceTo": "sum"+ }+ ],+ "disabled": false,+ "filter": {+ "expression": "project_id = $project_id AND bucket_name in $bucket_name AND gcp.resource_type = 'gcs_bucket'"+ },+ "groupBy": [+ {+ "name": "bucket_name",+ "signal": "",+ "fieldContext": "attribute",+ "fieldDataType": "string"+ },+ {+ "name": "method",+ "signal": "",+ "fieldContext": "attribute",+ "fieldDataType": "string"+ },+ {+ "name": "response_code",+ "signal": "",+ "fieldContext": "attribute",+ "fieldDataType": "string"+ }+ ],+ "order": [],+ "having": {+ "expression": ""+ },+ "functions": [],+ "legend": "{{bucket_name}}/{{method}} - {{response_code}}"+ }+ }+ }+ }+ ],+ "links": []+ }+ },+ "70333210-68c3-4387-a6b7-afa2459d27dd": {+ "kind": "Panel",+ "spec": {+ "display": {+ "name": "Authentication count",+ "description": "Rate of HMAC/RSA signed requests, grouped by authentication method, API method name and response code."+ },+ "plugin": {+ "kind": "signoz/TimeSeriesPanel",+ "spec": {+ "visualization": {+ "timePreference": "global_time",+ "fillSpans": false+ },+ "formatting": {+ "unit": "{count}/s",+ "decimalPrecision": "2"+ },+ "chartAppearance": {+ "lineInterpolation": "spline",+ "showPoints": false,+ "lineStyle": "solid",+ "fillMode": "none",+ "spanGaps": {+ "fillOnlyBelow": false,+ "fillLessThan": ""+ }+ },+ "axes": {+ "softMin": 0,+ "softMax": 0,+ "isLogScale": false+ },+ "legend": {+ "position": "right",+ "mode": "list",+ "customColors": null+ },+ "thresholds": null+ }+ },+ "queries": [+ {+ "kind": "time_series",+ "spec": {+ "name": "A",+ "plugin": {+ "kind": "signoz/BuilderQuery",+ "spec": {+ "name": "A",+ "signal": "metrics",+ "source": "",+ "aggregations": [+ {+ "metricName": "storage.googleapis.com/authn/authentication_count",+ "temporality": "",+ "timeAggregation": "rate",+ "spaceAggregation": "sum",+ "reduceTo": "sum"+ }+ ],+ "disabled": false,+ "filter": {+ "expression": "project_id = $project_id AND bucket_name in $bucket_name AND gcp.resource_type = 'gcs_bucket'"+ },+ "groupBy": [+ {+ "name": "bucket_name",+ "signal": "",+ "fieldContext": "attribute",+ "fieldDataType": "string"+ },+ {+ "name": "authentication_method",+ "signal": "",+ "fieldContext": "attribute",+ "fieldDataType": "string"+ },+ {+ "name": "method",+ "signal": "",+ "fieldContext": "attribute",+ "fieldDataType": "string"+ },+ {+ "name": "response_code",+ "signal": "",+ "fieldContext": "attribute",+ "fieldDataType": "string"+ }+ ],+ "order": [],+ "having": {+ "expression": ""+ },+ "functions": [],+ "legend": "{{bucket_name}}/{{authentication_method}}/{{method}} - {{response_code}}"+ }+ }+ }+ }+ ],+ "links": []+ }+ },+ "7a98084c-2cd3-4146-a831-f5382162ffe5": {+ "kind": "Panel",+ "spec": {+ "display": {+ "name": "Received bytes",+ "description": "Rate of bytes received over the network, grouped by the API method name and response code."+ },+ "plugin": {+ "kind": "signoz/TimeSeriesPanel",+ "spec": {+ "visualization": {+ "timePreference": "global_time",+ "fillSpans": false+ },+ "formatting": {+ "unit": "By/s",+ "decimalPrecision": "2"+ },+ "chartAppearance": {+ "lineInterpolation": "spline",+ "showPoints": false,+ "lineStyle": "solid",+ "fillMode": "none",+ "spanGaps": {+ "fillOnlyBelow": false,+ "fillLessThan": ""+ }+ },+ "axes": {+ "softMin": 0,+ "softMax": 0,+ "isLogScale": false+ },+ "legend": {+ "position": "right",+ "mode": "list",+ "customColors": null+ },+ "thresholds": null+ }+ },+ "queries": [+ {+ "kind": "time_series",+ "spec": {+ "name": "A",+ "plugin": {+ "kind": "signoz/BuilderQuery",+ "spec": {+ "name": "A",+ "signal": "metrics",+ "source": "",+ "aggregations": [+ {+ "metricName": "storage.googleapis.com/network/received_bytes_count",+ "temporality": "",+ "timeAggregation": "rate",+ "spaceAggregation": "sum",+ "reduceTo": "sum"+ }+ ],+ "disabled": false,+ "filter": {+ "expression": "project_id = $project_id AND bucket_name in $bucket_name AND gcp.resource_type = 'gcs_bucket'"+ },+ "groupBy": [+ {+ "name": "bucket_name",+ "signal": "",+ "fieldContext": "attribute",+ "fieldDataType": "string"+ },+ {+ "name": "method",+ "signal": "",+ "fieldContext": "attribute",+ "fieldDataType": "string"+ },+ {+ "name": "response_code",+ "signal": "",+ "fieldContext": "attribute",+ "fieldDataType": "string"+ }+ ],+ "order": [],+ "having": {+ "expression": ""+ },+ "functions": [],+ "legend": "{{bucket_name}}/{{method}} - {{response_code}}"+ }+ }+ }+ }+ ],+ "links": []+ }+ },+ "7138bf98-b41a-46d8-90ef-8e7470819cdf": {+ "kind": "Panel",+ "spec": {+ "display": {+ "name": "Sent bytes",+ "description": "Rate of bytes sent over the network, grouped by the API method name and response code."+ },+ "plugin": {+ "kind": "signoz/TimeSeriesPanel",+ "spec": {+ "visualization": {+ "timePreference": "global_time",+ "fillSpans": false+ },+ "formatting": {+ "unit": "By/s",+ "decimalPrecision": "2"+ },+ "chartAppearance": {+ "lineInterpolation": "spline",+ "showPoints": false,+ "lineStyle": "solid",+ "fillMode": "none",+ "spanGaps": {+ "fillOnlyBelow": false,+ "fillLessThan": ""+ }+ },+ "axes": {+ "softMin": 0,+ "softMax": 0,+ "isLogScale": false+ },+ "legend": {+ "position": "right",+ "mode": "list",+ "customColors": null+ },+ "thresholds": null+ }+ },+ "queries": [+ {+ "kind": "time_series",+ "spec": {+ "name": "A",+ "plugin": {+ "kind": "signoz/BuilderQuery",+ "spec": {+ "name": "A",+ "signal": "metrics",+ "source": "",+ "aggregations": [+ {+ "metricName": "storage.googleapis.com/network/sent_bytes_count",+ "temporality": "",+ "timeAggregation": "rate",+ "spaceAggregation": "sum",+ "reduceTo": "sum"+ }+ ],+ "disabled": false,+ "filter": {+ "expression": "project_id = $project_id AND bucket_name in $bucket_name AND gcp.resource_type = 'gcs_bucket'"+ },+ "groupBy": [+ {+ "name": "bucket_name",+ "signal": "",+ "fieldContext": "attribute",+ "fieldDataType": "string"+ },+ {+ "name": "method",+ "signal": "",+ "fieldContext": "attribute",+ "fieldDataType": "string"+ },+ {+ "name": "response_code",+ "signal": "",+ "fieldContext": "attribute",+ "fieldDataType": "string"+ }+ ],+ "order": [],+ "having": {+ "expression": ""+ },+ "functions": [],+ "legend": "{{bucket_name}}/{{method}} - {{response_code}}"+ }+ }+ }+ }+ ],+ "links": []+ }+ }+ },+ "layouts": [+ {+ "kind": "Grid",+ "spec": {+ "items": [+ {+ "x": 0,+ "y": 0,+ "width": 6,+ "height": 6,+ "content": {+ "$ref": "#/spec/panels/1f0a4d5b-6c2e-4a71-8b3d-9e5c07a41d20"+ }+ }+ ]+ }+ },+ {+ "kind": "Grid",+ "spec": {+ "display": {+ "title": "Storage",+ "collapse": {+ "open": true+ }+ },+ "items": [+ {+ "x": 0,+ "y": 0,+ "width": 6,+ "height": 6,+ "content": {+ "$ref": "#/spec/panels/29ed9824-21db-44c3-9537-12be458f5c20"+ }+ },+ {+ "x": 6,+ "y": 0,+ "width": 6,+ "height": 6,+ "content": {+ "$ref": "#/spec/panels/cbc53174-5527-4bce-b32d-317403849e48"+ }+ },+ {+ "x": 0,+ "y": 6,+ "width": 6,+ "height": 6,+ "content": {+ "$ref": "#/spec/panels/76e70ce5-47e4-4b5b-9715-49fa21c58b0c"+ }+ }+ ]+ }+ },+ {+ "kind": "Grid",+ "spec": {+ "display": {+ "title": "API & Authentication",+ "collapse": {+ "open": true+ }+ },+ "items": [+ {+ "x": 0,+ "y": 0,+ "width": 6,+ "height": 6,+ "content": {+ "$ref": "#/spec/panels/c5af2813-34ec-41a9-8d53-c9acd67f569f"+ }+ },+ {+ "x": 6,+ "y": 0,+ "width": 6,+ "height": 6,+ "content": {+ "$ref": "#/spec/panels/70333210-68c3-4387-a6b7-afa2459d27dd"+ }+ }+ ]+ }+ },+ {+ "kind": "Grid",+ "spec": {+ "display": {+ "title": "Network",+ "collapse": {+ "open": true+ }+ },+ "items": [+ {+ "x": 0,+ "y": 0,+ "width": 6,+ "height": 6,+ "content": {+ "$ref": "#/spec/panels/7a98084c-2cd3-4146-a831-f5382162ffe5"+ }+ },+ {+ "x": 6,+ "y": 0,+ "width": 6,+ "height": 6,+ "content": {+ "$ref": "#/spec/panels/7138bf98-b41a-46d8-90ef-8e7470819cdf"+ }+ }+ ]+ }+ }+ ],+ "duration": "",+ "refreshInterval": "",+ "links": []+ }+}diff --git a/pkg/modules/cloudintegration/implcloudintegration/fs/definitions/gcp/cloudstorage/icon.svg b/pkg/modules/cloudintegration/implcloudintegration/fs/definitions/gcp/cloudstorage/icon.svgnew file mode 100644index 0000000000..59db35d960--- /dev/null+++ b/pkg/modules/cloudintegration/implcloudintegration/fs/definitions/gcp/cloudstorage/icon.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24"><defs><style>.cls-1{fill:#aecbfa;}.cls-2{fill:#669df6;}.cls-3{fill:#4285f4;}.cls-4{fill:#fff;}</style></defs><title>Icon_24px_CloudStorage_Color</title><g data-name="Product Icons"><rect class="cls-1" x="2" y="4" width="20" height="7"/><rect class="cls-2" x="20" y="4" width="2" height="7"/><polygon class="cls-3" points="22 4 20 4 20 11 22 4"/><rect class="cls-2" x="2" y="4" width="2" height="7"/><rect class="cls-4" x="6" y="7" width="6" height="1"/><rect class="cls-4" x="15" y="6" width="3" height="3" rx="1.5"/><rect class="cls-1" x="2" y="13" width="20" height="7"/><rect class="cls-2" x="20" y="13" width="2" height="7"/><polygon class="cls-3" points="22 13 20 13 20 20 22 13"/><rect class="cls-2" x="2" y="13" width="2" height="7"/><rect class="cls-4" x="6" y="16" width="6" height="1"/><rect class="cls-4" x="15" y="15" width="3" height="3" rx="1.5"/></g></svg>\ No newline at end of filediff --git a/pkg/modules/cloudintegration/implcloudintegration/fs/definitions/gcp/cloudstorage/integration.json b/pkg/modules/cloudintegration/implcloudintegration/fs/definitions/gcp/cloudstorage/integration.jsonnew file mode 100644index 0000000000..3e89875717--- /dev/null+++ b/pkg/modules/cloudintegration/implcloudintegration/fs/definitions/gcp/cloudstorage/integration.json@@ -0,0 +1,70 @@+{+ "id": "cloudstorage",+ "title": "GCP Cloud Storage",+ "icon": "file://icon.svg",+ "overview": "file://overview.md",+ "supportedSignals": {+ "metrics": true,+ "logs": true+ },+ "dataCollected": {+ "metrics": [+ {+ "name": "storage.googleapis.com/storage/v2/total_bytes",+ "unit": "Bytes",+ "type": "Gauge",+ "description": ""+ },+ {+ "name": "storage.googleapis.com/storage/v2/total_count",+ "unit": "Count",+ "type": "Gauge",+ "description": ""+ },+ {+ "name": "storage.googleapis.com/storage/v2/deleted_bytes",+ "unit": "Bytes",+ "type": "Sum",+ "description": ""+ },+ {+ "name": "storage.googleapis.com/api/request_count",+ "unit": "Count",+ "type": "Sum",+ "description": ""+ },+ {+ "name": "storage.googleapis.com/network/received_bytes_count",+ "unit": "Bytes",+ "type": "Sum",+ "description": ""+ },+ {+ "name": "storage.googleapis.com/network/sent_bytes_count",+ "unit": "Bytes",+ "type": "Sum",+ "description": ""+ },+ {+ "name": "storage.googleapis.com/authn/authentication_count",+ "unit": "Count",+ "type": "Sum",+ "description": ""+ }+ ],+ "logs": []+ },+ "telemetryCollectionStrategy": {+ "gcp": {}+ },+ "assets": {+ "dashboards": [+ {+ "id": "overview",+ "title": "GCP Cloud Storage Overview",+ "description": "Overview of GCP Cloud Storage metrics",+ "definition": "file://assets/dashboards/overview.json"+ }+ ]+ }+}diff --git a/pkg/modules/cloudintegration/implcloudintegration/fs/definitions/gcp/cloudstorage/overview.md b/pkg/modules/cloudintegration/implcloudintegration/fs/definitions/gcp/cloudstorage/overview.mdnew file mode 100644index 0000000000..8c2d069462--- /dev/null+++ b/pkg/modules/cloudintegration/implcloudintegration/fs/definitions/gcp/cloudstorage/overview.md@@ -0,0 +1,3 @@+### Monitor GCP Cloud Storage with SigNoz++Collect key GCP Cloud Storage metrics and view them with an out of the box dashboard.diff --git a/pkg/types/cloudintegrationtypes/serviceid.go b/pkg/types/cloudintegrationtypes/serviceid.goindex 58c8a50a2d..e1bf1e642c 100644--- a/pkg/types/cloudintegrationtypes/serviceid.go+++ b/pkg/types/cloudintegrationtypes/serviceid.go@@ -45,6 +45,7 @@ var (GCPServiceMemorystoreRedis = ServiceID{valuer.NewString("memorystore_redis")}GCPServiceComputeEngine = ServiceID{valuer.NewString("computeengine")}GCPServiceGKE = ServiceID{valuer.NewString("gke")}+ GCPServiceCloudStorage = ServiceID{valuer.NewString("cloudstorage")})func (ServiceID) Enum() []any {@@ -80,6 +81,7 @@ func (ServiceID) Enum() []any {GCPServiceMemorystoreRedis,GCPServiceComputeEngine,GCPServiceGKE,+ GCPServiceCloudStorage,}}@@ -121,6 +123,7 @@ var SupportedServices = map[CloudProviderType][]ServiceID{GCPServiceMemorystoreRedis,GCPServiceComputeEngine,GCPServiceGKE,+ GCPServiceCloudStorage,},}