Skip to content

Commit a2d8884

Browse files
authored
Update index.mdx
1 parent c63cba8 commit a2d8884

File tree

1 file changed

+5
-7
lines changed
  • src/content/docs/ai-gateway/observability/logging

1 file changed

+5
-7
lines changed

src/content/docs/ai-gateway/observability/logging/index.mdx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,23 @@ sidebar:
88

99
import { Render } from "~/components";
1010

11-
Logging is a fundamental building block for application development. Logging provides insights during the early stages of development and is often critical to understanding issues occurring in production.
11+
Logging is a fundamental building block for application development. Logs provide insights during the early stages of development and are often critical to understanding issues occurring in production.
1212

13-
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.
13+
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.
1414

15-
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.
15+
You can store up to 10 million logs per gateway. 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.
1616

1717
To learn more about your plan limits, refer to the [Pricing](/ai-gateway/pricing/) page.
1818

1919
## Default configuration
2020

21-
Logs, which include metrics as well as request and response data are enabled by default for each gateway. If you are concerned about privacy or compliance and want to turn log collection off, you can go to settings and opt out of logs or set logging behavior on a per-request basis.
21+
Logs, which include metrics as well as request and response data, are enabled by default for each gateway. This logging behavior will be uniformly applied to all requests in the gateway. If you are concerned about privacy or compliance and want to turn log collection off, you can go to settings and opt out of logs. If you need to modify the log settings for specific requests, you can override this setting on a per-request basis.
2222

2323
<Render file="logging" />
2424

25-
This logging behavior will be uniformly applied to all requests in the gateway. If you need to modify the logging settings for specific requests, you can override this setting on a per-request basis.
26-
2725
:::note[Note]
2826

29-
To export logs using [Logpush](/ai-gateway/observability/logging/logpush), you must have logs turned on for the gateway or have overridden the gateway settings by using the `cf-aig-collect-log` request header.
27+
To export logs using [Logpush](/ai-gateway/observability/logging/logpush), you must have logs turned on for the gateway.
3028

3129
:::
3230

0 commit comments

Comments
 (0)