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
Add server telemetry #1687
Add server telemetry #1687
Conversation
e96f61e
to
4435f63
Compare
Codecov ReportBase: 95.80% // Head: 95.75% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #1687 +/- ##
==========================================
- Coverage 95.80% 95.75% -0.05%
==========================================
Files 144 145 +1
Lines 6603 6669 +66
==========================================
+ Hits 6326 6386 +60
- Misses 277 283 +6
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
4435f63
to
df571b1
Compare
Here are the 3 kinds of events to track. Please, @dvsrepo, take a look and let me know your thoughts: 'ServerErrorFound', {
'code': 'rubrix.api.errors::EntityNotFoundError',
'machine': 'x86_64',
'platform': 'Linux-5.15.0-1017-azure-x86_64-with-glibc2.10',
'python_version': '3.8.13',
'rubrix_version': '0.17.0.dev0',
'sys_version': '#20~20.04.1-Ubuntu SMP Fri Aug 5 12:16:53 UTC 2022',
'system': 'Linux'
}
'LogRecordsRequested', {
'machine': 'x86_64',
'platform': 'macOS-10.16-x86_64-i386-64bit',
'python_version': '3.8.13',
'records': 1,
'rubrix_version': '0.17.0.dev0',
'sys_version': 'Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:22 PDT 2022; root:xnu-8020.121.3~4/RELEASE_X86_64',
'system': 'Darwin',
'task': 'TextClassification'
}
'UserInfoRequested', {
'machine': 'x86_64',
'platform': 'macOS-10.16-x86_64-i386-64bit',
'python_version': '3.8.13',
'rubrix_version': '0.17.0.dev0',
'sys_version': 'Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:22 PDT 2022; root:xnu-8020.121.3~4/RELEASE_X86_64',
'system': 'Darwin'
} |
969dd6a
to
1abd1e2
Compare
@dvsrepo Please, take a look at the final docs. Once it is reviewed, we can merge and start testing with collected data |
Looks great! |
05a6ed6
to
639352c
Compare
(cherry picked from commit d57afd1)
(cherry picked from commit d57afd1)
(cherry picked from commit d57afd1)
(cherry picked from commit d57afd1)
(cherry picked from commit d57afd1)
Some changes related to the usage telemetry: - Passing system data as event context (will simplify later integrations) - Show warning message on server start to clear preventing users - Include the Telemetry section inside the Reference doc. Refs: #1687
Some changes related to the usage telemetry: - Passing system data as event context (will simplify later integrations) - Show warning message on server start to clear preventing users - Include the Telemetry section inside the Reference doc. Refs: #1687
(cherry picked from commit d57afd1) Some changes related to the usage telemetry: - Passing system data as event context (will simplify later integrations) - Show warning message on server start to clear preventing users - Include the Telemetry section inside the Reference doc.
(cherry picked from commit d57afd1) Some changes related to the usage telemetry: - Passing system data as event context (will simplify later integrations) - Show warning message on server start to clear preventing users - Include the Telemetry section inside the Reference doc.
Closes #1629
/api/me
,/api/datasets/.../bulk
and API errors