Consolidate all testing tags to `lifecycle:unittest`. (#12994)
This commit is contained in:
parent
46944a9fea
commit
3b7f429479
|
@ -23,192 +23,192 @@ func TestAccCirconusCheckCloudWatch_basic(t *testing.T) {
|
|||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "collector.#", "1"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "collector.2388330941.id", "/broker/1"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.#", "1"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.1637274235.dimmensions.%", "1"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.1637274235.dimmensions.DBInstanceIdentifier", "atlas-production"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.1637274235.metric.#", "17"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.1637274235.metric.990896688", "CPUUtilization"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.1637274235.metric.3895259375", "DatabaseConnections"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.1637274235.metric.1328149445", "DiskQueueDepth"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.1637274235.metric.4218650584", "FreeStorageSpace"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.1637274235.metric.1835248983", "FreeableMemory"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.1637274235.metric.2757008135", "MaximumUsedTransactionIDs"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.1637274235.metric.915415866", "NetworkReceiveThroughput"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.1637274235.metric.1852047735", "NetworkTransmitThroughput"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.1637274235.metric.3518416306", "ReadIOPS"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.1637274235.metric.114013313", "ReadLatency"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.1637274235.metric.1284099341", "ReadThroughput"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.1637274235.metric.4205329773", "SwapUsage"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.1637274235.metric.3550163941", "TransactionLogsDiskUsage"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.1637274235.metric.2231806695", "TransactionLogsGeneration"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.1637274235.metric.335777904", "WriteIOPS"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.1637274235.metric.3894876280", "WriteLatency"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.1637274235.metric.1569904650", "WriteThroughput"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.1637274235.namespace", "AWS/RDS"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.1637274235.version", "2010-08-01"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.1637274235.url", "https://monitoring.us-east-1.amazonaws.com"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.88938937.dimmensions.%", "1"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.88938937.dimmensions.DBInstanceIdentifier", "atlas-production"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.88938937.metric.#", "17"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.88938937.metric.990896688", "CPUUtilization"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.88938937.metric.3895259375", "DatabaseConnections"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.88938937.metric.1328149445", "DiskQueueDepth"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.88938937.metric.4218650584", "FreeStorageSpace"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.88938937.metric.1835248983", "FreeableMemory"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.88938937.metric.2757008135", "MaximumUsedTransactionIDs"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.88938937.metric.915415866", "NetworkReceiveThroughput"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.88938937.metric.1852047735", "NetworkTransmitThroughput"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.88938937.metric.3518416306", "ReadIOPS"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.88938937.metric.114013313", "ReadLatency"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.88938937.metric.1284099341", "ReadThroughput"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.88938937.metric.4205329773", "SwapUsage"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.88938937.metric.3550163941", "TransactionLogsDiskUsage"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.88938937.metric.2231806695", "TransactionLogsGeneration"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.88938937.metric.335777904", "WriteIOPS"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.88938937.metric.3894876280", "WriteLatency"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.88938937.metric.1569904650", "WriteThroughput"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.88938937.namespace", "AWS/RDS"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.88938937.version", "2010-08-01"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "cloudwatch.88938937.url", "https://monitoring.us-east-1.amazonaws.com"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "name", checkName),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "notes", "Collect all the things exposed"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "period", "60s"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.#", "17"),
|
||||
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.11714944.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.11714944.name", "ReadLatency"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.11714944.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.11714944.tags.1313458811", "app:rds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.11714944.tags.1543130091", "lifecycle:unittests"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.11714944.tags.2964981562", "app:postgresql"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.11714944.tags.4259413593", "source:cloudwatch"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.11714944.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.11714944.unit", "seconds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1436709022.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1436709022.name", "TransactionLogsGeneration"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1436709022.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1436709022.tags.1313458811", "app:rds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1436709022.tags.1543130091", "lifecycle:unittests"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1436709022.tags.2964981562", "app:postgresql"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1436709022.tags.4259413593", "source:cloudwatch"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1436709022.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1436709022.unit", ""),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1444027024.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1444027024.name", "WriteIOPS"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1444027024.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1444027024.tags.1313458811", "app:rds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1444027024.tags.1543130091", "lifecycle:unittests"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1444027024.tags.2964981562", "app:postgresql"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1444027024.tags.4259413593", "source:cloudwatch"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1444027024.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1444027024.unit", "iops"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1604797265.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1604797265.name", "FreeStorageSpace"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1604797265.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1604797265.tags.1313458811", "app:rds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1604797265.tags.1543130091", "lifecycle:unittests"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1604797265.tags.2964981562", "app:postgresql"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1604797265.tags.4259413593", "source:cloudwatch"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1604797265.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1604797265.unit", ""),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1605952596.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1605952596.name", "WriteLatency"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1605952596.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1605952596.tags.1313458811", "app:rds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1605952596.tags.1543130091", "lifecycle:unittests"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1605952596.tags.2964981562", "app:postgresql"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1605952596.tags.4259413593", "source:cloudwatch"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1605952596.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1605952596.unit", "seconds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1714840347.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1714840347.name", "DatabaseConnections"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1714840347.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1714840347.tags.1313458811", "app:rds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1714840347.tags.1543130091", "lifecycle:unittests"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1714840347.tags.2964981562", "app:postgresql"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1714840347.tags.4259413593", "source:cloudwatch"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1714840347.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.1714840347.unit", "connections"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2132240407.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2132240407.name", "FreeableMemory"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2132240407.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2132240407.tags.1313458811", "app:rds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2132240407.tags.1543130091", "lifecycle:unittests"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2132240407.tags.2964981562", "app:postgresql"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2132240407.tags.4259413593", "source:cloudwatch"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2132240407.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2132240407.unit", "bytes"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2395338478.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2395338478.name", "MaximumUsedTransactionIDs"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2395338478.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2395338478.tags.1313458811", "app:rds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2395338478.tags.1543130091", "lifecycle:unittests"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2395338478.tags.2964981562", "app:postgresql"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2395338478.tags.4259413593", "source:cloudwatch"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2395338478.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2395338478.unit", ""),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2968437811.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2968437811.name", "ReadThroughput"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2968437811.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2968437811.tags.1313458811", "app:rds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2968437811.tags.1543130091", "lifecycle:unittests"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2968437811.tags.2964981562", "app:postgresql"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2968437811.tags.4259413593", "source:cloudwatch"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2968437811.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2968437811.unit", "bytes"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3023676211.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3023676211.name", "ReadIOPS"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3023676211.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3023676211.tags.1313458811", "app:rds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3023676211.tags.1543130091", "lifecycle:unittests"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3023676211.tags.2964981562", "app:postgresql"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3023676211.tags.4259413593", "source:cloudwatch"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3023676211.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3023676211.unit", "iops"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3053289991.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3053289991.name", "NetworkReceiveThroughput"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3053289991.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3053289991.tags.1313458811", "app:rds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3053289991.tags.1543130091", "lifecycle:unittests"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3053289991.tags.2964981562", "app:postgresql"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3053289991.tags.4259413593", "source:cloudwatch"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3053289991.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3053289991.unit", "bytes"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3187210440.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3187210440.name", "TransactionLogsDiskUsage"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3187210440.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3187210440.tags.1313458811", "app:rds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3187210440.tags.1543130091", "lifecycle:unittests"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3187210440.tags.2964981562", "app:postgresql"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3187210440.tags.4259413593", "source:cloudwatch"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3187210440.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3187210440.unit", "bytes"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3202842729.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3202842729.name", "CPUUtilization"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3202842729.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3202842729.tags.1313458811", "app:rds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3202842729.tags.1543130091", "lifecycle:unittests"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3202842729.tags.2964981562", "app:postgresql"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3202842729.tags.4259413593", "source:cloudwatch"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3202842729.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3202842729.unit", "%"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3527192726.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3527192726.name", "SwapUsage"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3527192726.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3527192726.tags.1313458811", "app:rds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3527192726.tags.1543130091", "lifecycle:unittests"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3527192726.tags.2964981562", "app:postgresql"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3527192726.tags.4259413593", "source:cloudwatch"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3527192726.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3527192726.unit", "bytes"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3740424181.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3740424181.name", "NetworkTransmitThroughput"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3740424181.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3740424181.tags.1313458811", "app:rds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3740424181.tags.1543130091", "lifecycle:unittests"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3740424181.tags.2964981562", "app:postgresql"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3740424181.tags.4259413593", "source:cloudwatch"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3740424181.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3740424181.unit", "bytes"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.53704089.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.53704089.name", "DiskQueueDepth"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.53704089.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.53704089.tags.1313458811", "app:rds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.53704089.tags.1543130091", "lifecycle:unittests"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.53704089.tags.2964981562", "app:postgresql"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.53704089.tags.4259413593", "source:cloudwatch"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.53704089.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.53704089.unit", ""),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.823122139.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.823122139.name", "WriteThroughput"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.823122139.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.823122139.tags.1313458811", "app:rds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.823122139.tags.1543130091", "lifecycle:unittests"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.823122139.tags.2964981562", "app:postgresql"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.823122139.tags.4259413593", "source:cloudwatch"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.823122139.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.823122139.unit", "bytes"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3038868367.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3038868367.name", "ReadLatency"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3038868367.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3038868367.tags.1313458811", "app:rds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3038868367.tags.1401442048", "lifecycle:unittest"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3038868367.tags.2964981562", "app:postgresql"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3038868367.tags.4259413593", "source:cloudwatch"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3038868367.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3038868367.unit", "seconds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3699049608.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3699049608.name", "TransactionLogsGeneration"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3699049608.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3699049608.tags.1313458811", "app:rds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3699049608.tags.1401442048", "lifecycle:unittest"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3699049608.tags.2964981562", "app:postgresql"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3699049608.tags.4259413593", "source:cloudwatch"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3699049608.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3699049608.unit", ""),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3932256294.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3932256294.name", "WriteIOPS"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3932256294.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3932256294.tags.1313458811", "app:rds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3932256294.tags.1401442048", "lifecycle:unittest"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3932256294.tags.2964981562", "app:postgresql"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3932256294.tags.4259413593", "source:cloudwatch"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3932256294.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3932256294.unit", "iops"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3655789574.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3655789574.name", "FreeStorageSpace"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3655789574.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3655789574.tags.1313458811", "app:rds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3655789574.tags.1401442048", "lifecycle:unittest"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3655789574.tags.2964981562", "app:postgresql"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3655789574.tags.4259413593", "source:cloudwatch"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3655789574.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3655789574.unit", ""),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3129782198.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3129782198.name", "WriteLatency"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3129782198.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3129782198.tags.1313458811", "app:rds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3129782198.tags.1401442048", "lifecycle:unittest"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3129782198.tags.2964981562", "app:postgresql"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3129782198.tags.4259413593", "source:cloudwatch"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3129782198.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3129782198.unit", "seconds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.4177148265.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.4177148265.name", "DatabaseConnections"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.4177148265.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.4177148265.tags.1313458811", "app:rds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.4177148265.tags.1401442048", "lifecycle:unittest"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.4177148265.tags.2964981562", "app:postgresql"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.4177148265.tags.4259413593", "source:cloudwatch"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.4177148265.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.4177148265.unit", "connections"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2882920904.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2882920904.name", "FreeableMemory"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2882920904.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2882920904.tags.1313458811", "app:rds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2882920904.tags.1401442048", "lifecycle:unittest"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2882920904.tags.2964981562", "app:postgresql"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2882920904.tags.4259413593", "source:cloudwatch"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2882920904.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2882920904.unit", "bytes"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3449506.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3449506.name", "MaximumUsedTransactionIDs"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3449506.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3449506.tags.1313458811", "app:rds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3449506.tags.1401442048", "lifecycle:unittest"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3449506.tags.2964981562", "app:postgresql"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3449506.tags.4259413593", "source:cloudwatch"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3449506.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3449506.unit", ""),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3907804414.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3907804414.name", "ReadThroughput"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3907804414.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3907804414.tags.1313458811", "app:rds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3907804414.tags.1401442048", "lifecycle:unittest"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3907804414.tags.2964981562", "app:postgresql"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3907804414.tags.4259413593", "source:cloudwatch"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3907804414.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3907804414.unit", "bytes"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2040713199.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2040713199.name", "ReadIOPS"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2040713199.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2040713199.tags.1313458811", "app:rds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2040713199.tags.1401442048", "lifecycle:unittest"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2040713199.tags.2964981562", "app:postgresql"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2040713199.tags.4259413593", "source:cloudwatch"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2040713199.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2040713199.unit", "iops"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.4227693369.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.4227693369.name", "NetworkReceiveThroughput"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.4227693369.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.4227693369.tags.1313458811", "app:rds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.4227693369.tags.1401442048", "lifecycle:unittest"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.4227693369.tags.2964981562", "app:postgresql"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.4227693369.tags.4259413593", "source:cloudwatch"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.4227693369.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.4227693369.unit", "bytes"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2478479732.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2478479732.name", "TransactionLogsDiskUsage"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2478479732.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2478479732.tags.1313458811", "app:rds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2478479732.tags.1401442048", "lifecycle:unittest"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2478479732.tags.2964981562", "app:postgresql"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2478479732.tags.4259413593", "source:cloudwatch"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2478479732.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2478479732.unit", "bytes"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3437310515.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3437310515.name", "CPUUtilization"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3437310515.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3437310515.tags.1313458811", "app:rds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3437310515.tags.1401442048", "lifecycle:unittest"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3437310515.tags.2964981562", "app:postgresql"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3437310515.tags.4259413593", "source:cloudwatch"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3437310515.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3437310515.unit", "%"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3884263074.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3884263074.name", "SwapUsage"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3884263074.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3884263074.tags.1313458811", "app:rds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3884263074.tags.1401442048", "lifecycle:unittest"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3884263074.tags.2964981562", "app:postgresql"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3884263074.tags.4259413593", "source:cloudwatch"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3884263074.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3884263074.unit", "bytes"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2675539305.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2675539305.name", "NetworkTransmitThroughput"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2675539305.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2675539305.tags.1313458811", "app:rds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2675539305.tags.1401442048", "lifecycle:unittest"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2675539305.tags.2964981562", "app:postgresql"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2675539305.tags.4259413593", "source:cloudwatch"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2675539305.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.2675539305.unit", "bytes"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.4273610941.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.4273610941.name", "DiskQueueDepth"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.4273610941.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.4273610941.tags.1313458811", "app:rds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.4273610941.tags.1401442048", "lifecycle:unittest"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.4273610941.tags.2964981562", "app:postgresql"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.4273610941.tags.4259413593", "source:cloudwatch"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.4273610941.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.4273610941.unit", ""),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3085334826.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3085334826.name", "WriteThroughput"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3085334826.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3085334826.tags.1313458811", "app:rds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3085334826.tags.1401442048", "lifecycle:unittest"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3085334826.tags.2964981562", "app:postgresql"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3085334826.tags.4259413593", "source:cloudwatch"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3085334826.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "metric.3085334826.unit", "bytes"),
|
||||
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "tags.2964981562", "app:postgresql"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "tags.1313458811", "app:rds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "tags.1543130091", "lifecycle:unittests"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "tags.1401442048", "lifecycle:unittest"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "tags.4259413593", "source:cloudwatch"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "target", "atlas-production.us-east-1.rds._aws"),
|
||||
resource.TestCheckResourceAttr("circonus_check.rds_metrics", "type", "cloudwatch"),
|
||||
|
@ -224,7 +224,7 @@ variable "cloudwatch_rds_tags" {
|
|||
default = [
|
||||
"app:postgresql",
|
||||
"app:rds",
|
||||
"lifecycle:unittests",
|
||||
"lifecycle:unittest",
|
||||
"source:cloudwatch",
|
||||
]
|
||||
}
|
||||
|
|
|
@ -45,49 +45,49 @@ func TestAccCirconusCheckHTTP_basic(t *testing.T) {
|
|||
resource.TestCheckResourceAttr("circonus_check.jezebel", "period", "60s"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.#", "4"),
|
||||
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.42262635.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.42262635.name", "code"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.42262635.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.42262635.tags.30226350", "app:circonus"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.42262635.tags.3219687752", "app:jezebel"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.42262635.tags.1543130091", "lifecycle:unittests"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.42262635.tags.3241999189", "source:circonus"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.42262635.type", "text"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.2380257438.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.2380257438.name", "code"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.2380257438.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.2380257438.tags.30226350", "app:circonus"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.2380257438.tags.3219687752", "app:jezebel"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.2380257438.tags.1401442048", "lifecycle:unittest"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.2380257438.tags.3241999189", "source:circonus"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.2380257438.type", "text"),
|
||||
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.1136493216.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.1136493216.name", "duration"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.1136493216.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.1136493216.tags.30226350", "app:circonus"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.1136493216.tags.3219687752", "app:jezebel"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.1136493216.tags.1543130091", "lifecycle:unittests"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.1136493216.tags.3241999189", "source:circonus"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.1136493216.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.1136493216.unit", "seconds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.3634949264.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.3634949264.name", "duration"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.3634949264.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.3634949264.tags.30226350", "app:circonus"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.3634949264.tags.3219687752", "app:jezebel"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.3634949264.tags.1401442048", "lifecycle:unittest"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.3634949264.tags.3241999189", "source:circonus"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.3634949264.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.3634949264.unit", "seconds"),
|
||||
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.4246441943.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.4246441943.name", "tt_connect"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.4246441943.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.4246441943.tags.30226350", "app:circonus"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.4246441943.tags.3219687752", "app:jezebel"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.4246441943.tags.1543130091", "lifecycle:unittests"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.4246441943.tags.3241999189", "source:circonus"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.4246441943.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.4246441943.unit", "milliseconds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.1717167158.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.1717167158.name", "tt_connect"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.1717167158.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.1717167158.tags.30226350", "app:circonus"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.1717167158.tags.3219687752", "app:jezebel"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.1717167158.tags.1401442048", "lifecycle:unittest"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.1717167158.tags.3241999189", "source:circonus"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.1717167158.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.1717167158.unit", "milliseconds"),
|
||||
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.3695203246.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.3695203246.name", "tt_firstbyte"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.3695203246.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.3695203246.tags.30226350", "app:circonus"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.3695203246.tags.3219687752", "app:jezebel"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.3695203246.tags.1543130091", "lifecycle:unittests"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.3695203246.tags.3241999189", "source:circonus"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.3695203246.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.3695203246.unit", "milliseconds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.2305894402.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.2305894402.name", "tt_firstbyte"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.2305894402.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.2305894402.tags.30226350", "app:circonus"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.2305894402.tags.3219687752", "app:jezebel"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.2305894402.tags.1401442048", "lifecycle:unittest"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.2305894402.tags.3241999189", "source:circonus"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.2305894402.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "metric.2305894402.unit", "milliseconds"),
|
||||
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "tags.30226350", "app:circonus"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "tags.3219687752", "app:jezebel"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "tags.1543130091", "lifecycle:unittests"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "tags.1401442048", "lifecycle:unittest"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "tags.3241999189", "source:circonus"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "target", "127.0.0.1"),
|
||||
resource.TestCheckResourceAttr("circonus_check.jezebel", "type", "http"),
|
||||
|
@ -100,7 +100,7 @@ func TestAccCirconusCheckHTTP_basic(t *testing.T) {
|
|||
const testAccCirconusCheckHTTPConfigFmt = `
|
||||
variable "http_check_tags" {
|
||||
type = "list"
|
||||
default = [ "app:circonus", "app:jezebel", "lifecycle:unittests", "source:circonus" ]
|
||||
default = [ "app:circonus", "app:jezebel", "lifecycle:unittest", "source:circonus" ]
|
||||
}
|
||||
|
||||
resource "circonus_metric" "status_code" {
|
||||
|
|
|
@ -21,7 +21,7 @@ func TestAccCirconusCheckHTTPTrap_basic(t *testing.T) {
|
|||
Check: resource.ComposeTestCheckFunc(
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "collector.#", "1"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "collector.1893401625.id", "/broker/1286"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "collector.2084916526.id", "/broker/2110"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "httptrap.#", "1"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "httptrap.2067899660.async_metrics", "false"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "httptrap.2067899660.secret", "12345"),
|
||||
|
@ -30,35 +30,35 @@ func TestAccCirconusCheckHTTPTrap_basic(t *testing.T) {
|
|||
resource.TestCheckResourceAttr("circonus_check.consul", "period", "60s"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.#", "3"),
|
||||
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.2955331924.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.2955331924.name", "consul`consul-server-10-151-2-8`consul`session_ttl`active"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.2955331924.tags.#", "3"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.2955331924.tags.3728194417", "app:consul"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.2955331924.tags.1543130091", "lifecycle:unittests"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.2955331924.tags.2058715988", "source:consul"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.2955331924.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.1608647530.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.1608647530.name", "consul`consul-server-10-151-2-8`consul`session_ttl`active"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.1608647530.tags.#", "3"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.1608647530.tags.3728194417", "app:consul"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.1608647530.tags.1401442048", "lifecycle:unittest"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.1608647530.tags.2058715988", "source:consul"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.1608647530.type", "numeric"),
|
||||
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.2655764695.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.2655764695.name", "consul`consul-server-10-151-2-8`runtime`alloc_bytes"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.2655764695.tags.#", "3"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.2655764695.tags.3728194417", "app:consul"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.2655764695.tags.1543130091", "lifecycle:unittests"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.2655764695.tags.2058715988", "source:consul"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.2655764695.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.2655764695.unit", "bytes"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.2293914935.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.2293914935.name", "consul`consul-server-10-151-2-8`runtime`alloc_bytes"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.2293914935.tags.#", "3"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.2293914935.tags.3728194417", "app:consul"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.2293914935.tags.1401442048", "lifecycle:unittest"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.2293914935.tags.2058715988", "source:consul"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.2293914935.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.2293914935.unit", "bytes"),
|
||||
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.52765437.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.52765437.name", "consul`consul`http`GET`v1`kv`_"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.52765437.tags.#", "3"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.52765437.tags.3728194417", "app:consul"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.52765437.tags.1543130091", "lifecycle:unittests"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.52765437.tags.2058715988", "source:consul"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.52765437.type", "histogram"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.52765437.unit", "nanoseconds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.2489694876.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.2489694876.name", "consul`consul`http`GET`v1`kv`_"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.2489694876.tags.#", "3"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.2489694876.tags.3728194417", "app:consul"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.2489694876.tags.1401442048", "lifecycle:unittest"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.2489694876.tags.2058715988", "source:consul"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.2489694876.type", "histogram"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "metric.2489694876.unit", "nanoseconds"),
|
||||
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "tags.#", "3"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "tags.3728194417", "app:consul"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "tags.1543130091", "lifecycle:unittests"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "tags.1401442048", "lifecycle:unittest"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "tags.2058715988", "source:consul"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "target", "consul-server-10-151-2-8"),
|
||||
resource.TestCheckResourceAttr("circonus_check.consul", "type", "httptrap"),
|
||||
|
@ -71,7 +71,7 @@ func TestAccCirconusCheckHTTPTrap_basic(t *testing.T) {
|
|||
const testAccCirconusCheckHTTPTrapConfigFmt = `
|
||||
variable "httptrap_check_tags" {
|
||||
type = "list"
|
||||
default = [ "app:consul", "lifecycle:unittests", "source:consul" ]
|
||||
default = [ "app:consul", "lifecycle:unittest", "source:consul" ]
|
||||
}
|
||||
|
||||
variable "consul_hostname" {
|
||||
|
@ -86,7 +86,7 @@ resource "circonus_check" "consul" {
|
|||
period = "60s"
|
||||
|
||||
collector {
|
||||
id = "/broker/1286"
|
||||
id = "/broker/2110"
|
||||
}
|
||||
|
||||
httptrap {
|
||||
|
|
|
@ -57,7 +57,7 @@ func TestAccCirconusCheckJSON_basic(t *testing.T) {
|
|||
resource.TestCheckResourceAttr("circonus_check.usage", "metric.3280673139.unit", "qty"),
|
||||
resource.TestCheckResourceAttr("circonus_check.usage", "tags.#", "2"),
|
||||
resource.TestCheckResourceAttr("circonus_check.usage", "tags.3241999189", "source:circonus"),
|
||||
resource.TestCheckResourceAttr("circonus_check.usage", "tags.3839162439", "source:unittest"),
|
||||
resource.TestCheckResourceAttr("circonus_check.usage", "tags.1401442048", "lifecycle:unittest"),
|
||||
resource.TestCheckResourceAttr("circonus_check.usage", "target", "api.circonus.com"),
|
||||
resource.TestCheckResourceAttr("circonus_check.usage", "type", "json"),
|
||||
),
|
||||
|
@ -104,7 +104,7 @@ func TestAccCirconusCheckJSON_basic(t *testing.T) {
|
|||
resource.TestCheckResourceAttr("circonus_check.usage", "metric.3280673139.unit", "qty"),
|
||||
resource.TestCheckResourceAttr("circonus_check.usage", "tags.#", "2"),
|
||||
resource.TestCheckResourceAttr("circonus_check.usage", "tags.3241999189", "source:circonus"),
|
||||
resource.TestCheckResourceAttr("circonus_check.usage", "tags.3839162439", "source:unittest"),
|
||||
resource.TestCheckResourceAttr("circonus_check.usage", "tags.1401442048", "lifecycle:unittest"),
|
||||
resource.TestCheckResourceAttr("circonus_check.usage", "target", "api.circonus.com"),
|
||||
resource.TestCheckResourceAttr("circonus_check.usage", "type", "json"),
|
||||
),
|
||||
|
@ -168,7 +168,7 @@ resource "circonus_check" "usage" {
|
|||
unit = "${coalesce(circonus_metric.limit.unit, var.usage_default_unit)}"
|
||||
}
|
||||
|
||||
tags = [ "source:circonus", "source:unittest" ]
|
||||
tags = [ "source:circonus", "lifecycle:unittest" ]
|
||||
}
|
||||
`
|
||||
|
||||
|
@ -228,6 +228,6 @@ resource "circonus_check" "usage" {
|
|||
unit = "${coalesce(circonus_metric.limit.unit, var.usage_default_unit)}"
|
||||
}
|
||||
|
||||
tags = [ "source:circonus", "source:unittest" ]
|
||||
tags = [ "source:circonus", "lifecycle:unittest" ]
|
||||
}
|
||||
`
|
||||
|
|
|
@ -35,100 +35,100 @@ func TestAccCirconusCheckTCP_basic(t *testing.T) {
|
|||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "period", "60s"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.#", "9"),
|
||||
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.2951598908.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.2951598908.name", "cert_end"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.2951598908.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.2951598908.tags.30226350", "app:circonus"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.2951598908.tags.213659730", "app:tls_cert"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.2951598908.tags.1543130091", "lifecycle:unittests"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.2951598908.tags.862116066", "source:fastly"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.2951598908.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.2951598908.unit", "epoch"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.1245733907.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.1245733907.name", "cert_end"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.1245733907.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.1245733907.tags.30226350", "app:circonus"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.1245733907.tags.213659730", "app:tls_cert"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.1245733907.tags.1401442048", "lifecycle:unittest"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.1245733907.tags.862116066", "source:fastly"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.1245733907.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.1245733907.unit", "epoch"),
|
||||
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.4072382121.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.4072382121.name", "cert_end_in"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.4072382121.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.4072382121.tags.30226350", "app:circonus"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.4072382121.tags.213659730", "app:tls_cert"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.4072382121.tags.1543130091", "lifecycle:unittests"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.4072382121.tags.862116066", "source:fastly"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.4072382121.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.4072382121.unit", "seconds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.2000319022.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.2000319022.name", "cert_end_in"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.2000319022.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.2000319022.tags.30226350", "app:circonus"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.2000319022.tags.213659730", "app:tls_cert"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.2000319022.tags.1401442048", "lifecycle:unittest"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.2000319022.tags.862116066", "source:fastly"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.2000319022.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.2000319022.unit", "seconds"),
|
||||
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3384170740.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3384170740.name", "cert_error"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3384170740.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3384170740.tags.30226350", "app:circonus"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3384170740.tags.213659730", "app:tls_cert"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3384170740.tags.1543130091", "lifecycle:unittests"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3384170740.tags.862116066", "source:fastly"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3384170740.type", "text"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3384170740.unit", ""),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.280072942.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.280072942.name", "cert_error"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.280072942.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.280072942.tags.30226350", "app:circonus"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.280072942.tags.213659730", "app:tls_cert"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.280072942.tags.1401442048", "lifecycle:unittest"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.280072942.tags.862116066", "source:fastly"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.280072942.type", "text"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.280072942.unit", ""),
|
||||
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.979255163.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.979255163.name", "cert_issuer"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.979255163.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.979255163.tags.30226350", "app:circonus"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.979255163.tags.213659730", "app:tls_cert"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.979255163.tags.1543130091", "lifecycle:unittests"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.979255163.tags.862116066", "source:fastly"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.979255163.type", "text"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.979255163.unit", ""),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.1101485564.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.1101485564.name", "cert_issuer"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.1101485564.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.1101485564.tags.30226350", "app:circonus"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.1101485564.tags.213659730", "app:tls_cert"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.1101485564.tags.1401442048", "lifecycle:unittest"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.1101485564.tags.862116066", "source:fastly"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.1101485564.type", "text"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.1101485564.unit", ""),
|
||||
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.1378403576.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.1378403576.name", "cert_start"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.1378403576.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.1378403576.tags.30226350", "app:circonus"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.1378403576.tags.213659730", "app:tls_cert"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.1378403576.tags.1543130091", "lifecycle:unittests"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.1378403576.tags.862116066", "source:fastly"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.1378403576.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.1378403576.unit", "epoch"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3987659273.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3987659273.name", "cert_start"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3987659273.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3987659273.tags.30226350", "app:circonus"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3987659273.tags.213659730", "app:tls_cert"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3987659273.tags.1401442048", "lifecycle:unittest"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3987659273.tags.862116066", "source:fastly"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3987659273.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3987659273.unit", "epoch"),
|
||||
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.1662016973.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.1662016973.name", "cert_subject"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.1662016973.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.1662016973.tags.30226350", "app:circonus"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.1662016973.tags.213659730", "app:tls_cert"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.1662016973.tags.1543130091", "lifecycle:unittests"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.1662016973.tags.862116066", "source:fastly"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.1662016973.type", "text"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.1662016973.unit", ""),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3170432128.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3170432128.name", "cert_subject"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3170432128.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3170432128.tags.30226350", "app:circonus"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3170432128.tags.213659730", "app:tls_cert"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3170432128.tags.1401442048", "lifecycle:unittest"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3170432128.tags.862116066", "source:fastly"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3170432128.type", "text"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3170432128.unit", ""),
|
||||
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.872453198.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.872453198.name", "duration"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.872453198.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.872453198.tags.30226350", "app:circonus"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.872453198.tags.213659730", "app:tls_cert"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.872453198.tags.1543130091", "lifecycle:unittests"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.872453198.tags.862116066", "source:fastly"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.872453198.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.872453198.unit", "milliseconds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3590989341.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3590989341.name", "duration"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3590989341.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3590989341.tags.30226350", "app:circonus"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3590989341.tags.213659730", "app:tls_cert"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3590989341.tags.1401442048", "lifecycle:unittest"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3590989341.tags.862116066", "source:fastly"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3590989341.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3590989341.unit", "milliseconds"),
|
||||
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.719003215.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.719003215.name", "tt_connect"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.719003215.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.719003215.tags.30226350", "app:circonus"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.719003215.tags.213659730", "app:tls_cert"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.719003215.tags.1543130091", "lifecycle:unittests"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.719003215.tags.862116066", "source:fastly"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.719003215.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.719003215.unit", "milliseconds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.208818063.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.208818063.name", "tt_connect"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.208818063.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.208818063.tags.30226350", "app:circonus"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.208818063.tags.213659730", "app:tls_cert"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.208818063.tags.1401442048", "lifecycle:unittest"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.208818063.tags.862116066", "source:fastly"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.208818063.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.208818063.unit", "milliseconds"),
|
||||
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3321090683.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3321090683.name", "tt_firstbyte"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3321090683.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3321090683.tags.30226350", "app:circonus"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3321090683.tags.213659730", "app:tls_cert"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3321090683.tags.1543130091", "lifecycle:unittests"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3321090683.tags.862116066", "source:fastly"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3321090683.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.3321090683.unit", "milliseconds"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.4054733260.active", "true"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.4054733260.name", "tt_firstbyte"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.4054733260.tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.4054733260.tags.30226350", "app:circonus"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.4054733260.tags.213659730", "app:tls_cert"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.4054733260.tags.1401442048", "lifecycle:unittest"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.4054733260.tags.862116066", "source:fastly"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.4054733260.type", "numeric"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "metric.4054733260.unit", "milliseconds"),
|
||||
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "tags.#", "4"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "tags.30226350", "app:circonus"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "tags.213659730", "app:tls_cert"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "tags.1543130091", "lifecycle:unittests"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "tags.1401442048", "lifecycle:unittest"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "tags.862116066", "source:fastly"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "target", "127.0.0.1"),
|
||||
resource.TestCheckResourceAttr("circonus_check.tls_cert", "type", "tcp"),
|
||||
|
@ -141,7 +141,7 @@ func TestAccCirconusCheckTCP_basic(t *testing.T) {
|
|||
const testAccCirconusCheckTCPConfigFmt = `
|
||||
variable "tcp_check_tags" {
|
||||
type = "list"
|
||||
default = [ "app:circonus", "app:tls_cert", "lifecycle:unittests", "source:fastly" ]
|
||||
default = [ "app:circonus", "app:tls_cert", "lifecycle:unittest", "source:fastly" ]
|
||||
}
|
||||
|
||||
resource "circonus_check" "tls_cert" {
|
||||
|
|
Loading…
Reference in New Issue