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

feat(ai-proxy): add telemetry for ai-proxy #12492

Merged
merged 1 commit into from
Feb 1, 2024

Conversation

tysoekong
Copy link
Contributor

@tysoekong tysoekong commented Feb 1, 2024

Summary

Adds telemetry for AI/LLM "model" and "provider" usage.

Checklist

  • The Pull Request has tests
  • A changelog file has been created under changelog/unreleased/kong or skip-changelog label added on PR if changelog is unnecessary. README.md
  • There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Issue reference

Internal request.

@tysoekong tysoekong added cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee and removed core/admin-api labels Feb 1, 2024
@tysoekong tysoekong force-pushed the feat/add_ai_proxy_telemetry branch from 1067a11 to bfa2c9e Compare February 1, 2024 18:54
@RobSerafini RobSerafini requested a review from a team February 1, 2024 20:21
@RobSerafini RobSerafini added this to the 3.6.0 milestone Feb 1, 2024
@curiositycasualty curiositycasualty merged commit 00211cb into master Feb 1, 2024
27 checks passed
@curiositycasualty curiositycasualty deleted the feat/add_ai_proxy_telemetry branch February 1, 2024 21:32
github-actions bot pushed a commit that referenced this pull request Feb 1, 2024
@team-gateway-bot
Copy link
Collaborator

Successfully created backport PR for release/3.6.x:

curiositycasualty pushed a commit that referenced this pull request Feb 1, 2024
(cherry picked from commit 00211cb)

Co-authored-by: Jack Tysoe <[email protected]>
@gruceo gruceo added cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee and removed cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee labels Feb 1, 2024
@team-gateway-bot
Copy link
Collaborator

Backport failed for release/3.6.x, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin release/3.6.x
git worktree add -d .worktree/backport-12492-to-release/3.6.x origin/release/3.6.x
cd .worktree/backport-12492-to-release/3.6.x
git switch --create backport-12492-to-release/3.6.x
git cherry-pick -x 00211cbe328d10831b0940b21e6d35ed0b880268

@team-gateway-bot
Copy link
Collaborator

Cherry-pick failed for master, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally.

git remote add upstream https://github.com/kong/kong-ee
git fetch upstream master
git worktree add -d .worktree/cherry-pick-12492-to-master-to-upstream upstream/master
cd .worktree/cherry-pick-12492-to-master-to-upstream
git checkout -b cherry-pick-12492-to-master-to-upstream
ancref=$(git merge-base c7cb900f4919e6b320b7bdf9132cfa4747679760 bfa2c9eec1420426c2841e6a30f0f67fc924fb4c)
git cherry-pick -x $ancref..bfa2c9eec1420426c2841e6a30f0f67fc924fb4c

@gruceo gruceo added cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee and removed cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee labels Feb 1, 2024
@team-gateway-bot
Copy link
Collaborator

Backport failed for release/3.6.x, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin release/3.6.x
git worktree add -d .worktree/backport-12492-to-release/3.6.x origin/release/3.6.x
cd .worktree/backport-12492-to-release/3.6.x
git switch --create backport-12492-to-release/3.6.x
git cherry-pick -x 00211cbe328d10831b0940b21e6d35ed0b880268

@team-gateway-bot
Copy link
Collaborator

Cherry-pick failed for master, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally.

git remote add upstream https://github.com/kong/kong-ee
git fetch upstream master
git worktree add -d .worktree/cherry-pick-12492-to-master-to-upstream upstream/master
cd .worktree/cherry-pick-12492-to-master-to-upstream
git checkout -b cherry-pick-12492-to-master-to-upstream
ancref=$(git merge-base c7cb900f4919e6b320b7bdf9132cfa4747679760 bfa2c9eec1420426c2841e6a30f0f67fc924fb4c)
git cherry-pick -x $ancref..bfa2c9eec1420426c2841e6a30f0f67fc924fb4c

1 similar comment
@team-gateway-bot
Copy link
Collaborator

Cherry-pick failed for master, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally.

git remote add upstream https://github.com/kong/kong-ee
git fetch upstream master
git worktree add -d .worktree/cherry-pick-12492-to-master-to-upstream upstream/master
cd .worktree/cherry-pick-12492-to-master-to-upstream
git checkout -b cherry-pick-12492-to-master-to-upstream
ancref=$(git merge-base c7cb900f4919e6b320b7bdf9132cfa4747679760 bfa2c9eec1420426c2841e6a30f0f67fc924fb4c)
git cherry-pick -x $ancref..bfa2c9eec1420426c2841e6a30f0f67fc924fb4c

This was referenced Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick kong-ee schedule this PR for cherry-picking to kong/kong-ee core/admin-api size/S
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants