Hello all,
I am trying to setup Oracle DB monitoring and would like to use custom queries. I have set CUSTOM_METRICS_CONFIG parameter in the oracledb-config.yml file. The queries file has following entries:
queries:
-
query: >-
select round(((space_limit-space_used)/space_limit)*100,2) free_space_recovery_area
from V$RECOVERY_FILE_DEST
metric_types:
gets: gauge -
query: >-
select round((CURRENT_UTILIZATION*100)/LIMIT_VALUE,2) pct_proc_limit
from v$resource_limit where RESOURCE_NAME=‘processes’
metric_types:
gets: gauge
In the Data Explorer on NR dashboard, I see PCT_PROC_LIMIT metric but not FREE_SPACE_RECOVERY_AREA. I will be using these in different charts and may setup alert conditions as well. How do I specify multiple custom queries?
Any help/guidance would be greatly appreciated.
Thanks,
Sanjeev