diff --git a/conf/input.oracle/metric.toml b/conf/input.oracle/metric.toml index 16709483..9986d471 100644 --- a/conf/input.oracle/metric.toml +++ b/conf/input.oracle/metric.toml @@ -104,3 +104,12 @@ timeout = "3s" request = ''' select METRIC_NAME,VALUE from v$sysmetric where group_id=2 ''' + + +[[metrics]] +mesurement = "archivelog" +metric_fields = [ "count" ] +timeout = "3s" +request = ''' +select count(*) as count from v$archived_log group by trunc(completion_time) +'''