blob: 3e6ffb56af73cc38ce4ff628d98881b92446d9d7 [file] [log] [blame]
// Copyright 2019 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef DIAGNOSTICS_TELEM_TELEMETRY_ITEM_ENUM_H_
#define DIAGNOSTICS_TELEM_TELEMETRY_ITEM_ENUM_H_
namespace diagnostics {
// TODO(pmoy@chromium.org): As telemetry items are finalized,
// make sure the units being measured for each item is clear.
// Enumerates each of the individual telemetry items that
// can be requested from libtelem.
enum class TelemetryItemEnum {
kUptime,
kMemTotalMebibytes,
kMemFreeMebibytes,
kNumRunnableEntities,
kNumExistingEntities,
kTotalIdleTimeUserHz,
kIdleTimePerCPUUserHz,
kNetStat,
kNetDev,
kHwmon, // Placeholder until /sys/class/hwmon/ is parsed.
kThermal, // Placeholder until /sys/class/thermal/ is parsed.
kDmiTables, // Placeholder until /sys/firmware/dmi/tables/ is parsed.
kBatteryCycleCount,
kBatteryVoltage,
kBatteryManufacturer,
};
} // namespace diagnostics
#endif // DIAGNOSTICS_TELEM_TELEMETRY_ITEM_ENUM_H_