selfping_actor.h 547 B

12345678910111213141516
  1. #pragma once
  2. #include <library/cpp/actors/core/actor.h>
  3. #include <library/cpp/monlib/dynamic_counters/counters.h>
  4. namespace NActors {
  5. ui64 MeasureTaskDurationNs();
  6. NActors::IActor* CreateSelfPingActor(
  7. TDuration sendInterval,
  8. const NMonitoring::TDynamicCounters::TCounterPtr& maxPingCounter,
  9. const NMonitoring::TDynamicCounters::TCounterPtr& avgPingCounter,
  10. const NMonitoring::TDynamicCounters::TCounterPtr& avgPingSmallWindowCounter,
  11. const NMonitoring::TDynamicCounters::TCounterPtr& calculationTimeCounter);
  12. } // NActors