NebulaStream
0.6.213
NebulaStream is a data and application management framework for the internet of things
|
Classes | |
class | NES::Monitoring::RuntimeMetrics |
Wrapper class to represent the metrics read from the OS about dynamically changing data represented in other metric classes. More... | |
Namespaces | |
NES | |
This exception represents a network error. | |
NES::Configurations | |
NES::Monitoring | |
Typedefs | |
using | NES::Monitoring::RuntimeNesMetricsPtr = std::shared_ptr< RuntimeMetrics > |
Functions | |
class NES::Monitoring::CpuMetrics | NES::Monitoring::__attribute__ ((packed)) |
RuntimeMetrics () | |
void | writeToBuffer (Runtime::TupleBuffer &buf, uint64_t tupleIndex) const |
Writes a metrics objects to the given TupleBuffer and index. More... | |
void | readFromBuffer (Runtime::TupleBuffer &buf, uint64_t tupleIndex) |
Parses a metrics objects from a TupleBuffer.. More... | |
nlohmann::json | toJson () const |
Returns the metrics as json. More... | |
bool | operator== (const RuntimeMetrics &rhs) const |
bool | operator!= (const RuntimeMetrics &rhs) const |
void | NES::Monitoring::writeToBuffer (const RuntimeMetrics &metrics, Runtime::TupleBuffer &buf, uint64_t tupleIndex) |
Writes metrics objects to a given Schema and TupleBuffer. More... | |
void | NES::Monitoring::readFromBuffer (RuntimeMetrics &metrics, Runtime::TupleBuffer &buf, uint64_t tupleIndex) |
Parses metrics objects from a given Schema and TupleBuffer. More... | |
nlohmann::json | NES::Monitoring::asJson (const RuntimeMetrics &metrics) |
Parses the metric to JSON. More... | |
Variables | |
uint64_t | nodeId |
uint64_t | wallTimeNs |
uint64_t | memoryUsageInBytes |
uint64_t | cpuLoadInJiffies |
uint64_t | blkioBytesRead |
uint64_t | blkioBytesWritten |
uint64_t | batteryStatusInPercent |
uint64_t | latCoord |
uint64_t | longCoord |
bool __attribute__::operator!= | ( | const RuntimeMetrics & | rhs | ) | const |
bool __attribute__::operator== | ( | const RuntimeMetrics & | rhs | ) | const |
void __attribute__::readFromBuffer | ( | Runtime::TupleBuffer & | buf, |
uint64_t | tupleIndex | ||
) |
Parses a metrics objects from a TupleBuffer..
buf | the tuple buffer |
the | tuple index indicating the location of the tuple |
__attribute__::RuntimeMetrics | ( | ) |
nlohmann::json __attribute__::toJson | ( | ) | const |
Returns the metrics as json.
void __attribute__::writeToBuffer | ( | Runtime::TupleBuffer & | buf, |
uint64_t | tupleIndex | ||
) | const |
Writes a metrics objects to the given TupleBuffer and index.
buf | the tuple buffer |
tupleIndex | the index indication its location in the buffer |
uint64_t batteryStatusInPercent |
uint64_t blkioBytesRead |
uint64_t blkioBytesWritten |
uint64_t cpuLoadInJiffies |
uint64_t latCoord |
uint64_t longCoord |
uint64_t memoryUsageInBytes |
uint64_t nodeId |
uint64_t wallTimeNs |