|
41 | 41 | "nrqlQueries": [
|
42 | 42 | {
|
43 | 43 | "accountId": 0,
|
44 |
| - "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" |
| 44 | + "query": "SELECT latest(os) as 'OS', latest(version) as 'FB version', latest(cluster_name) FROM Metric where metricName = 'fluentbit_build_info' since 1 hour ago facet pod_name, node_name limit max" |
45 | 45 | }
|
46 | 46 | ],
|
47 | 47 | "platformOptions": {
|
|
71 | 71 | "nrqlQueries": [
|
72 | 72 | {
|
73 | 73 | "accountId": 0,
|
74 |
| - "query": "SELECT latest(fluentbit_uptime) FROM Metric where cluster_name IN ({{cluster_name}}) facet pod_name timeseries" |
| 74 | + "query": "SELECT latest(fluentbit_uptime) FROM Metric facet pod_name timeseries" |
75 | 75 | }
|
76 | 76 | ],
|
77 | 77 | "platformOptions": {
|
|
124 | 124 | "nrqlQueries": [
|
125 | 125 | {
|
126 | 126 | "accountId": 0,
|
127 |
| - "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" |
| 127 | + "query": "SELECT rate(sum(fluentbit_input_bytes_total), 1 minute) as 'bytes/minute' FROM Metric where name != 'fb-metrics-collector' timeseries max facet name, pod_name" |
128 | 128 | }
|
129 | 129 | ],
|
130 | 130 | "platformOptions": {
|
|
161 | 161 | "nrqlQueries": [
|
162 | 162 | {
|
163 | 163 | "accountId": 0,
|
164 |
| - "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" |
| 164 | + "query": "SELECT rate(sum(fluentbit_input_records_total), 1 minute) as 'logs/minute' FROM Metric where name != 'fb-metrics-collector' facet name, pod_name timeseries max" |
165 | 165 | }
|
166 | 166 | ],
|
167 | 167 | "platformOptions": {
|
|
198 | 198 | "nrqlQueries": [
|
199 | 199 | {
|
200 | 200 | "accountId": 0,
|
201 |
| - "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" |
| 201 | + "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' facet name, pod_name timeseries max" |
202 | 202 | }
|
203 | 203 | ],
|
204 | 204 | "platformOptions": {
|
|
254 | 254 | "nrqlQueries": [
|
255 | 255 | {
|
256 | 256 | "accountId": 0,
|
257 |
| - "query": "SELECT rate(sum(fluentbit_filter_bytes_total), 1 minute) FROM Metric WHERE cluster_name IN ({{cluster_name}}) facet name, pod_name timeseries max" |
| 257 | + "query": "SELECT rate(sum(fluentbit_filter_bytes_total), 1 minute) FROM Metric facet name, pod_name timeseries max" |
258 | 258 | }
|
259 | 259 | ],
|
260 | 260 | "platformOptions": {
|
|
291 | 291 | "nrqlQueries": [
|
292 | 292 | {
|
293 | 293 | "accountId": 0,
|
294 |
| - "query": "SELECT rate(sum(fluentbit_filter_records_total), 1 minute) FROM Metric WHERE cluster_name IN ({{cluster_name}}) facet name, pod_name timeseries max" |
| 294 | + "query": "SELECT rate(sum(fluentbit_filter_records_total), 1 minute) FROM Metric facet name, pod_name timeseries max" |
295 | 295 | }
|
296 | 296 | ],
|
297 | 297 | "platformOptions": {
|
|
328 | 328 | "nrqlQueries": [
|
329 | 329 | {
|
330 | 330 | "accountId": 0,
|
331 |
| - "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" |
| 331 | + "query": "SELECT sum(fluentbit_filter_bytes_total)/sum(fluentbit_filter_records_total) AS 'Average filtered record size (bytes)' FROM Metric facet name, pod_name timeseries max" |
332 | 332 | }
|
333 | 333 | ],
|
334 | 334 | "platformOptions": {
|
|
368 | 368 | "nrqlQueries": [
|
369 | 369 | {
|
370 | 370 | "accountId": 0,
|
371 |
| - "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" |
| 371 | + "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 facet name, pod_name timeseries MAX" |
372 | 372 | }
|
373 | 373 | ],
|
374 | 374 | "platformOptions": {
|
|
424 | 424 | "nrqlQueries": [
|
425 | 425 | {
|
426 | 426 | "accountId": 0,
|
427 |
| - "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" |
| 427 | + "query": "SELECT rate(sum(fluentbit_output_proc_bytes_total), 1 minute) as 'bytes/minute' FROM Metric where name != 'fb-metrics-forwarder' facet name, pod_name timeseries max" |
428 | 428 | }
|
429 | 429 | ],
|
430 | 430 | "platformOptions": {
|
|
461 | 461 | "nrqlQueries": [
|
462 | 462 | {
|
463 | 463 | "accountId": 0,
|
464 |
| - "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 " |
| 464 | + "query": "SELECT rate(sum(fluentbit_output_proc_records_total), 1 minute) as 'records/minute' FROM Metric where name != 'fb-metrics-forwarder' facet name, pod_name timeseries MAX " |
465 | 465 | }
|
466 | 466 | ],
|
467 | 467 | "platformOptions": {
|
|
498 | 498 | "nrqlQueries": [
|
499 | 499 | {
|
500 | 500 | "accountId": 0,
|
501 |
| - "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" |
| 501 | + "query": "SELECT sum(fluentbit_output_proc_bytes_total)/sum(fluentbit_output_proc_records_total) as 'bytes' FROM Metric where name != 'fb-metrics-forwarder' facet name, pod_name timeseries MAX" |
502 | 502 | }
|
503 | 503 | ],
|
504 | 504 | "platformOptions": {
|
|
538 | 538 | "nrqlQueries": [
|
539 | 539 | {
|
540 | 540 | "accountId": 0,
|
541 |
| - "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" |
| 541 | + "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 name = 'newrelic-logs-forwarder' facet pod_name timeseries max" |
542 | 542 | }
|
543 | 543 | ],
|
544 | 544 | "platformOptions": {
|
|
575 | 575 | "nrqlQueries": [
|
576 | 576 | {
|
577 | 577 | "accountId": 0,
|
578 |
| - "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" |
| 578 | + "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 name != 'newrelic-logs-forwarder' and name != 'fb-metrics-forwarder' facet name, pod_name timeseries max" |
579 | 579 | }
|
580 | 580 | ],
|
581 | 581 | "platformOptions": {
|
|
612 | 612 | "nrqlQueries": [
|
613 | 613 | {
|
614 | 614 | "accountId": 0,
|
615 |
| - "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" |
| 615 | + "query": "SELECT max(fluentbit_output_upstream_total_connections) as 'Total', max(fluentbit_output_upstream_busy_connections) as 'Busy' FROM Metric where name != 'fb-metrics-forwarder' facet name, pod_name timeseries MAX" |
616 | 616 | }
|
617 | 617 | ],
|
618 | 618 | "platformOptions": {
|
|
649 | 649 | "nrqlQueries": [
|
650 | 650 | {
|
651 | 651 | "accountId": 0,
|
652 |
| - "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 " |
| 652 | + "query": "SELECT rate(sum(fluentbit_output_errors_total), 1 minute) AS 'Errors/minute' FROM Metric where name = 'newrelic-logs-forwarder' facet pod_name timeseries MAX " |
653 | 653 | }
|
654 | 654 | ],
|
655 | 655 | "platformOptions": {
|
|
686 | 686 | "nrqlQueries": [
|
687 | 687 | {
|
688 | 688 | "accountId": 0,
|
689 |
| - "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" |
| 689 | + "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 name = 'newrelic-logs-forwarder' facet pod_name timeseries max" |
690 | 690 | }
|
691 | 691 | ],
|
692 | 692 | "platformOptions": {
|
|
739 | 739 | "nrqlQueries": [
|
740 | 740 | {
|
741 | 741 | "accountId": 0,
|
742 |
| - "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 " |
| 742 | + "query": "SELECT max(fluentbit_input_storage_memory_bytes) as 'Max' FROM Metric where name != 'fb-metrics-collector' timeseries max facet name, pod_name " |
743 | 743 | }
|
744 | 744 | ],
|
745 | 745 | "platformOptions": {
|
|
787 | 787 | "nrqlQueries": [
|
788 | 788 | {
|
789 | 789 | "accountId": 0,
|
790 |
| - "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" |
| 790 | + "query": "SELECT max(fluentbit_input_storage_overlimit) FROM Metric where name != 'fb-metrics-collector' timeseries max facet name, pod_name" |
791 | 791 | }
|
792 | 792 | ],
|
793 | 793 | "platformOptions": {
|
|
861 | 861 | "nrqlQueries": [
|
862 | 862 | {
|
863 | 863 | "accountId": 0,
|
864 |
| - "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 " |
| 864 | + "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 facet pod_name timeseries MAX " |
865 | 865 | }
|
866 | 866 | ],
|
867 | 867 | "platformOptions": {
|
|
0 commit comments