niobe/base/hiviewdfx/hievent_lite
houpengfei 396aa09915 init 2021-09-22 21:52:48 +08:00
..
.gitee init 2021-09-22 21:52:48 +08:00
command init 2021-09-22 21:52:48 +08:00
frameworks init 2021-09-22 21:52:48 +08:00
interfaces/native/innerkits init 2021-09-22 21:52:48 +08:00
BUILD.gn init 2021-09-22 21:52:48 +08:00
LICENSE init 2021-09-22 21:52:48 +08:00
README.md init 2021-09-22 21:52:48 +08:00
README_zh.md init 2021-09-22 21:52:48 +08:00

README.md

hievent Module

Overview

This module provides APIs for printing faults, user behavior, and power consumption statistics of service components. It also supports event serialization.

Architecture

  1. An event is created.
  2. Data is added for the event.
  3. The event is reported.
  4. The event component checks the parameter validity and performs binary serialization to convert the event into structured data.
  5. The event component calls the output function to write the event into a file. Each time a new file is written, the common header information is added to it.
  6. The upload component passively or proactively reports the event information to smartphones at a scheduled time.

Repositories Involved

DFX subsystem

hiviwdfx_hilog_lite

hiviwdfx_hiview_lite

hiviwdfx_hievent_lite