Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: NR-346401 adding new confluent cloud kafka topic entity #1824

Merged
merged 21 commits into from
Jan 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
fc6094a
feat: Adding confluent cloud cluster entity
dsankaraganti Sep 24, 2024
61012db
feat: Adding confluent cloud cluster entity metrics
dsankaraganti Sep 27, 2024
6a5a502
feat: Resolve conflicts
dsankaraganti Sep 27, 2024
4469387
Merge branch 'main' into main
otaviocarvalho Sep 27, 2024
b836e50
feat: NR-258723 dashboard metric query syntax issue fix
dsankaraganti Sep 30, 2024
56b9b51
Merge branch 'main' of https://github.com/dsankaraganti/entity-defini…
dsankaraganti Sep 30, 2024
0682613
Merge branch 'main' of https://github.com/newrelic/entity-definitions
dsankaraganti Sep 30, 2024
eade0d7
feat: NR-346401 adding new confluent cloud kafka topic entity
dsankaraganti Dec 16, 2024
ac910f9
Merge branch 'newrelic:main' into main
dsankaraganti Dec 16, 2024
d1a7267
Merge branch 'main' of https://github.com/dsankaraganti/entity-defini…
dsankaraganti Dec 16, 2024
ea4576f
feat: Changed folder name
dsankaraganti Dec 16, 2024
65c00e3
Adding APM entity to ConfluentCloudKafkaTopic entity relationship
dsankaraganti Dec 26, 2024
8d40cd2
Merge branch 'newrelic:main' into main
dsankaraganti Dec 26, 2024
6345886
Adding APM entity to ConfluentCloudKafkaTopic entity relationship
dsankaraganti Dec 26, 2024
c035f0c
Merge branch 'main' of https://github.com/dsankaraganti/entity-defini…
dsankaraganti Dec 26, 2024
df0ba5f
feat: NR-346406 adding new relationship CONFLUENTCLOUDCLUSTER MANAGES…
dsankaraganti Jan 3, 2025
5e8be02
feat: NR-346406 using existing category and added new lookup for kafk…
dsankaraganti Jan 3, 2025
fc10a60
feat: Adding tags for confluent kafka topic
dsankaraganti Jan 8, 2025
91a8005
feat: Adding test jsons
dsankaraganti Jan 13, 2025
e7d11fa
Merge branch 'main' into main
otaviocarvalho Jan 15, 2025
5252d55
Merge branch 'main' into main
otaviocarvalho Jan 15, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
153 changes: 31 additions & 122 deletions entity-types/infra-confluentcloudcluster/confluent_dashboard.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{
"name": "Confluent Cloud",
"name": "Confluent Cloud Cluster",
"description": null,
"pages": [
{
"name": "Confluent Cloud",
"name": "Confluent Cloud Cluster",
"description": null,
"widgets": [
{
"title": "Cluster Specs",
"title": "Cluster load percent",
"layout": {
"column": 1,
"row": 1,
"width": 6,
"height": 4
},
"visualization": {
"id": "viz.billboard"
"id": "viz.line"
},
"rawConfiguration": {
"dataFormatters": [
Expand All @@ -30,7 +30,7 @@
"nrqlQueries": [
{
"accountId": 0,
"query": "SELECT uniqueCount(confluent.kafka.server.metric.topic) as 'Topics', average(confluent.kafka.server.partition_count) as 'Partitions', uniqueCount(confluent.kafka.server.metric.consumer_group_id) as 'Consumer Groups' FROM Metric"
"query": "select average(confluent.kafka.server.cluster_load_percent) * 100 AS 'Cluster load percent' from Metric TIMESERIES LIMIT MAX"
}
],
"platformOptions": {
Expand All @@ -39,15 +39,15 @@
}
},
{
"title": "Request Bytes (bytes/second) Per Type",
"title": "Request throughtput (bytes/second)",
"layout": {
"column": 7,
"row": 1,
"width": 6,
"height": 4
},
"visualization": {
"id": "viz.pie"
"id": "viz.line"
},
"rawConfiguration": {
"facet": {
Expand All @@ -59,7 +59,7 @@
"nrqlQueries": [
{
"accountId": 0,
"query": "SELECT rate(sum(confluent.kafka.server.request_bytes), 1 second) FROM Metric FACET confluent.kafka.server.metric.type LIMIT MAX"
"query": "select rate(sum(confluent.kafka.server.request_bytes), 1 second) AS 'Request throughtput' from Metric TIMESERIES LIMIT MAX"
}
],
"platformOptions": {
Expand All @@ -68,7 +68,7 @@
}
},
{
"title": "Retained Bytes Per Topic",
"title": "Response throughtput (bytes/second)",
"layout": {
"column": 1,
"row": 5,
Expand All @@ -88,15 +88,12 @@
"nrqlQueries": [
{
"accountId": 0,
"query": "SELECT average(confluent.kafka.server.retained_bytes) FROM Metric TIMESERIES FACET confluent.kafka.server.metric.topic LIMIT MAX"
"query": "select rate(sum(confluent.kafka.server.response_bytes), 1 second) AS 'Response throughtput' from Metric TIMESERIES LIMIT MAX"
}
],
"platformOptions": {
"ignoreTimeRange": false
},
"units": {
"unit": "BYTES"
},
"yAxisLeft": {
"zero": true
},
Expand All @@ -106,7 +103,7 @@
}
},
{
"title": "Records Sent Per Minute",
"title": "Active connections",
"layout": {
"column": 5,
"row": 5,
Expand All @@ -126,7 +123,7 @@
"nrqlQueries": [
{
"accountId": 0,
"query": "SELECT rate(sum(confluent.kafka.server.sent_records),1 minute) FROM Metric TIMESERIES FACET confluent.kafka.server.metric.topic LIMIT MAX"
"query": "select max(confluent.kafka.server.active_connection_count) AS 'Active connections' from Metric TIMESERIES LIMIT MAX"
}
],
"platformOptions": {
Expand All @@ -138,7 +135,7 @@
}
},
{
"title": "Active Connections",
"title": "Requests",
"layout": {
"column": 9,
"row": 5,
Expand All @@ -158,7 +155,7 @@
"nrqlQueries": [
{
"accountId": 0,
"query": "SELECT max(confluent.kafka.server.active_connection_count) AS 'Active Connections' FROM Metric LIMIT MAX TIMESERIES"
"query": "select max(confluent.kafka.server.request_count) AS 'Requests' from Metric TIMESERIES LIMIT MAX"
}
],
"platformOptions": {
Expand Down Expand Up @@ -193,7 +190,7 @@
"nrqlQueries": [
{
"accountId": 0,
"query": "SELECT average(confluent.kafka.server.partition_count) AS partitions FROM Metric LIMIT MAX TIMESERIES"
"query": "select latest(confluent.kafka.server.partition_count) AS 'Partitions' from Metric TIMESERIES LIMIT MAX"
}
],
"platformOptions": {
Expand All @@ -205,7 +202,7 @@
}
},
{
"title": "Recieved Bytes by Topic",
"title": "Successful Auth Attempts",
"layout": {
"column": 5,
"row": 8,
Expand All @@ -225,22 +222,19 @@
"nrqlQueries": [
{
"accountId": 0,
"query": "SELECT sum(confluent.kafka.server.received_bytes) FROM Metric TIMESERIES FACET confluent.kafka.server.metric.topic"
"query": "select sum(confluent.kafka.server.successful_authentication_count) AS 'Successful Authentications' from Metric TIMESERIES LIMIT MAX"
}
],
"platformOptions": {
"ignoreTimeRange": false
},
"units": {
"unit": "BYTES"
},
"yAxisLeft": {
"zero": false
}
}
},
{
"title": "Records Recieved Per Minute",
"title": "Rest produced request throughtput (bytes/second)",
"layout": {
"column": 9,
"row": 8,
Expand All @@ -260,7 +254,7 @@
"nrqlQueries": [
{
"accountId": 0,
"query": "SELECT rate(sum(confluent.kafka.server.received_records),1 minute) FROM Metric TIMESERIES FACET confluent.kafka.server.metric.topic LIMIT MAX"
"query": "select rate(sum(confluent.kafka.server.rest_produce_request_bytes), 1 second) AS 'Rest produced request throughtput' from Metric TIMESERIES LIMIT MAX"
}
],
"platformOptions": {
Expand All @@ -272,7 +266,7 @@
}
},
{
"title": "Successful Auth Attempts",
"title": "Link destination response throughtput (bytes/second)",
"layout": {
"column": 1,
"row": 11,
Expand All @@ -292,22 +286,19 @@
"nrqlQueries": [
{
"accountId": 0,
"query": "SELECT rate(sum(confluent.kafka.server.successful_authentication_count), 1 minute) AS 'Auths Per Minute' FROM Metric LIMIT MAX TIMESERIES"
"query": "select rate(sum(confluent.kafka.server.cluster_link_destination_response_bytes), 1 second) AS 'Cluster link destination response throughtput' from Metric TIMESERIES LIMIT MAX"
}
],
"platformOptions": {
"ignoreTimeRange": false
},
"units": {
"unit": "COUNT"
},
"yAxisLeft": {
"zero": true
}
}
},
{
"title": "Egres rate (bytes/minute)",
"title": "Link source response throughtput (bytes/second)",
"layout": {
"column": 5,
"row": 11,
Expand All @@ -327,7 +318,7 @@
"nrqlQueries": [
{
"accountId": 0,
"query": "SELECT rate(sum(confluent.kafka.server.response_bytes), 1 minute) as 'Egres' FROM Metric LIMIT MAX TIMESERIES"
"query": "select rate(sum(confluent.kafka.server.cluster_link_source_response_bytes), 1 second) AS 'Cluster link source response throughtput' from Metric TIMESERIES LIMIT MAX"
}
],
"platformOptions": {
Expand All @@ -342,7 +333,7 @@
}
},
{
"title": "Sent Bytes by Topic",
"title": "Cluster links",
"layout": {
"column": 9,
"row": 11,
Expand All @@ -362,22 +353,19 @@
"nrqlQueries": [
{
"accountId": 0,
"query": "SELECT sum(confluent.kafka.server.sent_bytes) FROM Metric TIMESERIES FACET confluent.kafka.server.metric.topic LIMIT MAX "
"query": "select max(confluent.kafka.server.cluster_link_count) AS 'Cluster links' from Metric TIMESERIES LIMIT MAX"
}
],
"platformOptions": {
"ignoreTimeRange": false
},
"units": {
"unit": "BYTES"
},
"yAxisLeft": {
"zero": true
}
}
},
{
"title": "Response Bytes (bytes/second) Per Kafka Protocol Request Type",
"title": "Cluster link tasks",
"layout": {
"column": 1,
"row": 14,
Expand All @@ -397,22 +385,19 @@
"nrqlQueries": [
{
"accountId": 0,
"query": "SELECT rate(sum(confluent.kafka.server.response_bytes), 1 second) FROM Metric FACET confluent.kafka.server.metric.type LIMIT MAX TIMESERIES"
"query": "select max(confluent.kafka.server.cluster_link_task_count) AS 'Cluster link tasks' from Metric TIMESERIES LIMIT MAX"
}
],
"platformOptions": {
"ignoreTimeRange": false
},
"units": {
"unit": "BYTES_PER_SECOND"
},
"yAxisLeft": {
"zero": true
}
}
},
{
"title": "Request Rate",
"title": "Link mirror topics error count",
"layout": {
"column": 5,
"row": 14,
Expand All @@ -432,22 +417,19 @@
"nrqlQueries": [
{
"accountId": 0,
"query": "SELECT rate(sum(confluent.kafka.server.request_count), 1 minute) as 'Requests Per Minute' FROM Metric LIMIT MAX TIMESERIES"
"query": "select sum(confluent.kafka.server.cluster_link_mirror_transition_in_error) AS 'cluster link mirror topic errors' from Metric TIMESERIES LIMIT MAX"
}
],
"platformOptions": {
"ignoreTimeRange": false
},
"units": {
"unit": "REQUESTS_PER_SECOND"
},
"yAxisLeft": {
"zero": true
}
}
},
{
"title": "Ingress rate (bytes/minute)",
"title": "Link mirror topics count",
"layout": {
"column": 9,
"row": 14,
Expand All @@ -467,7 +449,7 @@
"nrqlQueries": [
{
"accountId": 0,
"query": "SELECT rate(sum(confluent.kafka.server.request_bytes), 1 minute) as 'Ingress' FROM Metric LIMIT MAX TIMESERIES"
"query": "select sum(confluent.kafka.server.cluster_link_mirror_topic_count) AS 'Cluster link mirror topics' from Metric TIMESERIES LIMIT MAX"
}
],
"platformOptions": {
Expand All @@ -480,79 +462,6 @@
"zero": true
}
}
},
{
"title": "Request Bytes (bytes/second) Per Kafka Protocol Request Type",
"layout": {
"column": 1,
"row": 17,
"width": 6,
"height": 3
},
"visualization": {
"id": "viz.line"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountId": 0,
"query": "SELECT rate(sum(confluent.kafka.server.request_bytes), 1 second) FROM Metric FACET confluent.kafka.server.metric.type LIMIT MAX TIMESERIES"
}
],
"platformOptions": {
"ignoreTimeRange": false
},
"units": {
"unit": "BYTES_PER_SECOND"
},
"yAxisLeft": {
"zero": true
}
}
},
{
"title": "Response Rate",
"layout": {
"column": 7,
"row": 17,
"width": 6,
"height": 3
},
"visualization": {
"id": "viz.line"
},
"rawConfiguration": {
"facet": {
"showOtherSeries": false
},
"legend": {
"enabled": true
},
"nrqlQueries": [
{
"accountId": 0,
"query": "SELECT rate(sum(confluent.kafka.server.response_bytes), 1 minute) as 'Bytes Per Minute' FROM Metric LIMIT MAX TIMESERIES"
}
],
"platformOptions": {
"ignoreTimeRange": false
},
"units": {
"unit": "REQUESTS_PER_SECOND"
},
"yAxisLeft": {
"zero": true
},
"yAxisRight": {
"zero": true
}
}
}
]
}
Expand Down
Loading
Loading