Skip to content

Commit 4fc43a8

Browse files
committed
fix readme mistakes and add units to the datadog json
1 parent 321a936 commit 4fc43a8

File tree

2 files changed

+24
-23
lines changed

2 files changed

+24
-23
lines changed

datadog-dashboard.json

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
{
114114
"id": 21,
115115
"definition": {
116-
"title": "CPU Load by Application (P50)",
116+
"title": "CPU Load by Application (P50, vCPU)",
117117
"title_size": "16",
118118
"title_align": "left",
119119
"show_legend": true,
@@ -145,7 +145,7 @@
145145
{
146146
"id": 22,
147147
"definition": {
148-
"title": "CPU Load P90 by Application",
148+
"title": "CPU Load P90 by Application (vCPU)",
149149
"title_size": "16",
150150
"title_align": "left",
151151
"show_legend": true,
@@ -177,7 +177,7 @@
177177
{
178178
"id": 23,
179179
"definition": {
180-
"title": "CPU Load - Top 10 Applications",
180+
"title": "CPU Load - Top 10 Applications (vCPU)",
181181
"title_size": "16",
182182
"title_align": "left",
183183
"type": "toplist",
@@ -206,7 +206,7 @@
206206
{
207207
"id": 24,
208208
"definition": {
209-
"title": "CPU Load Heatmap by Placement",
209+
"title": "CPU Load Heatmap by Placement (vCPU)",
210210
"title_size": "16",
211211
"title_align": "left",
212212
"type": "heatmap",
@@ -241,7 +241,7 @@
241241
{
242242
"id": 31,
243243
"definition": {
244-
"title": "Memory Usage by Application (P50)",
244+
"title": "Memory Usage by Application (P50, MiB)",
245245
"title_size": "16",
246246
"title_align": "left",
247247
"show_legend": true,
@@ -250,7 +250,7 @@
250250
"type": "timeseries",
251251
"requests": [
252252
{
253-
"formulas": [{ "formula": "query1 / 1000000000" }],
253+
"formulas": [{ "formula": "query1" }],
254254
"queries": [
255255
{
256256
"name": "query1",
@@ -273,7 +273,7 @@
273273
{
274274
"id": 32,
275275
"definition": {
276-
"title": "Memory Usage P90 by Application",
276+
"title": "Memory Usage P90 by Application (MiB)",
277277
"title_size": "16",
278278
"title_align": "left",
279279
"show_legend": true,
@@ -282,7 +282,7 @@
282282
"type": "timeseries",
283283
"requests": [
284284
{
285-
"formulas": [{ "formula": "query1 / 1000000000" }],
285+
"formulas": [{ "formula": "query1" }],
286286
"queries": [
287287
{
288288
"name": "query1",
@@ -305,15 +305,15 @@
305305
{
306306
"id": 33,
307307
"definition": {
308-
"title": "Memory Usage - Top 10 Applications (GB)",
308+
"title": "Memory Usage - Top 10 Applications (MiB)",
309309
"title_size": "16",
310310
"title_align": "left",
311311
"type": "toplist",
312312
"requests": [
313313
{
314314
"formulas": [
315315
{
316-
"formula": "query1 / 1000000000",
316+
"formula": "query1",
317317
"limit": { "count": 10, "order": "desc" }
318318
}
319319
],
@@ -334,13 +334,13 @@
334334
{
335335
"id": 34,
336336
"definition": {
337-
"title": "Memory Usage Heatmap by Placement",
337+
"title": "Memory Usage Heatmap by Placement (MiB)",
338338
"title_size": "16",
339339
"title_align": "left",
340340
"type": "heatmap",
341341
"requests": [
342342
{
343-
"formulas": [{ "formula": "query1 / 1000000000" }],
343+
"formulas": [{ "formula": "query1" }],
344344
"queries": [
345345
{
346346
"name": "query1",
@@ -369,7 +369,7 @@
369369
{
370370
"id": 41,
371371
"definition": {
372-
"title": "Disk Usage P90 by Application (GB)",
372+
"title": "Disk Usage P90 by Application (MB)",
373373
"title_size": "16",
374374
"title_align": "left",
375375
"show_legend": true,
@@ -378,7 +378,7 @@
378378
"type": "timeseries",
379379
"requests": [
380380
{
381-
"formulas": [{ "formula": "query1 / 1000000000" }],
381+
"formulas": [{ "formula": "query1" }],
382382
"queries": [
383383
{
384384
"name": "query1",
@@ -401,15 +401,15 @@
401401
{
402402
"id": 42,
403403
"definition": {
404-
"title": "Disk Usage - Top 10 Applications (GB)",
404+
"title": "Disk Usage - Top 10 Applications (MB)",
405405
"title_size": "16",
406406
"title_align": "left",
407407
"type": "toplist",
408408
"requests": [
409409
{
410410
"formulas": [
411411
{
412-
"formula": "query1 / 1000000000",
412+
"formula": "query1",
413413
"limit": { "count": 10, "order": "desc" }
414414
}
415415
],
@@ -557,14 +557,14 @@
557557
{
558558
"formulas": [
559559
{
560-
"alias": "CPU P50",
560+
"alias": "CPU P50 (vCPU)",
561561
"formula": "query1",
562562
"limit": { "count": 50, "order": "desc" }
563563
},
564-
{ "alias": "CPU P90", "formula": "query2" },
565-
{ "alias": "Memory P50 (GB)", "formula": "query3 / 1000000000" },
566-
{ "alias": "Memory P90 (GB)", "formula": "query4 / 1000000000" },
567-
{ "alias": "Disk P90 (GB)", "formula": "query5 / 1000000000" }
564+
{ "alias": "CPU P90 (vCPU)", "formula": "query2" },
565+
{ "alias": "Memory P50 (MiB)", "formula": "query3" },
566+
{ "alias": "Memory P90 (MiB)", "formula": "query4" },
567+
{ "alias": "Disk P90 (MB)", "formula": "query5" }
568568
],
569569
"queries": [
570570
{

readme.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ Exports Cloudflare Containers metrics to Datadog using the [Cloudflare GraphQL A
1212
### Installation
1313

1414
```bash
15-
git clone https://github.com/cloudflare/containers-metrics-exporter.git
16-
cd containers-metrics-exporter
15+
git clone https://github.com/flarelabs-net/cloudflare-container-metrics-datadog-exporter.git
16+
cd cloudflare-container-metrics-datadog-exporter
1717
npm install
1818
```
1919

@@ -36,6 +36,7 @@ curl "http://localhost:8787/cdn-cgi/handler/scheduled"
3636

3737
```bash
3838
npx wrangler deploy
39+
npx wrangler secret bulk .dev.vars
3940
```
4041

4142
## Metrics

0 commit comments

Comments
 (0)