Skip to content

Commit

Permalink
Added api monitoring
Browse files Browse the repository at this point in the history
  • Loading branch information
emardillu committed Apr 6, 2023
1 parent fe27231 commit 5796d23
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package com.mardillu.openai.model.requests

data class LogApiRequest(
val route: String,
val request_time: Int,
val response_time: Int,
val duration: Int,
val request_time: Long,
val response_time: Long,
val duration: Long,
val response_code: Int,
)
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ class LoggingClient {

fun logRequestTime(
route: String,
request_time: Int,
response_time: Int,
duration: Int,
request_time: Long,
response_time: Long,
duration: Long,
responseCode: Int,
completionHandler: (Any?, Throwable?) -> Unit
) {
Expand Down

0 comments on commit 5796d23

Please sign in to comment.