Index

A B C D E F G H I M N P R S T 
All Classes and Interfaces|All Packages|Constant Field Values

A

activeConnections() - Method in record class com.cotani.metrics.binder.StorageMetricsBinder.StoragePoolStatsView
Returns the value of the activeConnections record component.

B

bindTo(MetricsRegistry) - Method in interface com.cotani.metrics.api.MeterBinder
Binds metrics to the target metrics registry.
bindTo(MetricsRegistry) - Method in class com.cotani.metrics.binder.CacheMetricsBinder
 
bindTo(MetricsRegistry) - Method in class com.cotani.metrics.binder.StorageMetricsBinder
 
bindTo(MetricsRegistry) - Method in class com.cotani.metrics.binder.TaskMetricsBinder
 

C

CacheMetricsBinder - Class in com.cotani.metrics.binder
 
CacheMetricsBinder(String, Supplier) - Constructor for class com.cotani.metrics.binder.CacheMetricsBinder
 
close() - Method in interface com.cotani.metrics.api.MetricsRegistry
 
close() - Method in class com.cotani.metrics.api.NoOpMetricsRegistry
 
close() - Method in class com.cotani.metrics.CotaniMetricsModule
 
close() - Method in class com.cotani.metrics.CotaniMetricsRegistry
 
close() - Method in class com.cotani.metrics.exporter.PrometheusServer
 
com.cotani.metrics - package com.cotani.metrics
 
com.cotani.metrics.api - package com.cotani.metrics.api
 
com.cotani.metrics.binder - package com.cotani.metrics.binder
 
com.cotani.metrics.config - package com.cotani.metrics.config
 
com.cotani.metrics.exporter - package com.cotani.metrics.exporter
 
config() - Method in class com.cotani.metrics.CotaniMetricsModule
 
CotaniMetrics - Class in com.cotani.metrics
Stable com.cotani entry point for the legacy 1.x metrics namespace.
CotaniMetricsModule - Class in com.cotani.metrics
Main lifecycle and bootstrap module for Cotani metrics collection.
CotaniMetricsRegistry - Class in com.cotani.metrics
Micrometer-backed implementation of MetricsRegistry.
CotaniMetricsRegistry(MeterRegistry, String) - Constructor for class com.cotani.metrics.CotaniMetricsRegistry
 
CotaniMetricsRegistry(String) - Constructor for class com.cotani.metrics.CotaniMetricsRegistry
 
counter(String, double, String...) - Method in interface com.cotani.metrics.api.MetricsRegistry
Increments a counter by a given amount.
counter(String, double, String...) - Method in class com.cotani.metrics.api.NoOpMetricsRegistry
 
counter(String, double, String...) - Method in class com.cotani.metrics.CotaniMetricsRegistry
 
counter(String, String...) - Method in interface com.cotani.metrics.api.MetricsRegistry
Increments a counter by 1.
counter(String, String...) - Method in class com.cotani.metrics.api.NoOpMetricsRegistry
 
counter(String, String...) - Method in class com.cotani.metrics.CotaniMetricsRegistry
 
create(MetricsConfig) - Static method in class com.cotani.metrics.CotaniMetrics
 
create(MetricsConfig) - Static method in class com.cotani.metrics.CotaniMetricsModule
Creates and initializes a new CotaniMetricsModule based on configuration.

D

DEFAULT_HOST - Static variable in record class com.cotani.metrics.config.MetricsConfig
 
DEFAULT_PATH - Static variable in record class com.cotani.metrics.config.MetricsConfig
 

E

enabled() - Method in record class com.cotani.metrics.config.MetricsConfig
Returns the value of the enabled record component.
equals(Object) - Method in record class com.cotani.metrics.binder.StorageMetricsBinder.StoragePoolStatsView
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.cotani.metrics.config.MetricsConfig
Indicates whether some other object is "equal to" this one.

F

forHikari(HikariDataSource) - Static method in class com.cotani.metrics.binder.StorageMetricsBinder
 
forHikari(String, HikariDataSource) - Static method in class com.cotani.metrics.binder.StorageMetricsBinder
 

G

gauge(String, Supplier, String...) - Method in interface com.cotani.metrics.api.MetricsRegistry
Registers a gauge backed by a number supplier.
gauge(String, Supplier, String...) - Method in class com.cotani.metrics.api.NoOpMetricsRegistry
 
gauge(String, Supplier, String...) - Method in class com.cotani.metrics.CotaniMetricsRegistry
 

H

hashCode() - Method in record class com.cotani.metrics.binder.StorageMetricsBinder.StoragePoolStatsView
Returns a hash code value for this object.
hashCode() - Method in record class com.cotani.metrics.config.MetricsConfig
Returns a hash code value for this object.
host() - Method in record class com.cotani.metrics.config.MetricsConfig
Returns the value of the host record component.
host() - Method in class com.cotani.metrics.exporter.PrometheusServer
 

I

idleConnections() - Method in record class com.cotani.metrics.binder.StorageMetricsBinder.StoragePoolStatsView
Returns the value of the idleConnections record component.
INSTANCE - Static variable in class com.cotani.metrics.api.NoOpMetricsRegistry
Singleton instance of the no-op registry.
isEnabled() - Method in interface com.cotani.metrics.api.MetricsRegistry
Indicates whether metric collection is active.
isEnabled() - Method in class com.cotani.metrics.api.NoOpMetricsRegistry
 
isEnabled() - Method in class com.cotani.metrics.CotaniMetricsModule
 
isEnabled() - Method in class com.cotani.metrics.CotaniMetricsRegistry
 
isRunning() - Method in class com.cotani.metrics.exporter.PrometheusServer
 

M

MeterBinder - Interface in com.cotani.metrics.api
Interface for binding a set of metrics to a MetricsRegistry.
meterRegistry() - Method in interface com.cotani.metrics.api.MetricsRegistry
Returns the underlying Micrometer MeterRegistry if present.
meterRegistry() - Method in class com.cotani.metrics.api.NoOpMetricsRegistry
 
meterRegistry() - Method in class com.cotani.metrics.CotaniMetricsRegistry
 
MetricsConfig - Record Class in com.cotani.metrics.config
Immutable configuration settings for Cotani metrics collection and export.
MetricsConfig(boolean, String, int, String) - Constructor for record class com.cotani.metrics.config.MetricsConfig
 
MetricsConfig(boolean, String, String, int, String) - Constructor for record class com.cotani.metrics.config.MetricsConfig
Creates an instance of a MetricsConfig record class.
MetricsRegistry - Interface in com.cotani.metrics.api
Primary API contract for Cotani metrics collection.

N

NoOpMetricsRegistry - Class in com.cotani.metrics.api
Zero-allocation, zero-overhead no-op implementation of MetricsRegistry.
NoOpMetricsRegistry() - Constructor for class com.cotani.metrics.api.NoOpMetricsRegistry
 

P

path() - Method in record class com.cotani.metrics.config.MetricsConfig
Returns the value of the path record component.
path() - Method in class com.cotani.metrics.exporter.PrometheusServer
 
port() - Method in record class com.cotani.metrics.config.MetricsConfig
Returns the value of the port record component.
port() - Method in class com.cotani.metrics.exporter.PrometheusServer
 
prefix() - Method in record class com.cotani.metrics.config.MetricsConfig
Returns the value of the prefix record component.
prometheusRegistry() - Method in class com.cotani.metrics.CotaniMetricsRegistry
 
prometheusServer() - Method in class com.cotani.metrics.CotaniMetricsModule
 
PrometheusServer - Class in com.cotani.metrics.exporter
Embedded HTTP server providing a Prometheus scrape endpoint.
PrometheusServer(PrometheusMeterRegistry, int, String) - Constructor for class com.cotani.metrics.exporter.PrometheusServer
 
PrometheusServer(PrometheusMeterRegistry, String, int, String) - Constructor for class com.cotani.metrics.exporter.PrometheusServer
 

R

register(MeterBinder) - Method in interface com.cotani.metrics.api.MetricsRegistry
Binds a meter binder to this registry.
register(MeterBinder) - Method in class com.cotani.metrics.api.NoOpMetricsRegistry
 
register(MeterBinder) - Method in class com.cotani.metrics.CotaniMetricsRegistry
 
registry() - Method in class com.cotani.metrics.CotaniMetricsModule
 

S

start() - Method in class com.cotani.metrics.exporter.PrometheusServer
 
StorageMetricsBinder - Class in com.cotani.metrics.binder
Binds cotani-storage database pool statistics to a MetricsRegistry.
StorageMetricsBinder(String, Supplier) - Constructor for class com.cotani.metrics.binder.StorageMetricsBinder
 
StorageMetricsBinder.StoragePoolStatsView - Record Class in com.cotani.metrics.binder
Immutable snapshot of storage connection pool statistics.
StoragePoolStatsView(int, int, int, int) - Constructor for record class com.cotani.metrics.binder.StorageMetricsBinder.StoragePoolStatsView
Creates an instance of a StoragePoolStatsView record class.

T

TaskMetricsBinder - Class in com.cotani.metrics.binder
Binds cotani-task execution statistics to a MetricsRegistry.
TaskMetricsBinder(TaskMetrics, String) - Constructor for class com.cotani.metrics.binder.TaskMetricsBinder
 
TaskMetricsBinder(String, Supplier) - Constructor for class com.cotani.metrics.binder.TaskMetricsBinder
 
threadsAwaiting() - Method in record class com.cotani.metrics.binder.StorageMetricsBinder.StoragePoolStatsView
Returns the value of the threadsAwaiting record component.
timer(String, Duration, String...) - Method in interface com.cotani.metrics.api.MetricsRegistry
Records execution time in a timer metric.
timer(String, Duration, String...) - Method in class com.cotani.metrics.api.NoOpMetricsRegistry
 
timer(String, Duration, String...) - Method in class com.cotani.metrics.CotaniMetricsRegistry
 
toString() - Method in record class com.cotani.metrics.binder.StorageMetricsBinder.StoragePoolStatsView
Returns a string representation of this record class.
toString() - Method in record class com.cotani.metrics.config.MetricsConfig
Returns a string representation of this record class.
totalConnections() - Method in record class com.cotani.metrics.binder.StorageMetricsBinder.StoragePoolStatsView
Returns the value of the totalConnections record component.
A B C D E F G H I M N P R S T 
All Classes and Interfaces|All Packages|Constant Field Values