Monitor OpenAI API with Java Agent
The Java Agent helps you monitor the OpenAI API usage and related metrics. It monitors the Completion ChatCompletion Moderation APIs TheoKanning OpenAI Java framework to the OpenAI backend.
The following metrics are reported at the application, tier, and node levels:
- Calls per minute
- Cost
- Errors per minute
- Tokens
The following are the example metric paths:
- Per model metric path-
Application Infrastructure Performance|OpenAI_Tier|OpenAI|ada|Cost
- All model cumulative metrics path-
Application Infrastructure Performance|OpenAI_Tier|OpenAI|Cost - All Models
- Net application level metrics path-
Overall Application Summary|OpenAI - Cost - ada