mb_lwtrace.h 887 B

12345678910111213141516171819
  1. #pragma once
  2. #include <library/cpp/lwtrace/all.h>
  3. #include <util/generic/string.h>
  4. #define LWTRACE_MESSAGEBUS_PROVIDER(PROBE, EVENT, GROUPS, TYPES, NAMES) \
  5. PROBE(Error, GROUPS("MessagebusRare"), TYPES(TString, TString, TString), NAMES("status", "address", "misc")) \
  6. PROBE(ServerUnknownVersion, GROUPS("MessagebusRare"), TYPES(TString, ui32), NAMES("address", "version")) \
  7. PROBE(Accepted, GROUPS("MessagebusRare"), TYPES(TString), NAMES("address")) \
  8. PROBE(Disconnected, GROUPS("MessagebusRare"), TYPES(TString), NAMES("address")) \
  9. PROBE(Read, GROUPS(), TYPES(ui32), NAMES("size")) \
  10. /**/
  11. LWTRACE_DECLARE_PROVIDER(LWTRACE_MESSAGEBUS_PROVIDER)
  12. namespace NBus {
  13. void InitBusLwtrace();
  14. }