Service gives an ability to create and describe metrics, save metric values. More...
Public Member Functions | |
void | createMetric (MetricDescription metricDescription) |
Creates metric. More... | |
void | flush () |
Writes all values to file system. More... | |
void | saveValue (String metricId, Number value) |
Saves metric value during test run. More... | |
void | saveValue (String metricId, Number value, long timeStamp) |
Saves metric value with specific timestamp during test run. More... | |
Public Member Functions inherited from com.griddynamics.jagger.engine.e1.services.JaggerService | |
boolean | isAvailable () |
Reports if service is available. More... | |
Service gives an ability to create and describe metrics, save metric values.
Where this service is available you can find in chapter: Relation of listeners and Jagger services
Below is example of creating metric with metric service. MetricDescription is used to setup how metric will be aggregated and stored
Full example code you can find in chapter Custom listener examples code