Implement CheckCle Microservice Operation
A Go-based microservice for service operations including ICMP ping, DNS resolution, and TCP connectivity
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
|
||||
package handlers
|
||||
|
||||
import (
|
||||
"service-operation/shared/savers"
|
||||
"service-operation/types"
|
||||
)
|
||||
|
||||
func (h *OperationHandler) saveMetricsToPocketBase(result *types.OperationResult, serviceID string) {
|
||||
metricsSaver := savers.NewMetricsSaver(h.pbClient)
|
||||
metricsSaver.SaveMetricsToPocketBase(result, serviceID)
|
||||
}
|
||||
Reference in New Issue
Block a user