mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
APM: Update statistic for APM.
This commit is contained in:
parent
3e2f8622f8
commit
e63c02e928
3 changed files with 20 additions and 0 deletions
|
|
@ -492,6 +492,7 @@ class SrsApmClient
|
|||
{
|
||||
private:
|
||||
bool enabled_;
|
||||
uint64_t nn_spans_;
|
||||
std::string token_;
|
||||
std::string endpoint_;
|
||||
std::string service_name_;
|
||||
|
|
@ -503,6 +504,8 @@ public:
|
|||
public:
|
||||
srs_error_t initialize();
|
||||
srs_error_t report();
|
||||
bool enabled();
|
||||
uint64_t nn_spans();
|
||||
public:
|
||||
// Create a span with specified name.
|
||||
ISrsApmSpan* span(const std::string& name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue