Skip to content

Commit

Permalink
Merge pull request #6664 from vespa-engine/geirst/expose-document-sto…
Browse files Browse the repository at this point in the history
…re-cache-metrics

Expose new document store cache metrics.
  • Loading branch information
baldersheim committed Aug 24, 2018
2 parents 679211f + 9e9083d commit 1dfa921
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -297,6 +297,12 @@ private static Set<Metric> getSearchNodeMetrics() {
metrics.add(new Metric("content.proton.documentdb.removed.document_store.memory_usage.dead_bytes.average"));
metrics.add(new Metric("content.proton.documentdb.removed.document_store.memory_usage.onhold_bytes.average"));

// document store cache
metrics.add(new Metric("content.proton.documentdb.ready.document_store.cache.memory_usage.average"));
metrics.add(new Metric("content.proton.documentdb.ready.document_store.cache.hit_rate.average"));
metrics.add(new Metric("content.proton.documentdb.notready.document_store.cache.memory_usage.average"));
metrics.add(new Metric("content.proton.documentdb.notready.document_store.cache.hit_rate.average"));

// attribute
metrics.add(new Metric("content.proton.documentdb.ready.attribute.memory_usage.allocated_bytes.average"));
metrics.add(new Metric("content.proton.documentdb.ready.attribute.memory_usage.used_bytes.average"));
Expand Down

0 comments on commit 1dfa921

Please sign in to comment.