Skip to content

Commit

Permalink
Modify EXT-HOST and EXT-MYSQL dashboards
Browse files Browse the repository at this point in the history
-Updating some metrics that lost some periods during find and replace
-Adding missed prefixes to dashboard.json for ext-host
-Adding the dashboard to the definition file for ext-host
  • Loading branch information
AustinNr authored May 10, 2021
1 parent bb0c74c commit a2b56da
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion definitions/ext-host/dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"nrqlQueries": [
{
"accountId": 0,
"query": "FROM Metric SELECT latest(`system.cpu.idle`), latest(`system.cpu.system`), latest(`system.cpu.iowait`), latest(`system.cpu.user`), latest(`system.cpu.stolen`), latest(`system.cpu.guest`) SINCE 1 day ago COMPARE WITH 7 days ago TIMESERIES"
"query": "FROM Metric SELECT latest(`datadog.system.cpu.idle`), latest(`datadog.system.cpu.system`), latest(`datadog.system.cpu.iowait`), latest(`datadog.system.cpu.user`), latest(`datadog.system.cpu.stolen`), latest(`datadog.system.cpu.guest`) SINCE 1 day ago COMPARE WITH 7 days ago TIMESERIES"
}
],
"yAxisLeft": {
Expand Down
3 changes: 3 additions & 0 deletions definitions/ext-host/definition.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ synthesis:
compositeMetrics:
goldenMetrics:
- golden_metrics.yml
dashboardTemplates:
newRelic:
template: dashboard.json
configuration:
entityExpirationTime: DAILY
alertable: false
12 changes: 6 additions & 6 deletions definitions/ext-mysql/golden_metrics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,27 @@ mySqlConnections:
mySqlMaxConnections:
title: Max Simultaneous Connections In Use (connection)
query:
select: sum(datadog.mysqlnet.max_connections)
select: sum(datadog.mysql.net.max_connections)

mySqlDataReads:
title: MySQL Data Reads (read)
query:
select: sum(datadog.mysqlinnodb.data_reads)
select: sum(datadog.mysql.innodb.data_reads)

mySqlDataWrites:
title: MySQL Data Writes (write)
query:
select: sum(datadog.mysqlinnodb.data_writes)
select: sum(datadog.mysql.innodb.data_writes)

mySqlFsyncLogWrites:
title: MySQL Fsync Op Count (write)
query:
select: sum(datadog.mysqlinnodb.os_log_fsyncs)
select: sum(datadog.mysql.innodb.os_log_fsyncs)

mySqlSlowQueries:
title: MySQL Slow Queries (query)
query:
select: sum(datadog.mysqlperformance.slow_queries)
select: sum(datadog.mysql.performance.slow_queries)

mySqlTableLocksWaitedRate:
title: MySQL Locking Rate (per sec)
Expand All @@ -36,4 +36,4 @@ mySqlTableLocksWaitedRate:
mySqlUserTime:
title: CPU Time (per sec)
query:
select: sum(datadog.mysqlperformance.user_time)
select: sum(datadog.mysql.performance.user_time)

0 comments on commit a2b56da

Please sign in to comment.