Skip to content

StateStoreCustomMetric

== [[StateStoreCustomMetric]] StateStoreCustomMetric Contract

StateStoreCustomMetric is the <> of <> that a state store may wish to expose (as <> or <>).

StateStoreCustomMetric is used when:

  • StateStoreProvider is requested for the <>

  • StateStoreMetrics is <>

[[contract]] .StateStoreCustomMetric Contract [cols="1m,2",options="header",width="100%"] |=== | Method | Description

| desc a| [[desc]]

[source, scala]

desc: String

Description of the custom metrics

| name a| [[name]]

[source, scala]

name: String

Name of the custom metrics

|===

[[implementations]] .StateStoreCustomMetrics [cols="1m,2",options="header",width="100%"] |=== | StateStoreCustomMetric | Description

| StateStoreCustomSizeMetric | [[StateStoreCustomSizeMetric]]

| StateStoreCustomSumMetric | [[StateStoreCustomSumMetric]]

| StateStoreCustomTimingMetric | [[StateStoreCustomTimingMetric]] |===