Skip to content

Conversation

@daisyfaithauma
Copy link
Contributor

@daisyfaithauma daisyfaithauma commented Sep 13, 2024

  • This is initial persistent logs documentation

@github-actions github-actions bot added product:ai-gateway AI Gateway: https://developers.cloudflare.com/ai-gateway/ size/s labels Sep 13, 2024
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Sep 13, 2024

Deploying cloudflare-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1bc4b49
Status: ✅  Deploy successful!
Preview URL: https://9eac4fee.cloudflare-docs-7ou.pages.dev
Branch Preview URL: https://aig-persistent-logs.cloudflare-docs-7ou.pages.dev

View logs

@kathayl
Copy link
Contributor

kathayl commented Sep 16, 2024

Can we

  1. change the page name to "Logging" (matches how Workers does it)
  2. when this page goes live, we will also need to update the existing "analytics and logging" page to just be "Analytics", add the cool new analytics section you wrote, and remove the logging section
  3. the font of the header section is weird. can it match how we have header instructions in the caching page?
image 4) add to changelog 5) reminder - we still have to add in the logpush section to this draft PR

@daisyfaithauma
Copy link
Contributor Author

Can we

  1. change the page name to "Logging" (matches how Workers does it)
  2. when this page goes live, we will also need to update the existing "analytics and logging" page to just be "Analytics", add the cool new analytics section you wrote, and remove the logging section
  3. the font of the header section is weird. can it match how we have header instructions in the caching page?

image 4) add to changelog 5) reminder - we still have to add in the logpush section to this draft PR

  • Renamed page to logging
  • Fixed header

daisyfaithauma and others added 5 commits September 23, 2024 13:40
updates to wording bc how per request logging is set up the whole log does not show, not just the user prompt + model response

Your AI Gateway dashboard shows logs of individual requests, including the user prompt, model response, provider, timestamp, request status, token usage, cost, and duration. These logs persist, giving you the flexibility to store them for your preferred duration and do more with valuable request data. You can store up to 10 million logs per gateway.

When you are nearing your plan limit, an alert will be displayed in the dashboard. If your limit is reached, new logs will stop being saved. To continue saving logs, you must delete older logs to free up space for new logs.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we link "limit" to the limits page

@daisyfaithauma daisyfaithauma marked this pull request as ready for review September 26, 2024 10:44
@daisyfaithauma
Copy link
Contributor Author

Re done on another PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:ai-gateway AI Gateway: https://developers.cloudflare.com/ai-gateway/ size/s

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants