- Feature: New methods
GetMetricsStorageRetention
,UpdateMetricsStorageRetention
- Breaking change: Remove unused data types
- Set config.ContextHTTPRequest in Execute method
- Support WithMiddleware configuration option in the client
- Update
core
tov0.12.0
- Update
core
tov0.10.0
- Update
core
tov0.7.7
. Thehttp.request
context is now passed in the clientDo
call.
- Increase default timeouts of wait operations on Argus instances
- Bug fix:
NewAPIClient
now initializes a new client instead of usinghttp.DefaultClient
(#236)
- Add license and notice files
-
Feature: Add
SampleLimit
toUpdateScrapeConfigPayload
.This field allows you to update the per-scrape limit on number of scraped samples that will be accepted. If more than this number of samples are present after metric relabeling the entire scrape will be treated as failed. The total limit depends on the service plan target (limits * samples).
- Dependency updates
- Dependency updates
API methods, structs and waiters were renamed to have the same look and feel across all services and according to user feedback.
- Changed methods:
CreateCredential
renamed toCreateCredentials
CreateInstanceAlertConfigReceiver
renamed toCreateAlertConfigReceiver
DeleteCredential
renamed toDeleteCredentials
DeleteCredentialRemoteWriteConfig
renamed toDeleteCredentialsRemoteWriteConfig
DeleteInstanceAlertConfigReceiver
renamed toDeleteAlertConfigReceiver
DeleteInstanceAlertConfigRouteReceiver
renamed toDeleteAlertConfigRoute
GetCredential
renamed toGetCredentials
GetCredentialRemoteWriteConfig
renamed toGetCredentialsRemoteWriteConfig
GetCredentials
renamed toListCredentials
GetInstanceAcl
renamed toListACL
GetInstanceAlertConfigReceiver
renamed toGetAlertConfigReceiver
GetInstanceAlertConfigReceivers
renamed toListAlertConfigReceivers
GetInstanceAlertConfigRoutes
renamed toListAlertConfigRoute
GetInstanceAlertConfigs
renamed toGetAlertConfigs
GetInstanceGrafanaConfigs
renamed toGetGrafanaConfigs
GetInstances
renamed toListInstances
GetPlans
renamed toListPlans
GetScrapeConfigs
renamed toListScrapeConfigs
UpdateCredentialRemoteWriteConfig
renamed toUpdateCredentialsRemoteWriteConfig
UpdateInstanceAcl
renamed toUpdateACL
UpdateInstanceAlertConfigReceiver
renamed toUpdateAlertConfigReceiver
UpdateInstanceAlertConfigRouteReceiver
renamed toUpdateAlertConfigRoute
UpdateInstanceAlertConfigs
renamed toUpdateAlertConfigs
UpdateInstanceGrafanaConfigs
renamed toUpdateGrafanaConfigs
- Changed structs:
AclResponse
renamed toListACLResponse
AlertGroupJson
renamed toAlertGroup
AlertRuleRecordJson
renamed toAlertRuleRecord
ApiUserProjectCreated
renamed toCreateCredentialsResponse
BackupScheduleModelJson
renamed toBackupSchedule
CreateInstanceAlertConfigReceiverPayload
renamed toCreateAlertConfigReceiverPayload
CreateInstanceAlertConfigRoutePayload
renamed toCreateAlertConfigRoutePayload
Credential
renamed toCredentials
CredentialsListResponse
renamed toListCredentialsResponse
CredentialsRemoteWriteResponse
renamed toCredentialsRemoteWriteConfig
GetAlert
renamed toGetAlertConfigsResponse
InstanceResponse
renamed toGetInstanceResponse
MysqlCheckChildResponse
renamed toMySQLCheckChildResponse
PlanModel
renamed toPlan
ProjectInstanceFullMany
renamed toListInstancesResponse
ProjectInstancesUpdateResponse
renamed toInstanceResponse
PutAlert
renamed toUpdateAlertConfigsResponse
ReceiversResponse
renamed toAlertConfigReceiversResponse
ReceiversResponseSerializerSingle
renamed toReceiver
RouteResponse
renamed toAlertConfigRouteResponse
RouteSerializer2
renamed toRouteSerializer
ScrapeConfigResponse
renamed toGetScrapeConfigResponse
ScrapeConfigsResponse
renamed toListScrapeConfigsResponse
(when output of ListScrapeConfigs) andDeleteScrapeConfigResponse
(when output of DeleteScrapeConfig)ServiceKeysResponse
renamed toGetCredentialsResponse
UpdateCredentialRemoteWriteConfigPayload
renamed toUpdateCredentialsRemoteWriteConfigPayload
UpdateInstanceAclPayload
renamed toUpdateACLPayload
UpdateInstanceAlertConfigReceiverPayload
renamed toUpdateAlertConfigReceiverPayload
UpdateInstanceAlertConfigRouteReceiverPayload
renamed toUpdateAlertConfigsPayloadRoute
UpdateInstanceAlertConfigsPayload
renamed toUpdateAlertConfigsPayload
UpdateInstanceAlertConfigsPayloadGlobal
renamed toUpdateAlertConfigsPayloadGlobal
UpdateInstanceAlertConfigsPayloadInhibitRules
renamed toUpdateAlertConfigsPayloadInhibitRules
UpdateInstanceAlertConfigsPayloadReceiversInner
renamed toUpdateAlertConfigsPayloadReceiversInner
UpdateInstanceAlertConfigsPayloadReceiversInnerEmailConfigsInner
renamed toUpdateAlertConfigsPayloadReceiversInnerEmailConfigsInner
UpdateInstanceAlertConfigsPayloadReceiversInnerOpsgenieConfigsInner
renamed toUpdateAlertConfigsPayloadReceiversInnerOpsgenieConfigsInner
UpdateInstanceAlertConfigsPayloadReceiversInnerWebHookConfigsInner
renamed toUpdateAlertConfigsPayloadReceiversInnerWebHookConfigsInner
UpdateInstanceAlertConfigsPayloadRoute
renamed toUpdateAlertConfigRoutePayload
UpdateInstanceAlertConfigsPayloadRouteRoutesInner
renamed toUpdateAlertConfigsPayloadRouteRoutesInner
UpdateInstanceGrafanaConfigsPayload
renamed toUpdateGrafanaConfigsPayload
UpdateInstanceGrafanaConfigsPayloadGenericOauth
renamed toUpdateGrafanaConfigsPayloadGenericOauth
- Manage your STACKIT Argus resources:
Instance
,Credentials
,ScrapeConfig
,Acl
,Alertconfig
,GrafanaConfig
- Waiters for async operations:
CreateInstanceWaitHandler
,UpdateInstanceWaitHandler
,DeleteInstanceWaitHandler
,CreateScrapeConfigWaitHandler
,DeleteScrapeConfigWaitHandler
- Usage example