1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

APM: Check endpoint port and team.

This commit is contained in:
winlin 2022-09-19 17:54:18 +08:00
parent 6f7b242ce2
commit d4898bec3c
6 changed files with 63 additions and 5 deletions

View file

@ -493,6 +493,7 @@ class SrsApmClient
private:
bool enabled_;
uint64_t nn_spans_;
std::string team_;
std::string token_;
std::string endpoint_;
std::string service_name_;
@ -504,6 +505,9 @@ public:
public:
srs_error_t initialize();
srs_error_t report();
private:
srs_error_t do_report();
public:
bool enabled();
uint64_t nn_spans();
public: