Documentation ¶
Index ¶
- func NewMetricsService(ctx *app.Context, metricsAdapter port.MetricsAdapter) port.MetricsService
- type MetricsService
- func (s *MetricsService) ConfigureCollector(inst *containerstypes.Container) error
- func (s *MetricsService) ConfigureVisualizer(inst *containerstypes.Container) error
- func (s *MetricsService) GetMetrics() []types.Metric
- func (s *MetricsService) GetUUID() uuid.UUID
- func (s *MetricsService) InstallCollector(ctx context.Context, collector string) error
- func (s *MetricsService) InstallVisualizer(ctx context.Context, visualizer string) error
- func (s *MetricsService) OnEvent(e event.Event) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMetricsService ¶
func NewMetricsService(ctx *app.Context, metricsAdapter port.MetricsAdapter) port.MetricsService
Types ¶
type MetricsService ¶
type MetricsService struct {
// contains filtered or unexported fields
}
func (*MetricsService) ConfigureCollector ¶
func (s *MetricsService) ConfigureCollector(inst *containerstypes.Container) error
ConfigureCollector will configure a container to monitor the metrics of Vertex.
func (*MetricsService) ConfigureVisualizer ¶
func (s *MetricsService) ConfigureVisualizer(inst *containerstypes.Container) error
func (*MetricsService) GetMetrics ¶
func (s *MetricsService) GetMetrics() []types.Metric
func (*MetricsService) GetUUID ¶
func (s *MetricsService) GetUUID() uuid.UUID
func (*MetricsService) InstallCollector ¶ added in v0.16.0
func (s *MetricsService) InstallCollector(ctx context.Context, collector string) error
func (*MetricsService) InstallVisualizer ¶ added in v0.16.0
func (s *MetricsService) InstallVisualizer(ctx context.Context, visualizer string) error
Click to show internal directories.
Click to hide internal directories.