Package apoc.metrics
Class Metrics
- java.lang.Object
-
- apoc.metrics.Metrics
-
public class Metrics extends java.lang.Object
- Since:
- 27.02.19
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Metrics.GenericMetric
DAO for a single line in a metrics/*.csv file.static class
Metrics.Neo4jMeasuredMetric
static class
Metrics.StorageMetric
DAO that gets streamed to the user with apoc.metric.storage() Note that we divulge the storage directory setting, not the internal path.static class
Metrics.StoragePair
Simple DAO that pairs a config setting name with a File path that it refers to
-
Field Summary
Fields Modifier and Type Field Description org.neo4j.logging.Log
log
-
Constructor Summary
Constructors Constructor Description Metrics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.stream.Stream<Metrics.GenericMetric>
get(java.lang.String metricName, java.util.Map<java.lang.String,java.lang.Object> config)
java.util.stream.Stream<Metrics.Neo4jMeasuredMetric>
list()
java.util.stream.Stream<Metrics.GenericMetric>
loadCsvForMetric(java.lang.String metricName, java.util.Map<java.lang.String,java.lang.Object> config)
java.util.stream.Stream<Metrics.StorageMetric>
storage(java.lang.String directorySetting)
-
-
-
Method Detail
-
list
public java.util.stream.Stream<Metrics.Neo4jMeasuredMetric> list()
-
loadCsvForMetric
public java.util.stream.Stream<Metrics.GenericMetric> loadCsvForMetric(java.lang.String metricName, java.util.Map<java.lang.String,java.lang.Object> config)
-
storage
public java.util.stream.Stream<Metrics.StorageMetric> storage(java.lang.String directorySetting)
-
get
public java.util.stream.Stream<Metrics.GenericMetric> get(java.lang.String metricName, java.util.Map<java.lang.String,java.lang.Object> config)
-
-