openapi

package
v0.0.0-...-7df9de1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 5, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

README

Go API client for openapi

Agent REST API

Event SDK REST Web Service

Using the Event SDK REST Web Service, it is possible to integrate custom health checks and other event sources into Instana. Each one running the Instana Agent can be used to feed in manual events. The agent has an endpoint which listens on http://localhost:42699/com.instana.plugin.generic.event and accepts the following JSON via a POST request:

{
    \"title\": <string>,
    \"text\": <string>,
    \"severity\": <integer> , -1, 5 or 10
    \"timestamp\": <integer>, timestamp in milliseconds from epoch
    \"duration\": <integer>, duration in milliseconds
}

Title and text are used for display purposes.

Severity is an optional integer of -1, 5 and 10. A value of -1 or EMPTY will generate a Change. A value of 5 will generate a warning Issue, and a value of 10 will generate a critical Issue.

When absent, the event is treated as a change without severity. Timestamp is the timestamp of the event, but it is optional, in which case the current time is used. Duration can be used to mark a timespan for the event. It also is optional, in which case the event will be marked as "instant" rather than "from-to."

The endpoint also accepts a batch of events, which then need to be given as an array:

[
    {
    // event as above
    },
    {
    // event as above
    }
]
Ruby Example
duration = (Time.now.to_f * 1000).floor - deploy_start_time_in_ms
payload = {}
payload[:title] = 'Deployed MyApp'
payload[:text] = 'pglombardo deployed MyApp@revision'
payload[:duration] = duration

uri = URI('http://localhost:42699/com.instana.plugin.generic.event')
req = Net::HTTP::Post.new(uri, 'Content-Type' => 'application/json')
req.body = payload.to_json
Net::HTTP.start(uri.hostname, uri.port) do |http|
    http.request(req)
end
Curl Example
curl -XPOST http://localhost:42699/com.instana.plugin.generic.event -H \"Content-Type: application/json\" -d '{\"title\":\"Custom API Events \", \"text\": \"Failure Redeploying Service Duration\", \"duration\": 5000, \"severity\": -1}'
PowerShell Example

For Powershell you can either use the standard Cmdlets Invoke-WebRequest or Invoke-RestMethod. The parameters to be provided are basically the same.

Invoke-RestMethod
    -Uri http://localhost:42699/com.instana.plugin.generic.event
    -Method POST
    -Body '{\"title\":\"PowerShell Event \", \"text\": \"You used PowerShell to create this event!\", \"duration\": 5000, \"severity\": -1}'
Invoke-WebRequest
    -Uri http://localhost:42699/com.instana.plugin.generic.event
    -Method Post
    -Body '{\"title\":\"PowerShell Event \", \"text\": \"You used PowerShell to create this event!\", \"duration\": 5000, \"severity\": -1}'

Backend REST API

The Instana API allows retrieval and configuration of key data points. Among others, this API enables automatic reaction and further analysis of identified incidents as well as reporting capabilities.

The API documentation referes to two crucial parameters that you need to know about before reading further: base: This is the base URL of a tenant unit, e.g. https://test-example.instana.io. This is the same URL that is used to access the Instana user interface. apiToken: Requests against the Instana API require valid API tokens. An initial API token can be generated via the Instana user interface. Any additional API tokens can be generated via the API itself.

Example

Here is an Example to use the REST API with Curl. First lets get all the available metrics with possible aggregations with a GET call.

curl --request GET \\
  --url https://test-instana.instana.io/api/application-monitoring/catalog/metrics \\
  --header 'authorization: apiToken xxxxxxxxxxxxxxxx'

Next we can get every call grouped by the endpoint name that has an error count greater then zero. As a metric we could get the mean error rate for example.

curl --request POST \\
  --url https://test-instana.instana.io/api/application-monitoring/analyze/call-groups \\
  --header 'authorization: apiToken xxxxxxxxxxxxxxxx' \\
  --header 'content-type: application/json' \\
  --data '{
  \"group\":{
      \"groupbyTag\":\"endpoint.name\"
  },
  \"tagFilters\":[
   {
    \"name\":\"call.error.count\",
    \"value\":\"0\",
    \"operator\":\"GREATER_THAN\"
   }
  ],
  \"metrics\":[
   {
    \"metric\":\"errors\",
    \"aggregation\":\"MEAN\"
   }
  ]
  }'
Rate Limiting

A rate limit is applied to API usage. Up to 5,000 calls per hour can be made. How many remaining calls can be made and when this call limit resets, can inspected via three headers that are part of the responses of the API server.

X-RateLimit-Limit: Shows the maximum number of calls that may be executed per hour.

X-RateLimit-Remaining: How many calls may still be executed within the current hour.

X-RateLimit-Reset: Time when the remaining calls will be reset to the limit. For compatibility reasons with other rate limited APIs, this date is not the date in milliseconds, but instead in seconds since 1970-01-01T00:00:00+00:00.

Generating REST API clients

The API is specified using the OpenAPI v3 (previously known as Swagger) format. You can download the current specification at our GitHub API documentation.

OpenAPI tries to solve the issue of ever-evolving APIs and clients lagging behind. To generate a client library for your language, you can use the OpenAPI client generators.

To generate a client library for Go to interact with our backend, you can use the following script (you need a JDK and wget):

//Download the generator to your current working directory:
wget http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/3.2.3/openapi-generator-cli-3.2.3.jar -O openapi-generator-cli.jar

//generate a client library that you can vendor into your repository
java -jar openapi-generator-cli.jar generate -i https://instana.github.io/openapi/openapi.yaml -g go \\
    -o pkg/instana/openapi \\
    --skip-validate-spec

//(optional) format the Go code according to the Go code standard
gofmt -s -w pkg/instana/openapi

The generated clients contain comprehensive READMEs. To use the client from the example above, you can start right away:

import instana \"./pkg/instana/openapi\"

// readTags will read all available application monitoring tags along with their type and category
func readTags() {
 configuration := instana.NewConfiguration()
 configuration.Host = \"tenant-unit.instana.io\"
 configuration.BasePath = \"https://tenant-unit.instana.io\"

 client := instana.NewAPIClient(configuration)
 auth := context.WithValue(context.Background(), instana.ContextAPIKey, instana.APIKey{
  Key:    apiKey,
  Prefix: \"apiToken\",
 })

 tags, _, err := client.ApplicationCatalogApi.GetTagsForApplication(auth)
 if err != nil {
  fmt.Fatalf(\"Error calling the API, aborting.\")
 }

 for _, tag := range tags {
  fmt.Printf(\"%s (%s): %s\\n\", tag.Category, tag.Type, tag.Name)
 }
}

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: 1.174.285
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit http://instana.com

Installation

Install the following dependencies:

go get github.com/stretchr/testify/assert
go get golang.org/x/oauth2
go get golang.org/x/net/context
go get github.com/antihax/optional

Put the package under your project folder and add the following in import:

import "./openapi"

Documentation for API Endpoints

All URIs are relative to https://unit-tenant.instana.io

Class Method HTTP request Description
APITokenApi DeleteApiToken Delete /api/settings/api-tokens/{apiTokenId} Delete API token
APITokenApi GetApiToken Get /api/settings/api-tokens/{apiTokenId} API token
APITokenApi GetApiTokens Get /api/settings/api-tokens All API tokes
APITokenApi PutApiToken Put /api/settings/api-tokens/{apiTokenId} Create or update an API token
ApplicationAnalyzeApi GetCallGroup Post /api/application-monitoring/analyze/call-groups Get grouped call metrics
ApplicationAnalyzeApi GetTrace Get /api/application-monitoring/analyze/traces/{id} Get trace detail
ApplicationAnalyzeApi GetTraceGroups Post /api/application-monitoring/analyze/trace-groups Get grouped trace metrics
ApplicationAnalyzeApi GetTraces Post /api/application-monitoring/analyze/traces Get all traces
ApplicationCatalogApi GetApplicationCatalogMetrics Get /api/application-monitoring/catalog/metrics Get Metric catalog
ApplicationCatalogApi GetApplicationCatalogTags Get /api/application-monitoring/catalog/tags Get filter tag catalog
ApplicationMetricsApi GetApplicationMetrics Post /api/application-monitoring/metrics/applications Get Application Metrics
ApplicationMetricsApi GetEndpointsMetrics Post /api/application-monitoring/metrics/endpoints Get Endpoint metrics
ApplicationMetricsApi GetServicesMetrics Post /api/application-monitoring/metrics/services Get Service metrics
ApplicationResourcesApi ApplicationResourcesEndpoints Get /api/application-monitoring/applications/services/endpoints Get endpoints
ApplicationResourcesApi GetApplicationServices Get /api/application-monitoring/applications/services Get applications/services
ApplicationResourcesApi GetApplications Get /api/application-monitoring/applications Get applications
ApplicationResourcesApi GetServices Get /api/application-monitoring/services Get services
ApplicationSettingsApi AddApplicationConfig Post /api/application-monitoring/settings/application Add application configuration
ApplicationSettingsApi AddServiceConfig Post /api/application-monitoring/settings/service Add service configuration
ApplicationSettingsApi CreateEndpointConfig Post /api/application-monitoring/settings/http-endpoint Create endpoint configuration
ApplicationSettingsApi DeleteApplicationConfig Delete /api/application-monitoring/settings/application/{id} Delete application configuration
ApplicationSettingsApi DeleteEndpointConfig Delete /api/application-monitoring/settings/http-endpoint/{id} Delete endpoint configuration
ApplicationSettingsApi DeleteServiceConfig Delete /api/application-monitoring/settings/service/{id} Delete service configuration
ApplicationSettingsApi GetApplicationConfig Get /api/application-monitoring/settings/application/{id} Application configuration
ApplicationSettingsApi GetApplicationConfigs Get /api/application-monitoring/settings/application All Application configurations
ApplicationSettingsApi GetEndpointConfig Get /api/application-monitoring/settings/http-endpoint/{id} Endpoint configuration
ApplicationSettingsApi GetEndpointConfigs Get /api/application-monitoring/settings/http-endpoint All Endpoint configurations
ApplicationSettingsApi GetServiceConfig Get /api/application-monitoring/settings/service/{id} Service configuration
ApplicationSettingsApi GetServiceConfigs Get /api/application-monitoring/settings/service All service configurations
ApplicationSettingsApi OrderServiceConfig Put /api/application-monitoring/settings/service/order Order of service configuration
ApplicationSettingsApi PutApplicationConfig Put /api/application-monitoring/settings/application/{id} Update application configuration
ApplicationSettingsApi PutServiceConfig Put /api/application-monitoring/settings/service/{id} Update service configuration
ApplicationSettingsApi UpdateEndpointConfig Put /api/application-monitoring/settings/http-endpoint/{id} Update endpoint configuration
AuditLogApi GetAuditLogs Get /api/settings/auditlog Audit log
DefaultApi CreateSourceMapConfig Post /api/website-monitoring/config/{websiteId}/sourceMap
DefaultApi Delete Delete /api/events/settings/website-alert-configs/{id}
DefaultApi DeleteSourceMapConfig Delete /api/website-monitoring/config/{websiteId}/sourceMap/{sourceMapConfigId}
DefaultApi Disable Put /api/events/settings/website-alert-configs/{id}/disable
DefaultApi Enable Put /api/events/settings/website-alert-configs/{id}/enable
DefaultApi GetSourceMapConfig Get /api/website-monitoring/config/{websiteId}/sourceMap/{sourceMapConfigId}
DefaultApi GetSourceMapConfigs Get /api/website-monitoring/config/{websiteId}/sourceMap
DefaultApi UpdateSourceMapConfig Put /api/website-monitoring/config/{websiteId}/sourceMap/{sourceMapConfigId}
EventSettingsApi Create Post /api/events/settings/website-alert-configs Create Website Alert Config
EventSettingsApi DeleteAlert Delete /api/events/settings/alerts/{id} Delete alerting
EventSettingsApi DeleteAlertingChannel Delete /api/events/settings/alertingChannels/{id} Delete alerting channel
EventSettingsApi DeleteBuiltInEventSpecification Delete /api/events/settings/event-specifications/built-in/{eventSpecificationId} Delete built-in event specification
EventSettingsApi DeleteCustomEventSpecification Delete /api/events/settings/event-specifications/custom/{eventSpecificationId} Delete custom event specification
EventSettingsApi DisableBuiltInEventSpecification Post /api/events/settings/event-specifications/built-in/{eventSpecificationId}/disable Disable built-in event specification
EventSettingsApi DisableCustomEventSpecification Post /api/events/settings/event-specifications/custom/{eventSpecificationId}/disable Disable custom event specification
EventSettingsApi EnableBuiltInEventSpecification Post /api/events/settings/event-specifications/built-in/{eventSpecificationId}/enable Enable built-in event specification
EventSettingsApi EnableCustomEventSpecification Post /api/events/settings/event-specifications/custom/{eventSpecificationId}/enable Enable custom event specification
EventSettingsApi Find Get /api/events/settings/website-alert-configs/{id} Get Website Alert Config
EventSettingsApi FindAllActive Get /api/events/settings/website-alert-configs All Website Alert Configs
EventSettingsApi FindVersions Get /api/events/settings/website-alert-configs/{id}/versions Get versions of Website Alert Config
EventSettingsApi GetAlert Get /api/events/settings/alerts/{id} Alerting
EventSettingsApi GetAlertingChannel Get /api/events/settings/alertingChannels/{id} Alerting channel
EventSettingsApi GetAlertingChannels Get /api/events/settings/alertingChannels All alerting channels
EventSettingsApi GetAlertingConfigurationInfos Get /api/events/settings/alerts/infos All alerting configuration info
EventSettingsApi GetAlerts Get /api/events/settings/alerts All Alerting
EventSettingsApi GetBuiltInEventSpecification Get /api/events/settings/event-specifications/built-in/{eventSpecificationId} Built-in event specifications
EventSettingsApi GetBuiltInEventSpecifications Get /api/events/settings/event-specifications/built-in All built-in event specification
EventSettingsApi GetCustomEventSpecification Get /api/events/settings/event-specifications/custom/{eventSpecificationId} Custom event specification
EventSettingsApi GetCustomEventSpecifications Get /api/events/settings/event-specifications/custom All custom event specifications
EventSettingsApi GetEventSpecificationInfos Get /api/events/settings/event-specifications/infos Summary of all built-in and custom event specifications
EventSettingsApi GetEventSpecificationInfosByIds Post /api/events/settings/event-specifications/infos All built-in and custom event specifications
EventSettingsApi GetSystemRules Get /api/events/settings/event-specifications/custom/systemRules All system rules for custom event specifications
EventSettingsApi PutAlert Put /api/events/settings/alerts/{id} Update alerting
EventSettingsApi PutAlertingChannel Put /api/events/settings/alertingChannels/{id} Update alerting channel
EventSettingsApi PutCustomEventSpecification Put /api/events/settings/event-specifications/custom/{eventSpecificationId} Update custom event specification
EventSettingsApi SendTestAlerting Put /api/events/settings/alertingChannels/test Test alerting channel
EventSettingsApi Update Post /api/events/settings/website-alert-configs/{id} Update Website Alert Config
EventsApi GetEvent Get /api/events/{eventId} Get Event
EventsApi GetEvents Get /api/events Get alerts
HealthApi GetHealthState Get /api/instana/health Basic health traffic light
HealthApi GetVersion Get /api/instana/version API version information
InfrastructureCatalogApi GetInfrastructureCatalogMetrics Get /api/infrastructure-monitoring/catalog/metrics/{plugin} Get metric catalog
InfrastructureCatalogApi GetInfrastructureCatalogPlugins Get /api/infrastructure-monitoring/catalog/plugins Get plugin catalog
InfrastructureCatalogApi GetInfrastructureCatalogSearchFields Get /api/infrastructure-monitoring/catalog/search get search field catalog
InfrastructureMetricsApi GetInfrastructureMetrics Post /api/infrastructure-monitoring/metrics Get infrastructure metrics
InfrastructureMetricsApi GetSnapshot Get /api/infrastructure-monitoring/snapshots/{id} Get snapshot details
InfrastructureMetricsApi GetSnapshots Get /api/infrastructure-monitoring/snapshots Search snapshots
InfrastructureResourcesApi GetInfrastructureViewTree Get /api/infrastructure-monitoring/graph/views Get view tree
InfrastructureResourcesApi GetMonitoringState Get /api/infrastructure-monitoring/monitoring-state Monitored host count
InfrastructureResourcesApi GetRelatedHosts Get /api/infrastructure-monitoring/graph/related-hosts/{snapshotId} Related hosts
InfrastructureResourcesApi SoftwareVersions Get /api/infrastructure-monitoring/software/versions Get installed software
MaintenanceConfigurationApi DeleteMaintenanceConfig Delete /api/settings/maintenance/{id} Delete maintenance configuration
MaintenanceConfigurationApi GetMaintenanceConfig Get /api/settings/maintenance/{id} Maintenance configuration
MaintenanceConfigurationApi GetMaintenanceConfigs Get /api/settings/maintenance All maintenance configurations
MaintenanceConfigurationApi PutMaintenanceConfig Put /api/settings/maintenance/{id} Create or update maintenance configuration
ReleasesApi DeleteRelease Delete /api/releases/{releaseId} Delete release
ReleasesApi GetAllReleases Get /api/releases Get all releases
ReleasesApi GetRelease Get /api/releases/{releaseId} Get release
ReleasesApi PostRelease Post /api/releases Create release
ReleasesApi PutRelease Put /api/releases/{releaseId} Update release
SyntheticCallsApi DeleteSyntheticCall Delete /api/settings/synthetic-calls Delete synthetic call configurations
SyntheticCallsApi GetSyntheticCalls Get /api/settings/synthetic-calls Synthetic call configurations
SyntheticCallsApi UpdateSyntheticCall Put /api/settings/synthetic-calls Update synthetic call configurations
UsageApi GetAllUsage Get /api/instana/usage/api API usage by customer
UsageApi GetHostsPerDay Get /api/instana/usage/hosts/{day}/{month}/{year} Host count day / month / year
UsageApi GetHostsPerMonth Get /api/instana/usage/hosts/{month}/{year} Host count month / year
UsageApi GetUsagePerDay Get /api/instana/usage/api/{day}/{month}/{year} API usage day / month / year
UsageApi GetUsagePerMonth Get /api/instana/usage/api/{month}/{year} API usage month / year
UserApi DeleteRole Delete /api/settings/roles/{roleId} Delete role
UserApi GetInvitations Get /api/settings/users/invitations All pending invitations
UserApi GetRole Get /api/settings/roles/{roleId} Role
UserApi GetRoles Get /api/settings/roles All roles
UserApi GetUsers Get /api/settings/users All users (without invitations)
UserApi GetUsersIncludingInvitations Get /api/settings/users/overview All users (incl. invitations)
UserApi PutRole Put /api/settings/roles/{roleId} Create or update role
UserApi RemoveUserFromTenant Delete /api/settings/users/{userId} Remove user from tenant
UserApi RevokePendingInvitations Delete /api/settings/users/invitations Revoke pending invitation
UserApi SendInvitation Post /api/settings/users/invitations Send user invitation
UserApi SetRole Put /api/settings/users/{userId}/role Add user to role
WebsiteAnalyzeApi GetBeaconGroups Post /api/website-monitoring/analyze/beacon-groups Get grouped beacon metrics
WebsiteAnalyzeApi GetBeacons Post /api/website-monitoring/analyze/beacons Get all beacons
WebsiteCatalogApi GetWebsiteCatalogMetrics Get /api/website-monitoring/catalog/metrics Metric catalog
WebsiteCatalogApi GetWebsiteCatalogTags Get /api/website-monitoring/catalog/tags Filter tag catalog
WebsiteConfigurationApi Delete1 Delete /api/website-monitoring/config/{websiteId} Remove website
WebsiteConfigurationApi Get Get /api/website-monitoring/config Get configured websites
WebsiteConfigurationApi Post Post /api/website-monitoring/config Configure new website
WebsiteConfigurationApi Rename Put /api/website-monitoring/config/{websiteId} Rename website
WebsiteMetricsApi GetBeaconMetrics Post /api/website-monitoring/metrics Get beacon metrics
WebsiteMetricsApi GetPageLoad Get /api/website-monitoring/page-load Get page load

Documentation For Models

Documentation For Authorization

ApiKeyAuth

  • Type: API key

Example

auth := context.WithValue(context.Background(), sw.ContextAPIKey, sw.APIKey{
    Key: "APIKEY",
    Prefix: "Bearer", // Omit if not necessary.
})
r, err := client.Service.Operation(auth, args)

Author

support@instana.com

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ContextOAuth2 takes an oauth2.TokenSource as authentication for the request.
	ContextOAuth2 = contextKey("token")

	// ContextBasicAuth takes BasicAuth as authentication for the request.
	ContextBasicAuth = contextKey("basic")

	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextAPIKey takes an APIKey as authentication for the request
	ContextAPIKey = contextKey("apikey")
)

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

Types

type APIClient

type APIClient struct {
	APITokenApi *APITokenApiService

	ApplicationAnalyzeApi *ApplicationAnalyzeApiService

	ApplicationCatalogApi *ApplicationCatalogApiService

	ApplicationMetricsApi *ApplicationMetricsApiService

	ApplicationResourcesApi *ApplicationResourcesApiService

	ApplicationSettingsApi *ApplicationSettingsApiService

	AuditLogApi *AuditLogApiService

	DefaultApi *DefaultApiService

	EventSettingsApi *EventSettingsApiService

	EventsApi *EventsApiService

	HealthApi *HealthApiService

	InfrastructureCatalogApi *InfrastructureCatalogApiService

	InfrastructureMetricsApi *InfrastructureMetricsApiService

	InfrastructureResourcesApi *InfrastructureResourcesApiService

	MaintenanceConfigurationApi *MaintenanceConfigurationApiService

	ReleasesApi *ReleasesApiService

	SyntheticCallsApi *SyntheticCallsApiService

	UsageApi *UsageApiService

	UserApi *UserApiService

	WebsiteAnalyzeApi *WebsiteAnalyzeApiService

	WebsiteCatalogApi *WebsiteCatalogApiService

	WebsiteConfigurationApi *WebsiteConfigurationApiService

	WebsiteMetricsApi *WebsiteMetricsApiService
	// contains filtered or unexported fields
}

APIClient manages communication with the Introduction to Instana public APIs API v1.174.285 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) ChangeBasePath

func (c *APIClient) ChangeBasePath(path string)

ChangeBasePath changes base path to allow switching to mocks

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResonse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type APITokenApiService

type APITokenApiService service

APITokenApiService APITokenApi service

func (*APITokenApiService) DeleteApiToken

func (a *APITokenApiService) DeleteApiToken(ctx _context.Context, apiTokenId string) (*_nethttp.Response, error)

DeleteApiToken Delete API token

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param apiTokenId

func (*APITokenApiService) GetApiToken

func (a *APITokenApiService) GetApiToken(ctx _context.Context, apiTokenId string) (ApiToken, *_nethttp.Response, error)

GetApiToken API token

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param apiTokenId

@return ApiToken

func (*APITokenApiService) GetApiTokens

func (a *APITokenApiService) GetApiTokens(ctx _context.Context) ([]ApiToken, *_nethttp.Response, error)

GetApiTokens All API tokes

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return []ApiToken

func (*APITokenApiService) PutApiToken

func (a *APITokenApiService) PutApiToken(ctx _context.Context, apiTokenId string, apiToken ApiToken) (ApiToken, *_nethttp.Response, error)

PutApiToken Create or update an API token

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param apiTokenId
  • @param apiToken

@return ApiToken

type AbstractIntegration

type AbstractIntegration struct {
	Id   string `json:"id"`
	Kind string `json:"kind"`
	Name string `json:"name"`
}

AbstractIntegration struct for AbstractIntegration

type AbstractRule

type AbstractRule struct {
	// Values: `\"THRESHOLD\"`  `\"SYSTEM\"`  `\"ENTITY_VERIFICATION\"`
	RuleType string `json:"ruleType"`
	Severity int32  `json:"severity,omitempty"`
}

AbstractRule struct for AbstractRule

type AlertingConfiguration

type AlertingConfiguration struct {
	Id                          string                      `json:"id"`
	AlertName                   string                      `json:"alertName"`
	MuteUntil                   int64                       `json:"muteUntil,omitempty"`
	IntegrationIds              []string                    `json:"integrationIds"`
	EventFilteringConfiguration EventFilteringConfiguration `json:"eventFilteringConfiguration"`
	CustomPayload               string                      `json:"customPayload,omitempty"`
}

AlertingConfiguration struct for AlertingConfiguration

type AlertingConfigurationWithLastUpdated

type AlertingConfigurationWithLastUpdated struct {
	Id                          string                      `json:"id"`
	AlertName                   string                      `json:"alertName"`
	MuteUntil                   int64                       `json:"muteUntil,omitempty"`
	IntegrationIds              []string                    `json:"integrationIds"`
	EventFilteringConfiguration EventFilteringConfiguration `json:"eventFilteringConfiguration"`
	CustomPayload               string                      `json:"customPayload,omitempty"`
	LastUpdated                 int64                       `json:"lastUpdated,omitempty"`
}

AlertingConfigurationWithLastUpdated struct for AlertingConfigurationWithLastUpdated

type ApiToken

type ApiToken struct {
	Id                                string `json:"id"`
	Name                              string `json:"name"`
	CanConfigureServiceMapping        bool   `json:"canConfigureServiceMapping,omitempty"`
	CanConfigureEumApplications       bool   `json:"canConfigureEumApplications,omitempty"`
	CanConfigureMobileAppMonitoring   bool   `json:"canConfigureMobileAppMonitoring,omitempty"`
	CanConfigureUsers                 bool   `json:"canConfigureUsers,omitempty"`
	CanInstallNewAgents               bool   `json:"canInstallNewAgents,omitempty"`
	CanSeeUsageInformation            bool   `json:"canSeeUsageInformation,omitempty"`
	CanConfigureIntegrations          bool   `json:"canConfigureIntegrations,omitempty"`
	CanSeeOnPremLicenseInformation    bool   `json:"canSeeOnPremLicenseInformation,omitempty"`
	CanConfigureRoles                 bool   `json:"canConfigureRoles,omitempty"`
	CanConfigureCustomAlerts          bool   `json:"canConfigureCustomAlerts,omitempty"`
	CanConfigureApiTokens             bool   `json:"canConfigureApiTokens,omitempty"`
	CanConfigureAgentRunMode          bool   `json:"canConfigureAgentRunMode,omitempty"`
	CanViewAuditLog                   bool   `json:"canViewAuditLog,omitempty"`
	CanConfigureObjectives            bool   `json:"canConfigureObjectives,omitempty"`
	CanConfigureAgents                bool   `json:"canConfigureAgents,omitempty"`
	CanConfigureAuthenticationMethods bool   `json:"canConfigureAuthenticationMethods,omitempty"`
	CanConfigureApplications          bool   `json:"canConfigureApplications,omitempty"`
	CanConfigureTeams                 bool   `json:"canConfigureTeams,omitempty"`
	CanConfigureReleases              bool   `json:"canConfigureReleases,omitempty"`
	CanConfigureLogManagement         bool   `json:"canConfigureLogManagement,omitempty"`
}

ApiToken struct for ApiToken

type AppDataMetricConfiguration

type AppDataMetricConfiguration struct {
	Metric      string `json:"metric"`
	Granularity int32  `json:"granularity,omitempty"`
	Aggregation string `json:"aggregation"`
}

AppDataMetricConfiguration struct for AppDataMetricConfiguration

type Application

type Application struct {
	Id            string `json:"id"`
	Label         string `json:"label"`
	BoundaryScope string `json:"boundaryScope"`
	EntityType    string `json:"entityType,omitempty"`
}

Application struct for Application

type ApplicationAnalyzeApiService

type ApplicationAnalyzeApiService service

ApplicationAnalyzeApiService ApplicationAnalyzeApi service

func (*ApplicationAnalyzeApiService) GetCallGroup

GetCallGroup Get grouped call metrics This endpoint retrieves the metrics for calls. **Manditory Paramters:** **Optional Paramters:** **Defaults:** **Limits:** **Tips:**

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param optional nil or *GetCallGroupOpts - Optional Parameters:
  • @param "FillTimeSeries" (optional.Bool) -
  • @param "GetCallGroups" (optional.Interface of GetCallGroups) -

@return CallGroupsResult

func (*ApplicationAnalyzeApiService) GetTrace

GetTrace Get trace detail

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id

@return FullTrace

func (*ApplicationAnalyzeApiService) GetTraceGroups

GetTraceGroups Get grouped trace metrics

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param optional nil or *GetTraceGroupsOpts - Optional Parameters:
  • @param "FillTimeSeries" (optional.Bool) -
  • @param "GetTraceGroups" (optional.Interface of GetTraceGroups) -

@return TraceGroupsResult

func (*ApplicationAnalyzeApiService) GetTraces

func (a *ApplicationAnalyzeApiService) GetTraces(ctx _context.Context, localVarOptionals *GetTracesOpts) (TraceResult, *_nethttp.Response, error)

GetTraces Get all traces This endpoint retrieves the metrics for traces. **Manditory Paramters:** **Optional Paramters:** **Defaults:** **Limits:** **Tips:**

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param optional nil or *GetTracesOpts - Optional Parameters:
  • @param "GetTraces" (optional.Interface of GetTraces) -

@return TraceResult

type ApplicationCatalogApiService

type ApplicationCatalogApiService service

ApplicationCatalogApiService ApplicationCatalogApi service

func (*ApplicationCatalogApiService) GetApplicationCatalogMetrics

func (a *ApplicationCatalogApiService) GetApplicationCatalogMetrics(ctx _context.Context) ([]MetricDescription, *_nethttp.Response, error)

GetApplicationCatalogMetrics Get Metric catalog This endpoint retrieves all available metric definitions for application monitoring.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return []MetricDescription

func (*ApplicationCatalogApiService) GetApplicationCatalogTags

func (a *ApplicationCatalogApiService) GetApplicationCatalogTags(ctx _context.Context) ([]Tag, *_nethttp.Response, error)

GetApplicationCatalogTags Get filter tag catalog This endpoint retrieves all available tags for your monitored system. These tags can be used to group metric results. &#x60;&#x60;&#x60; \&quot;group\&quot;: { \&quot;groupbyTag\&quot;: \&quot;service.name\&quot; } &#x60;&#x60;&#x60; These tags can be used to filter metric results. &#x60;&#x60;&#x60; \&quot;tagFilters\&quot;: [{ \&quot;name\&quot;: \&quot;application.name\&quot;, \&quot;operator\&quot;: \&quot;EQUALS\&quot;, \&quot;value\&quot;: \&quot;example\&quot; }] &#x60;&#x60;&#x60;

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return []Tag

type ApplicationConfig

type ApplicationConfig struct {
	Id                 string                 `json:"id"`
	Label              string                 `json:"label"`
	MatchSpecification map[string]interface{} `json:"matchSpecification"`
	Scope              string                 `json:"scope"`
	BoundaryScope      string                 `json:"boundaryScope"`
}

ApplicationConfig struct for ApplicationConfig

type ApplicationItem

type ApplicationItem struct {
	Application Application            `json:"application"`
	Metrics     map[string][][]float64 `json:"metrics"`
}

ApplicationItem struct for ApplicationItem

type ApplicationMetricResult

type ApplicationMetricResult struct {
	Items     []ApplicationItem `json:"items"`
	Page      int32             `json:"page,omitempty"`
	PageSize  int32             `json:"pageSize,omitempty"`
	TotalHits int32             `json:"totalHits,omitempty"`
}

ApplicationMetricResult struct for ApplicationMetricResult

type ApplicationMetricsApiService

type ApplicationMetricsApiService service

ApplicationMetricsApiService ApplicationMetricsApi service

func (*ApplicationMetricsApiService) GetApplicationMetrics

GetApplicationMetrics Get Application Metrics

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param optional nil or *GetApplicationMetricsOpts - Optional Parameters:
  • @param "GetApplications" (optional.Interface of GetApplications) -

@return ApplicationMetricResult

func (*ApplicationMetricsApiService) GetEndpointsMetrics

GetEndpointsMetrics Get Endpoint metrics

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param optional nil or *GetEndpointsMetricsOpts - Optional Parameters:
  • @param "GetEndpoints" (optional.Interface of GetEndpoints) -

@return EndpointMetricResult

func (*ApplicationMetricsApiService) GetServicesMetrics

GetServicesMetrics Get Service metrics

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param optional nil or *GetServicesMetricsOpts - Optional Parameters:
  • @param "GetServices" (optional.Interface of GetServices) -

@return ServiceMetricResult

type ApplicationResourcesApiService

type ApplicationResourcesApiService service

ApplicationResourcesApiService ApplicationResourcesApi service

func (*ApplicationResourcesApiService) ApplicationResourcesEndpoints

func (a *ApplicationResourcesApiService) ApplicationResourcesEndpoints(ctx _context.Context, localVarOptionals *ApplicationResourcesEndpointsOpts) (EndpointResult, *_nethttp.Response, error)

ApplicationResourcesEndpoints Get endpoints

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param optional nil or *ApplicationResourcesEndpointsOpts - Optional Parameters:
  • @param "NameFilter" (optional.String) -
  • @param "Types" (optional.Interface of []string) -
  • @param "Technologies" (optional.Interface of []string) -
  • @param "WindowSize" (optional.Int64) -
  • @param "To" (optional.Int64) -
  • @param "Page" (optional.Int32) -
  • @param "PageSize" (optional.Int32) -

@return EndpointResult

func (*ApplicationResourcesApiService) GetApplicationServices

func (a *ApplicationResourcesApiService) GetApplicationServices(ctx _context.Context, localVarOptionals *GetApplicationServicesOpts) (ServiceResult, *_nethttp.Response, error)

GetApplicationServices Get applications/services

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param optional nil or *GetApplicationServicesOpts - Optional Parameters:
  • @param "NameFilter" (optional.String) -
  • @param "WindowSize" (optional.Int64) -
  • @param "To" (optional.Int64) -
  • @param "Page" (optional.Int32) -
  • @param "PageSize" (optional.Int32) -

@return ServiceResult

func (*ApplicationResourcesApiService) GetApplications

GetApplications Get applications

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param optional nil or *GetApplicationsOpts - Optional Parameters:
  • @param "NameFilter" (optional.String) -
  • @param "WindowSize" (optional.Int64) -
  • @param "To" (optional.Int64) -
  • @param "Page" (optional.Int32) -
  • @param "PageSize" (optional.Int32) -

@return ApplicationResult

func (*ApplicationResourcesApiService) GetServices

GetServices Get services

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param optional nil or *GetServicesOpts - Optional Parameters:
  • @param "NameFilter" (optional.String) -
  • @param "WindowSize" (optional.Int64) -
  • @param "To" (optional.Int64) -
  • @param "Page" (optional.Int32) -
  • @param "PageSize" (optional.Int32) -

@return ServiceResult

type ApplicationResourcesEndpointsOpts

type ApplicationResourcesEndpointsOpts struct {
	NameFilter   optional.String
	Types        optional.Interface
	Technologies optional.Interface
	WindowSize   optional.Int64
	To           optional.Int64
	Page         optional.Int32
	PageSize     optional.Int32
}

ApplicationResourcesEndpointsOpts Optional parameters for the method 'ApplicationResourcesEndpoints'

type ApplicationResult

type ApplicationResult struct {
	Items     []Application `json:"items,omitempty"`
	Page      int32         `json:"page,omitempty"`
	PageSize  int32         `json:"pageSize,omitempty"`
	TotalHits int32         `json:"totalHits,omitempty"`
}

ApplicationResult struct for ApplicationResult

type ApplicationSettingsApiService

type ApplicationSettingsApiService service

ApplicationSettingsApiService ApplicationSettingsApi service

func (*ApplicationSettingsApiService) AddApplicationConfig

func (a *ApplicationSettingsApiService) AddApplicationConfig(ctx _context.Context, applicationConfig ApplicationConfig) (ApplicationConfig, *_nethttp.Response, error)

AddApplicationConfig Add application configuration

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param applicationConfig

@return ApplicationConfig

func (*ApplicationSettingsApiService) AddServiceConfig

func (a *ApplicationSettingsApiService) AddServiceConfig(ctx _context.Context, serviceConfig ServiceConfig) (ServiceConfig, *_nethttp.Response, error)

AddServiceConfig Add service configuration

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param serviceConfig

@return ServiceConfig

func (*ApplicationSettingsApiService) CreateEndpointConfig

func (a *ApplicationSettingsApiService) CreateEndpointConfig(ctx _context.Context, httpEndpointConfig HttpEndpointConfig) (HttpEndpointConfig, *_nethttp.Response, error)

CreateEndpointConfig Create endpoint configuration

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param httpEndpointConfig

@return HttpEndpointConfig

func (*ApplicationSettingsApiService) DeleteApplicationConfig

func (a *ApplicationSettingsApiService) DeleteApplicationConfig(ctx _context.Context, id string) (*_nethttp.Response, error)

DeleteApplicationConfig Delete application configuration

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id

func (*ApplicationSettingsApiService) DeleteEndpointConfig

func (a *ApplicationSettingsApiService) DeleteEndpointConfig(ctx _context.Context, id string) (*_nethttp.Response, error)

DeleteEndpointConfig Delete endpoint configuration

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id

func (*ApplicationSettingsApiService) DeleteServiceConfig

func (a *ApplicationSettingsApiService) DeleteServiceConfig(ctx _context.Context, id string) (*_nethttp.Response, error)

DeleteServiceConfig Delete service configuration

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id

func (*ApplicationSettingsApiService) GetApplicationConfig

GetApplicationConfig Application configuration

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id

@return ApplicationConfig

func (*ApplicationSettingsApiService) GetApplicationConfigs

GetApplicationConfigs All Application configurations

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return []ApplicationConfig

func (*ApplicationSettingsApiService) GetEndpointConfig

GetEndpointConfig Endpoint configuration

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id

@return HttpEndpointConfig

func (*ApplicationSettingsApiService) GetEndpointConfigs

GetEndpointConfigs All Endpoint configurations

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return []HttpEndpointConfig

func (*ApplicationSettingsApiService) GetServiceConfig

GetServiceConfig Service configuration

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id

@return ServiceConfig

func (*ApplicationSettingsApiService) GetServiceConfigs

GetServiceConfigs All service configurations

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return []ServiceConfig

func (*ApplicationSettingsApiService) OrderServiceConfig

func (a *ApplicationSettingsApiService) OrderServiceConfig(ctx _context.Context, requestBody []string) (*_nethttp.Response, error)

OrderServiceConfig Order of service configuration

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param requestBody

func (*ApplicationSettingsApiService) PutApplicationConfig

func (a *ApplicationSettingsApiService) PutApplicationConfig(ctx _context.Context, id string, applicationConfig ApplicationConfig) (ApplicationConfig, *_nethttp.Response, error)

PutApplicationConfig Update application configuration

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id
  • @param applicationConfig

@return ApplicationConfig

func (*ApplicationSettingsApiService) PutServiceConfig

func (a *ApplicationSettingsApiService) PutServiceConfig(ctx _context.Context, id string, serviceConfig ServiceConfig) (ServiceConfig, *_nethttp.Response, error)

PutServiceConfig Update service configuration

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id
  • @param serviceConfig

@return ServiceConfig

func (*ApplicationSettingsApiService) UpdateEndpointConfig

func (a *ApplicationSettingsApiService) UpdateEndpointConfig(ctx _context.Context, id string, httpEndpointConfig HttpEndpointConfig) (HttpEndpointConfig, *_nethttp.Response, error)

UpdateEndpointConfig Update endpoint configuration

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id
  • @param httpEndpointConfig

@return HttpEndpointConfig

type AuditLogApiService

type AuditLogApiService service

AuditLogApiService AuditLogApi service

func (*AuditLogApiService) GetAuditLogs

func (a *AuditLogApiService) GetAuditLogs(ctx _context.Context, localVarOptionals *GetAuditLogsOpts) (AuditLogResponse, *_nethttp.Response, error)

GetAuditLogs Audit log

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param optional nil or *GetAuditLogsOpts - Optional Parameters:
  • @param "Offset" (optional.Int32) -
  • @param "Query" (optional.String) -
  • @param "PageSize" (optional.Int32) -

@return AuditLogResponse

type AuditLogEntry

type AuditLogEntry struct {
	Id        string                            `json:"id"`
	Action    string                            `json:"action"`
	Message   string                            `json:"message"`
	Actor     LogEntryActor                     `json:"actor"`
	Timestamp int64                             `json:"timestamp,omitempty"`
	Meta      map[string]map[string]interface{} `json:"meta"`
}

AuditLogEntry struct for AuditLogEntry

type AuditLogResponse

type AuditLogResponse struct {
	Total   int64           `json:"total,omitempty"`
	Entries []AuditLogEntry `json:"entries,omitempty"`
}

AuditLogResponse struct for AuditLogResponse

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type BeaconGroupsResult

type BeaconGroupsResult struct {
	Items                     []WebsiteBeaconGroupsItem `json:"items"`
	CanLoadMore               bool                      `json:"canLoadMore,omitempty"`
	TotalHits                 int32                     `json:"totalHits,omitempty"`
	TotalRepresentedItemCount int32                     `json:"totalRepresentedItemCount,omitempty"`
}

BeaconGroupsResult struct for BeaconGroupsResult

type BeaconResult

type BeaconResult struct {
	Items                     []WebsiteBeaconsItem `json:"items"`
	CanLoadMore               bool                 `json:"canLoadMore,omitempty"`
	TotalHits                 int32                `json:"totalHits,omitempty"`
	TotalRepresentedItemCount int32                `json:"totalRepresentedItemCount,omitempty"`
}

BeaconResult struct for BeaconResult

type BinaryOperatorDto

type BinaryOperatorDto struct {
}

BinaryOperatorDto struct for BinaryOperatorDto

type BuiltInEventSpecification

type BuiltInEventSpecification struct {
	Id            string       `json:"id"`
	ShortPluginId string       `json:"shortPluginId"`
	Name          string       `json:"name"`
	Description   string       `json:"description,omitempty"`
	HyperParams   []HyperParam `json:"hyperParams"`
	RuleInputs    []RuleInput  `json:"ruleInputs"`
	Severity      int32        `json:"severity,omitempty"`
	Triggering    bool         `json:"triggering,omitempty"`
	Enabled       bool         `json:"enabled,omitempty"`
}

BuiltInEventSpecification struct for BuiltInEventSpecification

type BuiltInEventSpecificationWithLastUpdated

type BuiltInEventSpecificationWithLastUpdated struct {
	Id            string       `json:"id"`
	ShortPluginId string       `json:"shortPluginId"`
	Name          string       `json:"name"`
	Description   string       `json:"description,omitempty"`
	HyperParams   []HyperParam `json:"hyperParams"`
	RuleInputs    []RuleInput  `json:"ruleInputs"`
	Severity      int32        `json:"severity,omitempty"`
	Triggering    bool         `json:"triggering,omitempty"`
	Enabled       bool         `json:"enabled,omitempty"`
	LastUpdated   int64        `json:"lastUpdated,omitempty"`
}

BuiltInEventSpecificationWithLastUpdated struct for BuiltInEventSpecificationWithLastUpdated

type CallGroupsItem

type CallGroupsItem struct {
	Name      string                 `json:"name"`
	Timestamp int64                  `json:"timestamp,omitempty"`
	Cursor    IngestionOffsetCursor  `json:"cursor"`
	Metrics   map[string][][]float64 `json:"metrics"`
}

CallGroupsItem struct for CallGroupsItem

type CallGroupsResult

type CallGroupsResult struct {
	Items                     []CallGroupsItem `json:"items"`
	CanLoadMore               bool             `json:"canLoadMore,omitempty"`
	TotalHits                 int32            `json:"totalHits,omitempty"`
	TotalRepresentedItemCount int32            `json:"totalRepresentedItemCount,omitempty"`
}

CallGroupsResult struct for CallGroupsResult

type CloudfoundryPhysicalContext

type CloudfoundryPhysicalContext struct {
	Application     SnapshotPreview `json:"application,omitempty"`
	Space           SnapshotPreview `json:"space,omitempty"`
	Organization    SnapshotPreview `json:"organization,omitempty"`
	CfInstanceIndex string          `json:"cfInstanceIndex,omitempty"`
}

CloudfoundryPhysicalContext struct for CloudfoundryPhysicalContext

type ConfigVersion

type ConfigVersion struct {
	Id      string `json:"id"`
	Created int64  `json:"created,omitempty"`
	Enabled bool   `json:"enabled,omitempty"`
}

ConfigVersion struct for ConfigVersion

type Configuration

type Configuration struct {
	BasePath      string            `json:"basePath,omitempty"`
	Host          string            `json:"host,omitempty"`
	Scheme        string            `json:"scheme,omitempty"`
	DefaultHeader map[string]string `json:"defaultHeader,omitempty"`
	UserAgent     string            `json:"userAgent,omitempty"`
	Debug         bool              `json:"debug,omitempty"`
	Servers       []ServerConfiguration
	HTTPClient    *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerUrl

func (c *Configuration) ServerUrl(index int, variables map[string]string) (string, error)

ServerUrl returns URL based on server settings

type CursorPagination

type CursorPagination struct {
	RetrievalSize int32 `json:"retrievalSize,omitempty"`
	Offset        int32 `json:"offset,omitempty"`
	IngestionTime int64 `json:"ingestionTime,omitempty"`
}

CursorPagination struct for CursorPagination

type CustomEventSpecification

type CustomEventSpecification struct {
	Id             string         `json:"id"`
	Name           string         `json:"name"`
	EntityType     string         `json:"entityType"`
	Query          string         `json:"query,omitempty"`
	Triggering     bool           `json:"triggering,omitempty"`
	Description    string         `json:"description,omitempty"`
	ExpirationTime int64          `json:"expirationTime,omitempty"`
	Enabled        bool           `json:"enabled,omitempty"`
	Rules          []AbstractRule `json:"rules"`
}

CustomEventSpecification struct for CustomEventSpecification

type CustomEventSpecificationWithLastUpdated

type CustomEventSpecificationWithLastUpdated struct {
	Id             string         `json:"id"`
	Name           string         `json:"name"`
	EntityType     string         `json:"entityType"`
	Query          string         `json:"query,omitempty"`
	Triggering     bool           `json:"triggering,omitempty"`
	Description    string         `json:"description,omitempty"`
	ExpirationTime int64          `json:"expirationTime,omitempty"`
	Enabled        bool           `json:"enabled,omitempty"`
	Rules          []AbstractRule `json:"rules"`
	LastUpdated    int64          `json:"lastUpdated,omitempty"`
}

CustomEventSpecificationWithLastUpdated struct for CustomEventSpecificationWithLastUpdated

type DefaultApiService

type DefaultApiService service

DefaultApiService DefaultApi service

func (*DefaultApiService) CreateSourceMapConfig

func (a *DefaultApiService) CreateSourceMapConfig(ctx _context.Context, websiteId string) (*_nethttp.Response, error)

CreateSourceMapConfig Method for CreateSourceMapConfig

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param websiteId

func (*DefaultApiService) Delete

Delete Method for Delete

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id

func (*DefaultApiService) DeleteSourceMapConfig

func (a *DefaultApiService) DeleteSourceMapConfig(ctx _context.Context, websiteId string, sourceMapConfigId string) (*_nethttp.Response, error)

DeleteSourceMapConfig Method for DeleteSourceMapConfig

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param websiteId
  • @param sourceMapConfigId

func (*DefaultApiService) Disable

Disable Method for Disable

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id

func (*DefaultApiService) Enable

Enable Method for Enable

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id

func (*DefaultApiService) GetSourceMapConfig

func (a *DefaultApiService) GetSourceMapConfig(ctx _context.Context, websiteId string, sourceMapConfigId string) (*_nethttp.Response, error)

GetSourceMapConfig Method for GetSourceMapConfig

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param websiteId
  • @param sourceMapConfigId

func (*DefaultApiService) GetSourceMapConfigs

func (a *DefaultApiService) GetSourceMapConfigs(ctx _context.Context, websiteId string) (*_nethttp.Response, error)

GetSourceMapConfigs Method for GetSourceMapConfigs

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param websiteId

func (*DefaultApiService) UpdateSourceMapConfig

func (a *DefaultApiService) UpdateSourceMapConfig(ctx _context.Context, websiteId string, sourceMapConfigId string) (*_nethttp.Response, error)

UpdateSourceMapConfig Method for UpdateSourceMapConfig

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param websiteId
  • @param sourceMapConfigId

type EmailIntegration

type EmailIntegration struct {
	Id   string `json:"id"`
	Kind string `json:"kind"`
	Name string `json:"name"`
}

EmailIntegration struct for EmailIntegration

type Endpoint

type Endpoint struct {
	Id           string   `json:"id"`
	Label        string   `json:"label"`
	Type         string   `json:"type"`
	ServiceId    string   `json:"serviceId"`
	Technologies []string `json:"technologies"`
	IsSynthetic  bool     `json:"isSynthetic,omitempty"`
	Synthetic    bool     `json:"synthetic,omitempty"`
	EntityType   string   `json:"entityType,omitempty"`
}

Endpoint struct for Endpoint

type EndpointItem

type EndpointItem struct {
	Endpoint Endpoint               `json:"endpoint"`
	Metrics  map[string][][]float64 `json:"metrics"`
}

EndpointItem struct for EndpointItem

type EndpointMetricResult

type EndpointMetricResult struct {
	Items     []EndpointItem `json:"items"`
	Page      int32          `json:"page,omitempty"`
	PageSize  int32          `json:"pageSize,omitempty"`
	TotalHits int32          `json:"totalHits,omitempty"`
}

EndpointMetricResult struct for EndpointMetricResult

type EndpointResult

type EndpointResult struct {
	Items     []Endpoint `json:"items,omitempty"`
	Page      int32      `json:"page,omitempty"`
	PageSize  int32      `json:"pageSize,omitempty"`
	TotalHits int32      `json:"totalHits,omitempty"`
}

EndpointResult struct for EndpointResult

type EntityVerificationRule

type EntityVerificationRule struct {
	// Values: `\"THRESHOLD\"`  `\"SYSTEM\"`  `\"ENTITY_VERIFICATION\"`
	RuleType string `json:"ruleType"`
	Severity int32  `json:"severity,omitempty"`
}

EntityVerificationRule struct for EntityVerificationRule

type EventFilteringConfiguration

type EventFilteringConfiguration struct {
	Query      string   `json:"query,omitempty"`
	RuleIds    []string `json:"ruleIds,omitempty"`
	EventTypes []string `json:"eventTypes,omitempty"`
}

EventFilteringConfiguration struct for EventFilteringConfiguration

type EventResult

type EventResult struct {
	EventId        string                              `json:"eventId,omitempty"`
	Start          int64                               `json:"start,omitempty"`
	End            int64                               `json:"end,omitempty"`
	TriggeringTime int64                               `json:"triggeringTime,omitempty"`
	Type           string                              `json:"type,omitempty"`
	State          string                              `json:"state,omitempty"`
	Problem        string                              `json:"problem,omitempty"`
	FixSuggestion  string                              `json:"fixSuggestion,omitempty"`
	Severity       int32                               `json:"severity,omitempty"`
	SnapshotId     string                              `json:"snapshotId,omitempty"`
	Metrics        []map[string]map[string]interface{} `json:"metrics,omitempty"`
	RecentEvents   []map[string]map[string]interface{} `json:"recentEvents,omitempty"`
}

EventResult struct for EventResult

type EventSettingsApiService

type EventSettingsApiService service

EventSettingsApiService EventSettingsApi service

func (*EventSettingsApiService) Create

Create Create Website Alert Config

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param websiteAlertConfig

@return []WebsiteAlertConfigWithMetadata

func (*EventSettingsApiService) DeleteAlert

DeleteAlert Delete alerting

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id

func (*EventSettingsApiService) DeleteAlertingChannel

func (a *EventSettingsApiService) DeleteAlertingChannel(ctx _context.Context, id string) (*_nethttp.Response, error)

DeleteAlertingChannel Delete alerting channel

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id

func (*EventSettingsApiService) DeleteBuiltInEventSpecification

func (a *EventSettingsApiService) DeleteBuiltInEventSpecification(ctx _context.Context, eventSpecificationId string) (*_nethttp.Response, error)

DeleteBuiltInEventSpecification Delete built-in event specification

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param eventSpecificationId

func (*EventSettingsApiService) DeleteCustomEventSpecification

func (a *EventSettingsApiService) DeleteCustomEventSpecification(ctx _context.Context, eventSpecificationId string) (*_nethttp.Response, error)

DeleteCustomEventSpecification Delete custom event specification

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param eventSpecificationId

func (*EventSettingsApiService) DisableBuiltInEventSpecification

func (a *EventSettingsApiService) DisableBuiltInEventSpecification(ctx _context.Context, eventSpecificationId string) (*_nethttp.Response, error)

DisableBuiltInEventSpecification Disable built-in event specification

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param eventSpecificationId

func (*EventSettingsApiService) DisableCustomEventSpecification

func (a *EventSettingsApiService) DisableCustomEventSpecification(ctx _context.Context, eventSpecificationId string) (CustomEventSpecificationWithLastUpdated, *_nethttp.Response, error)

DisableCustomEventSpecification Disable custom event specification

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param eventSpecificationId

@return CustomEventSpecificationWithLastUpdated

func (*EventSettingsApiService) EnableBuiltInEventSpecification

func (a *EventSettingsApiService) EnableBuiltInEventSpecification(ctx _context.Context, eventSpecificationId string) (*_nethttp.Response, error)

EnableBuiltInEventSpecification Enable built-in event specification

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param eventSpecificationId

func (*EventSettingsApiService) EnableCustomEventSpecification

func (a *EventSettingsApiService) EnableCustomEventSpecification(ctx _context.Context, eventSpecificationId string) (CustomEventSpecificationWithLastUpdated, *_nethttp.Response, error)

EnableCustomEventSpecification Enable custom event specification

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param eventSpecificationId

@return CustomEventSpecificationWithLastUpdated

func (*EventSettingsApiService) Find

Find Get Website Alert Config Find a Website Alert Config by ID. This will deliver deleted configs too.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id
  • @param optional nil or *FindOpts - Optional Parameters:
  • @param "ValidOn" (optional.Int64) -

@return []WebsiteAlertConfigWithMetadata

func (*EventSettingsApiService) FindAllActive

FindAllActive All Website Alert Configs Configs are sorted descending by their created date.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param optional nil or *FindAllActiveOpts - Optional Parameters:
  • @param "WebsiteId" (optional.String) -

@return []WebsiteAlertConfigWithMetadata

func (*EventSettingsApiService) FindVersions

FindVersions Get versions of Website Alert Config Find all versions of a Website Alert Config by ID. This will deliver deleted configs too. Configs are sorted descending by their created date.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id

@return []ConfigVersion

func (*EventSettingsApiService) GetAlert

GetAlert Alerting

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id

@return AlertingConfigurationWithLastUpdated

func (*EventSettingsApiService) GetAlertingChannel

GetAlertingChannel Alerting channel

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id

@return AbstractIntegration

func (*EventSettingsApiService) GetAlertingChannels

func (a *EventSettingsApiService) GetAlertingChannels(ctx _context.Context, localVarOptionals *GetAlertingChannelsOpts) ([]AbstractIntegration, *_nethttp.Response, error)

GetAlertingChannels All alerting channels

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param optional nil or *GetAlertingChannelsOpts - Optional Parameters:
  • @param "Ids" (optional.Interface of []string) -

@return []AbstractIntegration

func (*EventSettingsApiService) GetAlertingConfigurationInfos

GetAlertingConfigurationInfos All alerting configuration info

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param optional nil or *GetAlertingConfigurationInfosOpts - Optional Parameters:
  • @param "IntegrationId" (optional.String) -

@return []ValidatedAlertingChannelInputInfo

func (*EventSettingsApiService) GetAlerts

GetAlerts All Alerting

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return []ValidatedAlertingConfiguration

func (*EventSettingsApiService) GetBuiltInEventSpecification

func (a *EventSettingsApiService) GetBuiltInEventSpecification(ctx _context.Context, eventSpecificationId string) (BuiltInEventSpecification, *_nethttp.Response, error)

GetBuiltInEventSpecification Built-in event specifications

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param eventSpecificationId

@return BuiltInEventSpecification

func (*EventSettingsApiService) GetBuiltInEventSpecifications

GetBuiltInEventSpecifications All built-in event specification

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param optional nil or *GetBuiltInEventSpecificationsOpts - Optional Parameters:
  • @param "Ids" (optional.Interface of []string) -

@return []BuiltInEventSpecificationWithLastUpdated

func (*EventSettingsApiService) GetCustomEventSpecification

func (a *EventSettingsApiService) GetCustomEventSpecification(ctx _context.Context, eventSpecificationId string) (CustomEventSpecificationWithLastUpdated, *_nethttp.Response, error)

GetCustomEventSpecification Custom event specification

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param eventSpecificationId

@return CustomEventSpecificationWithLastUpdated

func (*EventSettingsApiService) GetCustomEventSpecifications

GetCustomEventSpecifications All custom event specifications

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return []CustomEventSpecificationWithLastUpdated

func (*EventSettingsApiService) GetEventSpecificationInfos

func (a *EventSettingsApiService) GetEventSpecificationInfos(ctx _context.Context) ([]EventSpecificationInfo, *_nethttp.Response, error)

GetEventSpecificationInfos Summary of all built-in and custom event specifications

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return []EventSpecificationInfo

func (*EventSettingsApiService) GetEventSpecificationInfosByIds

func (a *EventSettingsApiService) GetEventSpecificationInfosByIds(ctx _context.Context, requestBody []string) ([]EventSpecificationInfo, *_nethttp.Response, error)

GetEventSpecificationInfosByIds All built-in and custom event specifications Summary of all built-in and custom event specifications by IDs

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param requestBody

@return []EventSpecificationInfo

func (*EventSettingsApiService) GetSystemRules

GetSystemRules All system rules for custom event specifications

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return []SystemRuleLabel

func (*EventSettingsApiService) PutAlert

PutAlert Update alerting

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id
  • @param alertingConfiguration

@return AlertingConfigurationWithLastUpdated

func (*EventSettingsApiService) PutAlertingChannel

func (a *EventSettingsApiService) PutAlertingChannel(ctx _context.Context, id string, abstractIntegration AbstractIntegration) (*_nethttp.Response, error)

PutAlertingChannel Update alerting channel

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id
  • @param abstractIntegration

func (*EventSettingsApiService) PutCustomEventSpecification

func (a *EventSettingsApiService) PutCustomEventSpecification(ctx _context.Context, eventSpecificationId string, customEventSpecification CustomEventSpecification) (CustomEventSpecificationWithLastUpdated, *_nethttp.Response, error)

PutCustomEventSpecification Update custom event specification

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param eventSpecificationId
  • @param customEventSpecification

@return CustomEventSpecificationWithLastUpdated

func (*EventSettingsApiService) SendTestAlerting

func (a *EventSettingsApiService) SendTestAlerting(ctx _context.Context, abstractIntegration AbstractIntegration) (*_nethttp.Response, error)

SendTestAlerting Test alerting channel

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param abstractIntegration

func (*EventSettingsApiService) Update

Update Update Website Alert Config

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id
  • @param websiteAlertConfig

@return []WebsiteAlertConfigWithMetadata

type EventSpecificationInfo

type EventSpecificationInfo struct {
	Id          string `json:"id"`
	Name        string `json:"name"`
	Description string `json:"description,omitempty"`
	EntityType  string `json:"entityType"`
	Type        string `json:"type"`
	Severity    int32  `json:"severity,omitempty"`
	Triggering  bool   `json:"triggering,omitempty"`
	Invalid     bool   `json:"invalid,omitempty"`
	Enabled     bool   `json:"enabled,omitempty"`
}

EventSpecificationInfo struct for EventSpecificationInfo

type EventsApiService

type EventsApiService service

EventsApiService EventsApi service

func (*EventsApiService) GetEvent

func (a *EventsApiService) GetEvent(ctx _context.Context, eventId string) (EventResult, *_nethttp.Response, error)

GetEvent Get Event

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param eventId

@return EventResult

func (*EventsApiService) GetEvents

func (a *EventsApiService) GetEvents(ctx _context.Context, localVarOptionals *GetEventsOpts) ([]EventResult, *_nethttp.Response, error)

GetEvents Get alerts

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param optional nil or *GetEventsOpts - Optional Parameters:
  • @param "WindowSize" (optional.Int64) -
  • @param "From" (optional.Int64) -
  • @param "To" (optional.Int64) -
  • @param "ExcludeTriggeredBefore" (optional.Bool) -

@return []EventResult

type FindAllActiveOpts

type FindAllActiveOpts struct {
	WebsiteId optional.String
}

FindAllActiveOpts Optional parameters for the method 'FindAllActive'

type FindOpts

type FindOpts struct {
	ValidOn optional.Int64
}

FindOpts Optional parameters for the method 'Find'

type FixedHttpPathSegmentMatchingRule

type FixedHttpPathSegmentMatchingRule struct {
	Type string `json:"type"`
}

FixedHttpPathSegmentMatchingRule struct for FixedHttpPathSegmentMatchingRule

type FullTrace

type FullTrace struct {
	Id              string `json:"id"`
	TotalErrorCount int32  `json:"totalErrorCount,omitempty"`
	RootSpan        Span   `json:"rootSpan"`
}

FullTrace struct for FullTrace

type GenericOpenAPIError

type GenericOpenAPIError struct {
	// contains filtered or unexported fields
}

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type GetAlertingChannelsOpts

type GetAlertingChannelsOpts struct {
	Ids optional.Interface
}

GetAlertingChannelsOpts Optional parameters for the method 'GetAlertingChannels'

type GetAlertingConfigurationInfosOpts

type GetAlertingConfigurationInfosOpts struct {
	IntegrationId optional.String
}

GetAlertingConfigurationInfosOpts Optional parameters for the method 'GetAlertingConfigurationInfos'

type GetAllReleasesOpts

type GetAllReleasesOpts struct {
	From       optional.Int64
	To         optional.Int64
	MaxResults optional.Int32
}

GetAllReleasesOpts Optional parameters for the method 'GetAllReleases'

type GetApplicationMetricsOpts

type GetApplicationMetricsOpts struct {
	GetApplications optional.Interface
}

GetApplicationMetricsOpts Optional parameters for the method 'GetApplicationMetrics'

type GetApplicationServicesOpts

type GetApplicationServicesOpts struct {
	NameFilter optional.String
	WindowSize optional.Int64
	To         optional.Int64
	Page       optional.Int32
	PageSize   optional.Int32
}

GetApplicationServicesOpts Optional parameters for the method 'GetApplicationServices'

type GetApplications

type GetApplications struct {
	Pagination    Pagination                   `json:"pagination,omitempty"`
	Order         Order                        `json:"order,omitempty"`
	TimeFrame     TimeFrame                    `json:"timeFrame,omitempty"`
	Metrics       []AppDataMetricConfiguration `json:"metrics"`
	NameFilter    string                       `json:"nameFilter,omitempty"`
	ApplicationId string                       `json:"applicationId,omitempty"`
	ServiceId     string                       `json:"serviceId,omitempty"`
	EndpointId    string                       `json:"endpointId,omitempty"`
	EndpointTypes []string                     `json:"endpointTypes,omitempty"`
	Technologies  []string                     `json:"technologies,omitempty"`
}

GetApplications struct for GetApplications

type GetApplicationsOpts

type GetApplicationsOpts struct {
	NameFilter optional.String
	WindowSize optional.Int64
	To         optional.Int64
	Page       optional.Int32
	PageSize   optional.Int32
}

GetApplicationsOpts Optional parameters for the method 'GetApplications'

type GetAuditLogsOpts

type GetAuditLogsOpts struct {
	Offset   optional.Int32
	Query    optional.String
	PageSize optional.Int32
}

GetAuditLogsOpts Optional parameters for the method 'GetAuditLogs'

type GetBeaconGroupsOpts

type GetBeaconGroupsOpts struct {
	FillTimeSeries         optional.Bool
	GetWebsiteBeaconGroups optional.Interface
}

GetBeaconGroupsOpts Optional parameters for the method 'GetBeaconGroups'

type GetBeaconMetricsOpts

type GetBeaconMetricsOpts struct {
	GetWebsiteMetrics optional.Interface
}

GetBeaconMetricsOpts Optional parameters for the method 'GetBeaconMetrics'

type GetBeaconsOpts

type GetBeaconsOpts struct {
	GetWebsiteBeacons optional.Interface
}

GetBeaconsOpts Optional parameters for the method 'GetBeacons'

type GetBuiltInEventSpecificationsOpts

type GetBuiltInEventSpecificationsOpts struct {
	Ids optional.Interface
}

GetBuiltInEventSpecificationsOpts Optional parameters for the method 'GetBuiltInEventSpecifications'

type GetCallGroupOpts

type GetCallGroupOpts struct {
	FillTimeSeries optional.Bool
	GetCallGroups  optional.Interface
}

GetCallGroupOpts Optional parameters for the method 'GetCallGroup'

type GetCallGroups

type GetCallGroups struct {
	Pagination CursorPagination      `json:"pagination,omitempty"`
	Order      Order                 `json:"order,omitempty"`
	TimeFrame  TimeFrame             `json:"timeFrame,omitempty"`
	Group      Group                 `json:"group"`
	TagFilters []TagFilter           `json:"tagFilters,omitempty"`
	Metrics    []MetricConfiguration `json:"metrics"`
}

GetCallGroups struct for GetCallGroups

type GetCombinedMetrics

type GetCombinedMetrics struct {
	TimeFrame   TimeFrame `json:"timeFrame,omitempty"`
	Plugin      string    `json:"plugin"`
	Query       string    `json:"query,omitempty"`
	SnapshotIds []string  `json:"snapshotIds,omitempty"`
	Rollup      int32     `json:"rollup,omitempty"`
	Metrics     []string  `json:"metrics"`
}

GetCombinedMetrics struct for GetCombinedMetrics

type GetEndpoints

type GetEndpoints struct {
	Pagination       Pagination                   `json:"pagination,omitempty"`
	Order            Order                        `json:"order,omitempty"`
	TimeFrame        TimeFrame                    `json:"timeFrame,omitempty"`
	Metrics          []AppDataMetricConfiguration `json:"metrics"`
	NameFilter       string                       `json:"nameFilter,omitempty"`
	ApplicationId    string                       `json:"applicationId,omitempty"`
	ServiceId        string                       `json:"serviceId,omitempty"`
	EndpointId       string                       `json:"endpointId,omitempty"`
	EndpointTypes    []string                     `json:"endpointTypes,omitempty"`
	ExcludeSynthetic bool                         `json:"excludeSynthetic,omitempty"`
}

GetEndpoints struct for GetEndpoints

type GetEndpointsMetricsOpts

type GetEndpointsMetricsOpts struct {
	GetEndpoints optional.Interface
}

GetEndpointsMetricsOpts Optional parameters for the method 'GetEndpointsMetrics'

type GetEventsOpts

type GetEventsOpts struct {
	WindowSize             optional.Int64
	From                   optional.Int64
	To                     optional.Int64
	ExcludeTriggeredBefore optional.Bool
}

GetEventsOpts Optional parameters for the method 'GetEvents'

type GetInfrastructureCatalogMetricsOpts

type GetInfrastructureCatalogMetricsOpts struct {
	Filter optional.String
}

GetInfrastructureCatalogMetricsOpts Optional parameters for the method 'GetInfrastructureCatalogMetrics'

type GetInfrastructureMetricsOpts

type GetInfrastructureMetricsOpts struct {
	Context            optional.Bool
	Offline            optional.Bool
	GetCombinedMetrics optional.Interface
}

GetInfrastructureMetricsOpts Optional parameters for the method 'GetInfrastructureMetrics'

type GetServices

type GetServices struct {
	Pagination    Pagination                   `json:"pagination,omitempty"`
	Order         Order                        `json:"order,omitempty"`
	TimeFrame     TimeFrame                    `json:"timeFrame,omitempty"`
	Metrics       []AppDataMetricConfiguration `json:"metrics"`
	NameFilter    string                       `json:"nameFilter,omitempty"`
	ApplicationId string                       `json:"applicationId,omitempty"`
	ServiceId     string                       `json:"serviceId,omitempty"`
	Technologies  []string                     `json:"technologies,omitempty"`
	ContextScope  string                       `json:"contextScope,omitempty"`
}

GetServices struct for GetServices

type GetServicesMetricsOpts

type GetServicesMetricsOpts struct {
	GetServices optional.Interface
}

GetServicesMetricsOpts Optional parameters for the method 'GetServicesMetrics'

type GetServicesOpts

type GetServicesOpts struct {
	NameFilter optional.String
	WindowSize optional.Int64
	To         optional.Int64
	Page       optional.Int32
	PageSize   optional.Int32
}

GetServicesOpts Optional parameters for the method 'GetServices'

type GetSnapshotOpts

type GetSnapshotOpts struct {
	To         optional.Int64
	WindowSize optional.Int64
}

GetSnapshotOpts Optional parameters for the method 'GetSnapshot'

type GetSnapshotsOpts

type GetSnapshotsOpts struct {
	Query      optional.String
	To         optional.Int64
	WindowSize optional.Int64
	Size       optional.Int32
	Plugin     optional.String
	Offline    optional.Bool
}

GetSnapshotsOpts Optional parameters for the method 'GetSnapshots'

type GetTraceGroups

type GetTraceGroups struct {
	Pagination CursorPagination      `json:"pagination,omitempty"`
	Order      Order                 `json:"order,omitempty"`
	TimeFrame  TimeFrame             `json:"timeFrame,omitempty"`
	Group      Group                 `json:"group"`
	TagFilters []TagFilter           `json:"tagFilters,omitempty"`
	Metrics    []MetricConfiguration `json:"metrics"`
}

GetTraceGroups struct for GetTraceGroups

type GetTraceGroupsOpts

type GetTraceGroupsOpts struct {
	FillTimeSeries optional.Bool
	GetTraceGroups optional.Interface
}

GetTraceGroupsOpts Optional parameters for the method 'GetTraceGroups'

type GetTraces

type GetTraces struct {
	Pagination CursorPagination `json:"pagination,omitempty"`
	TimeFrame  TimeFrame        `json:"timeFrame,omitempty"`
	TagFilters []TagFilter      `json:"tagFilters,omitempty"`
}

GetTraces struct for GetTraces

type GetTracesOpts

type GetTracesOpts struct {
	GetTraces optional.Interface
}

GetTracesOpts Optional parameters for the method 'GetTraces'

type GetWebsiteBeaconGroups

type GetWebsiteBeaconGroups struct {
	Pagination CursorPagination                        `json:"pagination,omitempty"`
	TimeFrame  TimeFrame                               `json:"timeFrame,omitempty"`
	Group      WebsiteBeaconTagGroup                   `json:"group"`
	Order      Order                                   `json:"order,omitempty"`
	Type       string                                  `json:"type"`
	TagFilters []TagFilter                             `json:"tagFilters,omitempty"`
	Metrics    []WebsiteMonitoringMetricsConfiguration `json:"metrics"`
}

GetWebsiteBeaconGroups struct for GetWebsiteBeaconGroups

type GetWebsiteBeacons

type GetWebsiteBeacons struct {
	Pagination CursorPagination `json:"pagination,omitempty"`
	TimeFrame  TimeFrame        `json:"timeFrame,omitempty"`
	Type       string           `json:"type"`
	TagFilters []TagFilter      `json:"tagFilters,omitempty"`
}

GetWebsiteBeacons struct for GetWebsiteBeacons

type GetWebsiteMetrics

type GetWebsiteMetrics struct {
	TimeFrame  TimeFrame                               `json:"timeFrame,omitempty"`
	Metrics    []WebsiteMonitoringMetricsConfiguration `json:"metrics"`
	Type       string                                  `json:"type"`
	TagFilters []TagFilter                             `json:"tagFilters,omitempty"`
}

GetWebsiteMetrics struct for GetWebsiteMetrics

type GoogleChatIntegration

type GoogleChatIntegration struct {
	Id   string `json:"id"`
	Kind string `json:"kind"`
	Name string `json:"name"`
}

GoogleChatIntegration struct for GoogleChatIntegration

type Group

type Group struct {
	GroupbyTag               string `json:"groupbyTag"`
	GroupbyTagSecondLevelKey string `json:"groupbyTagSecondLevelKey,omitempty"`
	GroupbyTagEntity         string `json:"groupbyTagEntity,omitempty"`
}

Group struct for Group

type HealthApiService

type HealthApiService service

HealthApiService HealthApi service

func (*HealthApiService) GetHealthState

func (a *HealthApiService) GetHealthState(ctx _context.Context) (HealthState, *_nethttp.Response, error)

GetHealthState Basic health traffic light The returned JSON object will provide a health property which contains a simple traffic light (GREEN/YELLO/RED). For any non-Green-state a list of reasons will be provided in the messages array. Possible messages: * No data being processed * No data arriving from agents

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return HealthState

func (*HealthApiService) GetVersion

GetVersion API version information

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return InstanaVersionInfo

type HealthState

type HealthState struct {
	Health   string   `json:"health,omitempty"`
	Messages []string `json:"messages,omitempty"`
}

HealthState struct for HealthState

type HistoricBaseline

type HistoricBaseline struct {
	Type        string `json:"type"`
	Operator    string `json:"operator"`
	LastUpdated int64  `json:"lastUpdated,omitempty"`
}

HistoricBaseline struct for HistoricBaseline

type HttpEndpointConfig

type HttpEndpointConfig struct {
	ServiceId                                      string             `json:"serviceId"`
	EndpointNameByFirstPathSegmentRuleEnabled      bool               `json:"endpointNameByFirstPathSegmentRuleEnabled,omitempty"`
	EndpointNameByCollectedPathTemplateRuleEnabled bool               `json:"endpointNameByCollectedPathTemplateRuleEnabled,omitempty"`
	Rules                                          []HttpEndpointRule `json:"rules"`
}

HttpEndpointConfig struct for HttpEndpointConfig

type HttpEndpointRule

type HttpEndpointRule struct {
	Enabled      bool                          `json:"enabled,omitempty"`
	PathSegments []HttpPathSegmentMatchingRule `json:"pathSegments"`
	TestCases    []string                      `json:"testCases,omitempty"`
}

HttpEndpointRule struct for HttpEndpointRule

type HttpPathSegmentMatchingRule

type HttpPathSegmentMatchingRule struct {
	Type string `json:"type"`
}

HttpPathSegmentMatchingRule struct for HttpPathSegmentMatchingRule

type HyperParam

type HyperParam struct {
	Id           string  `json:"id"`
	Name         string  `json:"name"`
	Description  string  `json:"description"`
	DefaultValue float64 `json:"defaultValue,omitempty"`
	MinValue     float64 `json:"minValue,omitempty"`
	MaxValue     float64 `json:"maxValue,omitempty"`
	ValueFormat  string  `json:"valueFormat,omitempty"`
}

HyperParam struct for HyperParam

type InfrastructureCatalogApiService

type InfrastructureCatalogApiService service

InfrastructureCatalogApiService InfrastructureCatalogApi service

func (*InfrastructureCatalogApiService) GetInfrastructureCatalogMetrics

func (a *InfrastructureCatalogApiService) GetInfrastructureCatalogMetrics(ctx _context.Context, plugin string, localVarOptionals *GetInfrastructureCatalogMetricsOpts) ([]MetricInstance, *_nethttp.Response, error)

GetInfrastructureCatalogMetrics Get metric catalog This endpoint retrieves all available metric definitions of the requested plugin. ### Path Parameters: **plugin** The plugin id from [available plugins](#operation/getInfrastructureCatalogPlugins) ### Optional Parameters: **filter** You can restrict the returned metric definitions by passing a filter. * &#x60;custom&#x60; to retrieve custom metric definitions only. * &#x60;builtin&#x60; to retrieve built-in metric definitions only.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param plugin
  • @param optional nil or *GetInfrastructureCatalogMetricsOpts - Optional Parameters:
  • @param "Filter" (optional.String) -

@return []MetricInstance

func (*InfrastructureCatalogApiService) GetInfrastructureCatalogPlugins

func (a *InfrastructureCatalogApiService) GetInfrastructureCatalogPlugins(ctx _context.Context) ([]PluginResult, *_nethttp.Response, error)

GetInfrastructureCatalogPlugins Get plugin catalog This endpoint retrieves all available plugin ids for your monitored system.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return []PluginResult

func (*InfrastructureCatalogApiService) GetInfrastructureCatalogSearchFields

func (a *InfrastructureCatalogApiService) GetInfrastructureCatalogSearchFields(ctx _context.Context) ([]SearchFieldResult, *_nethttp.Response, error)

GetInfrastructureCatalogSearchFields get search field catalog This endpoint retrieves all available search keywords for dynamic focus queries. These search fields can be accessed via lucene queries. Each field belongs to a context, e.g. to entity, trace or event data. Some fields contain a set of possible fixed values, in this case a deviant value is invalid. &#x60;&#x60;&#x60; ?query&#x3D;{keyword}:{value} &#x60;&#x60;&#x60;

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return []SearchFieldResult

type InfrastructureMetricResult

type InfrastructureMetricResult struct {
	Items []MetricItem `json:"items,omitempty"`
}

InfrastructureMetricResult struct for InfrastructureMetricResult

type InfrastructureMetricsApiService

type InfrastructureMetricsApiService service

InfrastructureMetricsApiService InfrastructureMetricsApi service

func (*InfrastructureMetricsApiService) GetInfrastructureMetrics

GetInfrastructureMetrics Get infrastructure metrics

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param optional nil or *GetInfrastructureMetricsOpts - Optional Parameters:
  • @param "Context" (optional.Bool) -
  • @param "Offline" (optional.Bool) -
  • @param "GetCombinedMetrics" (optional.Interface of GetCombinedMetrics) -

@return InfrastructureMetricResult

func (*InfrastructureMetricsApiService) GetSnapshot

GetSnapshot Get snapshot details

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id
  • @param optional nil or *GetSnapshotOpts - Optional Parameters:
  • @param "To" (optional.Int64) -
  • @param "WindowSize" (optional.Int64) -

@return SnapshotItem

func (*InfrastructureMetricsApiService) GetSnapshots

GetSnapshots Search snapshots These APIs can be used to retrieve information about hosts, processes, JVMs and other entities that we are calling snapshots. A snapshot represents static information about an entity as it was at a specific point in time. To clarify: **Static information** is any information which is seldom changing, e.g. process IDs, host FQDNs or a list of host hard disks. The counterpart to static information are metrics which have a much higher change rate, e.g. host CPU usage or JVM garbage collection activity. Snapshots only contain static information. - Snapshots are **versioned** and represent an entity&#39;s state for a specific point in time. While snapshots only contain static information, even that information may change. For example you may add another hard disk to a server. For such a change, a new snapshot would be created.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param optional nil or *GetSnapshotsOpts - Optional Parameters:
  • @param "Query" (optional.String) -
  • @param "To" (optional.Int64) -
  • @param "WindowSize" (optional.Int64) -
  • @param "Size" (optional.Int32) -
  • @param "Plugin" (optional.String) -
  • @param "Offline" (optional.Bool) -

@return SnapshotResult

type InfrastructureResourcesApiService

type InfrastructureResourcesApiService service

InfrastructureResourcesApiService InfrastructureResourcesApi service

func (*InfrastructureResourcesApiService) GetInfrastructureViewTree

GetInfrastructureViewTree Get view tree

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return TreeNodeResult

func (*InfrastructureResourcesApiService) GetMonitoringState

GetMonitoringState Monitored host count

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return MonitoringState

func (*InfrastructureResourcesApiService) GetRelatedHosts

func (a *InfrastructureResourcesApiService) GetRelatedHosts(ctx _context.Context, snapshotId string) ([]string, *_nethttp.Response, error)

GetRelatedHosts Related hosts

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param snapshotId

@return []string

func (*InfrastructureResourcesApiService) SoftwareVersions

SoftwareVersions Get installed software Retrieve information about the software you are running. This includes runtime and package manager information. The &#x60;name&#x60;, &#x60;version&#x60;, &#x60;origin&#x60; and &#x60;type&#x60; parameters are optional filters that can be used to reduce the result data set.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param optional nil or *SoftwareVersionsOpts - Optional Parameters:
  • @param "Time" (optional.Int64) -
  • @param "Origin" (optional.String) -
  • @param "Type_" (optional.String) -
  • @param "Name" (optional.String) -
  • @param "Version" (optional.String) -

@return []SoftwareVersion

type IngestionOffsetCursor

type IngestionOffsetCursor struct {
	IngestionTime int64 `json:"ingestionTime,omitempty"`
	Offset        int32 `json:"offset,omitempty"`
}

IngestionOffsetCursor struct for IngestionOffsetCursor

type InstanaVersionInfo

type InstanaVersionInfo struct {
	Branch   string `json:"branch,omitempty"`
	Commit   string `json:"commit,omitempty"`
	ImageTag string `json:"imageTag,omitempty"`
}

InstanaVersionInfo struct for InstanaVersionInfo

type KubernetesPhysicalContext

type KubernetesPhysicalContext struct {
	Pod       SnapshotPreview `json:"pod,omitempty"`
	Namespace SnapshotPreview `json:"namespace,omitempty"`
	Node      SnapshotPreview `json:"node,omitempty"`
	Cluster   SnapshotPreview `json:"cluster,omitempty"`
}

KubernetesPhysicalContext struct for KubernetesPhysicalContext

type LogEntryActor

type LogEntryActor struct {
	Type  string `json:"type"`
	Id    string `json:"id"`
	Name  string `json:"name"`
	Email string `json:"email,omitempty"`
}

LogEntryActor struct for LogEntryActor

type MaintenanceConfig

type MaintenanceConfig struct {
	Id      string              `json:"id"`
	Name    string              `json:"name"`
	Query   string              `json:"query"`
	Windows []MaintenanceWindow `json:"windows,omitempty"`
}

MaintenanceConfig struct for MaintenanceConfig

type MaintenanceConfigWithLastUpdated

type MaintenanceConfigWithLastUpdated struct {
	Id          string              `json:"id"`
	Name        string              `json:"name"`
	Query       string              `json:"query"`
	Windows     []MaintenanceWindow `json:"windows,omitempty"`
	LastUpdated int64               `json:"lastUpdated,omitempty"`
}

MaintenanceConfigWithLastUpdated struct for MaintenanceConfigWithLastUpdated

type MaintenanceConfigurationApiService

type MaintenanceConfigurationApiService service

MaintenanceConfigurationApiService MaintenanceConfigurationApi service

func (*MaintenanceConfigurationApiService) DeleteMaintenanceConfig

func (a *MaintenanceConfigurationApiService) DeleteMaintenanceConfig(ctx _context.Context, id string) (*_nethttp.Response, error)

DeleteMaintenanceConfig Delete maintenance configuration

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id

func (*MaintenanceConfigurationApiService) GetMaintenanceConfig

GetMaintenanceConfig Maintenance configuration

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id

@return MaintenanceConfigWithLastUpdated

func (*MaintenanceConfigurationApiService) GetMaintenanceConfigs

GetMaintenanceConfigs All maintenance configurations

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return []ValidatedMaintenanceConfigWithStatus

func (*MaintenanceConfigurationApiService) PutMaintenanceConfig

func (a *MaintenanceConfigurationApiService) PutMaintenanceConfig(ctx _context.Context, id string, maintenanceConfig MaintenanceConfig) (*_nethttp.Response, error)

PutMaintenanceConfig Create or update maintenance configuration

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id
  • @param maintenanceConfig

type MaintenanceWindow

type MaintenanceWindow struct {
	Id    string `json:"id"`
	Start int64  `json:"start,omitempty"`
	End   int64  `json:"end,omitempty"`
}

MaintenanceWindow struct for MaintenanceWindow

type MatchAllHttpPathSegmentMatchingRule

type MatchAllHttpPathSegmentMatchingRule struct {
	Type string `json:"type"`
}

MatchAllHttpPathSegmentMatchingRule struct for MatchAllHttpPathSegmentMatchingRule

type MetricConfiguration

type MetricConfiguration struct {
	Metric      string `json:"metric"`
	Granularity int32  `json:"granularity,omitempty"`
	Aggregation string `json:"aggregation"`
}

MetricConfiguration struct for MetricConfiguration

type MetricDescription

type MetricDescription struct {
	MetricId     string   `json:"metricId,omitempty"`
	Label        string   `json:"label,omitempty"`
	Formatter    string   `json:"formatter,omitempty"`
	Description  string   `json:"description,omitempty"`
	Aggregations []string `json:"aggregations,omitempty"`
}

MetricDescription struct for MetricDescription

type MetricInstance

type MetricInstance struct {
	Formatter   string `json:"formatter"`
	Label       string `json:"label"`
	Description string `json:"description"`
	MetricId    string `json:"metricId"`
	PluginId    string `json:"pluginId"`
	Custom      bool   `json:"custom,omitempty"`
}

MetricInstance struct for MetricInstance

type MetricItem

type MetricItem struct {
	SnapshotId string                 `json:"snapshotId,omitempty"`
	Plugin     string                 `json:"plugin,omitempty"`
	From       int64                  `json:"from,omitempty"`
	To         int64                  `json:"to,omitempty"`
	Tags       []string               `json:"tags,omitempty"`
	Label      string                 `json:"label,omitempty"`
	Host       string                 `json:"host,omitempty"`
	Metrics    map[string][][]float64 `json:"metrics,omitempty"`
}

MetricItem struct for MetricItem

type MonitoringState

type MonitoringState struct {
	HostCount               int32 `json:"hostCount,omitempty"`
	FirstKnownReportingTime int64 `json:"firstKnownReportingTime,omitempty"`
}

MonitoringState struct for MonitoringState

type Office365Integration

type Office365Integration struct {
	Id   string `json:"id"`
	Kind string `json:"kind"`
	Name string `json:"name"`
}

Office365Integration struct for Office365Integration

type OpsgenieIntegration

type OpsgenieIntegration struct {
	Id   string `json:"id"`
	Kind string `json:"kind"`
	Name string `json:"name"`
}

OpsgenieIntegration struct for OpsgenieIntegration

type Order

type Order struct {
	By        string `json:"by"`
	Direction string `json:"direction"`
}

Order struct for Order

type PagerdutyIntegration

type PagerdutyIntegration struct {
	Id   string `json:"id"`
	Kind string `json:"kind"`
	Name string `json:"name"`
}

PagerdutyIntegration struct for PagerdutyIntegration

type Pagination

type Pagination struct {
	Page     int32 `json:"page,omitempty"`
	PageSize int32 `json:"pageSize,omitempty"`
}

Pagination struct for Pagination

type PathParameterHttpPathSegmentMatchingRule

type PathParameterHttpPathSegmentMatchingRule struct {
	Type string `json:"type"`
}

PathParameterHttpPathSegmentMatchingRule struct for PathParameterHttpPathSegmentMatchingRule

type PhysicalContext

type PhysicalContext struct {
	Process      SnapshotPreview             `json:"process,omitempty"`
	Container    SnapshotPreview             `json:"container,omitempty"`
	Host         SnapshotPreview             `json:"host,omitempty"`
	Cluster      SnapshotPreview             `json:"cluster,omitempty"`
	Cloudfoundry CloudfoundryPhysicalContext `json:"cloudfoundry,omitempty"`
	Kubernetes   KubernetesPhysicalContext   `json:"kubernetes,omitempty"`
}

PhysicalContext struct for PhysicalContext

type PluginResult

type PluginResult struct {
	Plugin string `json:"plugin,omitempty"`
	Label  string `json:"label,omitempty"`
}

PluginResult struct for PluginResult

type PostOpts

type PostOpts struct {
	Name optional.String
}

PostOpts Optional parameters for the method 'Post'

type PrometheusWebhookIntegration

type PrometheusWebhookIntegration struct {
	Id   string `json:"id"`
	Kind string `json:"kind"`
	Name string `json:"name"`
}

PrometheusWebhookIntegration struct for PrometheusWebhookIntegration

type Release

type Release struct {
	Name  string `json:"name"`
	Start int64  `json:"start,omitempty"`
}

Release struct for Release

type ReleaseWithMetadata

type ReleaseWithMetadata struct {
	Name        string `json:"name"`
	Start       int64  `json:"start,omitempty"`
	Id          string `json:"id"`
	LastUpdated int64  `json:"lastUpdated,omitempty"`
}

ReleaseWithMetadata struct for ReleaseWithMetadata

type ReleasesApiService

type ReleasesApiService service

ReleasesApiService ReleasesApi service

func (*ReleasesApiService) DeleteRelease

func (a *ReleasesApiService) DeleteRelease(ctx _context.Context, releaseId string) (*_nethttp.Response, error)

DeleteRelease Delete release

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param releaseId

func (*ReleasesApiService) GetAllReleases

func (a *ReleasesApiService) GetAllReleases(ctx _context.Context, localVarOptionals *GetAllReleasesOpts) ([]ReleaseWithMetadata, *_nethttp.Response, error)

GetAllReleases Get all releases This endpoint exposes the Releases functionality. These APIs can be used to create, update, delete and fetch already existing releases. ## Mandatory Parameters: **releaseId:** A unique identifier assigned to each release. ## Optional Parameters: **name:** Name of the exact release you want to retrieve, eg. \&quot;Release-161\&quot;, \&quot;Release-162\&quot;. **start:** Start time of the particular release. **from:** Filters the releases to retrieve only the releases which have \&quot;start\&quot; time greater than or equal to this value. **to:** Filters the releases to retrieve only the releases which have \&quot;start\&quot; time lesser than or equal to this value. **maxResults:** Maximum number of releases to be retrieved. ## Defaults: **from, to, maxResults:** By default these parameters are not set.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param optional nil or *GetAllReleasesOpts - Optional Parameters:
  • @param "From" (optional.Int64) -
  • @param "To" (optional.Int64) -
  • @param "MaxResults" (optional.Int32) -

@return []ReleaseWithMetadata

func (*ReleasesApiService) GetRelease

GetRelease Get release

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param releaseId

@return ReleaseWithMetadata

func (*ReleasesApiService) PostRelease

PostRelease Create release

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param release

@return ReleaseWithMetadata

func (*ReleasesApiService) PutRelease

func (a *ReleasesApiService) PutRelease(ctx _context.Context, releaseId string, release Release) (ReleaseWithMetadata, *_nethttp.Response, error)

PutRelease Update release

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param releaseId
  • @param release

@return ReleaseWithMetadata

type RenameOpts

type RenameOpts struct {
	Name optional.String
}

RenameOpts Optional parameters for the method 'Rename'

type RevokePendingInvitationsOpts

type RevokePendingInvitationsOpts struct {
	Email optional.String
}

RevokePendingInvitationsOpts Optional parameters for the method 'RevokePendingInvitations'

type Role

type Role struct {
	Id                                string `json:"id"`
	Name                              string `json:"name"`
	CanConfigureServiceMapping        bool   `json:"canConfigureServiceMapping,omitempty"`
	CanConfigureEumApplications       bool   `json:"canConfigureEumApplications,omitempty"`
	CanConfigureMobileAppMonitoring   bool   `json:"canConfigureMobileAppMonitoring,omitempty"`
	CanConfigureUsers                 bool   `json:"canConfigureUsers,omitempty"`
	CanInstallNewAgents               bool   `json:"canInstallNewAgents,omitempty"`
	CanSeeUsageInformation            bool   `json:"canSeeUsageInformation,omitempty"`
	CanConfigureIntegrations          bool   `json:"canConfigureIntegrations,omitempty"`
	CanSeeOnPremLicenseInformation    bool   `json:"canSeeOnPremLicenseInformation,omitempty"`
	CanConfigureRoles                 bool   `json:"canConfigureRoles,omitempty"`
	CanConfigureCustomAlerts          bool   `json:"canConfigureCustomAlerts,omitempty"`
	CanConfigureApiTokens             bool   `json:"canConfigureApiTokens,omitempty"`
	CanConfigureAgentRunMode          bool   `json:"canConfigureAgentRunMode,omitempty"`
	CanViewAuditLog                   bool   `json:"canViewAuditLog,omitempty"`
	CanConfigureObjectives            bool   `json:"canConfigureObjectives,omitempty"`
	CanConfigureAgents                bool   `json:"canConfigureAgents,omitempty"`
	CanConfigureAuthenticationMethods bool   `json:"canConfigureAuthenticationMethods,omitempty"`
	CanConfigureApplications          bool   `json:"canConfigureApplications,omitempty"`
	CanConfigureTeams                 bool   `json:"canConfigureTeams,omitempty"`
	RestrictedAccess                  bool   `json:"restrictedAccess,omitempty"`
	CanConfigureReleases              bool   `json:"canConfigureReleases,omitempty"`
	CanConfigureLogManagement         bool   `json:"canConfigureLogManagement,omitempty"`
}

Role struct for Role

type RuleInput

type RuleInput struct {
	InputKind string `json:"inputKind"`
	InputName string `json:"inputName"`
}

RuleInput struct for RuleInput

type SearchFieldResult

type SearchFieldResult struct {
	Keyword     string   `json:"keyword,omitempty"`
	Description string   `json:"description,omitempty"`
	Context     string   `json:"context,omitempty"`
	TermType    string   `json:"termType,omitempty"`
	FixedValues []string `json:"fixedValues,omitempty"`
}

SearchFieldResult struct for SearchFieldResult

type SendInvitationOpts

type SendInvitationOpts struct {
	Email  optional.String
	RoleId optional.String
}

SendInvitationOpts Optional parameters for the method 'SendInvitation'

type ServerConfiguration

type ServerConfiguration struct {
	Url         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type Service

type Service struct {
	Id           string   `json:"id"`
	Label        string   `json:"label"`
	Types        []string `json:"types"`
	Technologies []string `json:"technologies"`
	EntityType   string   `json:"entityType,omitempty"`
}

Service struct for Service

type ServiceConfig

type ServiceConfig struct {
	Id                 string                `json:"id"`
	Name               string                `json:"name"`
	Comment            string                `json:"comment,omitempty"`
	Label              string                `json:"label"`
	Enabled            bool                  `json:"enabled"`
	MatchSpecification []ServiceMatchingRule `json:"matchSpecification"`
}

ServiceConfig struct for ServiceConfig

type ServiceItem

type ServiceItem struct {
	Service Service                `json:"service"`
	Metrics map[string][][]float64 `json:"metrics"`
}

ServiceItem struct for ServiceItem

type ServiceMatchingRule

type ServiceMatchingRule struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

ServiceMatchingRule struct for ServiceMatchingRule

type ServiceMetricResult

type ServiceMetricResult struct {
	Items     []ServiceItem `json:"items"`
	Page      int32         `json:"page,omitempty"`
	PageSize  int32         `json:"pageSize,omitempty"`
	TotalHits int32         `json:"totalHits,omitempty"`
}

ServiceMetricResult struct for ServiceMetricResult

type ServiceResult

type ServiceResult struct {
	Items     []Service `json:"items,omitempty"`
	Page      int32     `json:"page,omitempty"`
	PageSize  int32     `json:"pageSize,omitempty"`
	TotalHits int32     `json:"totalHits,omitempty"`
}

ServiceResult struct for ServiceResult

type SetRoleOpts

type SetRoleOpts struct {
	RoleId optional.String
}

SetRoleOpts Optional parameters for the method 'SetRole'

type SlackIntegration

type SlackIntegration struct {
	Id   string `json:"id"`
	Kind string `json:"kind"`
	Name string `json:"name"`
}

SlackIntegration struct for SlackIntegration

type SlownessWebsiteAlertRule

type SlownessWebsiteAlertRule struct {
	AlertType  string `json:"alertType"`
	MetricName string `json:"metricName"`
}

SlownessWebsiteAlertRule struct for SlownessWebsiteAlertRule

type SnapshotItem

type SnapshotItem struct {
	SnapshotId string   `json:"snapshotId,omitempty"`
	Plugin     string   `json:"plugin,omitempty"`
	From       int64    `json:"from,omitempty"`
	To         int64    `json:"to,omitempty"`
	Tags       []string `json:"tags,omitempty"`
	Label      string   `json:"label,omitempty"`
	Host       string   `json:"host,omitempty"`
}

SnapshotItem struct for SnapshotItem

type SnapshotPreview

type SnapshotPreview struct {
	Id     string                            `json:"id"`
	Time   int64                             `json:"time,omitempty"`
	Label  string                            `json:"label,omitempty"`
	Plugin string                            `json:"plugin,omitempty"`
	Data   map[string]map[string]interface{} `json:"data,omitempty"`
}

SnapshotPreview struct for SnapshotPreview

type SnapshotResult

type SnapshotResult struct {
	Items []SnapshotItem `json:"items,omitempty"`
}

SnapshotResult struct for SnapshotResult

type SoftwareUser

type SoftwareUser struct {
	Host      string `json:"host,omitempty"`
	Container string `json:"container,omitempty"`
	Process   string `json:"process,omitempty"`
}

SoftwareUser struct for SoftwareUser

type SoftwareVersion

type SoftwareVersion struct {
	Name    string         `json:"name"`
	Version string         `json:"version"`
	Origin  string         `json:"origin"`
	Type    string         `json:"type"`
	UsedBy  []SoftwareUser `json:"usedBy"`
}

SoftwareVersion struct for SoftwareVersion

type SoftwareVersionsOpts

type SoftwareVersionsOpts struct {
	Time    optional.Int64
	Origin  optional.String
	Type_   optional.String
	Name    optional.String
	Version optional.String
}

SoftwareVersionsOpts Optional parameters for the method 'SoftwareVersions'

type Span

type Span struct {
	Id                 string                            `json:"id"`
	ParentId           string                            `json:"parentId,omitempty"`
	CallId             string                            `json:"callId"`
	Name               string                            `json:"name"`
	Label              string                            `json:"label"`
	Start              int64                             `json:"start,omitempty"`
	Duration           int64                             `json:"duration,omitempty"`
	CalculatedSelfTime int64                             `json:"calculatedSelfTime,omitempty"`
	ErrorCount         int32                             `json:"errorCount,omitempty"`
	BatchSize          int32                             `json:"batchSize,omitempty"`
	BatchSelfTime      int64                             `json:"batchSelfTime,omitempty"`
	Kind               string                            `json:"kind"`
	IsSynthetic        bool                              `json:"isSynthetic,omitempty"`
	Data               map[string]map[string]interface{} `json:"data"`
	Source             SpanRelation                      `json:"source,omitempty"`
	Destination        SpanRelation                      `json:"destination,omitempty"`
	StackTrace         []StackTraceItem                  `json:"stackTrace"`
	ChildSpans         []Span                            `json:"childSpans"`
}

Span struct for Span

type SpanRelation

type SpanRelation struct {
	Applications    []Application   `json:"applications"`
	Service         Service         `json:"service,omitempty"`
	Endpoint        Endpoint        `json:"endpoint,omitempty"`
	PhysicalContext PhysicalContext `json:"physicalContext,omitempty"`
}

SpanRelation struct for SpanRelation

type SpecificJsErrorsWebsiteAlertRule

type SpecificJsErrorsWebsiteAlertRule struct {
	AlertType  string `json:"alertType"`
	MetricName string `json:"metricName"`
}

SpecificJsErrorsWebsiteAlertRule struct for SpecificJsErrorsWebsiteAlertRule

type SplunkIntegration

type SplunkIntegration struct {
	Id   string `json:"id"`
	Kind string `json:"kind"`
	Name string `json:"name"`
}

SplunkIntegration struct for SplunkIntegration

type StackTraceItem

type StackTraceItem struct {
	File   string `json:"file,omitempty"`
	Method string `json:"method,omitempty"`
	Line   string `json:"line,omitempty"`
}

StackTraceItem struct for StackTraceItem

type StackTraceLine

type StackTraceLine struct {
	File                   string `json:"file"`
	Name                   string `json:"name,omitempty"`
	Line                   int32  `json:"line,omitempty"`
	Column                 int32  `json:"column,omitempty"`
	TranslationStatus      int32  `json:"translationStatus,omitempty"`
	TranslationExplanation string `json:"translationExplanation,omitempty"`
}

StackTraceLine struct for StackTraceLine

type StaticThreshold

type StaticThreshold struct {
	Type        string `json:"type"`
	Operator    string `json:"operator"`
	LastUpdated int64  `json:"lastUpdated,omitempty"`
}

StaticThreshold struct for StaticThreshold

type StatusCodeWebsiteAlertRule

type StatusCodeWebsiteAlertRule struct {
	AlertType  string `json:"alertType"`
	MetricName string `json:"metricName"`
}

StatusCodeWebsiteAlertRule struct for StatusCodeWebsiteAlertRule

type SyntheticCallConfig

type SyntheticCallConfig struct {
	DefaultRulesEnabled bool                `json:"defaultRulesEnabled,omitempty"`
	CustomRules         []SyntheticCallRule `json:"customRules"`
}

SyntheticCallConfig struct for SyntheticCallConfig

type SyntheticCallRule

type SyntheticCallRule struct {
	Name               string                 `json:"name"`
	Description        string                 `json:"description,omitempty"`
	MatchSpecification map[string]interface{} `json:"matchSpecification"`
	Enabled            bool                   `json:"enabled,omitempty"`
}

SyntheticCallRule struct for SyntheticCallRule

type SyntheticCallWithDefaultsConfig

type SyntheticCallWithDefaultsConfig struct {
	DefaultRulesEnabled bool                `json:"defaultRulesEnabled,omitempty"`
	CustomRules         []SyntheticCallRule `json:"customRules"`
	DefaultRules        []SyntheticCallRule `json:"defaultRules"`
}

SyntheticCallWithDefaultsConfig struct for SyntheticCallWithDefaultsConfig

type SyntheticCallsApiService

type SyntheticCallsApiService service

SyntheticCallsApiService SyntheticCallsApi service

func (*SyntheticCallsApiService) DeleteSyntheticCall

func (a *SyntheticCallsApiService) DeleteSyntheticCall(ctx _context.Context) (*_nethttp.Response, error)

DeleteSyntheticCall Delete synthetic call configurations

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

func (*SyntheticCallsApiService) GetSyntheticCalls

GetSyntheticCalls Synthetic call configurations

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return SyntheticCallWithDefaultsConfig

func (*SyntheticCallsApiService) UpdateSyntheticCall

func (a *SyntheticCallsApiService) UpdateSyntheticCall(ctx _context.Context, syntheticCallConfig SyntheticCallConfig) (*_nethttp.Response, error)

UpdateSyntheticCall Update synthetic call configurations

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param syntheticCallConfig

type SystemRule

type SystemRule struct {
	// Values: `\"THRESHOLD\"`  `\"SYSTEM\"`  `\"ENTITY_VERIFICATION\"`
	RuleType string `json:"ruleType"`
	Severity int32  `json:"severity,omitempty"`
}

SystemRule struct for SystemRule

type SystemRuleLabel

type SystemRuleLabel struct {
	Id   string `json:"id"`
	Name string `json:"name"`
}

SystemRuleLabel struct for SystemRuleLabel

type Tag

type Tag struct {
	Name                     string `json:"name,omitempty"`
	Type                     string `json:"type,omitempty"`
	Category                 string `json:"category,omitempty"`
	CanApplyToSource         bool   `json:"canApplyToSource,omitempty"`
	CanApplyToDestination    bool   `json:"canApplyToDestination,omitempty"`
	SourceValueAvailableFrom int64  `json:"sourceValueAvailableFrom,omitempty"`
}

Tag struct for Tag

type TagFilter

type TagFilter struct {
	Name     string `json:"name"`
	Value    string `json:"value"`
	Operator string `json:"operator"`
	Entity   string `json:"entity,omitempty"`
}

TagFilter struct for TagFilter

type TagMatcherDto

type TagMatcherDto struct {
}

TagMatcherDto struct for TagMatcherDto

type Threshold

type Threshold struct {
	Type        string `json:"type"`
	Operator    string `json:"operator"`
	LastUpdated int64  `json:"lastUpdated,omitempty"`
}

Threshold struct for Threshold

type ThresholdRule

type ThresholdRule struct {
	// Values: `\"THRESHOLD\"`  `\"SYSTEM\"`  `\"ENTITY_VERIFICATION\"`
	RuleType string `json:"ruleType"`
	Severity int32  `json:"severity,omitempty"`
}

ThresholdRule struct for ThresholdRule

type TimeFrame

type TimeFrame struct {
	WindowSize int64 `json:"windowSize,omitempty"`
	To         int64 `json:"to,omitempty"`
}

TimeFrame struct for TimeFrame

type Trace

type Trace struct {
	Id        string   `json:"id"`
	Label     string   `json:"label"`
	StartTime int64    `json:"startTime,omitempty"`
	Duration  int64    `json:"duration,omitempty"`
	Erroneous bool     `json:"erroneous,omitempty"`
	Service   Service  `json:"service,omitempty"`
	Endpoint  Endpoint `json:"endpoint,omitempty"`
}

Trace struct for Trace

type TraceGroupsItem

type TraceGroupsItem struct {
	Name      string                 `json:"name"`
	Timestamp int64                  `json:"timestamp,omitempty"`
	Cursor    IngestionOffsetCursor  `json:"cursor"`
	Metrics   map[string][][]float64 `json:"metrics"`
}

TraceGroupsItem struct for TraceGroupsItem

type TraceGroupsResult

type TraceGroupsResult struct {
	Items                     []TraceGroupsItem `json:"items"`
	CanLoadMore               bool              `json:"canLoadMore,omitempty"`
	TotalHits                 int32             `json:"totalHits,omitempty"`
	TotalRepresentedItemCount int32             `json:"totalRepresentedItemCount,omitempty"`
}

TraceGroupsResult struct for TraceGroupsResult

type TraceItem

type TraceItem struct {
	Trace  Trace                 `json:"trace"`
	Cursor IngestionOffsetCursor `json:"cursor"`
}

TraceItem struct for TraceItem

type TraceResult

type TraceResult struct {
	Items                     []TraceItem `json:"items"`
	CanLoadMore               bool        `json:"canLoadMore,omitempty"`
	TotalHits                 int32       `json:"totalHits,omitempty"`
	TotalRepresentedItemCount int32       `json:"totalRepresentedItemCount,omitempty"`
}

TraceResult struct for TraceResult

type TreeNode

type TreeNode struct {
	SnapshotId string     `json:"snapshotId,omitempty"`
	Type       string     `json:"type,omitempty"`
	Children   []TreeNode `json:"children,omitempty"`
}

TreeNode struct for TreeNode

type TreeNodeResult

type TreeNodeResult struct {
	Tree []TreeNode `json:"tree,omitempty"`
}

TreeNodeResult struct for TreeNodeResult

type UnsupportedHttpPathSegmentMatchingRule

type UnsupportedHttpPathSegmentMatchingRule struct {
	Type string `json:"type"`
}

UnsupportedHttpPathSegmentMatchingRule struct for UnsupportedHttpPathSegmentMatchingRule

type UsageApiService

type UsageApiService service

UsageApiService UsageApi service

func (*UsageApiService) GetAllUsage

func (a *UsageApiService) GetAllUsage(ctx _context.Context) ([]UsageResult, *_nethttp.Response, error)

GetAllUsage API usage by customer

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return []UsageResult

func (*UsageApiService) GetHostsPerDay

func (a *UsageApiService) GetHostsPerDay(ctx _context.Context, day int32, month int32, year int32) ([]UsageResult, *_nethttp.Response, error)

GetHostsPerDay Host count day / month / year

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param day
  • @param month
  • @param year

@return []UsageResult

func (*UsageApiService) GetHostsPerMonth

func (a *UsageApiService) GetHostsPerMonth(ctx _context.Context, month int32, year int32) ([]UsageResult, *_nethttp.Response, error)

GetHostsPerMonth Host count month / year

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param month
  • @param year

@return []UsageResult

func (*UsageApiService) GetUsagePerDay

func (a *UsageApiService) GetUsagePerDay(ctx _context.Context, day int32, month int32, year int32) ([]UsageResult, *_nethttp.Response, error)

GetUsagePerDay API usage day / month / year

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param day
  • @param month
  • @param year

@return []UsageResult

func (*UsageApiService) GetUsagePerMonth

func (a *UsageApiService) GetUsagePerMonth(ctx _context.Context, month int32, year int32) ([]UsageResult, *_nethttp.Response, error)

GetUsagePerMonth API usage month / year

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param month
  • @param year

@return []UsageResult

type UsageResult

type UsageResult struct {
	Time  int64              `json:"time,omitempty"`
	Items []UsageResultItems `json:"items,omitempty"`
}

UsageResult struct for UsageResult

type UsageResultItems

type UsageResultItems struct {
	Name string `json:"name,omitempty"`
	Sims int64  `json:"sims,omitempty"`
}

UsageResultItems struct for UsageResultItems

type UserApiService

type UserApiService service

UserApiService UserApi service

func (*UserApiService) DeleteRole

func (a *UserApiService) DeleteRole(ctx _context.Context, roleId string) (*_nethttp.Response, error)

DeleteRole Delete role

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param roleId

func (*UserApiService) GetInvitations

func (a *UserApiService) GetInvitations(ctx _context.Context) ([]UserResult, *_nethttp.Response, error)

GetInvitations All pending invitations

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return []UserResult

func (*UserApiService) GetRole

func (a *UserApiService) GetRole(ctx _context.Context, roleId string) (Role, *_nethttp.Response, error)

GetRole Role

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param roleId

@return Role

func (*UserApiService) GetRoles

func (a *UserApiService) GetRoles(ctx _context.Context) ([]Role, *_nethttp.Response, error)

GetRoles All roles

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return []Role

func (*UserApiService) GetUsers

GetUsers All users (without invitations)

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return []UserResult

func (*UserApiService) GetUsersIncludingInvitations

func (a *UserApiService) GetUsersIncludingInvitations(ctx _context.Context) (UsersResult, *_nethttp.Response, error)

GetUsersIncludingInvitations All users (incl. invitations)

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return UsersResult

func (*UserApiService) PutRole

func (a *UserApiService) PutRole(ctx _context.Context, roleId string, role Role) (Role, *_nethttp.Response, error)

PutRole Create or update role

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param roleId
  • @param role

@return Role

func (*UserApiService) RemoveUserFromTenant

func (a *UserApiService) RemoveUserFromTenant(ctx _context.Context, userId string) (*_nethttp.Response, error)

RemoveUserFromTenant Remove user from tenant

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param userId

func (*UserApiService) RevokePendingInvitations

func (a *UserApiService) RevokePendingInvitations(ctx _context.Context, localVarOptionals *RevokePendingInvitationsOpts) (*_nethttp.Response, error)

RevokePendingInvitations Revoke pending invitation

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param optional nil or *RevokePendingInvitationsOpts - Optional Parameters:
  • @param "Email" (optional.String) -

func (*UserApiService) SendInvitation

func (a *UserApiService) SendInvitation(ctx _context.Context, localVarOptionals *SendInvitationOpts) (*_nethttp.Response, error)

SendInvitation Send user invitation

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param optional nil or *SendInvitationOpts - Optional Parameters:
  • @param "Email" (optional.String) -
  • @param "RoleId" (optional.String) -

func (*UserApiService) SetRole

func (a *UserApiService) SetRole(ctx _context.Context, userId string, localVarOptionals *SetRoleOpts) (*_nethttp.Response, error)

SetRole Add user to role

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param userId
  • @param optional nil or *SetRoleOpts - Optional Parameters:
  • @param "RoleId" (optional.String) -

type UserImpactWebsiteTimeThreshold

type UserImpactWebsiteTimeThreshold struct {
	Type       string `json:"type"`
	TimeWindow int64  `json:"timeWindow,omitempty"`
}

UserImpactWebsiteTimeThreshold struct for UserImpactWebsiteTimeThreshold

type UserResult

type UserResult struct {
	Id       string `json:"id,omitempty"`
	Email    string `json:"email,omitempty"`
	FullName string `json:"fullName,omitempty"`
	RoleId   string `json:"roleId,omitempty"`
}

UserResult struct for UserResult

type UsersResult

type UsersResult struct {
	Users []UserResult `json:"users,omitempty"`
}

UsersResult struct for UsersResult

type ValidatedAlertingChannelInputInfo

type ValidatedAlertingChannelInputInfo struct {
	Id             string   `json:"id"`
	Label          string   `json:"label"`
	Query          string   `json:"query,omitempty"`
	EventTypes     []string `json:"eventTypes,omitempty"`
	SelectedEvents int32    `json:"selectedEvents,omitempty"`
	Enabled        bool     `json:"enabled,omitempty"`
	Invalid        bool     `json:"invalid,omitempty"`
}

ValidatedAlertingChannelInputInfo struct for ValidatedAlertingChannelInputInfo

type ValidatedAlertingConfiguration

type ValidatedAlertingConfiguration struct {
	Id                          string                      `json:"id"`
	AlertName                   string                      `json:"alertName"`
	MuteUntil                   int64                       `json:"muteUntil,omitempty"`
	IntegrationIds              []string                    `json:"integrationIds"`
	EventFilteringConfiguration EventFilteringConfiguration `json:"eventFilteringConfiguration"`
	CustomPayload               string                      `json:"customPayload,omitempty"`
	LastUpdated                 int64                       `json:"lastUpdated,omitempty"`
	Invalid                     bool                        `json:"invalid,omitempty"`
	AlertChannelNames           []string                    `json:"alertChannelNames,omitempty"`
	ApplicationNames            []string                    `json:"applicationNames,omitempty"`
}

ValidatedAlertingConfiguration struct for ValidatedAlertingConfiguration

type ValidatedMaintenanceConfigWithStatus

type ValidatedMaintenanceConfigWithStatus struct {
	Id          string              `json:"id"`
	Name        string              `json:"name"`
	Query       string              `json:"query"`
	Windows     []MaintenanceWindow `json:"windows,omitempty"`
	LastUpdated int64               `json:"lastUpdated,omitempty"`
	Status      string              `json:"status"`
	Invalid     bool                `json:"invalid,omitempty"`
}

ValidatedMaintenanceConfigWithStatus struct for ValidatedMaintenanceConfigWithStatus

type VictorOpsIntegration

type VictorOpsIntegration struct {
	Id   string `json:"id"`
	Kind string `json:"kind"`
	Name string `json:"name"`
}

VictorOpsIntegration struct for VictorOpsIntegration

type ViolationsInPeriodWebsiteTimeThreshold

type ViolationsInPeriodWebsiteTimeThreshold struct {
	Type       string `json:"type"`
	TimeWindow int64  `json:"timeWindow,omitempty"`
}

ViolationsInPeriodWebsiteTimeThreshold struct for ViolationsInPeriodWebsiteTimeThreshold

type ViolationsInSequenceWebsiteTimeThreshold

type ViolationsInSequenceWebsiteTimeThreshold struct {
	Type       string `json:"type"`
	TimeWindow int64  `json:"timeWindow,omitempty"`
}

ViolationsInSequenceWebsiteTimeThreshold struct for ViolationsInSequenceWebsiteTimeThreshold

type WebhookIntegration

type WebhookIntegration struct {
	Id   string `json:"id"`
	Kind string `json:"kind"`
	Name string `json:"name"`
}

WebhookIntegration struct for WebhookIntegration

type Website

type Website struct {
	Id      string `json:"id"`
	AppName string `json:"appName,omitempty"`
	Name    string `json:"name"`
}

Website struct for Website

type WebsiteAlertConfig

type WebsiteAlertConfig struct {
	Name            string               `json:"name"`
	Description     string               `json:"description,omitempty"`
	WebsiteId       string               `json:"websiteId"`
	Severity        int32                `json:"severity,omitempty"`
	Triggering      bool                 `json:"triggering,omitempty"`
	TagFilters      []TagFilter          `json:"tagFilters"`
	Rule            WebsiteAlertRule     `json:"rule"`
	Threshold       Threshold            `json:"threshold"`
	AlertChannelIds []string             `json:"alertChannelIds"`
	Granularity     int64                `json:"granularity,omitempty"`
	TimeThreshold   WebsiteTimeThreshold `json:"timeThreshold"`
}

WebsiteAlertConfig struct for WebsiteAlertConfig

type WebsiteAlertConfigWithMetadata

type WebsiteAlertConfigWithMetadata struct {
	Name            string               `json:"name"`
	Description     string               `json:"description,omitempty"`
	WebsiteId       string               `json:"websiteId"`
	Severity        int32                `json:"severity,omitempty"`
	Triggering      bool                 `json:"triggering,omitempty"`
	TagFilters      []TagFilter          `json:"tagFilters"`
	Rule            WebsiteAlertRule     `json:"rule"`
	Baseline        HistoricBaseline     `json:"baseline,omitempty"`
	AlertChannelIds []string             `json:"alertChannelIds"`
	Granularity     int64                `json:"granularity,omitempty"`
	TimeThreshold   WebsiteTimeThreshold `json:"timeThreshold"`
	Id              string               `json:"id"`
	Created         int64                `json:"created,omitempty"`
	ReadOnly        bool                 `json:"readOnly,omitempty"`
	Enabled         bool                 `json:"enabled,omitempty"`
	Threshold       Threshold            `json:"threshold"`
}

WebsiteAlertConfigWithMetadata struct for WebsiteAlertConfigWithMetadata

type WebsiteAlertRule

type WebsiteAlertRule struct {
	AlertType  string `json:"alertType"`
	MetricName string `json:"metricName"`
}

WebsiteAlertRule struct for WebsiteAlertRule

type WebsiteAnalyzeApiService

type WebsiteAnalyzeApiService service

WebsiteAnalyzeApiService WebsiteAnalyzeApi service

func (*WebsiteAnalyzeApiService) GetBeaconGroups

func (a *WebsiteAnalyzeApiService) GetBeaconGroups(ctx _context.Context, localVarOptionals *GetBeaconGroupsOpts) (BeaconGroupsResult, *_nethttp.Response, error)

GetBeaconGroups Get grouped beacon metrics

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param optional nil or *GetBeaconGroupsOpts - Optional Parameters:
  • @param "FillTimeSeries" (optional.Bool) -
  • @param "GetWebsiteBeaconGroups" (optional.Interface of GetWebsiteBeaconGroups) -

@return BeaconGroupsResult

func (*WebsiteAnalyzeApiService) GetBeacons

func (a *WebsiteAnalyzeApiService) GetBeacons(ctx _context.Context, localVarOptionals *GetBeaconsOpts) (BeaconResult, *_nethttp.Response, error)

GetBeacons Get all beacons

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param optional nil or *GetBeaconsOpts - Optional Parameters:
  • @param "GetWebsiteBeacons" (optional.Interface of GetWebsiteBeacons) -

@return BeaconResult

type WebsiteBeaconGroupsItem

type WebsiteBeaconGroupsItem struct {
	Name              string                 `json:"name"`
	EarliestTimestamp int64                  `json:"earliestTimestamp,omitempty"`
	Cursor            IngestionOffsetCursor  `json:"cursor"`
	Metrics           map[string][][]float64 `json:"metrics"`
}

WebsiteBeaconGroupsItem struct for WebsiteBeaconGroupsItem

type WebsiteBeaconTagGroup

type WebsiteBeaconTagGroup struct {
	GroupbyTag               string `json:"groupbyTag"`
	GroupbyTagSecondLevelKey string `json:"groupbyTagSecondLevelKey,omitempty"`
	GroupbyTagEntity         string `json:"groupbyTagEntity,omitempty"`
}

WebsiteBeaconTagGroup struct for WebsiteBeaconTagGroup

type WebsiteBeaconsItem

type WebsiteBeaconsItem struct {
	Beacon WebsiteMonitoringBeacon `json:"beacon"`
	Cursor IngestionOffsetCursor   `json:"cursor"`
}

WebsiteBeaconsItem struct for WebsiteBeaconsItem

type WebsiteCatalogApiService

type WebsiteCatalogApiService service

WebsiteCatalogApiService WebsiteCatalogApi service

func (*WebsiteCatalogApiService) GetWebsiteCatalogMetrics

GetWebsiteCatalogMetrics Metric catalog This endpoint retrieves all available metric definitions for website monitoring.

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return []WebsiteMonitoringMetricDescription

func (*WebsiteCatalogApiService) GetWebsiteCatalogTags

func (a *WebsiteCatalogApiService) GetWebsiteCatalogTags(ctx _context.Context) ([]Tag, *_nethttp.Response, error)

GetWebsiteCatalogTags Filter tag catalog This endpoint retrieves all available tags for your monitored system. These tags can be used to group metric results. &#x60;&#x60;&#x60; \&quot;group\&quot;: { \&quot;groupbyTag\&quot;: \&quot;beacon.page.name\&quot; } &#x60;&#x60;&#x60; These tags can be used to filter metric results. &#x60;&#x60;&#x60; \&quot;tagFilters\&quot;: [{ \&quot;name\&quot;: \&quot;beacon.website.name\&quot;, \&quot;operator\&quot;: \&quot;EQUALS\&quot;, \&quot;value\&quot;: \&quot;example\&quot; }] &#x60;&#x60;&#x60;

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return []Tag

type WebsiteConfigurationApiService

type WebsiteConfigurationApiService service

WebsiteConfigurationApiService WebsiteConfigurationApi service

func (*WebsiteConfigurationApiService) Delete1

Delete1 Remove website

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param websiteId

func (*WebsiteConfigurationApiService) Get

Get Get configured websites

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().

@return []Website

func (*WebsiteConfigurationApiService) Post

func (a *WebsiteConfigurationApiService) Post(ctx _context.Context, localVarOptionals *PostOpts) (Website, *_nethttp.Response, error)

Post Configure new website

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param optional nil or *PostOpts - Optional Parameters:
  • @param "Name" (optional.String) -

@return Website

func (*WebsiteConfigurationApiService) Rename

func (a *WebsiteConfigurationApiService) Rename(ctx _context.Context, websiteId string, localVarOptionals *RenameOpts) (Website, *_nethttp.Response, error)

Rename Rename website

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param websiteId
  • @param optional nil or *RenameOpts - Optional Parameters:
  • @param "Name" (optional.String) -

@return Website

type WebsiteMetricResult

type WebsiteMetricResult struct {
	Empty bool `json:"empty,omitempty"`
}

WebsiteMetricResult struct for WebsiteMetricResult

type WebsiteMetricsApiService

type WebsiteMetricsApiService service

WebsiteMetricsApiService WebsiteMetricsApi service

func (*WebsiteMetricsApiService) GetBeaconMetrics

func (a *WebsiteMetricsApiService) GetBeaconMetrics(ctx _context.Context, localVarOptionals *GetBeaconMetricsOpts) (WebsiteMetricResult, *_nethttp.Response, error)

GetBeaconMetrics Get beacon metrics

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param optional nil or *GetBeaconMetricsOpts - Optional Parameters:
  • @param "GetWebsiteMetrics" (optional.Interface of GetWebsiteMetrics) -

@return WebsiteMetricResult

func (*WebsiteMetricsApiService) GetPageLoad

GetPageLoad Get page load

  • @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  • @param id
  • @param timestamp

@return []WebsiteMonitoringBeacon

type WebsiteMonitoringBeacon

type WebsiteMonitoringBeacon struct {
	WebsiteId                    string            `json:"websiteId"`
	WebsiteLabel                 string            `json:"websiteLabel"`
	Page                         string            `json:"page,omitempty"`
	Phase                        string            `json:"phase,omitempty"`
	Timestamp                    int64             `json:"timestamp,omitempty"`
	ClockSkew                    int64             `json:"clockSkew,omitempty"`
	Duration                     int64             `json:"duration,omitempty"`
	BatchSize                    int64             `json:"batchSize,omitempty"`
	AccurateTimingsAvailable     bool              `json:"accurateTimingsAvailable,omitempty"`
	Deprecations                 []string          `json:"deprecations,omitempty"`
	PageLoadId                   string            `json:"pageLoadId"`
	SessionId                    string            `json:"sessionId,omitempty"`
	BeaconId                     string            `json:"beaconId"`
	BackendTraceId               string            `json:"backendTraceId,omitempty"`
	Type                         string            `json:"type"`
	CustomEventName              string            `json:"customEventName,omitempty"`
	Meta                         map[string]string `json:"meta,omitempty"`
	LocationUrl                  string            `json:"locationUrl"`
	LocationOrigin               string            `json:"locationOrigin"`
	LocationPath                 string            `json:"locationPath,omitempty"`
	ErrorCount                   int64             `json:"errorCount,omitempty"`
	ErrorMessage                 string            `json:"errorMessage,omitempty"`
	ErrorId                      string            `json:"errorId,omitempty"`
	ErrorType                    string            `json:"errorType,omitempty"`
	StackTrace                   string            `json:"stackTrace,omitempty"`
	StackTraceParsingStatus      int32             `json:"stackTraceParsingStatus,omitempty"`
	ParsedStackTrace             []StackTraceLine  `json:"parsedStackTrace,omitempty"`
	StackTraceReadability        int32             `json:"stackTraceReadability,omitempty"`
	ComponentStack               string            `json:"componentStack,omitempty"`
	UserIp                       string            `json:"userIp,omitempty"`
	UserId                       string            `json:"userId,omitempty"`
	UserName                     string            `json:"userName,omitempty"`
	UserEmail                    string            `json:"userEmail,omitempty"`
	UserLanguages                []string          `json:"userLanguages,omitempty"`
	DeviceType                   string            `json:"deviceType,omitempty"`
	ConnectionType               string            `json:"connectionType,omitempty"`
	BrowserName                  string            `json:"browserName,omitempty"`
	BrowserVersion               string            `json:"browserVersion,omitempty"`
	OsName                       string            `json:"osName,omitempty"`
	OsVersion                    string            `json:"osVersion,omitempty"`
	WindowHidden                 bool              `json:"windowHidden,omitempty"`
	WindowWidth                  int32             `json:"windowWidth,omitempty"`
	WindowHeight                 int32             `json:"windowHeight,omitempty"`
	Latitude                     float64           `json:"latitude,omitempty"`
	Longitude                    float64           `json:"longitude,omitempty"`
	AccuracyRadius               int64             `json:"accuracyRadius,omitempty"`
	City                         string            `json:"city,omitempty"`
	Subdivision                  string            `json:"subdivision,omitempty"`
	SubdivisionCode              string            `json:"subdivisionCode,omitempty"`
	Country                      string            `json:"country,omitempty"`
	CountryCode                  string            `json:"countryCode,omitempty"`
	Continent                    string            `json:"continent,omitempty"`
	ContinentCode                string            `json:"continentCode,omitempty"`
	HttpCallUrl                  string            `json:"httpCallUrl,omitempty"`
	HttpCallOrigin               string            `json:"httpCallOrigin,omitempty"`
	HttpCallPath                 string            `json:"httpCallPath,omitempty"`
	HttpCallMethod               string            `json:"httpCallMethod,omitempty"`
	HttpCallStatus               int32             `json:"httpCallStatus,omitempty"`
	HttpCallCorrelationAttempted bool              `json:"httpCallCorrelationAttempted,omitempty"`
	HttpCallAsynchronous         bool              `json:"httpCallAsynchronous,omitempty"`
	Initiator                    string            `json:"initiator,omitempty"`
	ResourceType                 string            `json:"resourceType,omitempty"`
	CacheInteraction             string            `json:"cacheInteraction,omitempty"`
	EncodedBodySize              int64             `json:"encodedBodySize,omitempty"`
	DecodedBodySize              int64             `json:"decodedBodySize,omitempty"`
	TransferSize                 int64             `json:"transferSize,omitempty"`
	UnloadTime                   int64             `json:"unloadTime,omitempty"`
	RedirectTime                 int64             `json:"redirectTime,omitempty"`
	AppCacheTime                 int64             `json:"appCacheTime,omitempty"`
	DnsTime                      int64             `json:"dnsTime,omitempty"`
	TcpTime                      int64             `json:"tcpTime,omitempty"`
	SslTime                      int64             `json:"sslTime,omitempty"`
	RequestTime                  int64             `json:"requestTime,omitempty"`
	ResponseTime                 int64             `json:"responseTime,omitempty"`
	ProcessingTime               int64             `json:"processingTime,omitempty"`
	OnLoadTime                   int64             `json:"onLoadTime,omitempty"`
	BackendTime                  int64             `json:"backendTime,omitempty"`
	FrontendTime                 int64             `json:"frontendTime,omitempty"`
	DomTime                      int64             `json:"domTime,omitempty"`
	ChildrenTime                 int64             `json:"childrenTime,omitempty"`
	FirstPaintTime               int64             `json:"firstPaintTime,omitempty"`
	FirstContentfulPaintTime     int64             `json:"firstContentfulPaintTime,omitempty"`
	CspBlockedUri                string            `json:"cspBlockedUri,omitempty"`
	CspEffectiveDirective        string            `json:"cspEffectiveDirective,omitempty"`
	CspOriginalPolicy            string            `json:"cspOriginalPolicy,omitempty"`
	CspDisposition               string            `json:"cspDisposition,omitempty"`
	CspSample                    string            `json:"cspSample,omitempty"`
	CspSourceFile                string            `json:"cspSourceFile,omitempty"`
	CspLineNumber                int64             `json:"cspLineNumber,omitempty"`
	CspColumnNumber              int64             `json:"cspColumnNumber,omitempty"`
}

WebsiteMonitoringBeacon struct for WebsiteMonitoringBeacon

type WebsiteMonitoringMetricDescription

type WebsiteMonitoringMetricDescription struct {
	MetricId     string   `json:"metricId,omitempty"`
	Label        string   `json:"label,omitempty"`
	Formatter    string   `json:"formatter,omitempty"`
	Description  string   `json:"description,omitempty"`
	Aggregations []string `json:"aggregations,omitempty"`
	BeaconTypes  []string `json:"beaconTypes,omitempty"`
}

WebsiteMonitoringMetricDescription struct for WebsiteMonitoringMetricDescription

type WebsiteMonitoringMetricsConfiguration

type WebsiteMonitoringMetricsConfiguration struct {
	Metric      string `json:"metric"`
	Granularity int32  `json:"granularity,omitempty"`
	Aggregation string `json:"aggregation"`
}

WebsiteMonitoringMetricsConfiguration struct for WebsiteMonitoringMetricsConfiguration

type WebsiteTimeThreshold

type WebsiteTimeThreshold struct {
	Type       string `json:"type"`
	TimeWindow int64  `json:"timeWindow,omitempty"`
}

WebsiteTimeThreshold struct for WebsiteTimeThreshold

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL