Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type GetConfigResponse ¶
type MetricsService ¶
MetricsService is the service that handles CRUD functionality for Argus metrics storage
func (*MetricsService) GetConfig ¶
func (svc *MetricsService) GetConfig(ctx context.Context, projectID, instanceID string) (res GetConfigResponse, err error)
GetConfig returns argus metrics storage config See also https://api.stackit.schwarz/argus-monitoring-service/openapi.v1.html#operation/v1_projects_instances_metrics-storage-retentions_list
func (*MetricsService) UpdateConfig ¶
func (svc *MetricsService) UpdateConfig(ctx context.Context, projectID, instanceID string, cfg Config) (res UpdateConfigResponse, err error)
UpdateConfig updates argus metrics storage config See also https://api.stackit.schwarz/argus-monitoring-service/openapi.v1.html#operation/v1_projects_instances_metrics-storage-retentions_update
type UpdateConfigResponse ¶
type UpdateConfigResponse struct {
Message string `json:"message,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.