Update the implementation for sent_query_count
The nsd metrics implementation needs to be updated to support the new field sent_query_count on NetworkNsdReported. Bug: 287546772 Test: m Merged-In: Ie1d8d5f2cce4f6040dcfb980db6ab11dfe01fb72 Change-Id: Ie1d8d5f2cce4f6040dcfb980db6ab11dfe01fb72
This commit is contained in:
parent
8ba50ae30f
commit
600bd89258
2 changed files with 5 additions and 1 deletions
|
|
@ -66,7 +66,8 @@ public class NetworkNsdReportedMetrics {
|
|||
event.getFoundServiceCount(),
|
||||
event.getFoundCallbackCount(),
|
||||
event.getLostCallbackCount(),
|
||||
event.getRepliedRequestsCount());
|
||||
event.getRepliedRequestsCount(),
|
||||
event.getSentQueryCount());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -61,6 +61,9 @@ message NetworkNsdReported {
|
|||
|
||||
// Record query service count before unregistered service
|
||||
optional int32 replied_requests_count = 11;
|
||||
|
||||
// Record sent query count before stopped discovery
|
||||
optional int32 sent_query_count = 12;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue