Skip to content

Commit 79b05d5

Browse files
Remove Vercel cost data stream
Due to the size of the response data, we can not monitor this right now
1 parent c70fa6e commit 79b05d5

6 files changed

Lines changed: 5 additions & 348 deletions

File tree

plugins/Vercel/v1/dataStreams/cost.json

Lines changed: 0 additions & 71 deletions
This file was deleted.

plugins/Vercel/v1/dataStreams/domains.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,18 @@
1010
"pathToData": "domains",
1111
"paging": {
1212
"mode": "token",
13-
"pageSize": { "realm": "queryArg", "path": "limit", "value": "100" },
13+
"pageSize": {
14+
"realm": "queryArg",
15+
"path": "limit",
16+
"value": "100"
17+
},
1418
"in": { "realm": "payload", "path": "pagination.next" },
1519
"out": { "realm": "queryArg", "path": "until" }
1620
}
1721
},
1822
"matches": "none",
1923
"metadata": [
2024
{ "name": "id", "displayName": "ID", "visible": false },
21-
{ "name": "sourceType", "computed": true, "valueExpression": "Vercel Domain", "visible": false },
2225
{ "name": "name", "displayName": "Domain", "role": "label" },
2326
{ "name": "verified", "displayName": "Verified" },
2427
{ "name": "serviceType", "displayName": "Service Type" },

plugins/Vercel/v1/dataStreams/projects.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,6 @@
2727
"role": "value",
2828
"visible": false
2929
},
30-
{
31-
"name": "sourceType",
32-
"computed": true,
33-
"valueExpression": "Vercel Project",
34-
"visible": false
35-
},
3630
{ "name": "name", "displayName": "Name", "role": "label" },
3731
{ "name": "framework", "displayName": "Framework" },
3832
{ "name": "nodeVersion", "displayName": "Node Version" },

plugins/Vercel/v1/defaultContent/cost.dash.json

Lines changed: 0 additions & 161 deletions
This file was deleted.

plugins/Vercel/v1/defaultContent/manifest.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"items": [
33
{ "name": "overview", "type": "dashboard" },
4-
{ "name": "cost", "type": "dashboard" },
54
{ "name": "deployments", "type": "dashboard" },
65
{ "name": "activity", "type": "dashboard" },
76
{ "name": "project", "type": "dashboard" },

plugins/Vercel/v1/defaultContent/overview.dash.json

Lines changed: 0 additions & 107 deletions
Original file line numberDiff line numberDiff line change
@@ -96,113 +96,6 @@
9696
}
9797
}
9898
},
99-
{
100-
"static": false,
101-
"w": 1,
102-
"moved": false,
103-
"h": 3,
104-
"x": 0,
105-
"y": 3,
106-
"i": "f3ff120e-5ed1-414f-b57e-a2982d25ebbe",
107-
"z": 0,
108-
"config": {
109-
"timeframe": "last7days",
110-
"dataStream": {
111-
"name": "cost",
112-
"pluginConfigId": "{{configId}}",
113-
"id": "{{dataStreams.[cost]}}",
114-
"sort": {
115-
"top": 10,
116-
"by": []
117-
},
118-
"group": {
119-
"by": [],
120-
"aggregate": [
121-
{
122-
"type": "sum",
123-
"names": ["billedCost"]
124-
}
125-
]
126-
}
127-
},
128-
"_type": "tile/data-stream",
129-
"description": "",
130-
"activePluginConfigIds": ["{{configId}}"],
131-
"title": "Overall Cost",
132-
"visualisation": {
133-
"type": "data-stream-scalar",
134-
"config": {
135-
"data-stream-scalar": {
136-
"value": "billedCost_sum",
137-
"comparisonColumn": "none"
138-
}
139-
}
140-
}
141-
}
142-
},
143-
{
144-
"static": false,
145-
"w": 3,
146-
"moved": false,
147-
"h": 3,
148-
"x": 1,
149-
"y": 3,
150-
"i": "098760ae-37bf-485c-8b14-605051f34733",
151-
"z": 0,
152-
"config": {
153-
"timeframe": "last7days",
154-
"dataStream": {
155-
"name": "cost",
156-
"pluginConfigId": "{{configId}}",
157-
"id": "{{dataStreams.[cost]}}",
158-
"sort": {
159-
"top": 10,
160-
"by": [["billedCost_sum", "desc"]]
161-
},
162-
"group": {
163-
"by": [["projectName", "uniqueValues"]],
164-
"aggregate": [
165-
{
166-
"type": "sum",
167-
"names": ["billedCost"]
168-
}
169-
]
170-
}
171-
},
172-
"_type": "tile/data-stream",
173-
"description": "Billed cost grouped by project",
174-
"activePluginConfigIds": ["{{configId}}"],
175-
"title": "Cost by Project",
176-
"visualisation": {
177-
"type": "data-stream-bar-chart",
178-
"config": {
179-
"data-stream-bar-chart": {
180-
"color": {
181-
"type": "default"
182-
},
183-
"xAxisGroup": "none",
184-
"showLegend": false,
185-
"range": {
186-
"type": "auto"
187-
},
188-
"showGrid": true,
189-
"grouping": false,
190-
"xAxisData": "projectName_uniqueValues",
191-
"displayMode": "actual",
192-
"showTotals": false,
193-
"yAxisLabel": "Billed Cost ($)",
194-
"horizontalLayout": "horizontal",
195-
"showValue": false,
196-
"yAxisData": ["billedCost_sum"],
197-
"showYAxisLabel": true,
198-
"xAxisLabel": "",
199-
"legendPosition": "bottom",
200-
"showXAxisLabel": false
201-
}
202-
}
203-
}
204-
}
205-
},
20699
{
207100
"static": false,
208101
"w": 1,

0 commit comments

Comments
 (0)