Skip to content

Commit 2c2d2c5

Browse files
added accountId in dashboard config
1 parent 9227ba8 commit 2c2d2c5

File tree

1 file changed

+23
-69
lines changed

1 file changed

+23
-69
lines changed

entity-types/ext-fluentbit/dashboard.json

+23-69
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,7 @@
4040
},
4141
"nrqlQueries": [
4242
{
43-
"accountIds": [
44-
0
45-
],
43+
"accountId": 0,
4644
"query": "SELECT latest(os) as 'OS', latest(version) as 'FB version', latest(cluster_name) FROM Metric where metricName = 'fluentbit_build_info' AND cluster_name IN ({{cluster_name}}) since 1 hour ago facet pod_name, node_name limit max"
4745
}
4846
],
@@ -72,9 +70,7 @@
7270
},
7371
"nrqlQueries": [
7472
{
75-
"accountIds": [
76-
0
77-
],
73+
"accountId": 0,
7874
"query": "SELECT latest(fluentbit_uptime) FROM Metric where cluster_name IN ({{cluster_name}}) facet pod_name timeseries"
7975
}
8076
],
@@ -129,9 +125,7 @@
129125
},
130126
"nrqlQueries": [
131127
{
132-
"accountIds": [
133-
0
134-
],
128+
"accountId": 0,
135129
"query": "SELECT rate(sum(fluentbit_input_bytes_total), 1 minute) as 'bytes/minute' FROM Metric where name != 'fb-metrics-collector' and cluster_name IN ({{cluster_name}}) timeseries max facet name, pod_name"
136130
}
137131
],
@@ -170,9 +164,7 @@
170164
},
171165
"nrqlQueries": [
172166
{
173-
"accountIds": [
174-
0
175-
],
167+
"accountId": 0,
176168
"query": "SELECT rate(sum(fluentbit_input_records_total), 1 minute) as 'logs/minute' FROM Metric where name != 'fb-metrics-collector' and cluster_name IN ({{cluster_name}}) facet name, pod_name timeseries max"
177169
}
178170
],
@@ -211,9 +203,7 @@
211203
},
212204
"nrqlQueries": [
213205
{
214-
"accountIds": [
215-
0
216-
],
206+
"accountId": 0,
217207
"query": "SELECT sum(fluentbit_input_bytes_total)/sum(fluentbit_input_records_total) as 'Average incoming record size (bytes)' FROM Metric where name != 'fb-metrics-collector' and cluster_name IN ({{cluster_name}}) facet name, pod_name timeseries max"
218208
}
219209
],
@@ -271,9 +261,7 @@
271261
},
272262
"nrqlQueries": [
273263
{
274-
"accountIds": [
275-
0
276-
],
264+
"accountId": 0,
277265
"query": "SELECT rate(sum(fluentbit_filter_bytes_total), 1 minute) FROM Metric WHERE cluster_name IN ({{cluster_name}}) facet name, pod_name timeseries max"
278266
}
279267
],
@@ -312,9 +300,7 @@
312300
},
313301
"nrqlQueries": [
314302
{
315-
"accountIds": [
316-
0
317-
],
303+
"accountId": 0,
318304
"query": "SELECT rate(sum(fluentbit_filter_records_total), 1 minute) FROM Metric WHERE cluster_name IN ({{cluster_name}}) facet name, pod_name timeseries max"
319305
}
320306
],
@@ -353,9 +339,7 @@
353339
},
354340
"nrqlQueries": [
355341
{
356-
"accountIds": [
357-
0
358-
],
342+
"accountId": 0,
359343
"query": "SELECT sum(fluentbit_filter_bytes_total)/sum(fluentbit_filter_records_total) AS 'Average filtered record size (bytes)' FROM Metric WHERE cluster_name IN ({{cluster_name}}) facet name, pod_name timeseries max"
360344
}
361345
],
@@ -397,9 +381,7 @@
397381
},
398382
"nrqlQueries": [
399383
{
400-
"accountIds": [
401-
0
402-
],
384+
"accountId": 0,
403385
"query": "SELECT rate(sum(fluentbit_filter_add_records_total), 1 minute) as 'Added back to pipeline', rate(sum(fluentbit_filter_drop_records_total), 1 minute) as 'Removed from pipeline' FROM Metric WHERE cluster_name IN ({{cluster_name}}) facet name, pod_name timeseries MAX"
404386
}
405387
],
@@ -457,9 +439,7 @@
457439
},
458440
"nrqlQueries": [
459441
{
460-
"accountIds": [
461-
0
462-
],
442+
"accountId": 0,
463443
"query": "SELECT rate(sum(fluentbit_output_proc_bytes_total), 1 minute) as 'bytes/minute' FROM Metric where cluster_name IN ({{cluster_name}}) AND name != 'fb-metrics-forwarder' facet name, pod_name timeseries max"
464444
}
465445
],
@@ -498,9 +478,7 @@
498478
},
499479
"nrqlQueries": [
500480
{
501-
"accountIds": [
502-
0
503-
],
481+
"accountId": 0,
504482
"query": "SELECT rate(sum(fluentbit_output_proc_records_total), 1 minute) as 'records/minute' FROM Metric where cluster_name IN ({{cluster_name}}) AND name != 'fb-metrics-forwarder' facet name, pod_name timeseries MAX "
505483
}
506484
],
@@ -539,9 +517,7 @@
539517
},
540518
"nrqlQueries": [
541519
{
542-
"accountIds": [
543-
0
544-
],
520+
"accountId": 0,
545521
"query": "SELECT sum(fluentbit_output_proc_bytes_total)/sum(fluentbit_output_proc_records_total) as 'bytes' FROM Metric where cluster_name IN ({{cluster_name}}) AND name != 'fb-metrics-forwarder' facet name, pod_name timeseries MAX"
546522
}
547523
],
@@ -583,9 +559,7 @@
583559
},
584560
"nrqlQueries": [
585561
{
586-
"accountIds": [
587-
0
588-
],
562+
"accountId": 0,
589563
"query": "SELECT rate(sum(fluentbit_output_proc_records_total), 1 minute) as 'Processed', rate(sum(fluentbit_output_dropped_records_total), 1 minute) as 'Dropped', rate(sum(fluentbit_output_retried_records_total), 1 minute) as 'Retried' FROM Metric where cluster_name IN ({{cluster_name}}) AND name = 'newrelic-logs-forwarder' facet pod_name timeseries max"
590564
}
591565
],
@@ -624,9 +598,7 @@
624598
},
625599
"nrqlQueries": [
626600
{
627-
"accountIds": [
628-
0
629-
],
601+
"accountId": 0,
630602
"query": "SELECT rate(sum(fluentbit_output_proc_records_total), 1 minute) as 'Processed', rate(sum(fluentbit_output_dropped_records_total), 1 minute) as 'Dropped', rate(sum(fluentbit_output_retried_records_total), 1 minute) as 'Retried' FROM Metric where cluster_name IN ({{cluster_name}}) AND name != 'newrelic-logs-forwarder' and name != 'fb-metrics-forwarder' facet name, pod_name timeseries max"
631603
}
632604
],
@@ -665,9 +637,7 @@
665637
},
666638
"nrqlQueries": [
667639
{
668-
"accountIds": [
669-
0
670-
],
640+
"accountId": 0,
671641
"query": "SELECT max(fluentbit_output_upstream_total_connections) as 'Total', max(fluentbit_output_upstream_busy_connections) as 'Busy' FROM Metric where cluster_name IN ({{cluster_name}}) AND name != 'fb-metrics-forwarder' facet name, pod_name timeseries MAX"
672642
}
673643
],
@@ -706,9 +676,7 @@
706676
},
707677
"nrqlQueries": [
708678
{
709-
"accountIds": [
710-
0
711-
],
679+
"accountId": 0,
712680
"query": "SELECT rate(sum(fluentbit_output_errors_total), 1 minute) AS 'Errors/minute' FROM Metric where cluster_name IN ({{cluster_name}}) AND name = 'newrelic-logs-forwarder' facet pod_name timeseries MAX "
713681
}
714682
],
@@ -747,9 +715,7 @@
747715
},
748716
"nrqlQueries": [
749717
{
750-
"accountIds": [
751-
0
752-
],
718+
"accountId": 0,
753719
"query": "SELECT rate(sum(fluentbit_output_retries_total), 1 minute) as 'Retries', rate(sum(fluentbit_output_retries_failed_total), 1 minute) as 'Expirations' FROM Metric where cluster_name IN ({{cluster_name}}) AND name = 'newrelic-logs-forwarder' facet pod_name timeseries max"
754720
}
755721
],
@@ -804,9 +770,7 @@
804770
},
805771
"nrqlQueries": [
806772
{
807-
"accountIds": [
808-
0
809-
],
773+
"accountId": 0,
810774
"query": "SELECT max(fluentbit_input_storage_memory_bytes) as 'Max' FROM Metric where cluster_name IN ({{cluster_name}}) and name != 'fb-metrics-collector' timeseries max facet name, pod_name "
811775
}
812776
],
@@ -856,9 +820,7 @@
856820
},
857821
"nrqlQueries": [
858822
{
859-
"accountIds": [
860-
0
861-
],
823+
"accountId": 0,
862824
"query": "SELECT max(fluentbit_input_storage_overlimit) FROM Metric where cluster_name IN ({{cluster_name}}) and name != 'fb-metrics-collector' timeseries max facet name, pod_name"
863825
}
864826
],
@@ -905,9 +867,7 @@
905867
},
906868
"nrqlQueries": [
907869
{
908-
"accountIds": [
909-
0
910-
],
870+
"accountId": 0,
911871
"query": "SELECT average(fluentbit_input_storage_chunks_up) AS 'Up (in memory)', average(fluentbit_input_storage_chunks_down) AS 'Down (in fs)', average(fluentbit_input_storage_chunks_busy) AS 'Busy', average(fluentbit_input_storage_chunks) as 'Total' FROM Metric where name != 'fb-metrics-collector' since 1 hour ago timeseries MAX facet name, pod_name "
912872
}
913873
],
@@ -946,9 +906,7 @@
946906
},
947907
"nrqlQueries": [
948908
{
949-
"accountIds": [
950-
0
951-
],
909+
"accountId": 0,
952910
"query": "SELECT max(fluentbit_input_storage_chunks) AS 'Total', max(fluentbit_storage_mem_chunks) AS 'Memory', max(fluentbit_storage_fs_chunks) AS 'Filesystem' FROM Metric where cluster_name IN ({{cluster_name}}) facet pod_name timeseries MAX "
953911
}
954912
],
@@ -987,9 +945,7 @@
987945
},
988946
"nrqlQueries": [
989947
{
990-
"accountIds": [
991-
0
992-
],
948+
"accountId": 0,
993949
"query": "SELECT max(fluentbit_input_storage_chunks_busy_bytes) FROM Metric where name != 'fb-metrics-collector' facet name, pod_name timeseries MAX since 1 hour ago"
994950
}
995951
],
@@ -1031,9 +987,7 @@
1031987
},
1032988
"nrqlQueries": [
1033989
{
1034-
"accountIds": [
1035-
0
1036-
],
990+
"accountId": 0,
1037991
"query": "SELECT average(fluentbit_storage_fs_chunks_up) AS 'Up (in memory)', average(fluentbit_storage_fs_chunks_down) AS 'Down (fs only)' FROM Metric since '2024-02-29 13:22:00+0000' UNTIL '2024-02-29 14:31:00+0000' timeseries MAX "
1038992
}
1039993
],

0 commit comments

Comments
 (0)