You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.NETIssue or Pull requests regarding .NET codekernelIssues or pull requests impacting the core kernelsk team issueA tag to denote issues that where created by the Semantic Kernel team (i.e., not the community)
Leverage ILogger with Azure Monitor (AppInsights) to send custom telemetry for the following:
Ask (disabled by default) – the actual Ask (text) coming into the Kernel from the application (example: “Create an email to my boss with a summarization of this ......” this will be important in Dev and maybe UAT/test environments. But for PII in production it should be disabled
Planner (enabled by default) – this is the planner step (either using one of our planners or if the developer hard coded in a plan
a. Ideal information to store here: Execution time, Model used for planner, success state (Success / Failed), Plan returned, total tokens used
Steps executed for the returned plan (enabled by default)
a. Ideal information to store here: Plugin executed, execution time, success state (Success / Failed), Tokens used, Model used, Plan this was run from
Kernel Errors throughout the process
a. Critical, Failures, Warnings – (enabled by default)
b. Non-fatal (disabled by default)
### Tasks
- [x] Telemetry for Ask
- [x] Telemetry for Planner
- [x] Telemetry for plan execution
- [x] Telemetry for Kernel errors
- [x] Samples and demos with telemetry usage
.NETIssue or Pull requests regarding .NET codekernelIssues or pull requests impacting the core kernelsk team issueA tag to denote issues that where created by the Semantic Kernel team (i.e., not the community)
Activity
dmytrostruk commentedon Jul 8, 2023
Telemetry for Kernel errors will be handled after exception handling issue is closed: #1669
alexminza commentedon Jul 19, 2023
LangSmith is a great tool that builds on top of this type of functionality #2070