-
Notifications
You must be signed in to change notification settings - Fork 260
Add AI Events and CNS NC Snapshots. #503
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
ashvindeodhar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How did you test this?
cns/restserver/restserver.go
Outdated
| logger.Printf("[Azure CNS] Listening.") | ||
|
|
||
| // Setup to emit snapshot periodically. | ||
| go service.sendNCSnapShotPeriodically(ncSnapshotIntervalInMinutes) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we call this if disableAll (disabletelemetry) is set?
| // HTTPService describes the min API interface that every service should have. | ||
| type HTTPService interface { | ||
| common.ServiceAPI | ||
| SendNCSnapShotPeriodically(int, chan bool) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why this has to be part of this structure?
tamilmani1989
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
What this PR does / why we need it:
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close that issue when PR gets merged): fixes #Special notes for your reviewer:
Release note: