diff --git a/entity-types/ext-fluentbit_kubernetes/dashboard.json b/entity-types/ext-fluentbit_kubernetes/dashboard.json index 1c5a3f7d5..1bc22d701 100644 --- a/entity-types/ext-fluentbit_kubernetes/dashboard.json +++ b/entity-types/ext-fluentbit_kubernetes/dashboard.json @@ -3,105 +3,9 @@ "description": null, "pages": [ { - "name": "Overview", + "name": "Input", "description": null, "widgets": [ - { - "title": "", - "layout": { - "column": 1, - "row": 1, - "width": 6, - "height": 6 - }, - - "visualization": { - "id": "viz.markdown" - }, - "rawConfiguration": { - "text": "# README\n\n## About this page\nThis page represents most of [Fluent Bit's internal metrics](https://docs.fluentbit.io/manual/administration/monitoring#for-v2-metrics). The metric representations are grouped by categories and faceted by each plugin instance where appropriate.\n\n## How to filter\n1. Select the Kubernetes cluster you want to troubleshoot in the \"Cluster Name\" variable above.\n2. [OPTIONAL] You can use any of the values in the `Node name` and `Pod name` columns on the \"Fluent Bit version\" table to further filter the metrics displayed in the graphs below. To do so, you need to enable [facet filtering](https://docs.newrelic.com/docs/query-your-data/explore-query-data/dashboards/filter-new-relic-one-dashboards-facets/) on that table by clicking on the \"Edit\" submenu and select \"Filter the current dashboard\" under \"Facet Linking\". \n\n## Legend\n### Metric dimensions\n- **name**: the name of the Fluent Bit plugin. Version 1.21.0 of our Helm chart names them according to the plugin names described in the following section.\n- **pod_name**: the `newrelic-logging` pod (Fluent Bit instance) that emitted this metric.\n- **node_name**: physical Kubernetes node where the `newrelic-logging` pod is running.\n\n### Plugin names\n- **pod-logs-tailer**: `tail` *INPUT* plugin normally reading from `/var/log/containers/*.log`\n- **kubernetes-enricher**: `kubernetes` *FILTER* plugin that queries the Kubernetes API to enrich the logs with pod/container metadata.\n- **node-attributes-enricher**: `record_modifier` *FILTER* plugin that enriches logs with `cluster_name`.\n- **kubernetes-attribute-lifter** (only when in low data mode): `nest` *FILTER* plugin that lifts all the keys under `kubernetes`. This plugin is transparent to the final shape of the log.\n- **node-attributes-enricher-filter** (only when in low data mode): same as node-attributes-enricher`, but it also removes attributes that are not strictly necessary for correct platform functioning.\n- **newrelic-logs-forwarder**: `newrelic` *OUTPUT* plugin that sends logs to the New Relic Logs API" - } - }, - { - "title": "Fluent Bit version", - "layout": { - "column": 7, - "row": 1, - "width": 6, - "height": 3 - }, - - "visualization": { - "id": "viz.table" - }, - "rawConfiguration": { - "facet": { - "showOtherSeries": false - }, - "nrqlQueries": [ - { - "accountId": 0, - "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" - } - ], - "platformOptions": { - "ignoreTimeRange": false - } - } - }, - { - "title": "Fluent Bit uptime", - "layout": { - "column": 7, - "row": 4, - "width": 6, - "height": 3 - }, - - "visualization": { - "id": "viz.line" - }, - "rawConfiguration": { - "facet": { - "showOtherSeries": false - }, - "legend": { - "enabled": true - }, - "nrqlQueries": [ - { - "accountId": 0, - "query": "SELECT latest(fluentbit_uptime) FROM Metric facet pod_name timeseries" - } - ], - "platformOptions": { - "ignoreTimeRange": false - }, - "thresholds": [], - "yAxisLeft": { - "zero": true - }, - "yAxisRight": { - "zero": true - } - } - }, - { - "title": "", - "layout": { - "column": 1, - "row": 7, - "width": 12, - "height": 1 - }, - - "visualization": { - "id": "viz.markdown" - }, - "rawConfiguration": { - "text": "# INPUTS" - } - }, { "title": "Input byte rate (bytes/minute)", "layout": { @@ -110,7 +14,7 @@ "width": 4, "height": 3 }, - + "visualization": { "id": "viz.line" }, @@ -147,7 +51,7 @@ "width": 4, "height": 3 }, - + "visualization": { "id": "viz.line" }, @@ -184,7 +88,7 @@ "width": 4, "height": 3 }, - + "visualization": { "id": "viz.line" }, @@ -198,7 +102,7 @@ "nrqlQueries": [ { "accountId": 0, - "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" + "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" } ], "platformOptions": { @@ -215,23 +119,13 @@ "zero": true } } - }, - { - "title": "", - "layout": { - "column": 1, - "row": 11, - "width": 12, - "height": 1 - }, - - "visualization": { - "id": "viz.markdown" - }, - "rawConfiguration": { - "text": "# FILTERS" - } - }, + } + ] + }, + { + "name": "Filter", + "description": null, + "widgets": [ { "title": "Filter byte rate (bytes/minute)", "layout": { @@ -240,7 +134,7 @@ "width": 4, "height": 3 }, - + "visualization": { "id": "viz.line" }, @@ -254,7 +148,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "SELECT rate(sum(fluentbit_filter_bytes_total), 1 minute) FROM Metric facet name, pod_name timeseries max" + "query": "SELECT rate(sum(fluentbit_filter_bytes_total), 1 minute) FROM Metric facet name, pod_name timeseries max" } ], "platformOptions": { @@ -277,7 +171,7 @@ "width": 4, "height": 3 }, - + "visualization": { "id": "viz.line" }, @@ -291,7 +185,7 @@ "nrqlQueries": [ { "accountId": 0, - "query": "SELECT rate(sum(fluentbit_filter_records_total), 1 minute) FROM Metric facet name, pod_name timeseries max" + "query": "SELECT rate(sum(fluentbit_filter_records_total), 1 minute) FROM Metric facet name, pod_name timeseries max" } ], "platformOptions": { @@ -314,7 +208,7 @@ "width": 4, "height": 3 }, - + "visualization": { "id": "viz.line" }, @@ -354,7 +248,7 @@ "width": 4, "height": 3 }, - + "visualization": { "id": "viz.line" }, @@ -385,23 +279,13 @@ "zero": true } } - }, - { - "title": "", - "layout": { - "column": 1, - "row": 18, - "width": 12, - "height": 1 - }, - - "visualization": { - "id": "viz.markdown" - }, - "rawConfiguration": { - "text": "# OUTPUTS" - } - }, + } + ] + }, + { + "name": "Output", + "description": null, + "widgets": [ { "title": "Output byte rate (bytes/minute)", "layout": { @@ -410,7 +294,7 @@ "width": 4, "height": 3 }, - + "visualization": { "id": "viz.line" }, @@ -447,7 +331,7 @@ "width": 4, "height": 3 }, - + "visualization": { "id": "viz.line" }, @@ -484,7 +368,7 @@ "width": 4, "height": 3 }, - + "visualization": { "id": "viz.line" }, @@ -498,7 +382,7 @@ "nrqlQueries": [ { "accountId": 0, - "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" + "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" } ], "platformOptions": { @@ -524,7 +408,7 @@ "width": 4, "height": 3 }, - + "visualization": { "id": "viz.line" }, @@ -538,7 +422,7 @@ "nrqlQueries": [ { "accountId": 0, - "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" + "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" } ], "platformOptions": { @@ -561,7 +445,7 @@ "width": 4, "height": 3 }, - + "visualization": { "id": "viz.line" }, @@ -598,7 +482,7 @@ "width": 4, "height": 3 }, - + "visualization": { "id": "viz.line" }, @@ -635,7 +519,7 @@ "width": 4, "height": 3 }, - + "visualization": { "id": "viz.line" }, @@ -672,7 +556,7 @@ "width": 4, "height": 3 }, - + "visualization": { "id": "viz.line" }, @@ -686,7 +570,7 @@ "nrqlQueries": [ { "accountId": 0, - "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" + "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" } ], "platformOptions": { @@ -700,23 +584,13 @@ "zero": true } } - }, - { - "title": "", - "layout": { - "column": 1, - "row": 28, - "width": 12, - "height": 1 - }, - - "visualization": { - "id": "viz.markdown" - }, - "rawConfiguration": { - "text": "# MEMORY USAGE" - } - }, + } + ] + }, + { + "name": "Memory usage", + "description": null, + "widgets": [ { "title": "Input plugin memory usage", "layout": { @@ -725,7 +599,7 @@ "width": 4, "height": 3 }, - + "visualization": { "id": "viz.line" }, @@ -765,7 +639,7 @@ "width": 4, "height": 3 }, - + "visualization": { "id": "viz.line" }, @@ -810,7 +684,6 @@ "width": 4, "height": 3 }, - "visualization": { "id": "viz.line" }, @@ -847,7 +720,7 @@ "width": 4, "height": 3 }, - + "visualization": { "id": "viz.line" }, @@ -861,7 +734,7 @@ "nrqlQueries": [ { "accountId": 0, - "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 " + "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 " } ], "platformOptions": { @@ -884,7 +757,7 @@ "width": 4, "height": 3 }, - + "visualization": { "id": "viz.line" }, @@ -924,7 +797,7 @@ "width": 4, "height": 3 }, - + "visualization": { "id": "viz.line" }, @@ -956,4 +829,4 @@ ] } ] -} \ No newline at end of file +}