diff --git a/mod-frrouting/bgp_neighbor.go b/mod-frrouting/bgp_neighbor.go index 6485022..a8ed730 100644 --- a/mod-frrouting/bgp_neighbor.go +++ b/mod-frrouting/bgp_neighbor.go @@ -40,7 +40,7 @@ type bgpNeighborPlugin struct { } type bgpNeighborSummary struct { - *nagopher.BaseSummary + *shared.BasePluginSummary } type bgpNeighborStatsCollection map[string]bgpNeighborStats @@ -255,7 +255,7 @@ func (p *bgpNeighborPlugin) fetchStatistics() (*bgpNeighborStats, error) { func newBgpNeighborSummary() *bgpNeighborSummary { return &bgpNeighborSummary{ - BaseSummary: nagopher.NewBaseSummary(), + BasePluginSummary: shared.NewPluginSummary(), } } diff --git a/mod-system/interface.go b/mod-system/interface.go index 3dcff85..172d9af 100644 --- a/mod-system/interface.go +++ b/mod-system/interface.go @@ -34,7 +34,7 @@ type interfacePlugin struct { } type interfaceSummary struct { - *nagopher.BaseSummary + *shared.BasePluginSummary } type interfaceStats struct { @@ -119,7 +119,7 @@ func (p *interfacePlugin) Probe(warnings *nagopher.WarningCollection) (metrics [ func newInterfaceSummary() *interfaceSummary { return &interfaceSummary{ - BaseSummary: nagopher.NewBaseSummary(), + BasePluginSummary: shared.NewPluginSummary(), } } diff --git a/mod-system/memory.go b/mod-system/memory.go index be43dcf..cad90b8 100644 --- a/mod-system/memory.go +++ b/mod-system/memory.go @@ -41,7 +41,7 @@ type memoryUsage struct { } type memorySummary struct { - *nagopher.BaseSummary + *shared.BasePluginSummary } func newMemoryPlugin() *memoryPlugin { @@ -109,7 +109,7 @@ func (p *memoryPlugin) Probe(warnings *nagopher.WarningCollection) (metrics []na func newMemorySummary() *memorySummary { return &memorySummary{ - BaseSummary: nagopher.NewBaseSummary(), + BasePluginSummary: shared.NewPluginSummary(), } }