MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / Collector

Interface Collector

metric/collector.go:101–104  ·  view source on GitHub ↗

Collector is the interface a collector has to implement.

Source from the content-addressed store, hash-verified

99
100// Collector is the interface a collector has to implement.
101type Collector interface {
102 // Get new metrics and expose them via prometheus Registry.
103 Update(ch chan<- prometheus.Metric) error
104}
105
106type typedDesc struct {
107 desc *prometheus.Desc

Callers 8

DeployMethod · 0.65
executeFunction · 0.65
UpdateProjectConfigFunction · 0.65
EnsureDeveloperFunction · 0.65
SaveSessionFunction · 0.65
UpdateTaskFunction · 0.65
SavePrivateKeyFunction · 0.65
EnsureProjectUserFunction · 0.65

Implementers 7

DBMSworker/dbms.go
filesystemCollectormetric/filesystem_common.go
statCollectormetric/cpu_darwin.go
cpuCollectormetric/cpu_openbsd.go
meminfoCollectormetric/meminfo.go
loadavgCollectormetric/loadavg.go
diskstatsCollectormetric/diskstats_linux.go

Calls

no outgoing calls

Tested by

no test coverage detected