...
Famous databases with custom metrics: Oracle DB , Postgres , Oracle Coherence , MS SQL Server , IBM DB2
Examples of custom metric usages:
- Some metrics may not be provided yet and user registers own.
- Metrics for load balancing.
- Various metrics of business processes or related to user application.
- Administration metrics.
- Security-related metrics.
Implementation proposal
...
- Custom metrics are experimental.
- Custom Metrics base on the New Metric System.
- Allow to register essential ready-to-use metrics like LongMetric which can be exported by a providing metric exporter.
- User can add own metrics into different registries.
- Custom metrics are separated from the internals by registry name prefix "custom." (lower cased).
- Names of custom metrics and their registries can't contain any spaces.
- Management of custom metrics might require a permission.
- If we expose only few simple metrics, we should document examples of effecient metrics implementations like LongAdder.
...