NebulaStream  0.6.213
NebulaStream is a data and application management framework for the internet of things
CpuMetrics.cpp File Reference
#include <API/AttributeField.hpp>
#include <API/Schema.hpp>
#include <Configurations/Coordinator/SchemaType.hpp>
#include <Identifiers/NESStrongTypeJson.hpp>
#include <Monitoring/Metrics/Gauge/CpuMetrics.hpp>
#include <Runtime/MemoryLayout/RowLayout.hpp>
#include <Runtime/TupleBuffer.hpp>
#include <Util/Logger/Logger.hpp>
#include <Util/TestTupleBuffer.hpp>
#include <iostream>
#include <nlohmann/json.hpp>
Include dependency graph for CpuMetrics.cpp:

Namespaces

 NES
 This exception represents a network error.
 
 NES::Monitoring
 

Functions

std::ostream & NES::Monitoring::operator<< (std::ostream &os, const CpuMetrics &values)
 
void NES::Monitoring::writeToBuffer (const CpuMetrics &metrics, Runtime::TupleBuffer &buf, uint64_t tupleIndex)
 The serialize method to write metrics into the given Schema and TupleBuffer. More...
 
void NES::Monitoring::readFromBuffer (CpuMetrics &metrics, Runtime::TupleBuffer &buf, uint64_t tupleIndex)
 Parses a metrics objects from a given Schema and TupleBuffer. More...
 
nlohmann::json NES::Monitoring::asJson (const CpuMetrics &metrics)
 Parses the metric to JSON. More...