Skip to content
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

Telemetry Headers #454

Closed
2 tasks done
Tracked by #195 ...
corinagum opened this issue Aug 21, 2023 · 2 comments · Fixed by #1142
Closed
2 tasks done
Tracked by #195 ...

Telemetry Headers #454

corinagum opened this issue Aug 21, 2023 · 2 comments · Fixed by #1142
Assignees
Labels
bot-framework work being tracked that needs to be done in the bot framework SDK JS & dotnet & Python Change or fix must apply to all three programming languages P0

Comments

@corinagum
Copy link
Collaborator

corinagum commented Aug 21, 2023

We need to add telemetry for tracking AI Library usage:

Users actively building using AI library - Test vs production
What are bot feature APIs they are using
MAU of app built via SDK

code

Make sure SMBA is logging correctly

Tasks

Preview Give feedback
  1. JS & dotnet & Python P0
    Stevenic govil1811
  2. P0 dotnet small
    aacebo
@corinagum corinagum self-assigned this Aug 21, 2023
@corinagum corinagum changed the title Telemetry headers Telemetry headers [blocked until unification complete] Aug 28, 2023
@corinagum corinagum changed the title Telemetry headers [blocked until unification complete] Telemetry headers Sep 28, 2023
@corinagum
Copy link
Collaborator Author

@corinagum corinagum added JS & dotnet & Python Change or fix must apply to all three programming languages bot-framework work being tracked that needs to be done in the bot framework SDK labels Dec 6, 2023
@aacebo
Copy link
Collaborator

aacebo commented Dec 21, 2023

currently following up with SMBA on our side to make sure they can ingest custom headers we set. BF team should be able to start this work in the JS SDK early next year.

@aacebo aacebo changed the title Telemetry headers Telemetry Headers Dec 21, 2023
@aacebo aacebo added the P0 label Dec 22, 2023
@aacebo aacebo assigned aacebo and unassigned corinagum Jan 9, 2024
aacebo added a commit that referenced this issue Jan 16, 2024
## Linked issues

closes: #454 

## Details

In order to configure the `User-Agent` header for telemetry, I have
added the class `TeamsBotFrameworkAuthentication` which will allow us to
control the headers while still giving the devs implementation
flexibility:

- we can control how the bot adapter is initialized and provide
overrides when necessary.
- we can add an `error` handler on the `Application` class.
- we can cut down on botbuilder boilerplate necessary for users to use
our library.

---------

Co-authored-by: Corina <[email protected]>
@aacebo aacebo reopened this Jan 16, 2024
aacebo added a commit that referenced this issue Jan 17, 2024
## Linked issues

closes: #745 #454 

## Details

add a new type of `BotAdapter` that ensures our telemetry headers are
added.

- add `TeamsAdapter` and make it the required form of `BotAdapter`
- update `js` implementation to match `dotnet`
@aacebo aacebo closed this as completed Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bot-framework work being tracked that needs to be done in the bot framework SDK JS & dotnet & Python Change or fix must apply to all three programming languages P0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants