Skip to content

Commit

Permalink
feat(ident): Add http/https metrics support
Browse files Browse the repository at this point in the history
  • Loading branch information
godcong committed Jul 11, 2024
1 parent 1c837a5 commit 7d81f96
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions metrics/metrics.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package metrics

import (
"net/http"

"github.com/origadmin/toolkits/context"
)

type Metrics interface {
ObserverHTTP(ctx context.Context, request *http.Request, response *http.Response, err error)
}

0 comments on commit 7d81f96

Please sign in to comment.