Configure Custom Metrics
To specify custom queries to run:
- Navigate to .
-
Complete the following fields:
-
Positive integer. For example, the query below returns a positive integer.
SELECT COUNT(*) FROM employees
- String and positive integer. For example, the query below returns a
string and a positive
integer.
SELECT name, salary FROM employees
-
- Up to 150 custom metrics can be reported per collector per minute.You can
increase the custom metrics limit from the agent configuration properties by
using the key,
dbagent.custom.metric.reportable.per.server
and theMax
value 150. See Database Agent Configuration Properties for information about the key value. - The maximum limit configured in the agent takes precedence and overrides the
maximum limit configured at the account level and Controller level. Therefore,
the priority order is as following:
- Agent-level configuration
- Account-level configuration
- Controller-level configuration
Custom metrics are supported for all relational databases: MySQL, Microsoft SQL Server, Microsoft Azure SQL, Oracle, PostgreSQL, DB2, SAP HANA, and Sybase.