MCPcopy Create free account
hub / github.com/devfeel/dotweb / QueryIntervalErrorData

Method QueryIntervalErrorData

core/state.go:212–214  ·  view source on GitHub ↗

QueryIntervalErrorData query error count by query time

(queryKey string)

Source from the content-addressed store, hash-verified

210
211// QueryIntervalErrorData query error count by query time
212func (state *ServerStateInfo) QueryIntervalErrorData(queryKey string) uint64 {
213 return state.IntervalErrorData.GetUInt64(queryKey)
214}
215
216// AddRequestCount add request count
217func (state *ServerStateInfo) AddRequestCount(page string, code int, num uint64) {

Callers 2

showIntervalDataJsonFunction · 0.80
showIntervalDataPrettyFunction · 0.80

Calls 1

GetUInt64Method · 0.65

Tested by

no test coverage detected