Documentation ¶
Overview ¶
Package entities provides a programmatic API for interacting with New Relic One entities. It can be used for a variety of operations, including:
- Searching and reading New Relic One entities
- Creating, reading, updating, and deleting New Relic One entity tags
Authentication ¶
You will need a valid Personal API key to communicate with the backend New Relic API that provides this functionality. See the API key documentation below for more information on how to locate this key:
https://docs.newrelic.com/docs/apis/get-started/intro-apis/types-new-relic-api-keys
Package entities provides a programmatic API for interacting with New Relic One entities.
Code generated by tutone: DO NOT EDIT
Code generated by tutone: DO NOT EDIT
Example (Entity) ¶
// Initialize the client configuration. A Personal API key is required to // communicate with the backend API. cfg := config.New() cfg.PersonalAPIKey = os.Getenv("NEW_RELIC_API_KEY") // Initialize the client. client := New(cfg) // Search the current account for entities by name and type. queryBuilder := EntitySearchQueryBuilder{ Name: "Example entity", Type: EntitySearchQueryBuilderTypeTypes.APPLICATION, } entitySearch, err := client.GetEntitySearch( EntitySearchOptions{}, "", queryBuilder, []EntitySearchSortCriteria{}, ) if err != nil { log.Fatal("error searching entities:", err) } // Get several entities by GUID. var entityGuids []common.EntityGUID for _, x := range entitySearch.Results.Entities { e := x.(*GenericEntityOutline) entityGuids = append(entityGuids, e.GUID) } entities, err := client.GetEntities(entityGuids) if err != nil { log.Fatal("error getting entities:", err) } fmt.Printf("GetEntities returned %d entities", len((*entities))) // Get an entity by GUID. entity, err := client.GetEntity(entityGuids[0]) if err != nil { log.Fatal("error getting entity:", err) } // Output the entity's URL. fmt.Printf("Entity name: %s, URL: %s\n", (*entity).(*GenericEntity).Name, (*entity).(*GenericEntity).Permalink)
Output:
Example (Tags) ¶
// Initialize the client configuration. A Personal API key is required to // communicate with the backend API. cfg := config.New() cfg.PersonalAPIKey = os.Getenv("NEW_RELIC_API_KEY") // Initialize the client. client := New(cfg) // Search the current account for entities by tag. queryBuilder := EntitySearchQueryBuilder{ Tags: []EntitySearchQueryBuilderTag{ { Key: "exampleKey", Value: "exampleValue", }, }, } entities, err := client.GetEntitySearch( EntitySearchOptions{}, "", queryBuilder, []EntitySearchSortCriteria{}, ) if err != nil { log.Fatal("error searching entities:", err) } // List the tags associated with a given entity. This example assumes that // at least one entity has been returned by the search endpoint, but in // practice it is possible that an empty slice is returned. entityGUID := entities.Results.Entities[0].(*GenericEntityOutline).GUID tags, err := client.ListTags(entityGUID) if err != nil { log.Fatal("error listing tags:", err) } // Output all tags and their values. for _, t := range tags { fmt.Printf("Key: %s, Values: %v\n", t.Key, t.Values) } // Add tags to a given entity. addTags := []TaggingTagInput{ { Key: "environment", Values: []string{ "production", }, }, { Key: "teams", Values: []string{ "ops", "product-development", }, }, } res, err := client.TaggingAddTagsToEntity(entityGUID, addTags) if err != nil || len(res.Errors) > 0 { log.Fatal("error adding tags to entity:", err) } // Delete tag values from a given entity. // This example deletes the "ops" value from the "teams" tag. tagValuesToDelete := []TaggingTagValueInput{ { Key: "teams", Value: "ops", }, } res, err = client.TaggingDeleteTagValuesFromEntity(entityGUID, tagValuesToDelete) if err != nil { log.Fatal("error deleting tag values from entity:", err) } if res != nil { for _, v := range res.Errors { log.Print("error deleting tags from entity: ", v) } } // Delete tags from a given entity. // This example delete the "teams" tag and all its values from the entity. res, err = client.TaggingDeleteTagFromEntity(entityGUID, []string{"teams"}) if err != nil { log.Fatal("error deleting tags from entity:", err) } if res != nil { for _, v := range res.Errors { log.Print("error deleting tags from entity: ", v) } } // Replace all existing tags for a given entity with the given set. datacenterTag := []TaggingTagInput{ { Key: "datacenter", Values: []string{ "east", }, }, } res, err = client.TaggingReplaceTagsOnEntity(entityGUID, datacenterTag) if err != nil { log.Fatal("error replacing tags for entity:", err) } if res != nil { for _, v := range res.Errors { log.Print("error replacing tags for entity: ", v) } }
Output:
Index ¶
- Constants
- Variables
- type Actor
- type AgentEnvironmentApplicationInstance
- type AgentEnvironmentApplicationInstanceDetails
- type AgentEnvironmentApplicationLoadedModule
- type AgentEnvironmentAttribute
- type AgentEnvironmentFilter
- type AgentEnvironmentLoadedModuleAttribute
- type AlertableEntity
- type AlertableEntityInterface
- type AlertableEntityOutline
- type AlertableEntityOutlineInterface
- type ApmApplicationDeployment
- type ApmApplicationEntity
- func (x ApmApplicationEntity) GetAccount() accounts.AccountOutline
- func (x ApmApplicationEntity) GetAccountID() int
- func (x ApmApplicationEntity) GetAlertSeverity() EntityAlertSeverity
- func (x ApmApplicationEntity) GetAlertViolations() []EntityAlertViolation
- func (x ApmApplicationEntity) GetApmBrowserSummary() ApmBrowserApplicationSummaryData
- func (x ApmApplicationEntity) GetApmSummary() ApmApplicationSummaryData
- func (x ApmApplicationEntity) GetApplicationID() int
- func (x ApmApplicationEntity) GetApplicationInstances() []AgentEnvironmentApplicationInstance
- func (x ApmApplicationEntity) GetDeployments() []ApmApplicationDeployment
- func (x ApmApplicationEntity) GetDomain() string
- func (x ApmApplicationEntity) GetEntityType() EntityType
- func (x ApmApplicationEntity) GetGUID() common.EntityGUID
- func (x ApmApplicationEntity) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
- func (x ApmApplicationEntity) GetGoldenTags() EntityGoldenContextScopedGoldenTags
- func (x ApmApplicationEntity) GetIndexedAt() *nrtime.EpochMilliseconds
- func (x ApmApplicationEntity) GetLanguage() string
- func (x ApmApplicationEntity) GetMetricNormalizationRule() MetricNormalizationRule
- func (x ApmApplicationEntity) GetMetricNormalizationRules() []MetricNormalizationRule
- func (x ApmApplicationEntity) GetNRDBQuery() nrdb.NRDBResultContainer
- func (x ApmApplicationEntity) GetName() string
- func (x ApmApplicationEntity) GetNerdStorage() NerdStorageEntityScope
- func (x ApmApplicationEntity) GetPermalink() string
- func (x ApmApplicationEntity) GetRecentAlertViolations() []EntityAlertViolation
- func (x ApmApplicationEntity) GetRelatedEntities() EntityRelationshipRelatedEntitiesResult
- func (x ApmApplicationEntity) GetRelationships() []EntityRelationship
- func (x ApmApplicationEntity) GetReporting() bool
- func (x ApmApplicationEntity) GetRunningAgentVersions() ApmApplicationRunningAgentVersions
- func (x ApmApplicationEntity) GetServiceLevel() ServiceLevelDefinition
- func (x ApmApplicationEntity) GetSettings() ApmApplicationSettings
- func (x ApmApplicationEntity) GetTags() []EntityTag
- func (x ApmApplicationEntity) GetTagsWithMetadata() []EntityTagWithMetadata
- func (x ApmApplicationEntity) GetType() string
- func (x *ApmApplicationEntity) ImplementsAlertableEntity()
- func (x *ApmApplicationEntity) ImplementsApmBrowserApplicationEntity()
- func (x *ApmApplicationEntity) ImplementsEntity()
- type ApmApplicationEntityOutline
- func (x ApmApplicationEntityOutline) GetAccount() accounts.AccountOutline
- func (x ApmApplicationEntityOutline) GetAccountID() int
- func (x ApmApplicationEntityOutline) GetAlertSeverity() EntityAlertSeverity
- func (x ApmApplicationEntityOutline) GetApmBrowserSummary() ApmBrowserApplicationSummaryData
- func (x ApmApplicationEntityOutline) GetApmSummary() ApmApplicationSummaryData
- func (x ApmApplicationEntityOutline) GetApplicationID() int
- func (x ApmApplicationEntityOutline) GetDomain() string
- func (x ApmApplicationEntityOutline) GetEntityType() EntityType
- func (x ApmApplicationEntityOutline) GetGUID() common.EntityGUID
- func (x ApmApplicationEntityOutline) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
- func (x ApmApplicationEntityOutline) GetGoldenTags() EntityGoldenContextScopedGoldenTags
- func (x ApmApplicationEntityOutline) GetIndexedAt() *nrtime.EpochMilliseconds
- func (x ApmApplicationEntityOutline) GetLanguage() string
- func (x ApmApplicationEntityOutline) GetName() string
- func (x ApmApplicationEntityOutline) GetPermalink() string
- func (x ApmApplicationEntityOutline) GetReporting() bool
- func (x ApmApplicationEntityOutline) GetRunningAgentVersions() ApmApplicationRunningAgentVersions
- func (x ApmApplicationEntityOutline) GetServiceLevel() ServiceLevelDefinition
- func (x ApmApplicationEntityOutline) GetSettings() ApmApplicationSettings
- func (x ApmApplicationEntityOutline) GetTags() []EntityTag
- func (x ApmApplicationEntityOutline) GetType() string
- func (x *ApmApplicationEntityOutline) ImplementsAlertableEntityOutline()
- func (x *ApmApplicationEntityOutline) ImplementsApmBrowserApplicationEntityOutline()
- func (x ApmApplicationEntityOutline) ImplementsEntity()
- func (x *ApmApplicationEntityOutline) ImplementsEntityOutline()
- type ApmApplicationRunningAgentVersions
- type ApmApplicationSettings
- type ApmApplicationSummaryData
- type ApmBrowserApplicationEntity
- type ApmBrowserApplicationEntityInterface
- type ApmBrowserApplicationEntityOutline
- type ApmBrowserApplicationEntityOutlineInterface
- type ApmBrowserApplicationSummaryData
- type ApmDatabaseInstanceEntity
- func (x ApmDatabaseInstanceEntity) GetAccount() accounts.AccountOutline
- func (x ApmDatabaseInstanceEntity) GetAccountID() int
- func (x ApmDatabaseInstanceEntity) GetAlertSeverity() EntityAlertSeverity
- func (x ApmDatabaseInstanceEntity) GetAlertViolations() []EntityAlertViolation
- func (x ApmDatabaseInstanceEntity) GetDomain() string
- func (x ApmDatabaseInstanceEntity) GetEntityType() EntityType
- func (x ApmDatabaseInstanceEntity) GetGUID() common.EntityGUID
- func (x ApmDatabaseInstanceEntity) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
- func (x ApmDatabaseInstanceEntity) GetGoldenTags() EntityGoldenContextScopedGoldenTags
- func (x ApmDatabaseInstanceEntity) GetHost() string
- func (x ApmDatabaseInstanceEntity) GetIndexedAt() *nrtime.EpochMilliseconds
- func (x ApmDatabaseInstanceEntity) GetNRDBQuery() nrdb.NRDBResultContainer
- func (x ApmDatabaseInstanceEntity) GetName() string
- func (x ApmDatabaseInstanceEntity) GetNerdStorage() NerdStorageEntityScope
- func (x ApmDatabaseInstanceEntity) GetPermalink() string
- func (x ApmDatabaseInstanceEntity) GetPortOrPath() string
- func (x ApmDatabaseInstanceEntity) GetRecentAlertViolations() []EntityAlertViolation
- func (x ApmDatabaseInstanceEntity) GetRelatedEntities() EntityRelationshipRelatedEntitiesResult
- func (x ApmDatabaseInstanceEntity) GetRelationships() []EntityRelationship
- func (x ApmDatabaseInstanceEntity) GetReporting() bool
- func (x ApmDatabaseInstanceEntity) GetServiceLevel() ServiceLevelDefinition
- func (x ApmDatabaseInstanceEntity) GetTags() []EntityTag
- func (x ApmDatabaseInstanceEntity) GetTagsWithMetadata() []EntityTagWithMetadata
- func (x ApmDatabaseInstanceEntity) GetType() string
- func (x ApmDatabaseInstanceEntity) GetVendor() string
- func (x *ApmDatabaseInstanceEntity) ImplementsAlertableEntity()
- func (x *ApmDatabaseInstanceEntity) ImplementsEntity()
- type ApmDatabaseInstanceEntityOutline
- func (x ApmDatabaseInstanceEntityOutline) GetAccount() accounts.AccountOutline
- func (x ApmDatabaseInstanceEntityOutline) GetAccountID() int
- func (x ApmDatabaseInstanceEntityOutline) GetAlertSeverity() EntityAlertSeverity
- func (x ApmDatabaseInstanceEntityOutline) GetDomain() string
- func (x ApmDatabaseInstanceEntityOutline) GetEntityType() EntityType
- func (x ApmDatabaseInstanceEntityOutline) GetGUID() common.EntityGUID
- func (x ApmDatabaseInstanceEntityOutline) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
- func (x ApmDatabaseInstanceEntityOutline) GetGoldenTags() EntityGoldenContextScopedGoldenTags
- func (x ApmDatabaseInstanceEntityOutline) GetHost() string
- func (x ApmDatabaseInstanceEntityOutline) GetIndexedAt() *nrtime.EpochMilliseconds
- func (x ApmDatabaseInstanceEntityOutline) GetName() string
- func (x ApmDatabaseInstanceEntityOutline) GetPermalink() string
- func (x ApmDatabaseInstanceEntityOutline) GetPortOrPath() string
- func (x ApmDatabaseInstanceEntityOutline) GetReporting() bool
- func (x ApmDatabaseInstanceEntityOutline) GetServiceLevel() ServiceLevelDefinition
- func (x ApmDatabaseInstanceEntityOutline) GetTags() []EntityTag
- func (x ApmDatabaseInstanceEntityOutline) GetType() string
- func (x ApmDatabaseInstanceEntityOutline) GetVendor() string
- func (x *ApmDatabaseInstanceEntityOutline) ImplementsAlertableEntityOutline()
- func (x ApmDatabaseInstanceEntityOutline) ImplementsEntity()
- func (x *ApmDatabaseInstanceEntityOutline) ImplementsEntityOutline()
- type ApmExternalServiceEntity
- func (x ApmExternalServiceEntity) GetAccount() accounts.AccountOutline
- func (x ApmExternalServiceEntity) GetAccountID() int
- func (x ApmExternalServiceEntity) GetAlertSeverity() EntityAlertSeverity
- func (x ApmExternalServiceEntity) GetAlertViolations() []EntityAlertViolation
- func (x ApmExternalServiceEntity) GetDomain() string
- func (x ApmExternalServiceEntity) GetEntityType() EntityType
- func (x ApmExternalServiceEntity) GetExternalSummary() ApmExternalServiceSummaryData
- func (x ApmExternalServiceEntity) GetGUID() common.EntityGUID
- func (x ApmExternalServiceEntity) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
- func (x ApmExternalServiceEntity) GetGoldenTags() EntityGoldenContextScopedGoldenTags
- func (x ApmExternalServiceEntity) GetHost() string
- func (x ApmExternalServiceEntity) GetIndexedAt() *nrtime.EpochMilliseconds
- func (x ApmExternalServiceEntity) GetNRDBQuery() nrdb.NRDBResultContainer
- func (x ApmExternalServiceEntity) GetName() string
- func (x ApmExternalServiceEntity) GetNerdStorage() NerdStorageEntityScope
- func (x ApmExternalServiceEntity) GetPermalink() string
- func (x ApmExternalServiceEntity) GetRecentAlertViolations() []EntityAlertViolation
- func (x ApmExternalServiceEntity) GetRelatedEntities() EntityRelationshipRelatedEntitiesResult
- func (x ApmExternalServiceEntity) GetRelationships() []EntityRelationship
- func (x ApmExternalServiceEntity) GetReporting() bool
- func (x ApmExternalServiceEntity) GetServiceLevel() ServiceLevelDefinition
- func (x ApmExternalServiceEntity) GetTags() []EntityTag
- func (x ApmExternalServiceEntity) GetTagsWithMetadata() []EntityTagWithMetadata
- func (x ApmExternalServiceEntity) GetType() string
- func (x *ApmExternalServiceEntity) ImplementsAlertableEntity()
- func (x *ApmExternalServiceEntity) ImplementsEntity()
- type ApmExternalServiceEntityOutline
- func (x ApmExternalServiceEntityOutline) GetAccount() accounts.AccountOutline
- func (x ApmExternalServiceEntityOutline) GetAccountID() int
- func (x ApmExternalServiceEntityOutline) GetAlertSeverity() EntityAlertSeverity
- func (x ApmExternalServiceEntityOutline) GetDomain() string
- func (x ApmExternalServiceEntityOutline) GetEntityType() EntityType
- func (x ApmExternalServiceEntityOutline) GetExternalSummary() ApmExternalServiceSummaryData
- func (x ApmExternalServiceEntityOutline) GetGUID() common.EntityGUID
- func (x ApmExternalServiceEntityOutline) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
- func (x ApmExternalServiceEntityOutline) GetGoldenTags() EntityGoldenContextScopedGoldenTags
- func (x ApmExternalServiceEntityOutline) GetHost() string
- func (x ApmExternalServiceEntityOutline) GetIndexedAt() *nrtime.EpochMilliseconds
- func (x ApmExternalServiceEntityOutline) GetName() string
- func (x ApmExternalServiceEntityOutline) GetPermalink() string
- func (x ApmExternalServiceEntityOutline) GetReporting() bool
- func (x ApmExternalServiceEntityOutline) GetServiceLevel() ServiceLevelDefinition
- func (x ApmExternalServiceEntityOutline) GetTags() []EntityTag
- func (x ApmExternalServiceEntityOutline) GetType() string
- func (x *ApmExternalServiceEntityOutline) ImplementsAlertableEntityOutline()
- func (x ApmExternalServiceEntityOutline) ImplementsEntity()
- func (x *ApmExternalServiceEntityOutline) ImplementsEntityOutline()
- type ApmExternalServiceSummaryData
- type AttributeMap
- type BrowserAgentInstallType
- type BrowserApplicationEntity
- func (x BrowserApplicationEntity) GetAccount() accounts.AccountOutline
- func (x BrowserApplicationEntity) GetAccountID() int
- func (x BrowserApplicationEntity) GetAgentInstallType() BrowserAgentInstallType
- func (x BrowserApplicationEntity) GetAlertSeverity() EntityAlertSeverity
- func (x BrowserApplicationEntity) GetAlertViolations() []EntityAlertViolation
- func (x BrowserApplicationEntity) GetApplicationID() int
- func (x BrowserApplicationEntity) GetBrowserSummary() BrowserApplicationSummaryData
- func (x BrowserApplicationEntity) GetDomain() string
- func (x BrowserApplicationEntity) GetEntityType() EntityType
- func (x BrowserApplicationEntity) GetGUID() common.EntityGUID
- func (x BrowserApplicationEntity) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
- func (x BrowserApplicationEntity) GetGoldenTags() EntityGoldenContextScopedGoldenTags
- func (x BrowserApplicationEntity) GetIndexedAt() *nrtime.EpochMilliseconds
- func (x BrowserApplicationEntity) GetMetricNormalizationRule() MetricNormalizationRule
- func (x BrowserApplicationEntity) GetMetricNormalizationRules() []MetricNormalizationRule
- func (x BrowserApplicationEntity) GetNRDBQuery() nrdb.NRDBResultContainer
- func (x BrowserApplicationEntity) GetName() string
- func (x BrowserApplicationEntity) GetNerdStorage() NerdStorageEntityScope
- func (x BrowserApplicationEntity) GetPermalink() string
- func (x BrowserApplicationEntity) GetRecentAlertViolations() []EntityAlertViolation
- func (x BrowserApplicationEntity) GetRelatedEntities() EntityRelationshipRelatedEntitiesResult
- func (x BrowserApplicationEntity) GetRelationships() []EntityRelationship
- func (x BrowserApplicationEntity) GetReporting() bool
- func (x BrowserApplicationEntity) GetRunningAgentVersions() BrowserApplicationRunningAgentVersions
- func (x BrowserApplicationEntity) GetServiceLevel() ServiceLevelDefinition
- func (x BrowserApplicationEntity) GetServingApmApplicationID() int
- func (x BrowserApplicationEntity) GetSettings() BrowserApplicationSettings
- func (x BrowserApplicationEntity) GetTags() []EntityTag
- func (x BrowserApplicationEntity) GetTagsWithMetadata() []EntityTagWithMetadata
- func (x BrowserApplicationEntity) GetType() string
- func (x *BrowserApplicationEntity) ImplementsAlertableEntity()
- func (x *BrowserApplicationEntity) ImplementsEntity()
- type BrowserApplicationEntityOutline
- func (x BrowserApplicationEntityOutline) GetAccount() accounts.AccountOutline
- func (x BrowserApplicationEntityOutline) GetAccountID() int
- func (x BrowserApplicationEntityOutline) GetAgentInstallType() BrowserAgentInstallType
- func (x BrowserApplicationEntityOutline) GetAlertSeverity() EntityAlertSeverity
- func (x BrowserApplicationEntityOutline) GetApplicationID() int
- func (x BrowserApplicationEntityOutline) GetBrowserSummary() BrowserApplicationSummaryData
- func (x BrowserApplicationEntityOutline) GetDomain() string
- func (x BrowserApplicationEntityOutline) GetEntityType() EntityType
- func (x BrowserApplicationEntityOutline) GetGUID() common.EntityGUID
- func (x BrowserApplicationEntityOutline) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
- func (x BrowserApplicationEntityOutline) GetGoldenTags() EntityGoldenContextScopedGoldenTags
- func (x BrowserApplicationEntityOutline) GetIndexedAt() *nrtime.EpochMilliseconds
- func (x BrowserApplicationEntityOutline) GetName() string
- func (x BrowserApplicationEntityOutline) GetPermalink() string
- func (x BrowserApplicationEntityOutline) GetReporting() bool
- func (x BrowserApplicationEntityOutline) GetRunningAgentVersions() BrowserApplicationRunningAgentVersions
- func (x BrowserApplicationEntityOutline) GetServiceLevel() ServiceLevelDefinition
- func (x BrowserApplicationEntityOutline) GetServingApmApplicationID() int
- func (x BrowserApplicationEntityOutline) GetSettings() BrowserApplicationSettings
- func (x BrowserApplicationEntityOutline) GetTags() []EntityTag
- func (x BrowserApplicationEntityOutline) GetType() string
- func (x *BrowserApplicationEntityOutline) ImplementsAlertableEntityOutline()
- func (x BrowserApplicationEntityOutline) ImplementsEntity()
- func (x *BrowserApplicationEntityOutline) ImplementsEntityOutline()
- type BrowserApplicationRunningAgentVersions
- type BrowserApplicationSettings
- type BrowserApplicationSummaryData
- type CollectionEntity
- type CollectionEntityInterface
- type DashboardAlertSeverity
- type DashboardAreaWidgetConfiguration
- type DashboardBarWidgetConfiguration
- type DashboardBillboardWidgetConfiguration
- type DashboardBillboardWidgetThreshold
- type DashboardEntity
- func (x DashboardEntity) GetAccount() accounts.AccountOutline
- func (x DashboardEntity) GetAccountID() int
- func (x DashboardEntity) GetAlertSeverity() EntityAlertSeverity
- func (x DashboardEntity) GetAlertViolations() []EntityAlertViolation
- func (x DashboardEntity) GetCreatedAt() nrtime.DateTime
- func (x DashboardEntity) GetDashboardParentGUID() common.EntityGUID
- func (x DashboardEntity) GetDescription() string
- func (x DashboardEntity) GetDomain() string
- func (x DashboardEntity) GetEntityType() EntityType
- func (x DashboardEntity) GetGUID() common.EntityGUID
- func (x DashboardEntity) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
- func (x DashboardEntity) GetGoldenTags() EntityGoldenContextScopedGoldenTags
- func (x DashboardEntity) GetIndexedAt() *nrtime.EpochMilliseconds
- func (x DashboardEntity) GetNRDBQuery() nrdb.NRDBResultContainer
- func (x DashboardEntity) GetName() string
- func (x DashboardEntity) GetNerdStorage() NerdStorageEntityScope
- func (x DashboardEntity) GetOwner() DashboardOwnerInfo
- func (x DashboardEntity) GetPages() []DashboardPage
- func (x DashboardEntity) GetPermalink() string
- func (x DashboardEntity) GetPermissions() DashboardPermissions
- func (x DashboardEntity) GetRecentAlertViolations() []EntityAlertViolation
- func (x DashboardEntity) GetRelatedEntities() EntityRelationshipRelatedEntitiesResult
- func (x DashboardEntity) GetRelationships() []EntityRelationship
- func (x DashboardEntity) GetReporting() bool
- func (x DashboardEntity) GetServiceLevel() ServiceLevelDefinition
- func (x DashboardEntity) GetTags() []EntityTag
- func (x DashboardEntity) GetTagsWithMetadata() []EntityTagWithMetadata
- func (x DashboardEntity) GetType() string
- func (x DashboardEntity) GetUpdatedAt() nrtime.DateTime
- func (x *DashboardEntity) ImplementsAlertableEntity()
- func (x *DashboardEntity) ImplementsEntity()
- type DashboardEntityOutline
- func (x DashboardEntityOutline) GetAccount() accounts.AccountOutline
- func (x DashboardEntityOutline) GetAccountID() int
- func (x DashboardEntityOutline) GetAlertSeverity() EntityAlertSeverity
- func (x DashboardEntityOutline) GetCreatedAt() nrtime.DateTime
- func (x DashboardEntityOutline) GetDashboardParentGUID() common.EntityGUID
- func (x DashboardEntityOutline) GetDomain() string
- func (x DashboardEntityOutline) GetEntityType() EntityType
- func (x DashboardEntityOutline) GetGUID() common.EntityGUID
- func (x DashboardEntityOutline) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
- func (x DashboardEntityOutline) GetGoldenTags() EntityGoldenContextScopedGoldenTags
- func (x DashboardEntityOutline) GetIndexedAt() *nrtime.EpochMilliseconds
- func (x DashboardEntityOutline) GetName() string
- func (x DashboardEntityOutline) GetOwner() DashboardEntityOwnerInfo
- func (x DashboardEntityOutline) GetPermalink() string
- func (x DashboardEntityOutline) GetPermissions() DashboardEntityPermissions
- func (x DashboardEntityOutline) GetReporting() bool
- func (x DashboardEntityOutline) GetServiceLevel() ServiceLevelDefinition
- func (x DashboardEntityOutline) GetTags() []EntityTag
- func (x DashboardEntityOutline) GetType() string
- func (x DashboardEntityOutline) GetUpdatedAt() nrtime.DateTime
- func (x *DashboardEntityOutline) ImplementsAlertableEntityOutline()
- func (x DashboardEntityOutline) ImplementsEntity()
- func (x *DashboardEntityOutline) ImplementsEntityOutline()
- type DashboardEntityOwnerInfo
- type DashboardEntityPermissions
- type DashboardLineWidgetConfiguration
- type DashboardMarkdownWidgetConfiguration
- type DashboardOwnerInfo
- type DashboardPage
- type DashboardPermissions
- type DashboardPieWidgetConfiguration
- type DashboardTableWidgetConfiguration
- type DashboardWidget
- type DashboardWidgetConfiguration
- type DashboardWidgetLayout
- type DashboardWidgetNRQLQuery
- type DashboardWidgetRawConfiguration
- type DashboardWidgetVisualization
- type DomainTypeInput
- type Entities
- func (e *Entities) AddTags(guid common.EntityGUID, tags []Tag) errordeprecated
- func (e *Entities) AddTagsWithContext(ctx context.Context, guid common.EntityGUID, tags []Tag) errordeprecated
- func (e *Entities) DeleteTagValues(guid common.EntityGUID, tagValues []TagValue) errordeprecated
- func (e *Entities) DeleteTagValuesWithContext(ctx context.Context, guid common.EntityGUID, tagValues []TagValue) errordeprecated
- func (e *Entities) DeleteTags(guid common.EntityGUID, tagKeys []string) errordeprecated
- func (e *Entities) DeleteTagsWithContext(ctx context.Context, guid common.EntityGUID, tagKeys []string) errordeprecated
- func (a *Entities) GetEntities(gUIDs []common.EntityGUID) (*[]EntityInterface, error)
- func (a *Entities) GetEntitiesWithContext(ctx context.Context, gUIDs []common.EntityGUID) (*[]EntityInterface, error)
- func (a *Entities) GetEntity(gUID common.EntityGUID) (*EntityInterface, error)
- func (a *Entities) GetEntitySearch(options EntitySearchOptions, query string, ...) (*EntitySearch, error)
- func (a *Entities) GetEntitySearchWithContext(ctx context.Context, options EntitySearchOptions, query string, ...) (*EntitySearch, error)
- func (a *Entities) GetEntityWithContext(ctx context.Context, gUID common.EntityGUID) (*EntityInterface, error)
- func (e *Entities) GetTagsForEntity(guid common.EntityGUID) ([]*EntityTag, error)
- func (e *Entities) GetTagsForEntityMutable(guid common.EntityGUID) ([]*EntityTag, error)
- func (e *Entities) GetTagsForEntityWithContext(ctx context.Context, guid common.EntityGUID) ([]*EntityTag, error)
- func (e *Entities) GetTagsForEntityWithContextMutable(ctx context.Context, guid common.EntityGUID) ([]*EntityTag, error)
- func (e *Entities) ListAllTags(guid common.EntityGUID) ([]*Tag, error)deprecated
- func (e *Entities) ListAllTagsWithContext(ctx context.Context, guid common.EntityGUID) ([]*Tag, error)deprecated
- func (e *Entities) ListTags(guid common.EntityGUID) ([]*Tag, error)deprecated
- func (e *Entities) ListTagsWithContext(ctx context.Context, guid common.EntityGUID) ([]*Tag, error)deprecated
- func (e *Entities) ReplaceTags(guid common.EntityGUID, tags []Tag) errordeprecated
- func (e *Entities) ReplaceTagsWithContext(ctx context.Context, guid common.EntityGUID, tags []Tag) errordeprecated
- func (a *Entities) TaggingAddTagsToEntity(gUID common.EntityGUID, tags []TaggingTagInput) (*TaggingMutationResult, error)
- func (a *Entities) TaggingAddTagsToEntityWithContext(ctx context.Context, gUID common.EntityGUID, tags []TaggingTagInput) (*TaggingMutationResult, error)
- func (a *Entities) TaggingDeleteTagFromEntity(gUID common.EntityGUID, tagKeys []string) (*TaggingMutationResult, error)
- func (a *Entities) TaggingDeleteTagFromEntityWithContext(ctx context.Context, gUID common.EntityGUID, tagKeys []string) (*TaggingMutationResult, error)
- func (a *Entities) TaggingDeleteTagValuesFromEntity(gUID common.EntityGUID, tagValues []TaggingTagValueInput) (*TaggingMutationResult, error)
- func (a *Entities) TaggingDeleteTagValuesFromEntityWithContext(ctx context.Context, gUID common.EntityGUID, tagValues []TaggingTagValueInput) (*TaggingMutationResult, error)
- func (a *Entities) TaggingReplaceTagsOnEntity(gUID common.EntityGUID, tags []TaggingTagInput) (*TaggingMutationResult, error)
- func (a *Entities) TaggingReplaceTagsOnEntityWithContext(ctx context.Context, gUID common.EntityGUID, tags []TaggingTagInput) (*TaggingMutationResult, error)
- type Entity
- type EntityAlertSeverity
- type EntityAlertViolation
- type EntityCollection
- type EntityCollectionDefinition
- type EntityCollectionScopeAccounts
- type EntityCollectionType
- type EntityGoldenContext
- type EntityGoldenContextInput
- type EntityGoldenContextScopedGoldenMetrics
- type EntityGoldenContextScopedGoldenTags
- type EntityGoldenEventObjectId
- type EntityGoldenMetric
- type EntityGoldenMetricDefinition
- type EntityGoldenNRQLTimeWindowInput
- type EntityGoldenTag
- type EntityInfrastructureIntegrationType
- type EntityInterface
- type EntityOutline
- type EntityOutlineInterface
- type EntityRelationship
- type EntityRelationshipDetectedEdge
- type EntityRelationshipEdge
- type EntityRelationshipEdgeDirection
- type EntityRelationshipEdgeFilter
- type EntityRelationshipEdgeInterface
- type EntityRelationshipEdgeType
- type EntityRelationshipEdgeTypeFilter
- type EntityRelationshipEntityDomainTypeFilter
- type EntityRelationshipFilter
- type EntityRelationshipNode
- type EntityRelationshipRelatedEntitiesResult
- type EntityRelationshipType
- type EntityRelationshipUserDefinedEdge
- type EntityRelationshipVertex
- type EntitySearch
- type EntitySearchCounts
- type EntitySearchCountsFacet
- type EntitySearchOptions
- type EntitySearchQueryBuilder
- type EntitySearchQueryBuilderDomain
- type EntitySearchQueryBuilderTag
- type EntitySearchQueryBuilderType
- type EntitySearchResult
- type EntitySearchSortCriteria
- type EntitySearchTypes
- type EntityTag
- type EntityTagValueWithMetadata
- type EntityTagWithMetadata
- type EntityType
- type ExternalEntity
- func (x ExternalEntity) GetAccount() accounts.AccountOutline
- func (x ExternalEntity) GetAccountID() int
- func (x ExternalEntity) GetAlertSeverity() EntityAlertSeverity
- func (x ExternalEntity) GetAlertViolations() []EntityAlertViolation
- func (x ExternalEntity) GetDomain() string
- func (x ExternalEntity) GetEntityType() EntityType
- func (x ExternalEntity) GetGUID() common.EntityGUID
- func (x ExternalEntity) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
- func (x ExternalEntity) GetGoldenTags() EntityGoldenContextScopedGoldenTags
- func (x ExternalEntity) GetIndexedAt() *nrtime.EpochMilliseconds
- func (x ExternalEntity) GetNRDBQuery() nrdb.NRDBResultContainer
- func (x ExternalEntity) GetName() string
- func (x ExternalEntity) GetNerdStorage() NerdStorageEntityScope
- func (x ExternalEntity) GetPermalink() string
- func (x ExternalEntity) GetRecentAlertViolations() []EntityAlertViolation
- func (x ExternalEntity) GetRelatedEntities() EntityRelationshipRelatedEntitiesResult
- func (x ExternalEntity) GetRelationships() []EntityRelationship
- func (x ExternalEntity) GetReporting() bool
- func (x ExternalEntity) GetServiceLevel() ServiceLevelDefinition
- func (x ExternalEntity) GetTags() []EntityTag
- func (x ExternalEntity) GetTagsWithMetadata() []EntityTagWithMetadata
- func (x ExternalEntity) GetType() string
- func (x *ExternalEntity) ImplementsAlertableEntity()
- func (x *ExternalEntity) ImplementsEntity()
- type ExternalEntityOutline
- func (x ExternalEntityOutline) GetAccount() accounts.AccountOutline
- func (x ExternalEntityOutline) GetAccountID() int
- func (x ExternalEntityOutline) GetAlertSeverity() EntityAlertSeverity
- func (x ExternalEntityOutline) GetDomain() string
- func (x ExternalEntityOutline) GetEntityType() EntityType
- func (x ExternalEntityOutline) GetGUID() common.EntityGUID
- func (x ExternalEntityOutline) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
- func (x ExternalEntityOutline) GetGoldenTags() EntityGoldenContextScopedGoldenTags
- func (x ExternalEntityOutline) GetIndexedAt() *nrtime.EpochMilliseconds
- func (x ExternalEntityOutline) GetName() string
- func (x ExternalEntityOutline) GetPermalink() string
- func (x ExternalEntityOutline) GetReporting() bool
- func (x ExternalEntityOutline) GetServiceLevel() ServiceLevelDefinition
- func (x ExternalEntityOutline) GetTags() []EntityTag
- func (x ExternalEntityOutline) GetType() string
- func (x *ExternalEntityOutline) ImplementsAlertableEntityOutline()
- func (x *ExternalEntityOutline) ImplementsEntityOutline()
- type Float
- type GenericEntity
- func (x GenericEntity) GetAccount() accounts.AccountOutline
- func (x GenericEntity) GetAccountID() int
- func (x GenericEntity) GetAlertSeverity() EntityAlertSeverity
- func (x GenericEntity) GetAlertViolations() []EntityAlertViolation
- func (x GenericEntity) GetDomain() string
- func (x GenericEntity) GetEntityType() EntityType
- func (x GenericEntity) GetGUID() common.EntityGUID
- func (x GenericEntity) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
- func (x GenericEntity) GetGoldenTags() EntityGoldenContextScopedGoldenTags
- func (x GenericEntity) GetIndexedAt() *nrtime.EpochMilliseconds
- func (x GenericEntity) GetNRDBQuery() nrdb.NRDBResultContainer
- func (x GenericEntity) GetName() string
- func (x GenericEntity) GetNerdStorage() NerdStorageEntityScope
- func (x GenericEntity) GetPermalink() string
- func (x GenericEntity) GetRecentAlertViolations() []EntityAlertViolation
- func (x GenericEntity) GetRelatedEntities() EntityRelationshipRelatedEntitiesResult
- func (x GenericEntity) GetRelationships() []EntityRelationship
- func (x GenericEntity) GetReporting() bool
- func (x GenericEntity) GetServiceLevel() ServiceLevelDefinition
- func (x GenericEntity) GetTags() []EntityTag
- func (x GenericEntity) GetTagsWithMetadata() []EntityTagWithMetadata
- func (x GenericEntity) GetType() string
- func (x *GenericEntity) ImplementsAlertableEntity()
- func (x *GenericEntity) ImplementsEntity()
- type GenericEntityOutline
- func (x GenericEntityOutline) GetAccount() accounts.AccountOutline
- func (x GenericEntityOutline) GetAccountID() int
- func (x GenericEntityOutline) GetAlertSeverity() EntityAlertSeverity
- func (x GenericEntityOutline) GetDomain() string
- func (x GenericEntityOutline) GetEntityType() EntityType
- func (x GenericEntityOutline) GetGUID() common.EntityGUID
- func (x GenericEntityOutline) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
- func (x GenericEntityOutline) GetGoldenTags() EntityGoldenContextScopedGoldenTags
- func (x GenericEntityOutline) GetIndexedAt() *nrtime.EpochMilliseconds
- func (x GenericEntityOutline) GetName() string
- func (x GenericEntityOutline) GetPermalink() string
- func (x GenericEntityOutline) GetReporting() bool
- func (x GenericEntityOutline) GetServiceLevel() ServiceLevelDefinition
- func (x GenericEntityOutline) GetTags() []EntityTag
- func (x GenericEntityOutline) GetType() string
- func (x *GenericEntityOutline) ImplementsAlertableEntityOutline()
- func (x GenericEntityOutline) ImplementsEntity()
- func (x *GenericEntityOutline) ImplementsEntityOutline()
- type GenericInfrastructureEntity
- func (x GenericInfrastructureEntity) GetAccount() accounts.AccountOutline
- func (x GenericInfrastructureEntity) GetAccountID() int
- func (x GenericInfrastructureEntity) GetAlertSeverity() EntityAlertSeverity
- func (x GenericInfrastructureEntity) GetAlertViolations() []EntityAlertViolation
- func (x GenericInfrastructureEntity) GetDomain() string
- func (x GenericInfrastructureEntity) GetEntityType() EntityType
- func (x GenericInfrastructureEntity) GetGUID() common.EntityGUID
- func (x GenericInfrastructureEntity) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
- func (x GenericInfrastructureEntity) GetGoldenTags() EntityGoldenContextScopedGoldenTags
- func (x GenericInfrastructureEntity) GetIndexedAt() *nrtime.EpochMilliseconds
- func (x GenericInfrastructureEntity) GetIntegrationTypeCode() string
- func (x GenericInfrastructureEntity) GetNRDBQuery() nrdb.NRDBResultContainer
- func (x GenericInfrastructureEntity) GetName() string
- func (x GenericInfrastructureEntity) GetNerdStorage() NerdStorageEntityScope
- func (x GenericInfrastructureEntity) GetPermalink() string
- func (x GenericInfrastructureEntity) GetRecentAlertViolations() []EntityAlertViolation
- func (x GenericInfrastructureEntity) GetRelatedEntities() EntityRelationshipRelatedEntitiesResult
- func (x GenericInfrastructureEntity) GetRelationships() []EntityRelationship
- func (x GenericInfrastructureEntity) GetReporting() bool
- func (x GenericInfrastructureEntity) GetServiceLevel() ServiceLevelDefinition
- func (x GenericInfrastructureEntity) GetTags() []EntityTag
- func (x GenericInfrastructureEntity) GetTagsWithMetadata() []EntityTagWithMetadata
- func (x GenericInfrastructureEntity) GetType() string
- func (x *GenericInfrastructureEntity) ImplementsAlertableEntity()
- func (x *GenericInfrastructureEntity) ImplementsEntity()
- func (x *GenericInfrastructureEntity) ImplementsInfrastructureIntegrationEntity()
- type GenericInfrastructureEntityOutline
- func (x GenericInfrastructureEntityOutline) GetAccount() accounts.AccountOutline
- func (x GenericInfrastructureEntityOutline) GetAccountID() int
- func (x GenericInfrastructureEntityOutline) GetAlertSeverity() EntityAlertSeverity
- func (x GenericInfrastructureEntityOutline) GetDomain() string
- func (x GenericInfrastructureEntityOutline) GetEntityType() EntityType
- func (x GenericInfrastructureEntityOutline) GetGUID() common.EntityGUID
- func (x GenericInfrastructureEntityOutline) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
- func (x GenericInfrastructureEntityOutline) GetGoldenTags() EntityGoldenContextScopedGoldenTags
- func (x GenericInfrastructureEntityOutline) GetIndexedAt() *nrtime.EpochMilliseconds
- func (x GenericInfrastructureEntityOutline) GetIntegrationTypeCode() string
- func (x GenericInfrastructureEntityOutline) GetName() string
- func (x GenericInfrastructureEntityOutline) GetPermalink() string
- func (x GenericInfrastructureEntityOutline) GetReporting() bool
- func (x GenericInfrastructureEntityOutline) GetServiceLevel() ServiceLevelDefinition
- func (x GenericInfrastructureEntityOutline) GetTags() []EntityTag
- func (x GenericInfrastructureEntityOutline) GetType() string
- func (x *GenericInfrastructureEntityOutline) ImplementsAlertableEntityOutline()
- func (x GenericInfrastructureEntityOutline) ImplementsEntity()
- func (x *GenericInfrastructureEntityOutline) ImplementsEntityOutline()
- func (x *GenericInfrastructureEntityOutline) ImplementsInfrastructureIntegrationEntityOutline()
- type InfrastructureAwsLambdaFunctionEntity
- func (x InfrastructureAwsLambdaFunctionEntity) GetAccount() accounts.AccountOutline
- func (x InfrastructureAwsLambdaFunctionEntity) GetAccountID() int
- func (x InfrastructureAwsLambdaFunctionEntity) GetAlertSeverity() EntityAlertSeverity
- func (x InfrastructureAwsLambdaFunctionEntity) GetAlertViolations() []EntityAlertViolation
- func (x InfrastructureAwsLambdaFunctionEntity) GetDomain() string
- func (x InfrastructureAwsLambdaFunctionEntity) GetEntityType() EntityType
- func (x InfrastructureAwsLambdaFunctionEntity) GetGUID() common.EntityGUID
- func (x InfrastructureAwsLambdaFunctionEntity) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
- func (x InfrastructureAwsLambdaFunctionEntity) GetGoldenTags() EntityGoldenContextScopedGoldenTags
- func (x InfrastructureAwsLambdaFunctionEntity) GetIndexedAt() *nrtime.EpochMilliseconds
- func (x InfrastructureAwsLambdaFunctionEntity) GetIntegrationTypeCode() string
- func (x InfrastructureAwsLambdaFunctionEntity) GetNRDBQuery() nrdb.NRDBResultContainer
- func (x InfrastructureAwsLambdaFunctionEntity) GetName() string
- func (x InfrastructureAwsLambdaFunctionEntity) GetNerdStorage() NerdStorageEntityScope
- func (x InfrastructureAwsLambdaFunctionEntity) GetPermalink() string
- func (x InfrastructureAwsLambdaFunctionEntity) GetRecentAlertViolations() []EntityAlertViolation
- func (x InfrastructureAwsLambdaFunctionEntity) GetRelatedEntities() EntityRelationshipRelatedEntitiesResult
- func (x InfrastructureAwsLambdaFunctionEntity) GetRelationships() []EntityRelationship
- func (x InfrastructureAwsLambdaFunctionEntity) GetReporting() bool
- func (x InfrastructureAwsLambdaFunctionEntity) GetRuntime() string
- func (x InfrastructureAwsLambdaFunctionEntity) GetServiceLevel() ServiceLevelDefinition
- func (x InfrastructureAwsLambdaFunctionEntity) GetTags() []EntityTag
- func (x InfrastructureAwsLambdaFunctionEntity) GetTagsWithMetadata() []EntityTagWithMetadata
- func (x InfrastructureAwsLambdaFunctionEntity) GetType() string
- func (x *InfrastructureAwsLambdaFunctionEntity) ImplementsAlertableEntity()
- func (x *InfrastructureAwsLambdaFunctionEntity) ImplementsEntity()
- func (x *InfrastructureAwsLambdaFunctionEntity) ImplementsInfrastructureIntegrationEntity()
- type InfrastructureAwsLambdaFunctionEntityOutline
- func (x InfrastructureAwsLambdaFunctionEntityOutline) GetAccount() accounts.AccountOutline
- func (x InfrastructureAwsLambdaFunctionEntityOutline) GetAccountID() int
- func (x InfrastructureAwsLambdaFunctionEntityOutline) GetAlertSeverity() EntityAlertSeverity
- func (x InfrastructureAwsLambdaFunctionEntityOutline) GetDomain() string
- func (x InfrastructureAwsLambdaFunctionEntityOutline) GetEntityType() EntityType
- func (x InfrastructureAwsLambdaFunctionEntityOutline) GetGUID() common.EntityGUID
- func (x InfrastructureAwsLambdaFunctionEntityOutline) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
- func (x InfrastructureAwsLambdaFunctionEntityOutline) GetGoldenTags() EntityGoldenContextScopedGoldenTags
- func (x InfrastructureAwsLambdaFunctionEntityOutline) GetIndexedAt() *nrtime.EpochMilliseconds
- func (x InfrastructureAwsLambdaFunctionEntityOutline) GetIntegrationTypeCode() string
- func (x InfrastructureAwsLambdaFunctionEntityOutline) GetName() string
- func (x InfrastructureAwsLambdaFunctionEntityOutline) GetPermalink() string
- func (x InfrastructureAwsLambdaFunctionEntityOutline) GetReporting() bool
- func (x InfrastructureAwsLambdaFunctionEntityOutline) GetRuntime() string
- func (x InfrastructureAwsLambdaFunctionEntityOutline) GetServiceLevel() ServiceLevelDefinition
- func (x InfrastructureAwsLambdaFunctionEntityOutline) GetTags() []EntityTag
- func (x InfrastructureAwsLambdaFunctionEntityOutline) GetType() string
- func (x *InfrastructureAwsLambdaFunctionEntityOutline) ImplementsAlertableEntityOutline()
- func (x InfrastructureAwsLambdaFunctionEntityOutline) ImplementsEntity()
- func (x *InfrastructureAwsLambdaFunctionEntityOutline) ImplementsEntityOutline()
- func (x *InfrastructureAwsLambdaFunctionEntityOutline) ImplementsInfrastructureIntegrationEntityOutline()
- type InfrastructureHostEntity
- func (x InfrastructureHostEntity) GetAccount() accounts.AccountOutline
- func (x InfrastructureHostEntity) GetAccountID() int
- func (x InfrastructureHostEntity) GetAlertSeverity() EntityAlertSeverity
- func (x InfrastructureHostEntity) GetAlertViolations() []EntityAlertViolation
- func (x InfrastructureHostEntity) GetDomain() string
- func (x InfrastructureHostEntity) GetEntityType() EntityType
- func (x InfrastructureHostEntity) GetGUID() common.EntityGUID
- func (x InfrastructureHostEntity) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
- func (x InfrastructureHostEntity) GetGoldenTags() EntityGoldenContextScopedGoldenTags
- func (x InfrastructureHostEntity) GetHostSummary() InfrastructureHostSummaryData
- func (x InfrastructureHostEntity) GetIndexedAt() *nrtime.EpochMilliseconds
- func (x InfrastructureHostEntity) GetNRDBQuery() nrdb.NRDBResultContainer
- func (x InfrastructureHostEntity) GetName() string
- func (x InfrastructureHostEntity) GetNerdStorage() NerdStorageEntityScope
- func (x InfrastructureHostEntity) GetPermalink() string
- func (x InfrastructureHostEntity) GetRecentAlertViolations() []EntityAlertViolation
- func (x InfrastructureHostEntity) GetRelatedEntities() EntityRelationshipRelatedEntitiesResult
- func (x InfrastructureHostEntity) GetRelationships() []EntityRelationship
- func (x InfrastructureHostEntity) GetReporting() bool
- func (x InfrastructureHostEntity) GetServiceLevel() ServiceLevelDefinition
- func (x InfrastructureHostEntity) GetTags() []EntityTag
- func (x InfrastructureHostEntity) GetTagsWithMetadata() []EntityTagWithMetadata
- func (x InfrastructureHostEntity) GetType() string
- func (x *InfrastructureHostEntity) ImplementsAlertableEntity()
- func (x *InfrastructureHostEntity) ImplementsEntity()
- type InfrastructureHostEntityOutline
- func (x InfrastructureHostEntityOutline) GetAccount() accounts.AccountOutline
- func (x InfrastructureHostEntityOutline) GetAccountID() int
- func (x InfrastructureHostEntityOutline) GetAlertSeverity() EntityAlertSeverity
- func (x InfrastructureHostEntityOutline) GetDomain() string
- func (x InfrastructureHostEntityOutline) GetEntityType() EntityType
- func (x InfrastructureHostEntityOutline) GetGUID() common.EntityGUID
- func (x InfrastructureHostEntityOutline) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
- func (x InfrastructureHostEntityOutline) GetGoldenTags() EntityGoldenContextScopedGoldenTags
- func (x InfrastructureHostEntityOutline) GetHostSummary() InfrastructureHostSummaryData
- func (x InfrastructureHostEntityOutline) GetIndexedAt() *nrtime.EpochMilliseconds
- func (x InfrastructureHostEntityOutline) GetName() string
- func (x InfrastructureHostEntityOutline) GetPermalink() string
- func (x InfrastructureHostEntityOutline) GetReporting() bool
- func (x InfrastructureHostEntityOutline) GetServiceLevel() ServiceLevelDefinition
- func (x InfrastructureHostEntityOutline) GetTags() []EntityTag
- func (x InfrastructureHostEntityOutline) GetType() string
- func (x *InfrastructureHostEntityOutline) ImplementsAlertableEntityOutline()
- func (x InfrastructureHostEntityOutline) ImplementsEntity()
- func (x *InfrastructureHostEntityOutline) ImplementsEntityOutline()
- type InfrastructureHostSummaryData
- type InfrastructureIntegrationEntity
- type InfrastructureIntegrationEntityInterface
- type InfrastructureIntegrationEntityOutline
- type InfrastructureIntegrationEntityOutlineInterface
- type MetricNormalizationRule
- type MetricNormalizationRuleAction
- type MobileAppSummaryData
- type MobileApplicationEntity
- func (x MobileApplicationEntity) GetAccount() accounts.AccountOutline
- func (x MobileApplicationEntity) GetAccountID() int
- func (x MobileApplicationEntity) GetAlertSeverity() EntityAlertSeverity
- func (x MobileApplicationEntity) GetAlertViolations() []EntityAlertViolation
- func (x MobileApplicationEntity) GetApplicationID() int
- func (x MobileApplicationEntity) GetDomain() string
- func (x MobileApplicationEntity) GetEntityType() EntityType
- func (x MobileApplicationEntity) GetGUID() common.EntityGUID
- func (x MobileApplicationEntity) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
- func (x MobileApplicationEntity) GetGoldenTags() EntityGoldenContextScopedGoldenTags
- func (x MobileApplicationEntity) GetIndexedAt() *nrtime.EpochMilliseconds
- func (x MobileApplicationEntity) GetMetricNormalizationRule() MetricNormalizationRule
- func (x MobileApplicationEntity) GetMetricNormalizationRules() []MetricNormalizationRule
- func (x MobileApplicationEntity) GetMobileSummary() MobileAppSummaryData
- func (x MobileApplicationEntity) GetNRDBQuery() nrdb.NRDBResultContainer
- func (x MobileApplicationEntity) GetName() string
- func (x MobileApplicationEntity) GetNerdStorage() NerdStorageEntityScope
- func (x MobileApplicationEntity) GetPermalink() string
- func (x MobileApplicationEntity) GetRecentAlertViolations() []EntityAlertViolation
- func (x MobileApplicationEntity) GetRelatedEntities() EntityRelationshipRelatedEntitiesResult
- func (x MobileApplicationEntity) GetRelationships() []EntityRelationship
- func (x MobileApplicationEntity) GetReporting() bool
- func (x MobileApplicationEntity) GetServiceLevel() ServiceLevelDefinition
- func (x MobileApplicationEntity) GetTags() []EntityTag
- func (x MobileApplicationEntity) GetTagsWithMetadata() []EntityTagWithMetadata
- func (x MobileApplicationEntity) GetType() string
- func (x *MobileApplicationEntity) ImplementsAlertableEntity()
- func (x *MobileApplicationEntity) ImplementsEntity()
- type MobileApplicationEntityOutline
- func (x MobileApplicationEntityOutline) GetAccount() accounts.AccountOutline
- func (x MobileApplicationEntityOutline) GetAccountID() int
- func (x MobileApplicationEntityOutline) GetAlertSeverity() EntityAlertSeverity
- func (x MobileApplicationEntityOutline) GetApplicationID() int
- func (x MobileApplicationEntityOutline) GetDomain() string
- func (x MobileApplicationEntityOutline) GetEntityType() EntityType
- func (x MobileApplicationEntityOutline) GetGUID() common.EntityGUID
- func (x MobileApplicationEntityOutline) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
- func (x MobileApplicationEntityOutline) GetGoldenTags() EntityGoldenContextScopedGoldenTags
- func (x MobileApplicationEntityOutline) GetIndexedAt() *nrtime.EpochMilliseconds
- func (x MobileApplicationEntityOutline) GetMobileSummary() MobileAppSummaryData
- func (x MobileApplicationEntityOutline) GetName() string
- func (x MobileApplicationEntityOutline) GetPermalink() string
- func (x MobileApplicationEntityOutline) GetReporting() bool
- func (x MobileApplicationEntityOutline) GetServiceLevel() ServiceLevelDefinition
- func (x MobileApplicationEntityOutline) GetTags() []EntityTag
- func (x MobileApplicationEntityOutline) GetType() string
- func (x *MobileApplicationEntityOutline) ImplementsAlertableEntityOutline()
- func (x MobileApplicationEntityOutline) ImplementsEntity()
- func (x *MobileApplicationEntityOutline) ImplementsEntityOutline()
- type NRQLQueryOptions
- type NerdStorageCollectionMember
- type NerdStorageDocument
- type NerdStorageEntityScope
- type SecureCredentialEntity
- func (x SecureCredentialEntity) GetAccount() accounts.AccountOutline
- func (x SecureCredentialEntity) GetAccountID() int
- func (x SecureCredentialEntity) GetAlertSeverity() EntityAlertSeverity
- func (x SecureCredentialEntity) GetAlertViolations() []EntityAlertViolation
- func (x SecureCredentialEntity) GetDescription() string
- func (x SecureCredentialEntity) GetDomain() string
- func (x SecureCredentialEntity) GetEntityType() EntityType
- func (x SecureCredentialEntity) GetGUID() common.EntityGUID
- func (x SecureCredentialEntity) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
- func (x SecureCredentialEntity) GetGoldenTags() EntityGoldenContextScopedGoldenTags
- func (x SecureCredentialEntity) GetIndexedAt() *nrtime.EpochMilliseconds
- func (x SecureCredentialEntity) GetNRDBQuery() nrdb.NRDBResultContainer
- func (x SecureCredentialEntity) GetName() string
- func (x SecureCredentialEntity) GetNerdStorage() NerdStorageEntityScope
- func (x SecureCredentialEntity) GetPermalink() string
- func (x SecureCredentialEntity) GetRecentAlertViolations() []EntityAlertViolation
- func (x SecureCredentialEntity) GetRelatedEntities() EntityRelationshipRelatedEntitiesResult
- func (x SecureCredentialEntity) GetRelationships() []EntityRelationship
- func (x SecureCredentialEntity) GetReporting() bool
- func (x SecureCredentialEntity) GetSecureCredentialId() string
- func (x SecureCredentialEntity) GetSecureCredentialSummary() SecureCredentialSummaryData
- func (x SecureCredentialEntity) GetServiceLevel() ServiceLevelDefinition
- func (x SecureCredentialEntity) GetTags() []EntityTag
- func (x SecureCredentialEntity) GetTagsWithMetadata() []EntityTagWithMetadata
- func (x SecureCredentialEntity) GetType() string
- func (x SecureCredentialEntity) GetUpdatedAt() *nrtime.EpochMilliseconds
- func (x *SecureCredentialEntity) ImplementsAlertableEntity()
- func (x *SecureCredentialEntity) ImplementsEntity()
- type SecureCredentialEntityOutline
- func (x SecureCredentialEntityOutline) GetAccount() accounts.AccountOutline
- func (x SecureCredentialEntityOutline) GetAccountID() int
- func (x SecureCredentialEntityOutline) GetAlertSeverity() EntityAlertSeverity
- func (x SecureCredentialEntityOutline) GetDescription() string
- func (x SecureCredentialEntityOutline) GetDomain() string
- func (x SecureCredentialEntityOutline) GetEntityType() EntityType
- func (x SecureCredentialEntityOutline) GetGUID() common.EntityGUID
- func (x SecureCredentialEntityOutline) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
- func (x SecureCredentialEntityOutline) GetGoldenTags() EntityGoldenContextScopedGoldenTags
- func (x SecureCredentialEntityOutline) GetIndexedAt() *nrtime.EpochMilliseconds
- func (x SecureCredentialEntityOutline) GetName() string
- func (x SecureCredentialEntityOutline) GetPermalink() string
- func (x SecureCredentialEntityOutline) GetReporting() bool
- func (x SecureCredentialEntityOutline) GetSecureCredentialId() string
- func (x SecureCredentialEntityOutline) GetSecureCredentialSummary() SecureCredentialSummaryData
- func (x SecureCredentialEntityOutline) GetServiceLevel() ServiceLevelDefinition
- func (x SecureCredentialEntityOutline) GetTags() []EntityTag
- func (x SecureCredentialEntityOutline) GetType() string
- func (x SecureCredentialEntityOutline) GetUpdatedAt() *nrtime.EpochMilliseconds
- func (x *SecureCredentialEntityOutline) ImplementsAlertableEntityOutline()
- func (x SecureCredentialEntityOutline) ImplementsEntity()
- func (x *SecureCredentialEntityOutline) ImplementsEntityOutline()
- type SecureCredentialSummaryData
- type ServiceLevelDefinition
- type SyntheticMonitorEntity
- func (x SyntheticMonitorEntity) GetAccount() accounts.AccountOutline
- func (x SyntheticMonitorEntity) GetAccountID() int
- func (x SyntheticMonitorEntity) GetAlertSeverity() EntityAlertSeverity
- func (x SyntheticMonitorEntity) GetAlertViolations() []EntityAlertViolation
- func (x SyntheticMonitorEntity) GetAssets() []SyntheticsSyntheticMonitorAsset
- func (x SyntheticMonitorEntity) GetDomain() string
- func (x SyntheticMonitorEntity) GetEntityType() EntityType
- func (x SyntheticMonitorEntity) GetGUID() common.EntityGUID
- func (x SyntheticMonitorEntity) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
- func (x SyntheticMonitorEntity) GetGoldenTags() EntityGoldenContextScopedGoldenTags
- func (x SyntheticMonitorEntity) GetIndexedAt() *nrtime.EpochMilliseconds
- func (x SyntheticMonitorEntity) GetMonitorId() string
- func (x SyntheticMonitorEntity) GetMonitorSummary() SyntheticMonitorSummaryData
- func (x SyntheticMonitorEntity) GetMonitorType() SyntheticMonitorType
- func (x SyntheticMonitorEntity) GetMonitoredURL() string
- func (x SyntheticMonitorEntity) GetNRDBQuery() nrdb.NRDBResultContainer
- func (x SyntheticMonitorEntity) GetName() string
- func (x SyntheticMonitorEntity) GetNerdStorage() NerdStorageEntityScope
- func (x SyntheticMonitorEntity) GetPeriod() nrtime.Minutes
- func (x SyntheticMonitorEntity) GetPermalink() string
- func (x SyntheticMonitorEntity) GetRecentAlertViolations() []EntityAlertViolation
- func (x SyntheticMonitorEntity) GetRelatedEntities() EntityRelationshipRelatedEntitiesResult
- func (x SyntheticMonitorEntity) GetRelationships() []EntityRelationship
- func (x SyntheticMonitorEntity) GetReporting() bool
- func (x SyntheticMonitorEntity) GetServiceLevel() ServiceLevelDefinition
- func (x SyntheticMonitorEntity) GetTags() []EntityTag
- func (x SyntheticMonitorEntity) GetTagsWithMetadata() []EntityTagWithMetadata
- func (x SyntheticMonitorEntity) GetType() string
- func (x *SyntheticMonitorEntity) ImplementsAlertableEntity()
- func (x *SyntheticMonitorEntity) ImplementsEntity()
- type SyntheticMonitorEntityOutline
- func (x SyntheticMonitorEntityOutline) GetAccount() accounts.AccountOutline
- func (x SyntheticMonitorEntityOutline) GetAccountID() int
- func (x SyntheticMonitorEntityOutline) GetAlertSeverity() EntityAlertSeverity
- func (x SyntheticMonitorEntityOutline) GetDomain() string
- func (x SyntheticMonitorEntityOutline) GetEntityType() EntityType
- func (x SyntheticMonitorEntityOutline) GetGUID() common.EntityGUID
- func (x SyntheticMonitorEntityOutline) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
- func (x SyntheticMonitorEntityOutline) GetGoldenTags() EntityGoldenContextScopedGoldenTags
- func (x SyntheticMonitorEntityOutline) GetIndexedAt() *nrtime.EpochMilliseconds
- func (x SyntheticMonitorEntityOutline) GetMonitorId() string
- func (x SyntheticMonitorEntityOutline) GetMonitorSummary() SyntheticMonitorSummaryData
- func (x SyntheticMonitorEntityOutline) GetMonitorType() SyntheticMonitorType
- func (x SyntheticMonitorEntityOutline) GetMonitoredURL() string
- func (x SyntheticMonitorEntityOutline) GetName() string
- func (x SyntheticMonitorEntityOutline) GetPeriod() nrtime.Minutes
- func (x SyntheticMonitorEntityOutline) GetPermalink() string
- func (x SyntheticMonitorEntityOutline) GetReporting() bool
- func (x SyntheticMonitorEntityOutline) GetServiceLevel() ServiceLevelDefinition
- func (x SyntheticMonitorEntityOutline) GetTags() []EntityTag
- func (x SyntheticMonitorEntityOutline) GetType() string
- func (x *SyntheticMonitorEntityOutline) ImplementsAlertableEntityOutline()
- func (x SyntheticMonitorEntityOutline) ImplementsEntity()
- func (x *SyntheticMonitorEntityOutline) ImplementsEntityOutline()
- type SyntheticMonitorStatus
- type SyntheticMonitorSummaryData
- type SyntheticMonitorType
- type SyntheticsSyntheticMonitorAsset
- type Tagdeprecated
- type TagValuedeprecated
- type TaggingAddTagsToEntityQueryResponse
- type TaggingDeleteTagFromEntityQueryResponse
- type TaggingDeleteTagValuesFromEntityQueryResponse
- type TaggingMutationError
- type TaggingMutationErrorType
- type TaggingMutationResult
- type TaggingReplaceTagsOnEntityQueryResponse
- type TaggingTagInput
- type TaggingTagValueInput
- type ThirdPartyServiceEntity
- func (x ThirdPartyServiceEntity) GetAccount() accounts.AccountOutline
- func (x ThirdPartyServiceEntity) GetAccountID() int
- func (x ThirdPartyServiceEntity) GetAlertSeverity() EntityAlertSeverity
- func (x ThirdPartyServiceEntity) GetAlertViolations() []EntityAlertViolation
- func (x ThirdPartyServiceEntity) GetDomain() string
- func (x ThirdPartyServiceEntity) GetEntityType() EntityType
- func (x ThirdPartyServiceEntity) GetGUID() common.EntityGUID
- func (x ThirdPartyServiceEntity) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
- func (x ThirdPartyServiceEntity) GetGoldenTags() EntityGoldenContextScopedGoldenTags
- func (x ThirdPartyServiceEntity) GetIndexedAt() *nrtime.EpochMilliseconds
- func (x ThirdPartyServiceEntity) GetNRDBQuery() nrdb.NRDBResultContainer
- func (x ThirdPartyServiceEntity) GetName() string
- func (x ThirdPartyServiceEntity) GetNerdStorage() NerdStorageEntityScope
- func (x ThirdPartyServiceEntity) GetPermalink() string
- func (x ThirdPartyServiceEntity) GetRecentAlertViolations() []EntityAlertViolation
- func (x ThirdPartyServiceEntity) GetRelatedEntities() EntityRelationshipRelatedEntitiesResult
- func (x ThirdPartyServiceEntity) GetRelationships() []EntityRelationship
- func (x ThirdPartyServiceEntity) GetReporting() bool
- func (x ThirdPartyServiceEntity) GetServiceLevel() ServiceLevelDefinition
- func (x ThirdPartyServiceEntity) GetTags() []EntityTag
- func (x ThirdPartyServiceEntity) GetTagsWithMetadata() []EntityTagWithMetadata
- func (x ThirdPartyServiceEntity) GetType() string
- func (x *ThirdPartyServiceEntity) ImplementsAlertableEntity()
- func (x *ThirdPartyServiceEntity) ImplementsEntity()
- type ThirdPartyServiceEntityOutline
- func (x ThirdPartyServiceEntityOutline) GetAccount() accounts.AccountOutline
- func (x ThirdPartyServiceEntityOutline) GetAccountID() int
- func (x ThirdPartyServiceEntityOutline) GetAlertSeverity() EntityAlertSeverity
- func (x ThirdPartyServiceEntityOutline) GetDomain() string
- func (x ThirdPartyServiceEntityOutline) GetEntityType() EntityType
- func (x ThirdPartyServiceEntityOutline) GetGUID() common.EntityGUID
- func (x ThirdPartyServiceEntityOutline) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
- func (x ThirdPartyServiceEntityOutline) GetGoldenTags() EntityGoldenContextScopedGoldenTags
- func (x ThirdPartyServiceEntityOutline) GetIndexedAt() *nrtime.EpochMilliseconds
- func (x ThirdPartyServiceEntityOutline) GetName() string
- func (x ThirdPartyServiceEntityOutline) GetPermalink() string
- func (x ThirdPartyServiceEntityOutline) GetReporting() bool
- func (x ThirdPartyServiceEntityOutline) GetServiceLevel() ServiceLevelDefinition
- func (x ThirdPartyServiceEntityOutline) GetTags() []EntityTag
- func (x ThirdPartyServiceEntityOutline) GetType() string
- func (x *ThirdPartyServiceEntityOutline) ImplementsAlertableEntityOutline()
- func (x ThirdPartyServiceEntityOutline) ImplementsEntity()
- func (x *ThirdPartyServiceEntityOutline) ImplementsEntityOutline()
- type TimeWindowInput
- type UnavailableEntity
- func (x UnavailableEntity) GetAccount() accounts.AccountOutline
- func (x UnavailableEntity) GetAccountID() int
- func (x UnavailableEntity) GetAlertSeverity() EntityAlertSeverity
- func (x UnavailableEntity) GetAlertViolations() []EntityAlertViolation
- func (x UnavailableEntity) GetDomain() string
- func (x UnavailableEntity) GetEntityType() EntityType
- func (x UnavailableEntity) GetGUID() common.EntityGUID
- func (x UnavailableEntity) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
- func (x UnavailableEntity) GetGoldenTags() EntityGoldenContextScopedGoldenTags
- func (x UnavailableEntity) GetIndexedAt() *nrtime.EpochMilliseconds
- func (x UnavailableEntity) GetNRDBQuery() nrdb.NRDBResultContainer
- func (x UnavailableEntity) GetName() string
- func (x UnavailableEntity) GetNerdStorage() NerdStorageEntityScope
- func (x UnavailableEntity) GetPermalink() string
- func (x UnavailableEntity) GetRecentAlertViolations() []EntityAlertViolation
- func (x UnavailableEntity) GetRelatedEntities() EntityRelationshipRelatedEntitiesResult
- func (x UnavailableEntity) GetRelationships() []EntityRelationship
- func (x UnavailableEntity) GetReporting() bool
- func (x UnavailableEntity) GetServiceLevel() ServiceLevelDefinition
- func (x UnavailableEntity) GetTags() []EntityTag
- func (x UnavailableEntity) GetTagsWithMetadata() []EntityTagWithMetadata
- func (x UnavailableEntity) GetType() string
- func (x *UnavailableEntity) ImplementsAlertableEntity()
- func (x *UnavailableEntity) ImplementsEntity()
- type UnavailableEntityOutline
- func (x UnavailableEntityOutline) GetAccount() accounts.AccountOutline
- func (x UnavailableEntityOutline) GetAccountID() int
- func (x UnavailableEntityOutline) GetAlertSeverity() EntityAlertSeverity
- func (x UnavailableEntityOutline) GetDomain() string
- func (x UnavailableEntityOutline) GetEntityType() EntityType
- func (x UnavailableEntityOutline) GetGUID() common.EntityGUID
- func (x UnavailableEntityOutline) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
- func (x UnavailableEntityOutline) GetGoldenTags() EntityGoldenContextScopedGoldenTags
- func (x UnavailableEntityOutline) GetIndexedAt() *nrtime.EpochMilliseconds
- func (x UnavailableEntityOutline) GetName() string
- func (x UnavailableEntityOutline) GetPermalink() string
- func (x UnavailableEntityOutline) GetReporting() bool
- func (x UnavailableEntityOutline) GetServiceLevel() ServiceLevelDefinition
- func (x UnavailableEntityOutline) GetTags() []EntityTag
- func (x UnavailableEntityOutline) GetType() string
- func (x *UnavailableEntityOutline) ImplementsAlertableEntityOutline()
- func (x UnavailableEntityOutline) ImplementsEntity()
- func (x *UnavailableEntityOutline) ImplementsEntityOutline()
- type WorkloadEntity
- func (x WorkloadEntity) GetAccount() accounts.AccountOutline
- func (x WorkloadEntity) GetAccountID() int
- func (x WorkloadEntity) GetAlertSeverity() EntityAlertSeverity
- func (x WorkloadEntity) GetAlertViolations() []EntityAlertViolation
- func (x WorkloadEntity) GetCollection() EntityCollection
- func (x WorkloadEntity) GetCreatedAt() *nrtime.EpochMilliseconds
- func (x WorkloadEntity) GetCreatedByUser() users.UserReference
- func (x WorkloadEntity) GetDomain() string
- func (x WorkloadEntity) GetEntityType() EntityType
- func (x WorkloadEntity) GetGUID() common.EntityGUID
- func (x WorkloadEntity) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
- func (x WorkloadEntity) GetGoldenTags() EntityGoldenContextScopedGoldenTags
- func (x WorkloadEntity) GetIndexedAt() *nrtime.EpochMilliseconds
- func (x WorkloadEntity) GetNRDBQuery() nrdb.NRDBResultContainer
- func (x WorkloadEntity) GetName() string
- func (x WorkloadEntity) GetNerdStorage() NerdStorageEntityScope
- func (x WorkloadEntity) GetPermalink() string
- func (x WorkloadEntity) GetRecentAlertViolations() []EntityAlertViolation
- func (x WorkloadEntity) GetRelatedEntities() EntityRelationshipRelatedEntitiesResult
- func (x WorkloadEntity) GetRelationships() []EntityRelationship
- func (x WorkloadEntity) GetReporting() bool
- func (x WorkloadEntity) GetServiceLevel() ServiceLevelDefinition
- func (x WorkloadEntity) GetTags() []EntityTag
- func (x WorkloadEntity) GetTagsWithMetadata() []EntityTagWithMetadata
- func (x WorkloadEntity) GetType() string
- func (x WorkloadEntity) GetUpdatedAt() *nrtime.EpochMilliseconds
- func (x WorkloadEntity) GetWorkloadStatus() WorkloadStatus
- func (x *WorkloadEntity) ImplementsAlertableEntity()
- func (x *WorkloadEntity) ImplementsCollectionEntity()
- func (x *WorkloadEntity) ImplementsEntity()
- type WorkloadEntityOutline
- func (x WorkloadEntityOutline) GetAccount() accounts.AccountOutline
- func (x WorkloadEntityOutline) GetAccountID() int
- func (x WorkloadEntityOutline) GetAlertSeverity() EntityAlertSeverity
- func (x WorkloadEntityOutline) GetCreatedAt() *nrtime.EpochMilliseconds
- func (x WorkloadEntityOutline) GetCreatedByUser() users.UserReference
- func (x WorkloadEntityOutline) GetDomain() string
- func (x WorkloadEntityOutline) GetEntityType() EntityType
- func (x WorkloadEntityOutline) GetGUID() common.EntityGUID
- func (x WorkloadEntityOutline) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
- func (x WorkloadEntityOutline) GetGoldenTags() EntityGoldenContextScopedGoldenTags
- func (x WorkloadEntityOutline) GetIndexedAt() *nrtime.EpochMilliseconds
- func (x WorkloadEntityOutline) GetName() string
- func (x WorkloadEntityOutline) GetPermalink() string
- func (x WorkloadEntityOutline) GetReporting() bool
- func (x WorkloadEntityOutline) GetServiceLevel() ServiceLevelDefinition
- func (x WorkloadEntityOutline) GetTags() []EntityTag
- func (x WorkloadEntityOutline) GetType() string
- func (x WorkloadEntityOutline) GetUpdatedAt() *nrtime.EpochMilliseconds
- func (x WorkloadEntityOutline) GetWorkloadStatus() WorkloadStatus
- func (x *WorkloadEntityOutline) ImplementsAlertableEntityOutline()
- func (x WorkloadEntityOutline) ImplementsEntity()
- func (x *WorkloadEntityOutline) ImplementsEntityOutline()
- type WorkloadEntityRef
- type WorkloadStatus
- type WorkloadStatusSource
- type WorkloadStatusValue
Examples ¶
Constants ¶
const TaggingAddTagsToEntityMutation = `` /* 153-byte string literal not displayed */
const TaggingDeleteTagFromEntityMutation = `` /* 157-byte string literal not displayed */
const TaggingDeleteTagValuesFromEntityMutation = `` /* 183-byte string literal not displayed */
const TaggingReplaceTagsOnEntityMutation = `` /* 157-byte string literal not displayed */
Variables ¶
var BrowserAgentInstallTypeTypes = struct { // Lite agent install type. LITE BrowserAgentInstallType // Pro agent install type. PRO BrowserAgentInstallType // Pro + SPA agent install type. PRO_SPA BrowserAgentInstallType }{ LITE: "LITE", PRO: "PRO", PRO_SPA: "PRO_SPA", }
var DashboardAlertSeverityTypes = struct { // CRITICAL CRITICAL DashboardAlertSeverity // NOT_ALERTING NOT_ALERTING DashboardAlertSeverity // WARNING WARNING DashboardAlertSeverity }{ CRITICAL: "CRITICAL", NOT_ALERTING: "NOT_ALERTING", WARNING: "WARNING", }
var DashboardEntityPermissionsTypes = struct { // Private PRIVATE DashboardEntityPermissions // Public read only PUBLIC_READ_ONLY DashboardEntityPermissions // Public read & write PUBLIC_READ_WRITE DashboardEntityPermissions }{ PRIVATE: "PRIVATE", PUBLIC_READ_ONLY: "PUBLIC_READ_ONLY", PUBLIC_READ_WRITE: "PUBLIC_READ_WRITE", }
var DashboardPermissionsTypes = struct { // Private PRIVATE DashboardPermissions // Public read only PUBLIC_READ_ONLY DashboardPermissions // Public read & write PUBLIC_READ_WRITE DashboardPermissions }{ PRIVATE: "PRIVATE", PUBLIC_READ_ONLY: "PUBLIC_READ_ONLY", PUBLIC_READ_WRITE: "PUBLIC_READ_WRITE", }
var EntityAlertSeverityTypes = struct { // Critical violation in progress CRITICAL EntityAlertSeverity // Not alerting NOT_ALERTING EntityAlertSeverity // No alert conditions set up NOT_CONFIGURED EntityAlertSeverity // Warning violation in progress WARNING EntityAlertSeverity }{ CRITICAL: "CRITICAL", NOT_ALERTING: "NOT_ALERTING", NOT_CONFIGURED: "NOT_CONFIGURED", WARNING: "WARNING", }
var EntityCollectionTypeTypes = struct { // Collections that define the entities that belong to a workload WORKLOAD EntityCollectionType // Collections that define the entity groups that are used to calculate the status of a workload WORKLOAD_STATUS_RULE_GROUP EntityCollectionType }{ WORKLOAD: "WORKLOAD", WORKLOAD_STATUS_RULE_GROUP: "WORKLOAD_STATUS_RULE_GROUP", }
var EntityGoldenEventObjectIdTypes = struct { // The WHERE clause will be done against a domainId. DOMAIN_IDS EntityGoldenEventObjectId // The WHERE clause will be done against a GUID. ENTITY_GUIDS EntityGoldenEventObjectId // The WHERE clause will be done against the name of the entity. ENTITY_NAMES EntityGoldenEventObjectId }{ DOMAIN_IDS: "DOMAIN_IDS", ENTITY_GUIDS: "ENTITY_GUIDS", ENTITY_NAMES: "ENTITY_NAMES", }
var EntityInfrastructureIntegrationTypeTypes = struct { // APACHE_SERVER integration APACHE_SERVER EntityInfrastructureIntegrationType // AWSELASTICSEARCHNODE integration AWSELASTICSEARCHNODE EntityInfrastructureIntegrationType // AWS_ALB integration AWS_ALB EntityInfrastructureIntegrationType // AWS_ALB_LISTENER integration AWS_ALB_LISTENER EntityInfrastructureIntegrationType // AWS_ALB_LISTENER_RULE integration AWS_ALB_LISTENER_RULE EntityInfrastructureIntegrationType // AWS_ALB_TARGET_GROUP integration AWS_ALB_TARGET_GROUP EntityInfrastructureIntegrationType // AWS_API_GATEWAY_API integration AWS_API_GATEWAY_API EntityInfrastructureIntegrationType // AWS_API_GATEWAY_RESOURCE integration AWS_API_GATEWAY_RESOURCE EntityInfrastructureIntegrationType // AWS_API_GATEWAY_RESOURCE_WITH_METRICS integration AWS_API_GATEWAY_RESOURCE_WITH_METRICS EntityInfrastructureIntegrationType // AWS_API_GATEWAY_STAGE integration AWS_API_GATEWAY_STAGE EntityInfrastructureIntegrationType // AWS_AUTO_SCALING_GROUP integration AWS_AUTO_SCALING_GROUP EntityInfrastructureIntegrationType // AWS_AUTO_SCALING_INSTANCE integration AWS_AUTO_SCALING_INSTANCE EntityInfrastructureIntegrationType // AWS_AUTO_SCALING_LAUNCH_CONFIGURATION integration AWS_AUTO_SCALING_LAUNCH_CONFIGURATION EntityInfrastructureIntegrationType // AWS_AUTO_SCALING_POLICY integration AWS_AUTO_SCALING_POLICY EntityInfrastructureIntegrationType // AWS_AUTO_SCALING_REGION_LIMIT integration AWS_AUTO_SCALING_REGION_LIMIT EntityInfrastructureIntegrationType // AWS_BILLING_ACCOUNT_COST integration AWS_BILLING_ACCOUNT_COST EntityInfrastructureIntegrationType // AWS_BILLING_ACCOUNT_SERVICE_COST integration AWS_BILLING_ACCOUNT_SERVICE_COST EntityInfrastructureIntegrationType // AWS_BILLING_BUDGET integration AWS_BILLING_BUDGET EntityInfrastructureIntegrationType // AWS_BILLING_SERVICE_COST integration AWS_BILLING_SERVICE_COST EntityInfrastructureIntegrationType // AWS_CLOUD_FRONT_DISTRIBUTION integration AWS_CLOUD_FRONT_DISTRIBUTION EntityInfrastructureIntegrationType // AWS_CLOUD_TRAIL integration AWS_CLOUD_TRAIL EntityInfrastructureIntegrationType // AWS_DYNAMO_DB_GLOBAL_SECONDARY_INDEX integration AWS_DYNAMO_DB_GLOBAL_SECONDARY_INDEX EntityInfrastructureIntegrationType // AWS_DYNAMO_DB_REGION integration AWS_DYNAMO_DB_REGION EntityInfrastructureIntegrationType // AWS_DYNAMO_DB_TABLE integration AWS_DYNAMO_DB_TABLE EntityInfrastructureIntegrationType // AWS_EBS_VOLUME integration AWS_EBS_VOLUME EntityInfrastructureIntegrationType // AWS_ECS_CLUSTER integration AWS_ECS_CLUSTER EntityInfrastructureIntegrationType // AWS_ECS_SERVICE integration AWS_ECS_SERVICE EntityInfrastructureIntegrationType // AWS_EFS_FILE_SYSTEM integration AWS_EFS_FILE_SYSTEM EntityInfrastructureIntegrationType // AWS_ELASTICSEARCH_CLUSTER integration AWS_ELASTICSEARCH_CLUSTER EntityInfrastructureIntegrationType // AWS_ELASTICSEARCH_INSTANCE integration AWS_ELASTICSEARCH_INSTANCE EntityInfrastructureIntegrationType // AWS_ELASTIC_BEANSTALK_ENVIRONMENT integration AWS_ELASTIC_BEANSTALK_ENVIRONMENT EntityInfrastructureIntegrationType // AWS_ELASTIC_BEANSTALK_INSTANCE integration AWS_ELASTIC_BEANSTALK_INSTANCE EntityInfrastructureIntegrationType // AWS_ELASTIC_MAP_REDUCE_CLUSTER integration AWS_ELASTIC_MAP_REDUCE_CLUSTER EntityInfrastructureIntegrationType // AWS_ELASTIC_MAP_REDUCE_INSTANCE integration AWS_ELASTIC_MAP_REDUCE_INSTANCE EntityInfrastructureIntegrationType // AWS_ELASTIC_MAP_REDUCE_INSTANCE_FLEET integration AWS_ELASTIC_MAP_REDUCE_INSTANCE_FLEET EntityInfrastructureIntegrationType // AWS_ELASTIC_MAP_REDUCE_INSTANCE_GROUP integration AWS_ELASTIC_MAP_REDUCE_INSTANCE_GROUP EntityInfrastructureIntegrationType // AWS_ELASTI_CACHE_MEMCACHED_CLUSTER integration AWS_ELASTI_CACHE_MEMCACHED_CLUSTER EntityInfrastructureIntegrationType // AWS_ELASTI_CACHE_MEMCACHED_NODE integration AWS_ELASTI_CACHE_MEMCACHED_NODE EntityInfrastructureIntegrationType // AWS_ELASTI_CACHE_REDIS_CLUSTER integration AWS_ELASTI_CACHE_REDIS_CLUSTER EntityInfrastructureIntegrationType // AWS_ELASTI_CACHE_REDIS_NODE integration AWS_ELASTI_CACHE_REDIS_NODE EntityInfrastructureIntegrationType // AWS_ELB integration AWS_ELB EntityInfrastructureIntegrationType // AWS_HEALTH_ISSUE integration AWS_HEALTH_ISSUE EntityInfrastructureIntegrationType // AWS_HEALTH_NOTIFICATION integration AWS_HEALTH_NOTIFICATION EntityInfrastructureIntegrationType // AWS_HEALTH_SCHEDULED_CHANGE integration AWS_HEALTH_SCHEDULED_CHANGE EntityInfrastructureIntegrationType // AWS_HEALTH_UNKNOWN integration AWS_HEALTH_UNKNOWN EntityInfrastructureIntegrationType // AWS_IAM integration AWS_IAM EntityInfrastructureIntegrationType // AWS_IAM_GROUP integration AWS_IAM_GROUP EntityInfrastructureIntegrationType // AWS_IAM_OPEN_ID_PROVIDER integration AWS_IAM_OPEN_ID_PROVIDER EntityInfrastructureIntegrationType // AWS_IAM_POLICY integration AWS_IAM_POLICY EntityInfrastructureIntegrationType // AWS_IAM_ROLE integration AWS_IAM_ROLE EntityInfrastructureIntegrationType // AWS_IAM_SAML_PROVIDER integration AWS_IAM_SAML_PROVIDER EntityInfrastructureIntegrationType // AWS_IAM_SERVER_CERTIFICATE integration AWS_IAM_SERVER_CERTIFICATE EntityInfrastructureIntegrationType // AWS_IAM_USER integration AWS_IAM_USER EntityInfrastructureIntegrationType // AWS_IAM_VIRTUAL_MFA_DEVICE integration AWS_IAM_VIRTUAL_MFA_DEVICE EntityInfrastructureIntegrationType // AWS_IOT_BROKER integration AWS_IOT_BROKER EntityInfrastructureIntegrationType // AWS_IOT_RULE integration AWS_IOT_RULE EntityInfrastructureIntegrationType // AWS_IOT_RULE_ACTION integration AWS_IOT_RULE_ACTION EntityInfrastructureIntegrationType // AWS_KINESIS_DELIVERY_STREAM integration AWS_KINESIS_DELIVERY_STREAM EntityInfrastructureIntegrationType // AWS_KINESIS_STREAM integration AWS_KINESIS_STREAM EntityInfrastructureIntegrationType // AWS_KINESIS_STREAM_SHARD integration AWS_KINESIS_STREAM_SHARD EntityInfrastructureIntegrationType // AWS_LAMBDA_AGENT_TRANSACTION integration AWS_LAMBDA_AGENT_TRANSACTION EntityInfrastructureIntegrationType // AWS_LAMBDA_AGENT_TRANSACTION_ERROR integration AWS_LAMBDA_AGENT_TRANSACTION_ERROR EntityInfrastructureIntegrationType // AWS_LAMBDA_EDGE_FUNCTION integration AWS_LAMBDA_EDGE_FUNCTION EntityInfrastructureIntegrationType // AWS_LAMBDA_EVENT_SOURCE_MAPPING integration AWS_LAMBDA_EVENT_SOURCE_MAPPING EntityInfrastructureIntegrationType // AWS_LAMBDA_FUNCTION integration AWS_LAMBDA_FUNCTION EntityInfrastructureIntegrationType // AWS_LAMBDA_FUNCTION_ALIAS integration AWS_LAMBDA_FUNCTION_ALIAS EntityInfrastructureIntegrationType // AWS_LAMBDA_OPERATION integration AWS_LAMBDA_OPERATION EntityInfrastructureIntegrationType // AWS_LAMBDA_REGION integration AWS_LAMBDA_REGION EntityInfrastructureIntegrationType // AWS_LAMBDA_SPAN integration AWS_LAMBDA_SPAN EntityInfrastructureIntegrationType // AWS_LAMBDA_TRACE integration AWS_LAMBDA_TRACE EntityInfrastructureIntegrationType // AWS_RDS_DB_CLUSTER integration AWS_RDS_DB_CLUSTER EntityInfrastructureIntegrationType // AWS_RDS_DB_INSTANCE integration AWS_RDS_DB_INSTANCE EntityInfrastructureIntegrationType // AWS_REDSHIFT_CLUSTER integration AWS_REDSHIFT_CLUSTER EntityInfrastructureIntegrationType // AWS_REDSHIFT_NODE integration AWS_REDSHIFT_NODE EntityInfrastructureIntegrationType // AWS_ROUTE53_HEALTH_CHECK integration AWS_ROUTE53_HEALTH_CHECK EntityInfrastructureIntegrationType // AWS_ROUTE53_ZONE integration AWS_ROUTE53_ZONE EntityInfrastructureIntegrationType // AWS_ROUTE53_ZONE_RECORD_SET integration AWS_ROUTE53_ZONE_RECORD_SET EntityInfrastructureIntegrationType // AWS_S3_BUCKET integration AWS_S3_BUCKET EntityInfrastructureIntegrationType // AWS_S3_BUCKET_REQUESTS integration AWS_S3_BUCKET_REQUESTS EntityInfrastructureIntegrationType // AWS_SES_CONFIGURATION_SET integration AWS_SES_CONFIGURATION_SET EntityInfrastructureIntegrationType // AWS_SES_EVENT_DESTINATION integration AWS_SES_EVENT_DESTINATION EntityInfrastructureIntegrationType // AWS_SES_RECEIPT_FILTER integration AWS_SES_RECEIPT_FILTER EntityInfrastructureIntegrationType // AWS_SES_RECEIPT_RULE integration AWS_SES_RECEIPT_RULE EntityInfrastructureIntegrationType // AWS_SES_RECEIPT_RULE_SET integration AWS_SES_RECEIPT_RULE_SET EntityInfrastructureIntegrationType // AWS_SES_REGION integration AWS_SES_REGION EntityInfrastructureIntegrationType // AWS_SNS_SUBSCRIPTION integration AWS_SNS_SUBSCRIPTION EntityInfrastructureIntegrationType // AWS_SNS_TOPIC integration AWS_SNS_TOPIC EntityInfrastructureIntegrationType // AWS_SQS_QUEUE integration AWS_SQS_QUEUE EntityInfrastructureIntegrationType // AWS_VPC integration AWS_VPC EntityInfrastructureIntegrationType // AWS_VPC_ENDPOINT integration AWS_VPC_ENDPOINT EntityInfrastructureIntegrationType // AWS_VPC_INTERNET_GATEWAY integration AWS_VPC_INTERNET_GATEWAY EntityInfrastructureIntegrationType // AWS_VPC_NAT_GATEWAY integration AWS_VPC_NAT_GATEWAY EntityInfrastructureIntegrationType // AWS_VPC_NETWORK_ACL integration AWS_VPC_NETWORK_ACL EntityInfrastructureIntegrationType // AWS_VPC_NETWORK_INTERFACE integration AWS_VPC_NETWORK_INTERFACE EntityInfrastructureIntegrationType // AWS_VPC_PEERING_CONNECTION integration AWS_VPC_PEERING_CONNECTION EntityInfrastructureIntegrationType // AWS_VPC_ROUTE_TABLE integration AWS_VPC_ROUTE_TABLE EntityInfrastructureIntegrationType // AWS_VPC_SECURITY_GROUP integration AWS_VPC_SECURITY_GROUP EntityInfrastructureIntegrationType // AWS_VPC_SUBNET integration AWS_VPC_SUBNET EntityInfrastructureIntegrationType // AWS_VPC_VPN_CONNECTION integration AWS_VPC_VPN_CONNECTION EntityInfrastructureIntegrationType // AWS_VPC_VPN_TUNNEL integration AWS_VPC_VPN_TUNNEL EntityInfrastructureIntegrationType // AZURE_APP_SERVICE_HOST_NAME integration AZURE_APP_SERVICE_HOST_NAME EntityInfrastructureIntegrationType // AZURE_APP_SERVICE_WEB_APP integration AZURE_APP_SERVICE_WEB_APP EntityInfrastructureIntegrationType // AZURE_COSMOS_DB_ACCOUNT integration AZURE_COSMOS_DB_ACCOUNT EntityInfrastructureIntegrationType // AZURE_FUNCTIONS_APP integration AZURE_FUNCTIONS_APP EntityInfrastructureIntegrationType // AZURE_LOAD_BALANCER integration AZURE_LOAD_BALANCER EntityInfrastructureIntegrationType // AZURE_LOAD_BALANCER_BACKEND integration AZURE_LOAD_BALANCER_BACKEND EntityInfrastructureIntegrationType // AZURE_LOAD_BALANCER_FRONTEND_IP integration AZURE_LOAD_BALANCER_FRONTEND_IP EntityInfrastructureIntegrationType // AZURE_LOAD_BALANCER_INBOUND_NAT_POOL integration AZURE_LOAD_BALANCER_INBOUND_NAT_POOL EntityInfrastructureIntegrationType // AZURE_LOAD_BALANCER_INBOUND_NAT_RULE integration AZURE_LOAD_BALANCER_INBOUND_NAT_RULE EntityInfrastructureIntegrationType // AZURE_LOAD_BALANCER_PROBE integration AZURE_LOAD_BALANCER_PROBE EntityInfrastructureIntegrationType // AZURE_LOAD_BALANCER_RULE integration AZURE_LOAD_BALANCER_RULE EntityInfrastructureIntegrationType // AZURE_MARIADB_SERVER integration AZURE_MARIADB_SERVER EntityInfrastructureIntegrationType // AZURE_MYSQL_SERVER integration AZURE_MYSQL_SERVER EntityInfrastructureIntegrationType // AZURE_POSTGRESQL_SERVER integration AZURE_POSTGRESQL_SERVER EntityInfrastructureIntegrationType // AZURE_REDIS_CACHE integration AZURE_REDIS_CACHE EntityInfrastructureIntegrationType // AZURE_REDIS_CACHE_SHARD integration AZURE_REDIS_CACHE_SHARD EntityInfrastructureIntegrationType // AZURE_SERVICE_BUS_NAMESPACE integration AZURE_SERVICE_BUS_NAMESPACE EntityInfrastructureIntegrationType // AZURE_SERVICE_BUS_QUEUE integration AZURE_SERVICE_BUS_QUEUE EntityInfrastructureIntegrationType // AZURE_SERVICE_BUS_SUBSCRIPTION integration AZURE_SERVICE_BUS_SUBSCRIPTION EntityInfrastructureIntegrationType // AZURE_SERVICE_BUS_TOPIC integration AZURE_SERVICE_BUS_TOPIC EntityInfrastructureIntegrationType // AZURE_SQL_DATABASE integration AZURE_SQL_DATABASE EntityInfrastructureIntegrationType // AZURE_SQL_ELASTIC_POOL integration AZURE_SQL_ELASTIC_POOL EntityInfrastructureIntegrationType // AZURE_SQL_FIREWALL integration AZURE_SQL_FIREWALL EntityInfrastructureIntegrationType // AZURE_SQL_REPLICATION_LINK integration AZURE_SQL_REPLICATION_LINK EntityInfrastructureIntegrationType // AZURE_SQL_RESTORE_POINT integration AZURE_SQL_RESTORE_POINT EntityInfrastructureIntegrationType // AZURE_SQL_SERVER integration AZURE_SQL_SERVER EntityInfrastructureIntegrationType // AZURE_STORAGE_ACCOUNT integration AZURE_STORAGE_ACCOUNT EntityInfrastructureIntegrationType // AZURE_VIRTUAL_NETWORKS integration AZURE_VIRTUAL_NETWORKS EntityInfrastructureIntegrationType // AZURE_VIRTUAL_NETWORKS_IP_CONFIGURATION integration AZURE_VIRTUAL_NETWORKS_IP_CONFIGURATION EntityInfrastructureIntegrationType // AZURE_VIRTUAL_NETWORKS_NETWORK_INTERFACE integration AZURE_VIRTUAL_NETWORKS_NETWORK_INTERFACE EntityInfrastructureIntegrationType // AZURE_VIRTUAL_NETWORKS_PEERING integration AZURE_VIRTUAL_NETWORKS_PEERING EntityInfrastructureIntegrationType // AZURE_VIRTUAL_NETWORKS_PUBLIC_IP_ADDRESS integration AZURE_VIRTUAL_NETWORKS_PUBLIC_IP_ADDRESS EntityInfrastructureIntegrationType // AZURE_VIRTUAL_NETWORKS_ROUTE integration AZURE_VIRTUAL_NETWORKS_ROUTE EntityInfrastructureIntegrationType // AZURE_VIRTUAL_NETWORKS_ROUTE_TABLE integration AZURE_VIRTUAL_NETWORKS_ROUTE_TABLE EntityInfrastructureIntegrationType // AZURE_VIRTUAL_NETWORKS_SECURITY_GROUP integration AZURE_VIRTUAL_NETWORKS_SECURITY_GROUP EntityInfrastructureIntegrationType // AZURE_VIRTUAL_NETWORKS_SECURITY_RULE integration AZURE_VIRTUAL_NETWORKS_SECURITY_RULE EntityInfrastructureIntegrationType // AZURE_VIRTUAL_NETWORKS_SUBNET integration AZURE_VIRTUAL_NETWORKS_SUBNET EntityInfrastructureIntegrationType // CASSANDRA_NODE integration CASSANDRA_NODE EntityInfrastructureIntegrationType // CONSUL_AGENT integration CONSUL_AGENT EntityInfrastructureIntegrationType // COUCHBASE_BUCKET integration COUCHBASE_BUCKET EntityInfrastructureIntegrationType // COUCHBASE_CLUSTER integration COUCHBASE_CLUSTER EntityInfrastructureIntegrationType // COUCHBASE_NODE integration COUCHBASE_NODE EntityInfrastructureIntegrationType // COUCHBASE_QUERY_ENGINE integration COUCHBASE_QUERY_ENGINE EntityInfrastructureIntegrationType // ELASTICSEARCH_NODE integration ELASTICSEARCH_NODE EntityInfrastructureIntegrationType // F5_NODE integration F5_NODE EntityInfrastructureIntegrationType // F5_POOL integration F5_POOL EntityInfrastructureIntegrationType // F5_POOL_MEMBER integration F5_POOL_MEMBER EntityInfrastructureIntegrationType // F5_SYSTEM integration F5_SYSTEM EntityInfrastructureIntegrationType // F5_VIRTUAL_SERVER integration F5_VIRTUAL_SERVER EntityInfrastructureIntegrationType // GCP_APP_ENGINE_SERVICE integration GCP_APP_ENGINE_SERVICE EntityInfrastructureIntegrationType // GCP_BIG_QUERY_DATA_SET integration GCP_BIG_QUERY_DATA_SET EntityInfrastructureIntegrationType // GCP_BIG_QUERY_PROJECT integration GCP_BIG_QUERY_PROJECT EntityInfrastructureIntegrationType // GCP_BIG_QUERY_TABLE integration GCP_BIG_QUERY_TABLE EntityInfrastructureIntegrationType // GCP_CLOUD_FUNCTION integration GCP_CLOUD_FUNCTION EntityInfrastructureIntegrationType // GCP_CLOUD_SQL integration GCP_CLOUD_SQL EntityInfrastructureIntegrationType // GCP_CLOUD_TASKS_QUEUE integration GCP_CLOUD_TASKS_QUEUE EntityInfrastructureIntegrationType // GCP_HTTP_LOAD_BALANCER integration GCP_HTTP_LOAD_BALANCER EntityInfrastructureIntegrationType // GCP_INTERNAL_LOAD_BALANCER integration GCP_INTERNAL_LOAD_BALANCER EntityInfrastructureIntegrationType // GCP_KUBERNETES_CONTAINER integration GCP_KUBERNETES_CONTAINER EntityInfrastructureIntegrationType // GCP_KUBERNETES_NODE integration GCP_KUBERNETES_NODE EntityInfrastructureIntegrationType // GCP_KUBERNETES_POD integration GCP_KUBERNETES_POD EntityInfrastructureIntegrationType // GCP_PUB_SUB_SUBSCRIPTION integration GCP_PUB_SUB_SUBSCRIPTION EntityInfrastructureIntegrationType // GCP_PUB_SUB_TOPIC integration GCP_PUB_SUB_TOPIC EntityInfrastructureIntegrationType // GCP_SPANNER_DATABASE integration GCP_SPANNER_DATABASE EntityInfrastructureIntegrationType // GCP_SPANNER_INSTANCE integration GCP_SPANNER_INSTANCE EntityInfrastructureIntegrationType // GCP_STORAGE_BUCKET integration GCP_STORAGE_BUCKET EntityInfrastructureIntegrationType // GCP_TCP_SSL_PROXY_LOAD_BALANCER integration GCP_TCP_SSL_PROXY_LOAD_BALANCER EntityInfrastructureIntegrationType // GCP_VIRTUAL_MACHINE_DISK integration GCP_VIRTUAL_MACHINE_DISK EntityInfrastructureIntegrationType // KAFKA_BROKER integration KAFKA_BROKER EntityInfrastructureIntegrationType // KAFKA_TOPIC integration KAFKA_TOPIC EntityInfrastructureIntegrationType // KUBERNETES_CLUSTER integration KUBERNETES_CLUSTER EntityInfrastructureIntegrationType // MEMCACHED_INSTANCE integration MEMCACHED_INSTANCE EntityInfrastructureIntegrationType // MSSQL_INSTANCE integration MSSQL_INSTANCE EntityInfrastructureIntegrationType // MYSQL_NODE integration MYSQL_NODE EntityInfrastructureIntegrationType // NA integration NA EntityInfrastructureIntegrationType // NGINX_SERVER integration NGINX_SERVER EntityInfrastructureIntegrationType // ORACLE_DB_INSTANCE integration ORACLE_DB_INSTANCE EntityInfrastructureIntegrationType // POSTGRE_SQL_INSTANCE integration POSTGRE_SQL_INSTANCE EntityInfrastructureIntegrationType // RABBIT_MQ_CLUSTER integration RABBIT_MQ_CLUSTER EntityInfrastructureIntegrationType // RABBIT_MQ_EXCHANGE integration RABBIT_MQ_EXCHANGE EntityInfrastructureIntegrationType // RABBIT_MQ_NODE integration RABBIT_MQ_NODE EntityInfrastructureIntegrationType // RABBIT_MQ_QUEUE integration RABBIT_MQ_QUEUE EntityInfrastructureIntegrationType // REDIS_INSTANCE integration REDIS_INSTANCE EntityInfrastructureIntegrationType // VARNISH_INSTANCE integration VARNISH_INSTANCE EntityInfrastructureIntegrationType }{}/* 184 elements not displayed */
var EntityRelationshipEdgeDirectionTypes = struct { // Traverse both inbound and outbound connections. BOTH EntityRelationshipEdgeDirection // Traverse inbound connections to the source of the relationship. INBOUND EntityRelationshipEdgeDirection // Traverse outbound connections to the target of the relationship. OUTBOUND EntityRelationshipEdgeDirection }{ BOTH: "BOTH", INBOUND: "INBOUND", OUTBOUND: "OUTBOUND", }
var EntityRelationshipEdgeTypeTypes = struct { // The source entity calls the target entity. CALLS EntityRelationshipEdgeType // The source entity contains the target entity. CONTAINS EntityRelationshipEdgeType // The source entity hosts the target. HOSTS EntityRelationshipEdgeType // The source and target entities are perspectives on the same thing. IS EntityRelationshipEdgeType // The source is an Application that serves the target Browser application. SERVES EntityRelationshipEdgeType }{ CALLS: "CALLS", CONTAINS: "CONTAINS", HOSTS: "HOSTS", IS: "IS", SERVES: "SERVES", }
var EntityRelationshipTypeTypes = struct { // The source entity calls the target entity. CALLS EntityRelationshipType // The source entity contains the target entity CONTAINS EntityRelationshipType // The source entity hosts the target HOSTS EntityRelationshipType // The source and target entities are perspectives on the same thing IS EntityRelationshipType // The source is an Application that serves the target Browser application SERVES EntityRelationshipType // Type not known UNKNOWN EntityRelationshipType }{ CALLS: "CALLS", CONTAINS: "CONTAINS", HOSTS: "HOSTS", IS: "IS", SERVES: "SERVES", UNKNOWN: "UNKNOWN", }
var EntitySearchCountsFacetTypes = struct { // Facet by account id. ACCOUNT_ID EntitySearchCountsFacet // Facet by alert severity. ALERT_SEVERITY EntitySearchCountsFacet // Facet by entity domain. DOMAIN EntitySearchCountsFacet // Facet by entity domain and entity type. DOMAIN_TYPE EntitySearchCountsFacet // Facet by entity name NAME EntitySearchCountsFacet // Facet by reporting state. REPORTING EntitySearchCountsFacet // Facet by entity type. TYPE EntitySearchCountsFacet }{ ACCOUNT_ID: "ACCOUNT_ID", ALERT_SEVERITY: "ALERT_SEVERITY", DOMAIN: "DOMAIN", DOMAIN_TYPE: "DOMAIN_TYPE", NAME: "NAME", REPORTING: "REPORTING", TYPE: "TYPE", }
var EntitySearchQueryBuilderDomainTypes = struct { // Any APM entity APM EntitySearchQueryBuilderDomain // Any Browser entity BROWSER EntitySearchQueryBuilderDomain // Any External entity EXT EntitySearchQueryBuilderDomain // Any Infrastructure entity INFRA EntitySearchQueryBuilderDomain // Any Mobile entity MOBILE EntitySearchQueryBuilderDomain // Any Synthetics entity SYNTH EntitySearchQueryBuilderDomain }{ APM: "APM", BROWSER: "BROWSER", EXT: "EXT", INFRA: "INFRA", MOBILE: "MOBILE", SYNTH: "SYNTH", }
var EntitySearchQueryBuilderTypeTypes = struct { // An application APPLICATION EntitySearchQueryBuilderType // A dashboard DASHBOARD EntitySearchQueryBuilderType // A host HOST EntitySearchQueryBuilderType // A monitor MONITOR EntitySearchQueryBuilderType // A workload WORKLOAD EntitySearchQueryBuilderType }{ APPLICATION: "APPLICATION", DASHBOARD: "DASHBOARD", HOST: "HOST", MONITOR: "MONITOR", WORKLOAD: "WORKLOAD", }
var EntitySearchSortCriteriaTypes = struct { // Sort by alert severity. ALERT_SEVERITY EntitySearchSortCriteria // Sort by entity domain. DOMAIN EntitySearchSortCriteria // Sort by relevance. Note that these results can't be paginated. MOST_RELEVANT EntitySearchSortCriteria // Sort by entity name. NAME EntitySearchSortCriteria // Sort by reporting state. REPORTING EntitySearchSortCriteria // Sort by entity type. TYPE EntitySearchSortCriteria }{ ALERT_SEVERITY: "ALERT_SEVERITY", DOMAIN: "DOMAIN", MOST_RELEVANT: "MOST_RELEVANT", NAME: "NAME", REPORTING: "REPORTING", TYPE: "TYPE", }
var EntityTypeTypes = struct { // An APM Application APM_APPLICATION_ENTITY EntityType // A database instance seen by an APM Application APM_DATABASE_INSTANCE_ENTITY EntityType // An external service seen by an APM Application APM_EXTERNAL_SERVICE_ENTITY EntityType // A Browser Application BROWSER_APPLICATION_ENTITY EntityType // A Dashboard entity DASHBOARD_ENTITY EntityType // An External entity. For more information about defining External entities, see the [open source documentation](https://github.com/newrelic-experimental/entity-synthesis-definitions). EXTERNAL_ENTITY EntityType // A Generic entity with no detailed data GENERIC_ENTITY EntityType // An Infrastructure entity GENERIC_INFRASTRUCTURE_ENTITY EntityType // An Infrastructure Integration AWS Lambda Function entity INFRASTRUCTURE_AWS_LAMBDA_FUNCTION_ENTITY EntityType // An Infrastructure Host entity INFRASTRUCTURE_HOST_ENTITY EntityType // A Mobile Application MOBILE_APPLICATION_ENTITY EntityType // A Secure Credential entity SECURE_CREDENTIAL_ENTITY EntityType // A Synthetic Monitor entity SYNTHETIC_MONITOR_ENTITY EntityType // A Third Party Service entity THIRD_PARTY_SERVICE_ENTITY EntityType // A entity that is unavailable UNAVAILABLE_ENTITY EntityType // A Workload entity WORKLOAD_ENTITY EntityType }{ APM_APPLICATION_ENTITY: "APM_APPLICATION_ENTITY", APM_DATABASE_INSTANCE_ENTITY: "APM_DATABASE_INSTANCE_ENTITY", APM_EXTERNAL_SERVICE_ENTITY: "APM_EXTERNAL_SERVICE_ENTITY", BROWSER_APPLICATION_ENTITY: "BROWSER_APPLICATION_ENTITY", DASHBOARD_ENTITY: "DASHBOARD_ENTITY", EXTERNAL_ENTITY: "EXTERNAL_ENTITY", GENERIC_ENTITY: "GENERIC_ENTITY", GENERIC_INFRASTRUCTURE_ENTITY: "GENERIC_INFRASTRUCTURE_ENTITY", INFRASTRUCTURE_AWS_LAMBDA_FUNCTION_ENTITY: "INFRASTRUCTURE_AWS_LAMBDA_FUNCTION_ENTITY", INFRASTRUCTURE_HOST_ENTITY: "INFRASTRUCTURE_HOST_ENTITY", MOBILE_APPLICATION_ENTITY: "MOBILE_APPLICATION_ENTITY", SECURE_CREDENTIAL_ENTITY: "SECURE_CREDENTIAL_ENTITY", SYNTHETIC_MONITOR_ENTITY: "SYNTHETIC_MONITOR_ENTITY", THIRD_PARTY_SERVICE_ENTITY: "THIRD_PARTY_SERVICE_ENTITY", UNAVAILABLE_ENTITY: "UNAVAILABLE_ENTITY", WORKLOAD_ENTITY: "WORKLOAD_ENTITY", }
var MetricNormalizationRuleActionTypes = struct { // Deny new metrics. DENY_NEW_METRICS MetricNormalizationRuleAction // Ignore matching metrics. IGNORE MetricNormalizationRuleAction // Replace metrics. REPLACE MetricNormalizationRuleAction }{ DENY_NEW_METRICS: "DENY_NEW_METRICS", IGNORE: "IGNORE", REPLACE: "REPLACE", }
var SyntheticMonitorStatusTypes = struct { DELETED SyntheticMonitorStatus DISABLED SyntheticMonitorStatus ENABLED SyntheticMonitorStatus FAULTY SyntheticMonitorStatus MUTED SyntheticMonitorStatus PAUSED SyntheticMonitorStatus }{ DELETED: "DELETED", DISABLED: "DISABLED", ENABLED: "ENABLED", FAULTY: "FAULTY", MUTED: "MUTED", PAUSED: "PAUSED", }
var SyntheticMonitorTypeTypes = struct { BROWSER SyntheticMonitorType CERT_CHECK SyntheticMonitorType SCRIPT_API SyntheticMonitorType SCRIPT_BROWSER SyntheticMonitorType SIMPLE SyntheticMonitorType STEP_MONITOR SyntheticMonitorType }{ BROWSER: "BROWSER", CERT_CHECK: "CERT_CHECK", SCRIPT_API: "SCRIPT_API", SCRIPT_BROWSER: "SCRIPT_BROWSER", SIMPLE: "SIMPLE", STEP_MONITOR: "STEP_MONITOR", }
var TaggingMutationErrorTypeTypes = struct { // Too many concurrent tasks for the same GUID are being sent and we cannot process. Please serialize your requests for the given GUID. CONCURRENT_TASK_EXCEPTION TaggingMutationErrorType // Domain Type invalid. The decoded domain type from the provided GUID is not valid. Please provide a correct GUID. INVALID_DOMAIN_TYPE TaggingMutationErrorType // We could not decode the provided GUID. Entity guid needs to be base64 encoded. INVALID_ENTITY_GUID TaggingMutationErrorType // The tag key is not valid. Char length has been reached, contains a disallowed character(eg :) or is empty INVALID_KEY TaggingMutationErrorType // The tag value is not valid. Char length has been reached, contains a disallowed character(eg :) or is empty INVALID_VALUE TaggingMutationErrorType // The given GUID or tag you're looking for does not exist. NOT_FOUND TaggingMutationErrorType // You've attempted to do something your Domain/EntityType is not permitted to do. Its also possible that an api key is required. NOT_PERMITTED TaggingMutationErrorType // The given entity has reached its tag key count limit. You will need to delete existing tags for the given GUID before continuing. TOO_MANY_TAG_KEYS TaggingMutationErrorType // The given entity has reached its tag value count limit. You will need to delete existing values for the given GUID before continuing. TOO_MANY_TAG_VALUES TaggingMutationErrorType // The changes will be reflected in the entity with some delay UPDATE_WILL_BE_DELAYED TaggingMutationErrorType }{ CONCURRENT_TASK_EXCEPTION: "CONCURRENT_TASK_EXCEPTION", INVALID_DOMAIN_TYPE: "INVALID_DOMAIN_TYPE", INVALID_ENTITY_GUID: "INVALID_ENTITY_GUID", INVALID_KEY: "INVALID_KEY", INVALID_VALUE: "INVALID_VALUE", NOT_FOUND: "NOT_FOUND", NOT_PERMITTED: "NOT_PERMITTED", TOO_MANY_TAG_KEYS: "TOO_MANY_TAG_KEYS", TOO_MANY_TAG_VALUES: "TOO_MANY_TAG_VALUES", UPDATE_WILL_BE_DELAYED: "UPDATE_WILL_BE_DELAYED", }
var WorkloadStatusSourceTypes = struct { // Refers to the result of an automatic rule defined for a workload. ROLLUP_RULE WorkloadStatusSource // Refers to a static status defined for a workload. STATIC WorkloadStatusSource // Refers to an undetermined status source. UNKNOWN WorkloadStatusSource // Refers to the override policy that is applied to a set of partial results within a workload. Any static status always overrides any other status values calculated automatically. Otherwise, the worst status of the partial results is rolled up. WORKLOAD WorkloadStatusSource }{ ROLLUP_RULE: "ROLLUP_RULE", STATIC: "STATIC", UNKNOWN: "UNKNOWN", WORKLOAD: "WORKLOAD", }
var WorkloadStatusValueTypes = struct { // The status of the workload is degraded. DEGRADED WorkloadStatusValue // The status of the workload is disrupted. DISRUPTED WorkloadStatusValue // The status of the workload is operational. OPERATIONAL WorkloadStatusValue // The status of the workload is unknown. UNKNOWN WorkloadStatusValue }{ DEGRADED: "DEGRADED", DISRUPTED: "DISRUPTED", OPERATIONAL: "OPERATIONAL", UNKNOWN: "UNKNOWN", }
Functions ¶
This section is empty.
Types ¶
type Actor ¶ added in v0.53.0
type Actor struct { // Fetch a list of entities. // // You can fetch a max of 25 entities in one query. // // For more details on entities, visit our [entity docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/use-new-relic-graphql-api-query-entities). Entities []EntityInterface `json:"entities,omitempty"` // Fetch a single entity. // // For more details on entities, visit our [entity docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/use-new-relic-graphql-api-query-entities). Entity EntityInterface `json:"entity,omitempty"` // Search for entities using a custom query. // // For more details on how to create a custom query // and what entity data you can request, visit our // [entity docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/use-new-relic-graphql-api-query-entities). // // Note: you must supply either a `query` OR a `queryBuilder` argument, not both. EntitySearch EntitySearch `json:"entitySearch,omitempty"` }
Actor - The `Actor` object contains fields that are scoped to the API user's access level.
func (*Actor) UnmarshalJSON ¶ added in v0.53.0
UnmarshalJSON is used to unmarshal Actor into the correct interfaces per field.
type AgentEnvironmentApplicationInstance ¶ added in v0.59.1
type AgentEnvironmentApplicationInstance struct { // Contains environment attributes regarding the reported setting of the reporting agent. AgentSettingsAttributes []AgentEnvironmentAttribute `json:"agentSettingsAttributes"` // Information of the application instance, such as host and language. Details AgentEnvironmentApplicationInstanceDetails `json:"details"` // Contains general environment attributes from the same environment where the application instance is running. EnvironmentAttributes []AgentEnvironmentAttribute `json:"environmentAttributes"` // Contains environment attributes regarding modules loaded by the application instance. Used only by the Java agent. Modules []AgentEnvironmentApplicationLoadedModule `json:"modules"` }
AgentEnvironmentApplicationInstance - Representation of the New Relic agent collecting data.
type AgentEnvironmentApplicationInstanceDetails ¶ added in v0.59.1
type AgentEnvironmentApplicationInstanceDetails struct { // Host of the application instance. Host string `json:"host"` // ID of the application instance. ID string `json:"id"` // Language of the application instance. Language string `json:"language"` // Name of the application instance. Name string `json:"name"` }
AgentEnvironmentApplicationInstanceDetails - Details of an application instance such as host and language.
type AgentEnvironmentApplicationLoadedModule ¶ added in v0.59.1
type AgentEnvironmentApplicationLoadedModule struct { // Extra module attributes. Attributes []AgentEnvironmentLoadedModuleAttribute `json:"attributes"` // Module name. Name string `json:"name"` // Module version. Version string `json:"version,omitempty"` }
AgentEnvironmentApplicationLoadedModule - Represents a module loaded by the apm application.
type AgentEnvironmentAttribute ¶ added in v0.59.1
type AgentEnvironmentAttribute struct { // Environment attribute name. Attribute string `json:"attribute"` // Value of the environment attribute. Value string `json:"value"` }
AgentEnvironmentAttribute - Represents one attribute from within the environment on which an agent is running.
type AgentEnvironmentFilter ¶ added in v0.59.1
type AgentEnvironmentFilter struct { // A string to filter results that includes this string anywhere. Case insensitive. Contains string `json:"contains,omitempty"` // A string to filter out results that includes this string anywhere. Case insensitive. DoesNotContain string `json:"doesNotContain,omitempty"` // A string to filter results that are exactly as the string provided. Case sensitive. Equals string `json:"equals,omitempty"` // A string to filter results that starts with this string. Case insensitive. StartsWith string `json:"startsWith,omitempty"` }
AgentEnvironmentFilter - A filter that can be applied to filter results.
type AgentEnvironmentLoadedModuleAttribute ¶ added in v0.59.1
type AgentEnvironmentLoadedModuleAttribute struct { // Name of the module attribute. Name string `json:"name"` // Value of the module attribute. Value string `json:"value"` }
AgentEnvironmentLoadedModuleAttribute - Attribute belonging to a loaded module.
type AlertableEntity ¶ added in v0.53.0
type AlertableEntity struct { // The current alerting severity of the entity. AlertSeverity EntityAlertSeverity `json:"alertSeverity,omitempty"` // Violations on the entity that were open during the specified time window. AlertViolations []EntityAlertViolation `json:"alertViolations,omitempty"` // Recent violations on the entity. RecentAlertViolations []EntityAlertViolation `json:"recentAlertViolations,omitempty"` }
AlertableEntity -
func (AlertableEntity) GetAlertSeverity ¶ added in v0.54.0
func (x AlertableEntity) GetAlertSeverity() EntityAlertSeverity
GetAlertSeverity returns a pointer to the value of AlertSeverity from AlertableEntity
func (AlertableEntity) GetAlertViolations ¶ added in v0.54.0
func (x AlertableEntity) GetAlertViolations() []EntityAlertViolation
GetAlertViolations returns a pointer to the value of AlertViolations from AlertableEntity
func (AlertableEntity) GetRecentAlertViolations ¶ added in v0.54.0
func (x AlertableEntity) GetRecentAlertViolations() []EntityAlertViolation
GetRecentAlertViolations returns a pointer to the value of RecentAlertViolations from AlertableEntity
func (*AlertableEntity) ImplementsAlertableEntity ¶ added in v0.53.0
func (x *AlertableEntity) ImplementsAlertableEntity()
type AlertableEntityInterface ¶ added in v0.53.0
type AlertableEntityInterface interface {
ImplementsAlertableEntity()
}
AlertableEntity -
func UnmarshalAlertableEntityInterface ¶ added in v0.53.0
func UnmarshalAlertableEntityInterface(b []byte) (*AlertableEntityInterface, error)
UnmarshalAlertableEntityInterface unmarshals the interface into the correct type based on __typename provided by GraphQL
type AlertableEntityOutline ¶ added in v0.53.0
type AlertableEntityOutline struct { // The current alerting severity of the entity. AlertSeverity EntityAlertSeverity `json:"alertSeverity,omitempty"` }
AlertableEntityOutline -
func (AlertableEntityOutline) GetAlertSeverity ¶ added in v0.54.0
func (x AlertableEntityOutline) GetAlertSeverity() EntityAlertSeverity
GetAlertSeverity returns a pointer to the value of AlertSeverity from AlertableEntityOutline
func (*AlertableEntityOutline) ImplementsAlertableEntityOutline ¶ added in v0.53.0
func (x *AlertableEntityOutline) ImplementsAlertableEntityOutline()
func (AlertableEntityOutline) ImplementsEntity ¶ added in v0.53.0
func (x AlertableEntityOutline) ImplementsEntity()
Need Outlines to also implement Entity
type AlertableEntityOutlineInterface ¶ added in v0.53.0
type AlertableEntityOutlineInterface interface {
ImplementsAlertableEntityOutline()
}
AlertableEntityOutline -
func UnmarshalAlertableEntityOutlineInterface ¶ added in v0.53.0
func UnmarshalAlertableEntityOutlineInterface(b []byte) (*AlertableEntityOutlineInterface, error)
UnmarshalAlertableEntityOutlineInterface unmarshals the interface into the correct type based on __typename provided by GraphQL
type ApmApplicationDeployment ¶ added in v0.53.0
type ApmApplicationDeployment struct { // The changelog of the deployment Changelog string `json:"changelog,omitempty"` // Description of the deployment Description string `json:"description,omitempty"` // A link to view the deployment in the UI Permalink string `json:"permalink,omitempty"` // The revision of the app that was deployed Revision string `json:"revision,omitempty"` // The moment the deployment occurred Timestamp *nrtime.EpochMilliseconds `json:"timestamp,omitempty"` // The user who triggered the deployment User string `json:"user,omitempty"` }
ApmApplicationDeployment - An APM application deployment marker
type ApmApplicationEntity ¶ added in v0.16.0
type ApmApplicationEntity struct { // Account accounts.AccountOutline `json:"account,omitempty"` // The New Relic account ID associated with this entity. AccountID int `json:"accountId,omitempty"` // The current alerting severity of the entity. AlertSeverity EntityAlertSeverity `json:"alertSeverity,omitempty"` // Violations on the entity that were open during the specified time window. AlertViolations []EntityAlertViolation `json:"alertViolations,omitempty"` // Summary statistics about the Browser App injected by an APM Application. ApmBrowserSummary ApmBrowserApplicationSummaryData `json:"apmBrowserSummary,omitempty"` // Summary statistics about the APM App. ApmSummary ApmApplicationSummaryData `json:"apmSummary,omitempty"` // The ID of the APM Application. ApplicationID int `json:"applicationId,omitempty"` // List of APM application instances. ApplicationInstances []AgentEnvironmentApplicationInstance `json:"applicationInstances"` // Deployments of the APM Application. Deployments []ApmApplicationDeployment `json:"deployments,omitempty"` // The entity's domain Domain string `json:"domain,omitempty"` // A value representing the combination of the entity's domain and type. EntityType EntityType `json:"entityType,omitempty"` // A unique entity identifier. GUID common.EntityGUID `json:"guid,omitempty"` // The list of golden metrics for a specific entity GoldenMetrics EntityGoldenContextScopedGoldenMetrics `json:"goldenMetrics"` // The list of golden tags for a specific entityType. GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags"` // The time the entity was indexed. IndexedAt *nrtime.EpochMilliseconds `json:"indexedAt,omitempty"` // The programming language of the APM Application. Language string `json:"language,omitempty"` // Retrieves a rule. MetricNormalizationRule MetricNormalizationRule `json:"metricNormalizationRule,omitempty"` // Retrieves the rules for the application. MetricNormalizationRules []MetricNormalizationRule `json:"metricNormalizationRules"` // Make an `Entity` scoped query to NRDB with a NRQL string. // // A relevant `WHERE` clause will be added to your query to scope data to the entity in question. // // See the [NRQL Docs](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/nrql-resources/nrql-syntax-components-functions) for more information about generating a query string. NRDBQuery nrdb.NRDBResultContainer `json:"nrdbQuery,omitempty"` // The name of this entity. Name string `json:"name,omitempty"` // NerdStorage NerdStorageEntityScope `json:"nerdStorage,omitempty"` // The url to the entity. Permalink string `json:"permalink,omitempty"` // Recent violations on the entity. RecentAlertViolations []EntityAlertViolation `json:"recentAlertViolations,omitempty"` // Related entities result with optional filtering. RelatedEntities EntityRelationshipRelatedEntitiesResult `json:"relatedEntities,omitempty"` // A list of the entities' relationships. // // For more information, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-relationships-api-tutorial). Relationships []EntityRelationship `json:"relationships,omitempty"` // The reporting status of the entity. If New Relic is successfully collecting data from your application, this will be true. Reporting bool `json:"reporting,omitempty"` // The running versions of the language agent in the APM Application. RunningAgentVersions ApmApplicationRunningAgentVersions `json:"runningAgentVersions,omitempty"` // The service level defined for the entity. ServiceLevel ServiceLevelDefinition `json:"serviceLevel,omitempty"` // Configuration settings for the APM Application Settings ApmApplicationSettings `json:"settings,omitempty"` // The tags applied to the entity. // // For details on tags, as well as query and mutation examples, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-tagging-api-tutorial). Tags []EntityTag `json:"tags,omitempty"` // The tags applied to the entity with their metadata. TagsWithMetadata []EntityTagWithMetadata `json:"tagsWithMetadata,omitempty"` // The entity's type Type string `json:"type,omitempty"` }
ApmApplicationEntity - An APM Application entity.
func (ApmApplicationEntity) GetAccount ¶ added in v0.54.0
func (x ApmApplicationEntity) GetAccount() accounts.AccountOutline
GetAccount returns a pointer to the value of Account from ApmApplicationEntity
func (ApmApplicationEntity) GetAccountID ¶ added in v0.54.0
func (x ApmApplicationEntity) GetAccountID() int
GetAccountID returns a pointer to the value of AccountID from ApmApplicationEntity
func (ApmApplicationEntity) GetAlertSeverity ¶ added in v0.54.0
func (x ApmApplicationEntity) GetAlertSeverity() EntityAlertSeverity
GetAlertSeverity returns a pointer to the value of AlertSeverity from ApmApplicationEntity
func (ApmApplicationEntity) GetAlertViolations ¶ added in v0.54.0
func (x ApmApplicationEntity) GetAlertViolations() []EntityAlertViolation
GetAlertViolations returns a pointer to the value of AlertViolations from ApmApplicationEntity
func (ApmApplicationEntity) GetApmBrowserSummary ¶ added in v0.54.0
func (x ApmApplicationEntity) GetApmBrowserSummary() ApmBrowserApplicationSummaryData
GetApmBrowserSummary returns a pointer to the value of ApmBrowserSummary from ApmApplicationEntity
func (ApmApplicationEntity) GetApmSummary ¶ added in v0.54.0
func (x ApmApplicationEntity) GetApmSummary() ApmApplicationSummaryData
GetApmSummary returns a pointer to the value of ApmSummary from ApmApplicationEntity
func (ApmApplicationEntity) GetApplicationID ¶ added in v0.54.0
func (x ApmApplicationEntity) GetApplicationID() int
GetApplicationID returns a pointer to the value of ApplicationID from ApmApplicationEntity
func (ApmApplicationEntity) GetApplicationInstances ¶ added in v0.59.1
func (x ApmApplicationEntity) GetApplicationInstances() []AgentEnvironmentApplicationInstance
GetApplicationInstances returns a pointer to the value of ApplicationInstances from ApmApplicationEntity
func (ApmApplicationEntity) GetDeployments ¶ added in v0.54.0
func (x ApmApplicationEntity) GetDeployments() []ApmApplicationDeployment
GetDeployments returns a pointer to the value of Deployments from ApmApplicationEntity
func (ApmApplicationEntity) GetDomain ¶ added in v0.54.0
func (x ApmApplicationEntity) GetDomain() string
GetDomain returns a pointer to the value of Domain from ApmApplicationEntity
func (ApmApplicationEntity) GetEntityType ¶ added in v0.54.0
func (x ApmApplicationEntity) GetEntityType() EntityType
GetEntityType returns a pointer to the value of EntityType from ApmApplicationEntity
func (ApmApplicationEntity) GetGUID ¶ added in v0.54.0
func (x ApmApplicationEntity) GetGUID() common.EntityGUID
GetGUID returns a pointer to the value of GUID from ApmApplicationEntity
func (ApmApplicationEntity) GetGoldenMetrics ¶ added in v0.59.0
func (x ApmApplicationEntity) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
GetGoldenMetrics returns a pointer to the value of GoldenMetrics from ApmApplicationEntity
func (ApmApplicationEntity) GetGoldenTags ¶ added in v0.59.0
func (x ApmApplicationEntity) GetGoldenTags() EntityGoldenContextScopedGoldenTags
GetGoldenTags returns a pointer to the value of GoldenTags from ApmApplicationEntity
func (ApmApplicationEntity) GetIndexedAt ¶ added in v0.54.0
func (x ApmApplicationEntity) GetIndexedAt() *nrtime.EpochMilliseconds
GetIndexedAt returns a pointer to the value of IndexedAt from ApmApplicationEntity
func (ApmApplicationEntity) GetLanguage ¶ added in v0.54.0
func (x ApmApplicationEntity) GetLanguage() string
GetLanguage returns a pointer to the value of Language from ApmApplicationEntity
func (ApmApplicationEntity) GetMetricNormalizationRule ¶ added in v0.54.0
func (x ApmApplicationEntity) GetMetricNormalizationRule() MetricNormalizationRule
GetMetricNormalizationRule returns a pointer to the value of MetricNormalizationRule from ApmApplicationEntity
func (ApmApplicationEntity) GetMetricNormalizationRules ¶ added in v0.54.0
func (x ApmApplicationEntity) GetMetricNormalizationRules() []MetricNormalizationRule
GetMetricNormalizationRules returns a pointer to the value of MetricNormalizationRules from ApmApplicationEntity
func (ApmApplicationEntity) GetNRDBQuery ¶ added in v0.54.0
func (x ApmApplicationEntity) GetNRDBQuery() nrdb.NRDBResultContainer
GetNRDBQuery returns a pointer to the value of NRDBQuery from ApmApplicationEntity
func (ApmApplicationEntity) GetName ¶ added in v0.54.0
func (x ApmApplicationEntity) GetName() string
GetName returns a pointer to the value of Name from ApmApplicationEntity
func (ApmApplicationEntity) GetNerdStorage ¶ added in v0.54.0
func (x ApmApplicationEntity) GetNerdStorage() NerdStorageEntityScope
GetNerdStorage returns a pointer to the value of NerdStorage from ApmApplicationEntity
func (ApmApplicationEntity) GetPermalink ¶ added in v0.54.0
func (x ApmApplicationEntity) GetPermalink() string
GetPermalink returns a pointer to the value of Permalink from ApmApplicationEntity
func (ApmApplicationEntity) GetRecentAlertViolations ¶ added in v0.54.0
func (x ApmApplicationEntity) GetRecentAlertViolations() []EntityAlertViolation
GetRecentAlertViolations returns a pointer to the value of RecentAlertViolations from ApmApplicationEntity
func (ApmApplicationEntity) GetRelatedEntities ¶ added in v0.63.0
func (x ApmApplicationEntity) GetRelatedEntities() EntityRelationshipRelatedEntitiesResult
GetRelatedEntities returns a pointer to the value of RelatedEntities from ApmApplicationEntity
func (ApmApplicationEntity) GetRelationships ¶ added in v0.54.0
func (x ApmApplicationEntity) GetRelationships() []EntityRelationship
GetRelationships returns a pointer to the value of Relationships from ApmApplicationEntity
func (ApmApplicationEntity) GetReporting ¶ added in v0.54.0
func (x ApmApplicationEntity) GetReporting() bool
GetReporting returns a pointer to the value of Reporting from ApmApplicationEntity
func (ApmApplicationEntity) GetRunningAgentVersions ¶ added in v0.54.0
func (x ApmApplicationEntity) GetRunningAgentVersions() ApmApplicationRunningAgentVersions
GetRunningAgentVersions returns a pointer to the value of RunningAgentVersions from ApmApplicationEntity
func (ApmApplicationEntity) GetServiceLevel ¶ added in v0.63.0
func (x ApmApplicationEntity) GetServiceLevel() ServiceLevelDefinition
GetServiceLevel returns a pointer to the value of ServiceLevel from ApmApplicationEntity
func (ApmApplicationEntity) GetSettings ¶ added in v0.54.0
func (x ApmApplicationEntity) GetSettings() ApmApplicationSettings
GetSettings returns a pointer to the value of Settings from ApmApplicationEntity
func (ApmApplicationEntity) GetTags ¶ added in v0.54.0
func (x ApmApplicationEntity) GetTags() []EntityTag
GetTags returns a pointer to the value of Tags from ApmApplicationEntity
func (ApmApplicationEntity) GetTagsWithMetadata ¶ added in v0.54.0
func (x ApmApplicationEntity) GetTagsWithMetadata() []EntityTagWithMetadata
GetTagsWithMetadata returns a pointer to the value of TagsWithMetadata from ApmApplicationEntity
func (ApmApplicationEntity) GetType ¶ added in v0.54.0
func (x ApmApplicationEntity) GetType() string
GetType returns a pointer to the value of Type from ApmApplicationEntity
func (*ApmApplicationEntity) ImplementsAlertableEntity ¶ added in v0.53.0
func (x *ApmApplicationEntity) ImplementsAlertableEntity()
func (*ApmApplicationEntity) ImplementsApmBrowserApplicationEntity ¶ added in v0.53.0
func (x *ApmApplicationEntity) ImplementsApmBrowserApplicationEntity()
func (*ApmApplicationEntity) ImplementsEntity ¶ added in v0.53.0
func (x *ApmApplicationEntity) ImplementsEntity()
type ApmApplicationEntityOutline ¶ added in v0.53.0
type ApmApplicationEntityOutline struct { // Account accounts.AccountOutline `json:"account,omitempty"` // The New Relic account ID associated with this entity. AccountID int `json:"accountId,omitempty"` // The current alerting severity of the entity. AlertSeverity EntityAlertSeverity `json:"alertSeverity,omitempty"` // Summary statistics about the Browser App injected by an APM Application. ApmBrowserSummary ApmBrowserApplicationSummaryData `json:"apmBrowserSummary,omitempty"` // Summary statistics about the APM App. ApmSummary ApmApplicationSummaryData `json:"apmSummary,omitempty"` // The ID of the APM Application. ApplicationID int `json:"applicationId,omitempty"` // The entity's domain Domain string `json:"domain,omitempty"` // A value representing the combination of the entity's domain and type. EntityType EntityType `json:"entityType,omitempty"` // A unique entity identifier. GUID common.EntityGUID `json:"guid,omitempty"` // The list of golden metrics for a specific entity GoldenMetrics EntityGoldenContextScopedGoldenMetrics `json:"goldenMetrics"` // The list of golden tags for a specific entityType. GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags"` // The time the entity was indexed. IndexedAt *nrtime.EpochMilliseconds `json:"indexedAt,omitempty"` // The programming language of the APM Application. Language string `json:"language,omitempty"` // The name of this entity. Name string `json:"name,omitempty"` // The url to the entity. Permalink string `json:"permalink,omitempty"` // The reporting status of the entity. If New Relic is successfully collecting data from your application, this will be true. Reporting bool `json:"reporting,omitempty"` // The running versions of the language agent in the APM Application. RunningAgentVersions ApmApplicationRunningAgentVersions `json:"runningAgentVersions,omitempty"` // The service level defined for the entity. ServiceLevel ServiceLevelDefinition `json:"serviceLevel,omitempty"` // Configuration settings for the APM Application Settings ApmApplicationSettings `json:"settings,omitempty"` // The tags applied to the entity. // // For details on tags, as well as query and mutation examples, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-tagging-api-tutorial). Tags []EntityTag `json:"tags,omitempty"` // The entity's type Type string `json:"type,omitempty"` }
ApmApplicationEntityOutline - An APM Application entity outline.
func (ApmApplicationEntityOutline) GetAccount ¶ added in v0.54.0
func (x ApmApplicationEntityOutline) GetAccount() accounts.AccountOutline
GetAccount returns a pointer to the value of Account from ApmApplicationEntityOutline
func (ApmApplicationEntityOutline) GetAccountID ¶ added in v0.54.0
func (x ApmApplicationEntityOutline) GetAccountID() int
GetAccountID returns a pointer to the value of AccountID from ApmApplicationEntityOutline
func (ApmApplicationEntityOutline) GetAlertSeverity ¶ added in v0.54.0
func (x ApmApplicationEntityOutline) GetAlertSeverity() EntityAlertSeverity
GetAlertSeverity returns a pointer to the value of AlertSeverity from ApmApplicationEntityOutline
func (ApmApplicationEntityOutline) GetApmBrowserSummary ¶ added in v0.54.0
func (x ApmApplicationEntityOutline) GetApmBrowserSummary() ApmBrowserApplicationSummaryData
GetApmBrowserSummary returns a pointer to the value of ApmBrowserSummary from ApmApplicationEntityOutline
func (ApmApplicationEntityOutline) GetApmSummary ¶ added in v0.54.0
func (x ApmApplicationEntityOutline) GetApmSummary() ApmApplicationSummaryData
GetApmSummary returns a pointer to the value of ApmSummary from ApmApplicationEntityOutline
func (ApmApplicationEntityOutline) GetApplicationID ¶ added in v0.54.0
func (x ApmApplicationEntityOutline) GetApplicationID() int
GetApplicationID returns a pointer to the value of ApplicationID from ApmApplicationEntityOutline
func (ApmApplicationEntityOutline) GetDomain ¶ added in v0.54.0
func (x ApmApplicationEntityOutline) GetDomain() string
GetDomain returns a pointer to the value of Domain from ApmApplicationEntityOutline
func (ApmApplicationEntityOutline) GetEntityType ¶ added in v0.54.0
func (x ApmApplicationEntityOutline) GetEntityType() EntityType
GetEntityType returns a pointer to the value of EntityType from ApmApplicationEntityOutline
func (ApmApplicationEntityOutline) GetGUID ¶ added in v0.54.0
func (x ApmApplicationEntityOutline) GetGUID() common.EntityGUID
GetGUID returns a pointer to the value of GUID from ApmApplicationEntityOutline
func (ApmApplicationEntityOutline) GetGoldenMetrics ¶ added in v0.59.0
func (x ApmApplicationEntityOutline) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
GetGoldenMetrics returns a pointer to the value of GoldenMetrics from ApmApplicationEntityOutline
func (ApmApplicationEntityOutline) GetGoldenTags ¶ added in v0.59.0
func (x ApmApplicationEntityOutline) GetGoldenTags() EntityGoldenContextScopedGoldenTags
GetGoldenTags returns a pointer to the value of GoldenTags from ApmApplicationEntityOutline
func (ApmApplicationEntityOutline) GetIndexedAt ¶ added in v0.54.0
func (x ApmApplicationEntityOutline) GetIndexedAt() *nrtime.EpochMilliseconds
GetIndexedAt returns a pointer to the value of IndexedAt from ApmApplicationEntityOutline
func (ApmApplicationEntityOutline) GetLanguage ¶ added in v0.54.0
func (x ApmApplicationEntityOutline) GetLanguage() string
GetLanguage returns a pointer to the value of Language from ApmApplicationEntityOutline
func (ApmApplicationEntityOutline) GetName ¶ added in v0.54.0
func (x ApmApplicationEntityOutline) GetName() string
GetName returns a pointer to the value of Name from ApmApplicationEntityOutline
func (ApmApplicationEntityOutline) GetPermalink ¶ added in v0.54.0
func (x ApmApplicationEntityOutline) GetPermalink() string
GetPermalink returns a pointer to the value of Permalink from ApmApplicationEntityOutline
func (ApmApplicationEntityOutline) GetReporting ¶ added in v0.54.0
func (x ApmApplicationEntityOutline) GetReporting() bool
GetReporting returns a pointer to the value of Reporting from ApmApplicationEntityOutline
func (ApmApplicationEntityOutline) GetRunningAgentVersions ¶ added in v0.54.0
func (x ApmApplicationEntityOutline) GetRunningAgentVersions() ApmApplicationRunningAgentVersions
GetRunningAgentVersions returns a pointer to the value of RunningAgentVersions from ApmApplicationEntityOutline
func (ApmApplicationEntityOutline) GetServiceLevel ¶ added in v0.63.0
func (x ApmApplicationEntityOutline) GetServiceLevel() ServiceLevelDefinition
GetServiceLevel returns a pointer to the value of ServiceLevel from ApmApplicationEntityOutline
func (ApmApplicationEntityOutline) GetSettings ¶ added in v0.54.0
func (x ApmApplicationEntityOutline) GetSettings() ApmApplicationSettings
GetSettings returns a pointer to the value of Settings from ApmApplicationEntityOutline
func (ApmApplicationEntityOutline) GetTags ¶ added in v0.54.0
func (x ApmApplicationEntityOutline) GetTags() []EntityTag
GetTags returns a pointer to the value of Tags from ApmApplicationEntityOutline
func (ApmApplicationEntityOutline) GetType ¶ added in v0.54.0
func (x ApmApplicationEntityOutline) GetType() string
GetType returns a pointer to the value of Type from ApmApplicationEntityOutline
func (*ApmApplicationEntityOutline) ImplementsAlertableEntityOutline ¶ added in v0.53.0
func (x *ApmApplicationEntityOutline) ImplementsAlertableEntityOutline()
func (*ApmApplicationEntityOutline) ImplementsApmBrowserApplicationEntityOutline ¶ added in v0.53.0
func (x *ApmApplicationEntityOutline) ImplementsApmBrowserApplicationEntityOutline()
func (ApmApplicationEntityOutline) ImplementsEntity ¶ added in v0.53.0
func (x ApmApplicationEntityOutline) ImplementsEntity()
func (*ApmApplicationEntityOutline) ImplementsEntityOutline ¶ added in v0.53.0
func (x *ApmApplicationEntityOutline) ImplementsEntityOutline()
type ApmApplicationRunningAgentVersions ¶ added in v0.53.0
type ApmApplicationRunningAgentVersions struct { // The maximum (newest) language agent version running in the APM Application. MaxVersion string `json:"maxVersion,omitempty"` // The minimum (oldest) language agent version running in the APM Application. MinVersion string `json:"minVersion,omitempty"` }
ApmApplicationRunningAgentVersions - Represents the currently running agent versions in an APM Application. An application could be running multiple versions of an agent (across different hosts, for example).
type ApmApplicationSettings ¶ added in v0.53.0
type ApmApplicationSettings struct { // The current Apdex target setting ApdexTarget float64 `json:"apdexTarget,omitempty"` // State of server-side configuration setting ServerSideConfig bool `json:"serverSideConfig,omitempty"` }
ApmApplicationSettings - Configuration settings for the APM Application
type ApmApplicationSummaryData ¶ added in v0.53.0
type ApmApplicationSummaryData struct { // The apdex score. For more details on the use of apdex, visit [our docs](https://docs.newrelic.com/docs/apm/new-relic-apm/apdex/apdex-measure-user-satisfaction). ApdexScore float64 `json:"apdexScore,omitempty"` // The percentage of responses to all transactions with an error. ErrorRate float64 `json:"errorRate,omitempty"` // The number of hosts this application is running on. HostCount int `json:"hostCount,omitempty"` // The number of instances of this application running. InstanceCount int `json:"instanceCount,omitempty"` // The average response time for non-web transactions in seconds. NonWebResponseTimeAverage nrtime.Seconds `json:"nonWebResponseTimeAverage,omitempty"` // The number of non-web transactions per minute. NonWebThroughput float64 `json:"nonWebThroughput,omitempty"` // The average response time for all transactions in seconds. ResponseTimeAverage nrtime.Seconds `json:"responseTimeAverage,omitempty"` // The number of all transactions per minute. Throughput float64 `json:"throughput,omitempty"` // The average response time for web transactions in seconds. WebResponseTimeAverage nrtime.Seconds `json:"webResponseTimeAverage,omitempty"` // The number of web transactions per minute. WebThroughput float64 `json:"webThroughput,omitempty"` }
ApmApplicationSummaryData - Summary statistics about the APM App.
type ApmBrowserApplicationEntity ¶ added in v0.53.0
type ApmBrowserApplicationEntity struct { // ApmBrowserSummary ApmBrowserApplicationSummaryData `json:"apmBrowserSummary,omitempty"` }
ApmBrowserApplicationEntity - The `ApmBrowserApplicationEntity` interface provides detailed information for the Browser App injected by an APM Application.
func (ApmBrowserApplicationEntity) GetApmBrowserSummary ¶ added in v0.54.0
func (x ApmBrowserApplicationEntity) GetApmBrowserSummary() ApmBrowserApplicationSummaryData
GetApmBrowserSummary returns a pointer to the value of ApmBrowserSummary from ApmBrowserApplicationEntity
func (*ApmBrowserApplicationEntity) ImplementsApmBrowserApplicationEntity ¶ added in v0.53.0
func (x *ApmBrowserApplicationEntity) ImplementsApmBrowserApplicationEntity()
type ApmBrowserApplicationEntityInterface ¶ added in v0.53.0
type ApmBrowserApplicationEntityInterface interface {
ImplementsApmBrowserApplicationEntity()
}
ApmBrowserApplicationEntity - The `ApmBrowserApplicationEntity` interface provides detailed information for the Browser App injected by an APM Application.
func UnmarshalApmBrowserApplicationEntityInterface ¶ added in v0.53.0
func UnmarshalApmBrowserApplicationEntityInterface(b []byte) (*ApmBrowserApplicationEntityInterface, error)
UnmarshalApmBrowserApplicationEntityInterface unmarshals the interface into the correct type based on __typename provided by GraphQL
type ApmBrowserApplicationEntityOutline ¶ added in v0.53.0
type ApmBrowserApplicationEntityOutline struct { // ApmBrowserSummary ApmBrowserApplicationSummaryData `json:"apmBrowserSummary,omitempty"` }
ApmBrowserApplicationEntityOutline - The `ApmBrowserApplicationEntityOutline` interface provides detailed information for the Browser App injected by an APM Application.
func (ApmBrowserApplicationEntityOutline) GetApmBrowserSummary ¶ added in v0.54.0
func (x ApmBrowserApplicationEntityOutline) GetApmBrowserSummary() ApmBrowserApplicationSummaryData
GetApmBrowserSummary returns a pointer to the value of ApmBrowserSummary from ApmBrowserApplicationEntityOutline
func (*ApmBrowserApplicationEntityOutline) ImplementsApmBrowserApplicationEntityOutline ¶ added in v0.53.0
func (x *ApmBrowserApplicationEntityOutline) ImplementsApmBrowserApplicationEntityOutline()
func (ApmBrowserApplicationEntityOutline) ImplementsEntity ¶ added in v0.53.0
func (x ApmBrowserApplicationEntityOutline) ImplementsEntity()
type ApmBrowserApplicationEntityOutlineInterface ¶ added in v0.53.0
type ApmBrowserApplicationEntityOutlineInterface interface {
ImplementsApmBrowserApplicationEntityOutline()
}
ApmBrowserApplicationEntityOutline - The `ApmBrowserApplicationEntityOutline` interface provides detailed information for the Browser App injected by an APM Application.
func UnmarshalApmBrowserApplicationEntityOutlineInterface ¶ added in v0.53.0
func UnmarshalApmBrowserApplicationEntityOutlineInterface(b []byte) (*ApmBrowserApplicationEntityOutlineInterface, error)
UnmarshalApmBrowserApplicationEntityOutlineInterface unmarshals the interface into the correct type based on __typename provided by GraphQL
type ApmBrowserApplicationSummaryData ¶ added in v0.53.0
type ApmBrowserApplicationSummaryData struct { // The number of AJAX requests per minute AjaxRequestThroughput float64 `json:"ajaxRequestThroughput,omitempty"` // The average AJAX response time in seconds. AjaxResponseTimeAverage nrtime.Seconds `json:"ajaxResponseTimeAverage,omitempty"` // The percentage of page views with a JS error. JsErrorRate float64 `json:"jsErrorRate,omitempty"` // The number of page loads per minute PageLoadThroughput float64 `json:"pageLoadThroughput,omitempty"` // The average page view time in seconds. PageLoadTimeAverage float64 `json:"pageLoadTimeAverage,omitempty"` }
ApmBrowserApplicationSummaryData - Summary statistics about the Browser App injected by the APM Application.
type ApmDatabaseInstanceEntity ¶ added in v0.53.0
type ApmDatabaseInstanceEntity struct { // Account accounts.AccountOutline `json:"account,omitempty"` // The New Relic account ID associated with this entity. AccountID int `json:"accountId,omitempty"` // The current alerting severity of the entity. AlertSeverity EntityAlertSeverity `json:"alertSeverity,omitempty"` // Violations on the entity that were open during the specified time window. AlertViolations []EntityAlertViolation `json:"alertViolations,omitempty"` // The entity's domain Domain string `json:"domain,omitempty"` // A value representing the combination of the entity's domain and type. EntityType EntityType `json:"entityType,omitempty"` // A unique entity identifier. GUID common.EntityGUID `json:"guid,omitempty"` // The list of golden metrics for a specific entity GoldenMetrics EntityGoldenContextScopedGoldenMetrics `json:"goldenMetrics"` // The list of golden tags for a specific entityType. GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags"` // The host the database instance is running on. Host string `json:"host,omitempty"` // The time the entity was indexed. IndexedAt *nrtime.EpochMilliseconds `json:"indexedAt,omitempty"` // Make an `Entity` scoped query to NRDB with a NRQL string. // // A relevant `WHERE` clause will be added to your query to scope data to the entity in question. // // See the [NRQL Docs](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/nrql-resources/nrql-syntax-components-functions) for more information about generating a query string. NRDBQuery nrdb.NRDBResultContainer `json:"nrdbQuery,omitempty"` // The name of this entity. Name string `json:"name,omitempty"` // NerdStorage NerdStorageEntityScope `json:"nerdStorage,omitempty"` // The url to the entity. Permalink string `json:"permalink,omitempty"` // The port or path the database instance is running on. ex: `3306` | `/tmp/mysql.sock` PortOrPath string `json:"portOrPath,omitempty"` // Recent violations on the entity. RecentAlertViolations []EntityAlertViolation `json:"recentAlertViolations,omitempty"` // Related entities result with optional filtering. RelatedEntities EntityRelationshipRelatedEntitiesResult `json:"relatedEntities,omitempty"` // A list of the entities' relationships. // // For more information, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-relationships-api-tutorial). Relationships []EntityRelationship `json:"relationships,omitempty"` // The reporting status of the entity. If New Relic is successfully collecting data from your application, this will be true. Reporting bool `json:"reporting,omitempty"` // The service level defined for the entity. ServiceLevel ServiceLevelDefinition `json:"serviceLevel,omitempty"` // The tags applied to the entity. // // For details on tags, as well as query and mutation examples, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-tagging-api-tutorial). Tags []EntityTag `json:"tags,omitempty"` // The tags applied to the entity with their metadata. TagsWithMetadata []EntityTagWithMetadata `json:"tagsWithMetadata,omitempty"` // The entity's type Type string `json:"type,omitempty"` // The type of database. ex: `Postgres` | `Redis` Vendor string `json:"vendor,omitempty"` }
ApmDatabaseInstanceEntity - A database instance seen by an APM Application
func (ApmDatabaseInstanceEntity) GetAccount ¶ added in v0.54.0
func (x ApmDatabaseInstanceEntity) GetAccount() accounts.AccountOutline
GetAccount returns a pointer to the value of Account from ApmDatabaseInstanceEntity
func (ApmDatabaseInstanceEntity) GetAccountID ¶ added in v0.54.0
func (x ApmDatabaseInstanceEntity) GetAccountID() int
GetAccountID returns a pointer to the value of AccountID from ApmDatabaseInstanceEntity
func (ApmDatabaseInstanceEntity) GetAlertSeverity ¶ added in v0.59.2
func (x ApmDatabaseInstanceEntity) GetAlertSeverity() EntityAlertSeverity
GetAlertSeverity returns a pointer to the value of AlertSeverity from ApmDatabaseInstanceEntity
func (ApmDatabaseInstanceEntity) GetAlertViolations ¶ added in v0.59.2
func (x ApmDatabaseInstanceEntity) GetAlertViolations() []EntityAlertViolation
GetAlertViolations returns a pointer to the value of AlertViolations from ApmDatabaseInstanceEntity
func (ApmDatabaseInstanceEntity) GetDomain ¶ added in v0.54.0
func (x ApmDatabaseInstanceEntity) GetDomain() string
GetDomain returns a pointer to the value of Domain from ApmDatabaseInstanceEntity
func (ApmDatabaseInstanceEntity) GetEntityType ¶ added in v0.54.0
func (x ApmDatabaseInstanceEntity) GetEntityType() EntityType
GetEntityType returns a pointer to the value of EntityType from ApmDatabaseInstanceEntity
func (ApmDatabaseInstanceEntity) GetGUID ¶ added in v0.54.0
func (x ApmDatabaseInstanceEntity) GetGUID() common.EntityGUID
GetGUID returns a pointer to the value of GUID from ApmDatabaseInstanceEntity
func (ApmDatabaseInstanceEntity) GetGoldenMetrics ¶ added in v0.59.0
func (x ApmDatabaseInstanceEntity) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
GetGoldenMetrics returns a pointer to the value of GoldenMetrics from ApmDatabaseInstanceEntity
func (ApmDatabaseInstanceEntity) GetGoldenTags ¶ added in v0.59.0
func (x ApmDatabaseInstanceEntity) GetGoldenTags() EntityGoldenContextScopedGoldenTags
GetGoldenTags returns a pointer to the value of GoldenTags from ApmDatabaseInstanceEntity
func (ApmDatabaseInstanceEntity) GetHost ¶ added in v0.54.0
func (x ApmDatabaseInstanceEntity) GetHost() string
GetHost returns a pointer to the value of Host from ApmDatabaseInstanceEntity
func (ApmDatabaseInstanceEntity) GetIndexedAt ¶ added in v0.54.0
func (x ApmDatabaseInstanceEntity) GetIndexedAt() *nrtime.EpochMilliseconds
GetIndexedAt returns a pointer to the value of IndexedAt from ApmDatabaseInstanceEntity
func (ApmDatabaseInstanceEntity) GetNRDBQuery ¶ added in v0.54.0
func (x ApmDatabaseInstanceEntity) GetNRDBQuery() nrdb.NRDBResultContainer
GetNRDBQuery returns a pointer to the value of NRDBQuery from ApmDatabaseInstanceEntity
func (ApmDatabaseInstanceEntity) GetName ¶ added in v0.54.0
func (x ApmDatabaseInstanceEntity) GetName() string
GetName returns a pointer to the value of Name from ApmDatabaseInstanceEntity
func (ApmDatabaseInstanceEntity) GetNerdStorage ¶ added in v0.54.0
func (x ApmDatabaseInstanceEntity) GetNerdStorage() NerdStorageEntityScope
GetNerdStorage returns a pointer to the value of NerdStorage from ApmDatabaseInstanceEntity
func (ApmDatabaseInstanceEntity) GetPermalink ¶ added in v0.54.0
func (x ApmDatabaseInstanceEntity) GetPermalink() string
GetPermalink returns a pointer to the value of Permalink from ApmDatabaseInstanceEntity
func (ApmDatabaseInstanceEntity) GetPortOrPath ¶ added in v0.54.0
func (x ApmDatabaseInstanceEntity) GetPortOrPath() string
GetPortOrPath returns a pointer to the value of PortOrPath from ApmDatabaseInstanceEntity
func (ApmDatabaseInstanceEntity) GetRecentAlertViolations ¶ added in v0.59.2
func (x ApmDatabaseInstanceEntity) GetRecentAlertViolations() []EntityAlertViolation
GetRecentAlertViolations returns a pointer to the value of RecentAlertViolations from ApmDatabaseInstanceEntity
func (ApmDatabaseInstanceEntity) GetRelatedEntities ¶ added in v0.63.0
func (x ApmDatabaseInstanceEntity) GetRelatedEntities() EntityRelationshipRelatedEntitiesResult
GetRelatedEntities returns a pointer to the value of RelatedEntities from ApmDatabaseInstanceEntity
func (ApmDatabaseInstanceEntity) GetRelationships ¶ added in v0.54.0
func (x ApmDatabaseInstanceEntity) GetRelationships() []EntityRelationship
GetRelationships returns a pointer to the value of Relationships from ApmDatabaseInstanceEntity
func (ApmDatabaseInstanceEntity) GetReporting ¶ added in v0.54.0
func (x ApmDatabaseInstanceEntity) GetReporting() bool
GetReporting returns a pointer to the value of Reporting from ApmDatabaseInstanceEntity
func (ApmDatabaseInstanceEntity) GetServiceLevel ¶ added in v0.63.0
func (x ApmDatabaseInstanceEntity) GetServiceLevel() ServiceLevelDefinition
GetServiceLevel returns a pointer to the value of ServiceLevel from ApmDatabaseInstanceEntity
func (ApmDatabaseInstanceEntity) GetTags ¶ added in v0.54.0
func (x ApmDatabaseInstanceEntity) GetTags() []EntityTag
GetTags returns a pointer to the value of Tags from ApmDatabaseInstanceEntity
func (ApmDatabaseInstanceEntity) GetTagsWithMetadata ¶ added in v0.54.0
func (x ApmDatabaseInstanceEntity) GetTagsWithMetadata() []EntityTagWithMetadata
GetTagsWithMetadata returns a pointer to the value of TagsWithMetadata from ApmDatabaseInstanceEntity
func (ApmDatabaseInstanceEntity) GetType ¶ added in v0.54.0
func (x ApmDatabaseInstanceEntity) GetType() string
GetType returns a pointer to the value of Type from ApmDatabaseInstanceEntity
func (ApmDatabaseInstanceEntity) GetVendor ¶ added in v0.54.0
func (x ApmDatabaseInstanceEntity) GetVendor() string
GetVendor returns a pointer to the value of Vendor from ApmDatabaseInstanceEntity
func (*ApmDatabaseInstanceEntity) ImplementsAlertableEntity ¶ added in v0.59.2
func (x *ApmDatabaseInstanceEntity) ImplementsAlertableEntity()
func (*ApmDatabaseInstanceEntity) ImplementsEntity ¶ added in v0.53.0
func (x *ApmDatabaseInstanceEntity) ImplementsEntity()
type ApmDatabaseInstanceEntityOutline ¶ added in v0.53.0
type ApmDatabaseInstanceEntityOutline struct { // Account accounts.AccountOutline `json:"account,omitempty"` // The New Relic account ID associated with this entity. AccountID int `json:"accountId,omitempty"` // The current alerting severity of the entity. AlertSeverity EntityAlertSeverity `json:"alertSeverity,omitempty"` // The entity's domain Domain string `json:"domain,omitempty"` // A value representing the combination of the entity's domain and type. EntityType EntityType `json:"entityType,omitempty"` // A unique entity identifier. GUID common.EntityGUID `json:"guid,omitempty"` // The list of golden metrics for a specific entity GoldenMetrics EntityGoldenContextScopedGoldenMetrics `json:"goldenMetrics"` // The list of golden tags for a specific entityType. GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags"` // The host the database instance is running on. Host string `json:"host,omitempty"` // The time the entity was indexed. IndexedAt *nrtime.EpochMilliseconds `json:"indexedAt,omitempty"` // The name of this entity. Name string `json:"name,omitempty"` // The url to the entity. Permalink string `json:"permalink,omitempty"` // The port or path the database instance is running on. ex: `3306` | `/tmp/mysql.sock` PortOrPath string `json:"portOrPath,omitempty"` // The reporting status of the entity. If New Relic is successfully collecting data from your application, this will be true. Reporting bool `json:"reporting,omitempty"` // The service level defined for the entity. ServiceLevel ServiceLevelDefinition `json:"serviceLevel,omitempty"` // The tags applied to the entity. // // For details on tags, as well as query and mutation examples, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-tagging-api-tutorial). Tags []EntityTag `json:"tags,omitempty"` // The entity's type Type string `json:"type,omitempty"` // The type of database. ex: `Postgres` | `Redis` Vendor string `json:"vendor,omitempty"` }
ApmDatabaseInstanceEntityOutline - A database instance seen by an APM Application
func (ApmDatabaseInstanceEntityOutline) GetAccount ¶ added in v0.54.0
func (x ApmDatabaseInstanceEntityOutline) GetAccount() accounts.AccountOutline
GetAccount returns a pointer to the value of Account from ApmDatabaseInstanceEntityOutline
func (ApmDatabaseInstanceEntityOutline) GetAccountID ¶ added in v0.54.0
func (x ApmDatabaseInstanceEntityOutline) GetAccountID() int
GetAccountID returns a pointer to the value of AccountID from ApmDatabaseInstanceEntityOutline
func (ApmDatabaseInstanceEntityOutline) GetAlertSeverity ¶ added in v0.59.2
func (x ApmDatabaseInstanceEntityOutline) GetAlertSeverity() EntityAlertSeverity
GetAlertSeverity returns a pointer to the value of AlertSeverity from ApmDatabaseInstanceEntityOutline
func (ApmDatabaseInstanceEntityOutline) GetDomain ¶ added in v0.54.0
func (x ApmDatabaseInstanceEntityOutline) GetDomain() string
GetDomain returns a pointer to the value of Domain from ApmDatabaseInstanceEntityOutline
func (ApmDatabaseInstanceEntityOutline) GetEntityType ¶ added in v0.54.0
func (x ApmDatabaseInstanceEntityOutline) GetEntityType() EntityType
GetEntityType returns a pointer to the value of EntityType from ApmDatabaseInstanceEntityOutline
func (ApmDatabaseInstanceEntityOutline) GetGUID ¶ added in v0.54.0
func (x ApmDatabaseInstanceEntityOutline) GetGUID() common.EntityGUID
GetGUID returns a pointer to the value of GUID from ApmDatabaseInstanceEntityOutline
func (ApmDatabaseInstanceEntityOutline) GetGoldenMetrics ¶ added in v0.59.0
func (x ApmDatabaseInstanceEntityOutline) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
GetGoldenMetrics returns a pointer to the value of GoldenMetrics from ApmDatabaseInstanceEntityOutline
func (ApmDatabaseInstanceEntityOutline) GetGoldenTags ¶ added in v0.59.0
func (x ApmDatabaseInstanceEntityOutline) GetGoldenTags() EntityGoldenContextScopedGoldenTags
GetGoldenTags returns a pointer to the value of GoldenTags from ApmDatabaseInstanceEntityOutline
func (ApmDatabaseInstanceEntityOutline) GetHost ¶ added in v0.54.0
func (x ApmDatabaseInstanceEntityOutline) GetHost() string
GetHost returns a pointer to the value of Host from ApmDatabaseInstanceEntityOutline
func (ApmDatabaseInstanceEntityOutline) GetIndexedAt ¶ added in v0.54.0
func (x ApmDatabaseInstanceEntityOutline) GetIndexedAt() *nrtime.EpochMilliseconds
GetIndexedAt returns a pointer to the value of IndexedAt from ApmDatabaseInstanceEntityOutline
func (ApmDatabaseInstanceEntityOutline) GetName ¶ added in v0.54.0
func (x ApmDatabaseInstanceEntityOutline) GetName() string
GetName returns a pointer to the value of Name from ApmDatabaseInstanceEntityOutline
func (ApmDatabaseInstanceEntityOutline) GetPermalink ¶ added in v0.54.0
func (x ApmDatabaseInstanceEntityOutline) GetPermalink() string
GetPermalink returns a pointer to the value of Permalink from ApmDatabaseInstanceEntityOutline
func (ApmDatabaseInstanceEntityOutline) GetPortOrPath ¶ added in v0.54.0
func (x ApmDatabaseInstanceEntityOutline) GetPortOrPath() string
GetPortOrPath returns a pointer to the value of PortOrPath from ApmDatabaseInstanceEntityOutline
func (ApmDatabaseInstanceEntityOutline) GetReporting ¶ added in v0.54.0
func (x ApmDatabaseInstanceEntityOutline) GetReporting() bool
GetReporting returns a pointer to the value of Reporting from ApmDatabaseInstanceEntityOutline
func (ApmDatabaseInstanceEntityOutline) GetServiceLevel ¶ added in v0.63.0
func (x ApmDatabaseInstanceEntityOutline) GetServiceLevel() ServiceLevelDefinition
GetServiceLevel returns a pointer to the value of ServiceLevel from ApmDatabaseInstanceEntityOutline
func (ApmDatabaseInstanceEntityOutline) GetTags ¶ added in v0.54.0
func (x ApmDatabaseInstanceEntityOutline) GetTags() []EntityTag
GetTags returns a pointer to the value of Tags from ApmDatabaseInstanceEntityOutline
func (ApmDatabaseInstanceEntityOutline) GetType ¶ added in v0.54.0
func (x ApmDatabaseInstanceEntityOutline) GetType() string
GetType returns a pointer to the value of Type from ApmDatabaseInstanceEntityOutline
func (ApmDatabaseInstanceEntityOutline) GetVendor ¶ added in v0.54.0
func (x ApmDatabaseInstanceEntityOutline) GetVendor() string
GetVendor returns a pointer to the value of Vendor from ApmDatabaseInstanceEntityOutline
func (*ApmDatabaseInstanceEntityOutline) ImplementsAlertableEntityOutline ¶ added in v0.59.2
func (x *ApmDatabaseInstanceEntityOutline) ImplementsAlertableEntityOutline()
func (ApmDatabaseInstanceEntityOutline) ImplementsEntity ¶ added in v0.53.0
func (x ApmDatabaseInstanceEntityOutline) ImplementsEntity()
func (*ApmDatabaseInstanceEntityOutline) ImplementsEntityOutline ¶ added in v0.53.0
func (x *ApmDatabaseInstanceEntityOutline) ImplementsEntityOutline()
type ApmExternalServiceEntity ¶ added in v0.53.0
type ApmExternalServiceEntity struct { // Account accounts.AccountOutline `json:"account,omitempty"` // The New Relic account ID associated with this entity. AccountID int `json:"accountId,omitempty"` // The current alerting severity of the entity. AlertSeverity EntityAlertSeverity `json:"alertSeverity,omitempty"` // Violations on the entity that were open during the specified time window. AlertViolations []EntityAlertViolation `json:"alertViolations,omitempty"` // The entity's domain Domain string `json:"domain,omitempty"` // A value representing the combination of the entity's domain and type. EntityType EntityType `json:"entityType,omitempty"` // ExternalSummary ApmExternalServiceSummaryData `json:"externalSummary,omitempty"` // A unique entity identifier. GUID common.EntityGUID `json:"guid,omitempty"` // The list of golden metrics for a specific entity GoldenMetrics EntityGoldenContextScopedGoldenMetrics `json:"goldenMetrics"` // The list of golden tags for a specific entityType. GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags"` // The host of the external service. Host string `json:"host,omitempty"` // The time the entity was indexed. IndexedAt *nrtime.EpochMilliseconds `json:"indexedAt,omitempty"` // Make an `Entity` scoped query to NRDB with a NRQL string. // // A relevant `WHERE` clause will be added to your query to scope data to the entity in question. // // See the [NRQL Docs](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/nrql-resources/nrql-syntax-components-functions) for more information about generating a query string. NRDBQuery nrdb.NRDBResultContainer `json:"nrdbQuery,omitempty"` // The name of this entity. Name string `json:"name,omitempty"` // NerdStorage NerdStorageEntityScope `json:"nerdStorage,omitempty"` // The url to the entity. Permalink string `json:"permalink,omitempty"` // Recent violations on the entity. RecentAlertViolations []EntityAlertViolation `json:"recentAlertViolations,omitempty"` // Related entities result with optional filtering. RelatedEntities EntityRelationshipRelatedEntitiesResult `json:"relatedEntities,omitempty"` // A list of the entities' relationships. // // For more information, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-relationships-api-tutorial). Relationships []EntityRelationship `json:"relationships,omitempty"` // The reporting status of the entity. If New Relic is successfully collecting data from your application, this will be true. Reporting bool `json:"reporting,omitempty"` // The service level defined for the entity. ServiceLevel ServiceLevelDefinition `json:"serviceLevel,omitempty"` // The tags applied to the entity. // // For details on tags, as well as query and mutation examples, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-tagging-api-tutorial). Tags []EntityTag `json:"tags,omitempty"` // The tags applied to the entity with their metadata. TagsWithMetadata []EntityTagWithMetadata `json:"tagsWithMetadata,omitempty"` // The entity's type Type string `json:"type,omitempty"` }
ApmExternalServiceEntity - An external service seen by an APM Application.
func (ApmExternalServiceEntity) GetAccount ¶ added in v0.54.0
func (x ApmExternalServiceEntity) GetAccount() accounts.AccountOutline
GetAccount returns a pointer to the value of Account from ApmExternalServiceEntity
func (ApmExternalServiceEntity) GetAccountID ¶ added in v0.54.0
func (x ApmExternalServiceEntity) GetAccountID() int
GetAccountID returns a pointer to the value of AccountID from ApmExternalServiceEntity
func (ApmExternalServiceEntity) GetAlertSeverity ¶ added in v0.59.2
func (x ApmExternalServiceEntity) GetAlertSeverity() EntityAlertSeverity
GetAlertSeverity returns a pointer to the value of AlertSeverity from ApmExternalServiceEntity
func (ApmExternalServiceEntity) GetAlertViolations ¶ added in v0.59.2
func (x ApmExternalServiceEntity) GetAlertViolations() []EntityAlertViolation
GetAlertViolations returns a pointer to the value of AlertViolations from ApmExternalServiceEntity
func (ApmExternalServiceEntity) GetDomain ¶ added in v0.54.0
func (x ApmExternalServiceEntity) GetDomain() string
GetDomain returns a pointer to the value of Domain from ApmExternalServiceEntity
func (ApmExternalServiceEntity) GetEntityType ¶ added in v0.54.0
func (x ApmExternalServiceEntity) GetEntityType() EntityType
GetEntityType returns a pointer to the value of EntityType from ApmExternalServiceEntity
func (ApmExternalServiceEntity) GetExternalSummary ¶ added in v0.54.0
func (x ApmExternalServiceEntity) GetExternalSummary() ApmExternalServiceSummaryData
GetExternalSummary returns a pointer to the value of ExternalSummary from ApmExternalServiceEntity
func (ApmExternalServiceEntity) GetGUID ¶ added in v0.54.0
func (x ApmExternalServiceEntity) GetGUID() common.EntityGUID
GetGUID returns a pointer to the value of GUID from ApmExternalServiceEntity
func (ApmExternalServiceEntity) GetGoldenMetrics ¶ added in v0.59.0
func (x ApmExternalServiceEntity) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
GetGoldenMetrics returns a pointer to the value of GoldenMetrics from ApmExternalServiceEntity
func (ApmExternalServiceEntity) GetGoldenTags ¶ added in v0.59.0
func (x ApmExternalServiceEntity) GetGoldenTags() EntityGoldenContextScopedGoldenTags
GetGoldenTags returns a pointer to the value of GoldenTags from ApmExternalServiceEntity
func (ApmExternalServiceEntity) GetHost ¶ added in v0.54.0
func (x ApmExternalServiceEntity) GetHost() string
GetHost returns a pointer to the value of Host from ApmExternalServiceEntity
func (ApmExternalServiceEntity) GetIndexedAt ¶ added in v0.54.0
func (x ApmExternalServiceEntity) GetIndexedAt() *nrtime.EpochMilliseconds
GetIndexedAt returns a pointer to the value of IndexedAt from ApmExternalServiceEntity
func (ApmExternalServiceEntity) GetNRDBQuery ¶ added in v0.54.0
func (x ApmExternalServiceEntity) GetNRDBQuery() nrdb.NRDBResultContainer
GetNRDBQuery returns a pointer to the value of NRDBQuery from ApmExternalServiceEntity
func (ApmExternalServiceEntity) GetName ¶ added in v0.54.0
func (x ApmExternalServiceEntity) GetName() string
GetName returns a pointer to the value of Name from ApmExternalServiceEntity
func (ApmExternalServiceEntity) GetNerdStorage ¶ added in v0.54.0
func (x ApmExternalServiceEntity) GetNerdStorage() NerdStorageEntityScope
GetNerdStorage returns a pointer to the value of NerdStorage from ApmExternalServiceEntity
func (ApmExternalServiceEntity) GetPermalink ¶ added in v0.54.0
func (x ApmExternalServiceEntity) GetPermalink() string
GetPermalink returns a pointer to the value of Permalink from ApmExternalServiceEntity
func (ApmExternalServiceEntity) GetRecentAlertViolations ¶ added in v0.59.2
func (x ApmExternalServiceEntity) GetRecentAlertViolations() []EntityAlertViolation
GetRecentAlertViolations returns a pointer to the value of RecentAlertViolations from ApmExternalServiceEntity
func (ApmExternalServiceEntity) GetRelatedEntities ¶ added in v0.63.0
func (x ApmExternalServiceEntity) GetRelatedEntities() EntityRelationshipRelatedEntitiesResult
GetRelatedEntities returns a pointer to the value of RelatedEntities from ApmExternalServiceEntity
func (ApmExternalServiceEntity) GetRelationships ¶ added in v0.54.0
func (x ApmExternalServiceEntity) GetRelationships() []EntityRelationship
GetRelationships returns a pointer to the value of Relationships from ApmExternalServiceEntity
func (ApmExternalServiceEntity) GetReporting ¶ added in v0.54.0
func (x ApmExternalServiceEntity) GetReporting() bool
GetReporting returns a pointer to the value of Reporting from ApmExternalServiceEntity
func (ApmExternalServiceEntity) GetServiceLevel ¶ added in v0.63.0
func (x ApmExternalServiceEntity) GetServiceLevel() ServiceLevelDefinition
GetServiceLevel returns a pointer to the value of ServiceLevel from ApmExternalServiceEntity
func (ApmExternalServiceEntity) GetTags ¶ added in v0.54.0
func (x ApmExternalServiceEntity) GetTags() []EntityTag
GetTags returns a pointer to the value of Tags from ApmExternalServiceEntity
func (ApmExternalServiceEntity) GetTagsWithMetadata ¶ added in v0.54.0
func (x ApmExternalServiceEntity) GetTagsWithMetadata() []EntityTagWithMetadata
GetTagsWithMetadata returns a pointer to the value of TagsWithMetadata from ApmExternalServiceEntity
func (ApmExternalServiceEntity) GetType ¶ added in v0.54.0
func (x ApmExternalServiceEntity) GetType() string
GetType returns a pointer to the value of Type from ApmExternalServiceEntity
func (*ApmExternalServiceEntity) ImplementsAlertableEntity ¶ added in v0.59.2
func (x *ApmExternalServiceEntity) ImplementsAlertableEntity()
func (*ApmExternalServiceEntity) ImplementsEntity ¶ added in v0.53.0
func (x *ApmExternalServiceEntity) ImplementsEntity()
type ApmExternalServiceEntityOutline ¶ added in v0.53.0
type ApmExternalServiceEntityOutline struct { // Account accounts.AccountOutline `json:"account,omitempty"` // The New Relic account ID associated with this entity. AccountID int `json:"accountId,omitempty"` // The current alerting severity of the entity. AlertSeverity EntityAlertSeverity `json:"alertSeverity,omitempty"` // The entity's domain Domain string `json:"domain,omitempty"` // A value representing the combination of the entity's domain and type. EntityType EntityType `json:"entityType,omitempty"` // ExternalSummary ApmExternalServiceSummaryData `json:"externalSummary,omitempty"` // A unique entity identifier. GUID common.EntityGUID `json:"guid,omitempty"` // The list of golden metrics for a specific entity GoldenMetrics EntityGoldenContextScopedGoldenMetrics `json:"goldenMetrics"` // The list of golden tags for a specific entityType. GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags"` // The host of the external service. Host string `json:"host,omitempty"` // The time the entity was indexed. IndexedAt *nrtime.EpochMilliseconds `json:"indexedAt,omitempty"` // The name of this entity. Name string `json:"name,omitempty"` // The url to the entity. Permalink string `json:"permalink,omitempty"` // The reporting status of the entity. If New Relic is successfully collecting data from your application, this will be true. Reporting bool `json:"reporting,omitempty"` // The service level defined for the entity. ServiceLevel ServiceLevelDefinition `json:"serviceLevel,omitempty"` // The tags applied to the entity. // // For details on tags, as well as query and mutation examples, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-tagging-api-tutorial). Tags []EntityTag `json:"tags,omitempty"` // The entity's type Type string `json:"type,omitempty"` }
ApmExternalServiceEntityOutline - An external service seen by an APM Application.
func (ApmExternalServiceEntityOutline) GetAccount ¶ added in v0.54.0
func (x ApmExternalServiceEntityOutline) GetAccount() accounts.AccountOutline
GetAccount returns a pointer to the value of Account from ApmExternalServiceEntityOutline
func (ApmExternalServiceEntityOutline) GetAccountID ¶ added in v0.54.0
func (x ApmExternalServiceEntityOutline) GetAccountID() int
GetAccountID returns a pointer to the value of AccountID from ApmExternalServiceEntityOutline
func (ApmExternalServiceEntityOutline) GetAlertSeverity ¶ added in v0.59.2
func (x ApmExternalServiceEntityOutline) GetAlertSeverity() EntityAlertSeverity
GetAlertSeverity returns a pointer to the value of AlertSeverity from ApmExternalServiceEntityOutline
func (ApmExternalServiceEntityOutline) GetDomain ¶ added in v0.54.0
func (x ApmExternalServiceEntityOutline) GetDomain() string
GetDomain returns a pointer to the value of Domain from ApmExternalServiceEntityOutline
func (ApmExternalServiceEntityOutline) GetEntityType ¶ added in v0.54.0
func (x ApmExternalServiceEntityOutline) GetEntityType() EntityType
GetEntityType returns a pointer to the value of EntityType from ApmExternalServiceEntityOutline
func (ApmExternalServiceEntityOutline) GetExternalSummary ¶ added in v0.54.0
func (x ApmExternalServiceEntityOutline) GetExternalSummary() ApmExternalServiceSummaryData
GetExternalSummary returns a pointer to the value of ExternalSummary from ApmExternalServiceEntityOutline
func (ApmExternalServiceEntityOutline) GetGUID ¶ added in v0.54.0
func (x ApmExternalServiceEntityOutline) GetGUID() common.EntityGUID
GetGUID returns a pointer to the value of GUID from ApmExternalServiceEntityOutline
func (ApmExternalServiceEntityOutline) GetGoldenMetrics ¶ added in v0.59.0
func (x ApmExternalServiceEntityOutline) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
GetGoldenMetrics returns a pointer to the value of GoldenMetrics from ApmExternalServiceEntityOutline
func (ApmExternalServiceEntityOutline) GetGoldenTags ¶ added in v0.59.0
func (x ApmExternalServiceEntityOutline) GetGoldenTags() EntityGoldenContextScopedGoldenTags
GetGoldenTags returns a pointer to the value of GoldenTags from ApmExternalServiceEntityOutline
func (ApmExternalServiceEntityOutline) GetHost ¶ added in v0.54.0
func (x ApmExternalServiceEntityOutline) GetHost() string
GetHost returns a pointer to the value of Host from ApmExternalServiceEntityOutline
func (ApmExternalServiceEntityOutline) GetIndexedAt ¶ added in v0.54.0
func (x ApmExternalServiceEntityOutline) GetIndexedAt() *nrtime.EpochMilliseconds
GetIndexedAt returns a pointer to the value of IndexedAt from ApmExternalServiceEntityOutline
func (ApmExternalServiceEntityOutline) GetName ¶ added in v0.54.0
func (x ApmExternalServiceEntityOutline) GetName() string
GetName returns a pointer to the value of Name from ApmExternalServiceEntityOutline
func (ApmExternalServiceEntityOutline) GetPermalink ¶ added in v0.54.0
func (x ApmExternalServiceEntityOutline) GetPermalink() string
GetPermalink returns a pointer to the value of Permalink from ApmExternalServiceEntityOutline
func (ApmExternalServiceEntityOutline) GetReporting ¶ added in v0.54.0
func (x ApmExternalServiceEntityOutline) GetReporting() bool
GetReporting returns a pointer to the value of Reporting from ApmExternalServiceEntityOutline
func (ApmExternalServiceEntityOutline) GetServiceLevel ¶ added in v0.63.0
func (x ApmExternalServiceEntityOutline) GetServiceLevel() ServiceLevelDefinition
GetServiceLevel returns a pointer to the value of ServiceLevel from ApmExternalServiceEntityOutline
func (ApmExternalServiceEntityOutline) GetTags ¶ added in v0.54.0
func (x ApmExternalServiceEntityOutline) GetTags() []EntityTag
GetTags returns a pointer to the value of Tags from ApmExternalServiceEntityOutline
func (ApmExternalServiceEntityOutline) GetType ¶ added in v0.54.0
func (x ApmExternalServiceEntityOutline) GetType() string
GetType returns a pointer to the value of Type from ApmExternalServiceEntityOutline
func (*ApmExternalServiceEntityOutline) ImplementsAlertableEntityOutline ¶ added in v0.59.2
func (x *ApmExternalServiceEntityOutline) ImplementsAlertableEntityOutline()
func (ApmExternalServiceEntityOutline) ImplementsEntity ¶ added in v0.53.0
func (x ApmExternalServiceEntityOutline) ImplementsEntity()
func (*ApmExternalServiceEntityOutline) ImplementsEntityOutline ¶ added in v0.53.0
func (x *ApmExternalServiceEntityOutline) ImplementsEntityOutline()
type ApmExternalServiceSummaryData ¶ added in v0.53.0
type ApmExternalServiceSummaryData struct { // The average response time for external service calls in seconds. ResponseTimeAverage nrtime.Seconds `json:"responseTimeAverage,omitempty"` // The number of external service calls per minute. Throughput float64 `json:"throughput,omitempty"` }
ApmExternalServiceSummaryData - Summary statistics about an External Service called by an APM App.
type AttributeMap ¶ added in v0.53.0
type AttributeMap map[string]interface{}
AttributeMap - This scalar represents a map of attributes in the form of key-value pairs.
type BrowserAgentInstallType ¶ added in v0.53.0
type BrowserAgentInstallType string
BrowserAgentInstallType - Browser agent install types.
type BrowserApplicationEntity ¶ added in v0.16.0
type BrowserApplicationEntity struct { // Account accounts.AccountOutline `json:"account,omitempty"` // The New Relic account ID associated with this entity. AccountID int `json:"accountId,omitempty"` // The type of Browser agent installed for this application. AgentInstallType BrowserAgentInstallType `json:"agentInstallType,omitempty"` // The current alerting severity of the entity. AlertSeverity EntityAlertSeverity `json:"alertSeverity,omitempty"` // Violations on the entity that were open during the specified time window. AlertViolations []EntityAlertViolation `json:"alertViolations,omitempty"` // The ID of the Browser App. ApplicationID int `json:"applicationId,omitempty"` // Summary statistics about the Browser App. BrowserSummary BrowserApplicationSummaryData `json:"browserSummary,omitempty"` // The entity's domain Domain string `json:"domain,omitempty"` // A value representing the combination of the entity's domain and type. EntityType EntityType `json:"entityType,omitempty"` // A unique entity identifier. GUID common.EntityGUID `json:"guid,omitempty"` // The list of golden metrics for a specific entity GoldenMetrics EntityGoldenContextScopedGoldenMetrics `json:"goldenMetrics"` // The list of golden tags for a specific entityType. GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags"` // The time the entity was indexed. IndexedAt *nrtime.EpochMilliseconds `json:"indexedAt,omitempty"` // Retrieves a rule. MetricNormalizationRule MetricNormalizationRule `json:"metricNormalizationRule,omitempty"` // Retrieves the rules for the application. MetricNormalizationRules []MetricNormalizationRule `json:"metricNormalizationRules"` // Make an `Entity` scoped query to NRDB with a NRQL string. // // A relevant `WHERE` clause will be added to your query to scope data to the entity in question. // // See the [NRQL Docs](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/nrql-resources/nrql-syntax-components-functions) for more information about generating a query string. NRDBQuery nrdb.NRDBResultContainer `json:"nrdbQuery,omitempty"` // The name of this entity. Name string `json:"name,omitempty"` // NerdStorage NerdStorageEntityScope `json:"nerdStorage,omitempty"` // The url to the entity. Permalink string `json:"permalink,omitempty"` // Recent violations on the entity. RecentAlertViolations []EntityAlertViolation `json:"recentAlertViolations,omitempty"` // Related entities result with optional filtering. RelatedEntities EntityRelationshipRelatedEntitiesResult `json:"relatedEntities,omitempty"` // A list of the entities' relationships. // // For more information, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-relationships-api-tutorial). Relationships []EntityRelationship `json:"relationships,omitempty"` // The reporting status of the entity. If New Relic is successfully collecting data from your application, this will be true. Reporting bool `json:"reporting,omitempty"` // The running versions of the agent in the Browser App. RunningAgentVersions BrowserApplicationRunningAgentVersions `json:"runningAgentVersions,omitempty"` // The service level defined for the entity. ServiceLevel ServiceLevelDefinition `json:"serviceLevel,omitempty"` // The ID of the APM Application that serves this Browser App. ServingApmApplicationID int `json:"servingApmApplicationId,omitempty"` // Configuration settings for the Browser App Settings BrowserApplicationSettings `json:"settings,omitempty"` // The tags applied to the entity. // // For details on tags, as well as query and mutation examples, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-tagging-api-tutorial). Tags []EntityTag `json:"tags,omitempty"` // The tags applied to the entity with their metadata. TagsWithMetadata []EntityTagWithMetadata `json:"tagsWithMetadata,omitempty"` // The entity's type Type string `json:"type,omitempty"` }
BrowserApplicationEntity - A Browser Application entity.
func (BrowserApplicationEntity) GetAccount ¶ added in v0.54.0
func (x BrowserApplicationEntity) GetAccount() accounts.AccountOutline
GetAccount returns a pointer to the value of Account from BrowserApplicationEntity
func (BrowserApplicationEntity) GetAccountID ¶ added in v0.54.0
func (x BrowserApplicationEntity) GetAccountID() int
GetAccountID returns a pointer to the value of AccountID from BrowserApplicationEntity
func (BrowserApplicationEntity) GetAgentInstallType ¶ added in v0.54.0
func (x BrowserApplicationEntity) GetAgentInstallType() BrowserAgentInstallType
GetAgentInstallType returns a pointer to the value of AgentInstallType from BrowserApplicationEntity
func (BrowserApplicationEntity) GetAlertSeverity ¶ added in v0.54.0
func (x BrowserApplicationEntity) GetAlertSeverity() EntityAlertSeverity
GetAlertSeverity returns a pointer to the value of AlertSeverity from BrowserApplicationEntity
func (BrowserApplicationEntity) GetAlertViolations ¶ added in v0.54.0
func (x BrowserApplicationEntity) GetAlertViolations() []EntityAlertViolation
GetAlertViolations returns a pointer to the value of AlertViolations from BrowserApplicationEntity
func (BrowserApplicationEntity) GetApplicationID ¶ added in v0.54.0
func (x BrowserApplicationEntity) GetApplicationID() int
GetApplicationID returns a pointer to the value of ApplicationID from BrowserApplicationEntity
func (BrowserApplicationEntity) GetBrowserSummary ¶ added in v0.54.0
func (x BrowserApplicationEntity) GetBrowserSummary() BrowserApplicationSummaryData
GetBrowserSummary returns a pointer to the value of BrowserSummary from BrowserApplicationEntity
func (BrowserApplicationEntity) GetDomain ¶ added in v0.54.0
func (x BrowserApplicationEntity) GetDomain() string
GetDomain returns a pointer to the value of Domain from BrowserApplicationEntity
func (BrowserApplicationEntity) GetEntityType ¶ added in v0.54.0
func (x BrowserApplicationEntity) GetEntityType() EntityType
GetEntityType returns a pointer to the value of EntityType from BrowserApplicationEntity
func (BrowserApplicationEntity) GetGUID ¶ added in v0.54.0
func (x BrowserApplicationEntity) GetGUID() common.EntityGUID
GetGUID returns a pointer to the value of GUID from BrowserApplicationEntity
func (BrowserApplicationEntity) GetGoldenMetrics ¶ added in v0.59.0
func (x BrowserApplicationEntity) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
GetGoldenMetrics returns a pointer to the value of GoldenMetrics from BrowserApplicationEntity
func (BrowserApplicationEntity) GetGoldenTags ¶ added in v0.59.0
func (x BrowserApplicationEntity) GetGoldenTags() EntityGoldenContextScopedGoldenTags
GetGoldenTags returns a pointer to the value of GoldenTags from BrowserApplicationEntity
func (BrowserApplicationEntity) GetIndexedAt ¶ added in v0.54.0
func (x BrowserApplicationEntity) GetIndexedAt() *nrtime.EpochMilliseconds
GetIndexedAt returns a pointer to the value of IndexedAt from BrowserApplicationEntity
func (BrowserApplicationEntity) GetMetricNormalizationRule ¶ added in v0.59.0
func (x BrowserApplicationEntity) GetMetricNormalizationRule() MetricNormalizationRule
GetMetricNormalizationRule returns a pointer to the value of MetricNormalizationRule from BrowserApplicationEntity
func (BrowserApplicationEntity) GetMetricNormalizationRules ¶ added in v0.59.0
func (x BrowserApplicationEntity) GetMetricNormalizationRules() []MetricNormalizationRule
GetMetricNormalizationRules returns a pointer to the value of MetricNormalizationRules from BrowserApplicationEntity
func (BrowserApplicationEntity) GetNRDBQuery ¶ added in v0.54.0
func (x BrowserApplicationEntity) GetNRDBQuery() nrdb.NRDBResultContainer
GetNRDBQuery returns a pointer to the value of NRDBQuery from BrowserApplicationEntity
func (BrowserApplicationEntity) GetName ¶ added in v0.54.0
func (x BrowserApplicationEntity) GetName() string
GetName returns a pointer to the value of Name from BrowserApplicationEntity
func (BrowserApplicationEntity) GetNerdStorage ¶ added in v0.54.0
func (x BrowserApplicationEntity) GetNerdStorage() NerdStorageEntityScope
GetNerdStorage returns a pointer to the value of NerdStorage from BrowserApplicationEntity
func (BrowserApplicationEntity) GetPermalink ¶ added in v0.54.0
func (x BrowserApplicationEntity) GetPermalink() string
GetPermalink returns a pointer to the value of Permalink from BrowserApplicationEntity
func (BrowserApplicationEntity) GetRecentAlertViolations ¶ added in v0.54.0
func (x BrowserApplicationEntity) GetRecentAlertViolations() []EntityAlertViolation
GetRecentAlertViolations returns a pointer to the value of RecentAlertViolations from BrowserApplicationEntity
func (BrowserApplicationEntity) GetRelatedEntities ¶ added in v0.63.0
func (x BrowserApplicationEntity) GetRelatedEntities() EntityRelationshipRelatedEntitiesResult
GetRelatedEntities returns a pointer to the value of RelatedEntities from BrowserApplicationEntity
func (BrowserApplicationEntity) GetRelationships ¶ added in v0.54.0
func (x BrowserApplicationEntity) GetRelationships() []EntityRelationship
GetRelationships returns a pointer to the value of Relationships from BrowserApplicationEntity
func (BrowserApplicationEntity) GetReporting ¶ added in v0.54.0
func (x BrowserApplicationEntity) GetReporting() bool
GetReporting returns a pointer to the value of Reporting from BrowserApplicationEntity
func (BrowserApplicationEntity) GetRunningAgentVersions ¶ added in v0.54.0
func (x BrowserApplicationEntity) GetRunningAgentVersions() BrowserApplicationRunningAgentVersions
GetRunningAgentVersions returns a pointer to the value of RunningAgentVersions from BrowserApplicationEntity
func (BrowserApplicationEntity) GetServiceLevel ¶ added in v0.63.0
func (x BrowserApplicationEntity) GetServiceLevel() ServiceLevelDefinition
GetServiceLevel returns a pointer to the value of ServiceLevel from BrowserApplicationEntity
func (BrowserApplicationEntity) GetServingApmApplicationID ¶ added in v0.54.0
func (x BrowserApplicationEntity) GetServingApmApplicationID() int
GetServingApmApplicationID returns a pointer to the value of ServingApmApplicationID from BrowserApplicationEntity
func (BrowserApplicationEntity) GetSettings ¶ added in v0.54.0
func (x BrowserApplicationEntity) GetSettings() BrowserApplicationSettings
GetSettings returns a pointer to the value of Settings from BrowserApplicationEntity
func (BrowserApplicationEntity) GetTags ¶ added in v0.54.0
func (x BrowserApplicationEntity) GetTags() []EntityTag
GetTags returns a pointer to the value of Tags from BrowserApplicationEntity
func (BrowserApplicationEntity) GetTagsWithMetadata ¶ added in v0.54.0
func (x BrowserApplicationEntity) GetTagsWithMetadata() []EntityTagWithMetadata
GetTagsWithMetadata returns a pointer to the value of TagsWithMetadata from BrowserApplicationEntity
func (BrowserApplicationEntity) GetType ¶ added in v0.54.0
func (x BrowserApplicationEntity) GetType() string
GetType returns a pointer to the value of Type from BrowserApplicationEntity
func (*BrowserApplicationEntity) ImplementsAlertableEntity ¶ added in v0.53.0
func (x *BrowserApplicationEntity) ImplementsAlertableEntity()
func (*BrowserApplicationEntity) ImplementsEntity ¶ added in v0.53.0
func (x *BrowserApplicationEntity) ImplementsEntity()
type BrowserApplicationEntityOutline ¶ added in v0.53.0
type BrowserApplicationEntityOutline struct { // Account accounts.AccountOutline `json:"account,omitempty"` // The New Relic account ID associated with this entity. AccountID int `json:"accountId,omitempty"` // The type of Browser agent installed for this application. AgentInstallType BrowserAgentInstallType `json:"agentInstallType,omitempty"` // The current alerting severity of the entity. AlertSeverity EntityAlertSeverity `json:"alertSeverity,omitempty"` // The ID of the Browser App. ApplicationID int `json:"applicationId,omitempty"` // Summary statistics about the Browser App. BrowserSummary BrowserApplicationSummaryData `json:"browserSummary,omitempty"` // The entity's domain Domain string `json:"domain,omitempty"` // A value representing the combination of the entity's domain and type. EntityType EntityType `json:"entityType,omitempty"` // A unique entity identifier. GUID common.EntityGUID `json:"guid,omitempty"` // The list of golden metrics for a specific entity GoldenMetrics EntityGoldenContextScopedGoldenMetrics `json:"goldenMetrics"` // The list of golden tags for a specific entityType. GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags"` // The time the entity was indexed. IndexedAt *nrtime.EpochMilliseconds `json:"indexedAt,omitempty"` // The name of this entity. Name string `json:"name,omitempty"` // The url to the entity. Permalink string `json:"permalink,omitempty"` // The reporting status of the entity. If New Relic is successfully collecting data from your application, this will be true. Reporting bool `json:"reporting,omitempty"` // The running versions of the agent in the Browser App. RunningAgentVersions BrowserApplicationRunningAgentVersions `json:"runningAgentVersions,omitempty"` // The service level defined for the entity. ServiceLevel ServiceLevelDefinition `json:"serviceLevel,omitempty"` // The ID of the APM Application that serves this Browser App. ServingApmApplicationID int `json:"servingApmApplicationId,omitempty"` // Configuration settings for the Browser App Settings BrowserApplicationSettings `json:"settings,omitempty"` // The tags applied to the entity. // // For details on tags, as well as query and mutation examples, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-tagging-api-tutorial). Tags []EntityTag `json:"tags,omitempty"` // The entity's type Type string `json:"type,omitempty"` }
BrowserApplicationEntityOutline - A Browser Application entity outline.
func (BrowserApplicationEntityOutline) GetAccount ¶ added in v0.54.0
func (x BrowserApplicationEntityOutline) GetAccount() accounts.AccountOutline
GetAccount returns a pointer to the value of Account from BrowserApplicationEntityOutline
func (BrowserApplicationEntityOutline) GetAccountID ¶ added in v0.54.0
func (x BrowserApplicationEntityOutline) GetAccountID() int
GetAccountID returns a pointer to the value of AccountID from BrowserApplicationEntityOutline
func (BrowserApplicationEntityOutline) GetAgentInstallType ¶ added in v0.54.0
func (x BrowserApplicationEntityOutline) GetAgentInstallType() BrowserAgentInstallType
GetAgentInstallType returns a pointer to the value of AgentInstallType from BrowserApplicationEntityOutline
func (BrowserApplicationEntityOutline) GetAlertSeverity ¶ added in v0.54.0
func (x BrowserApplicationEntityOutline) GetAlertSeverity() EntityAlertSeverity
GetAlertSeverity returns a pointer to the value of AlertSeverity from BrowserApplicationEntityOutline
func (BrowserApplicationEntityOutline) GetApplicationID ¶ added in v0.54.0
func (x BrowserApplicationEntityOutline) GetApplicationID() int
GetApplicationID returns a pointer to the value of ApplicationID from BrowserApplicationEntityOutline
func (BrowserApplicationEntityOutline) GetBrowserSummary ¶ added in v0.54.0
func (x BrowserApplicationEntityOutline) GetBrowserSummary() BrowserApplicationSummaryData
GetBrowserSummary returns a pointer to the value of BrowserSummary from BrowserApplicationEntityOutline
func (BrowserApplicationEntityOutline) GetDomain ¶ added in v0.54.0
func (x BrowserApplicationEntityOutline) GetDomain() string
GetDomain returns a pointer to the value of Domain from BrowserApplicationEntityOutline
func (BrowserApplicationEntityOutline) GetEntityType ¶ added in v0.54.0
func (x BrowserApplicationEntityOutline) GetEntityType() EntityType
GetEntityType returns a pointer to the value of EntityType from BrowserApplicationEntityOutline
func (BrowserApplicationEntityOutline) GetGUID ¶ added in v0.54.0
func (x BrowserApplicationEntityOutline) GetGUID() common.EntityGUID
GetGUID returns a pointer to the value of GUID from BrowserApplicationEntityOutline
func (BrowserApplicationEntityOutline) GetGoldenMetrics ¶ added in v0.59.0
func (x BrowserApplicationEntityOutline) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
GetGoldenMetrics returns a pointer to the value of GoldenMetrics from BrowserApplicationEntityOutline
func (BrowserApplicationEntityOutline) GetGoldenTags ¶ added in v0.59.0
func (x BrowserApplicationEntityOutline) GetGoldenTags() EntityGoldenContextScopedGoldenTags
GetGoldenTags returns a pointer to the value of GoldenTags from BrowserApplicationEntityOutline
func (BrowserApplicationEntityOutline) GetIndexedAt ¶ added in v0.54.0
func (x BrowserApplicationEntityOutline) GetIndexedAt() *nrtime.EpochMilliseconds
GetIndexedAt returns a pointer to the value of IndexedAt from BrowserApplicationEntityOutline
func (BrowserApplicationEntityOutline) GetName ¶ added in v0.54.0
func (x BrowserApplicationEntityOutline) GetName() string
GetName returns a pointer to the value of Name from BrowserApplicationEntityOutline
func (BrowserApplicationEntityOutline) GetPermalink ¶ added in v0.54.0
func (x BrowserApplicationEntityOutline) GetPermalink() string
GetPermalink returns a pointer to the value of Permalink from BrowserApplicationEntityOutline
func (BrowserApplicationEntityOutline) GetReporting ¶ added in v0.54.0
func (x BrowserApplicationEntityOutline) GetReporting() bool
GetReporting returns a pointer to the value of Reporting from BrowserApplicationEntityOutline
func (BrowserApplicationEntityOutline) GetRunningAgentVersions ¶ added in v0.54.0
func (x BrowserApplicationEntityOutline) GetRunningAgentVersions() BrowserApplicationRunningAgentVersions
GetRunningAgentVersions returns a pointer to the value of RunningAgentVersions from BrowserApplicationEntityOutline
func (BrowserApplicationEntityOutline) GetServiceLevel ¶ added in v0.63.0
func (x BrowserApplicationEntityOutline) GetServiceLevel() ServiceLevelDefinition
GetServiceLevel returns a pointer to the value of ServiceLevel from BrowserApplicationEntityOutline
func (BrowserApplicationEntityOutline) GetServingApmApplicationID ¶ added in v0.54.0
func (x BrowserApplicationEntityOutline) GetServingApmApplicationID() int
GetServingApmApplicationID returns a pointer to the value of ServingApmApplicationID from BrowserApplicationEntityOutline
func (BrowserApplicationEntityOutline) GetSettings ¶ added in v0.54.0
func (x BrowserApplicationEntityOutline) GetSettings() BrowserApplicationSettings
GetSettings returns a pointer to the value of Settings from BrowserApplicationEntityOutline
func (BrowserApplicationEntityOutline) GetTags ¶ added in v0.54.0
func (x BrowserApplicationEntityOutline) GetTags() []EntityTag
GetTags returns a pointer to the value of Tags from BrowserApplicationEntityOutline
func (BrowserApplicationEntityOutline) GetType ¶ added in v0.54.0
func (x BrowserApplicationEntityOutline) GetType() string
GetType returns a pointer to the value of Type from BrowserApplicationEntityOutline
func (*BrowserApplicationEntityOutline) ImplementsAlertableEntityOutline ¶ added in v0.53.0
func (x *BrowserApplicationEntityOutline) ImplementsAlertableEntityOutline()
func (BrowserApplicationEntityOutline) ImplementsEntity ¶ added in v0.53.0
func (x BrowserApplicationEntityOutline) ImplementsEntity()
func (*BrowserApplicationEntityOutline) ImplementsEntityOutline ¶ added in v0.53.0
func (x *BrowserApplicationEntityOutline) ImplementsEntityOutline()
type BrowserApplicationRunningAgentVersions ¶ added in v0.53.0
type BrowserApplicationRunningAgentVersions struct { // The maximum (newest) agent version running in the Browser App. MaxVersion int `json:"maxVersion,omitempty"` // The minimum (oldest) agent version running in the Browser App. MinVersion int `json:"minVersion,omitempty"` }
BrowserApplicationRunningAgentVersions - Represents the currently running agent versions in a Browser App. An app could be running multiple versions of an agent (across different browsers, for example).
type BrowserApplicationSettings ¶ added in v0.53.0
type BrowserApplicationSettings struct { // The current Apdex target setting ApdexTarget float64 `json:"apdexTarget,omitempty"` }
BrowserApplicationSettings - Configuration settings for the Browser App
type BrowserApplicationSummaryData ¶ added in v0.53.0
type BrowserApplicationSummaryData struct { // The number of AJAX requests per minute AjaxRequestThroughput float64 `json:"ajaxRequestThroughput,omitempty"` // The average AJAX response time in seconds. AjaxResponseTimeAverage nrtime.Seconds `json:"ajaxResponseTimeAverage,omitempty"` // The percentage of page views with a JS error. JsErrorRate float64 `json:"jsErrorRate,omitempty"` // The number of page loads per minute PageLoadThroughput float64 `json:"pageLoadThroughput,omitempty"` // The average page view time in seconds. PageLoadTimeAverage float64 `json:"pageLoadTimeAverage,omitempty"` // The median page view time in seconds. PageLoadTimeMedian float64 `json:"pageLoadTimeMedian,omitempty"` // The average SPA response time in seconds. SpaResponseTimeAverage nrtime.Seconds `json:"spaResponseTimeAverage,omitempty"` // The median SPA response time in seconds. SpaResponseTimeMedian nrtime.Seconds `json:"spaResponseTimeMedian,omitempty"` }
BrowserApplicationSummaryData - Summary statistics about the Browser App.
type CollectionEntity ¶ added in v0.53.0
type CollectionEntity struct { // Collection EntityCollection `json:"collection,omitempty"` // GUID common.EntityGUID `json:"guid,omitempty"` }
CollectionEntity - A group of entities defined by entity search queries and specific GUIDs
func (CollectionEntity) GetCollection ¶ added in v0.54.0
func (x CollectionEntity) GetCollection() EntityCollection
GetCollection returns a pointer to the value of Collection from CollectionEntity
func (CollectionEntity) GetGUID ¶ added in v0.54.0
func (x CollectionEntity) GetGUID() common.EntityGUID
GetGUID returns a pointer to the value of GUID from CollectionEntity
func (*CollectionEntity) ImplementsCollectionEntity ¶ added in v0.53.0
func (x *CollectionEntity) ImplementsCollectionEntity()
type CollectionEntityInterface ¶ added in v0.53.0
type CollectionEntityInterface interface {
ImplementsCollectionEntity()
}
CollectionEntity - A group of entities defined by entity search queries and specific GUIDs
func UnmarshalCollectionEntityInterface ¶ added in v0.53.0
func UnmarshalCollectionEntityInterface(b []byte) (*CollectionEntityInterface, error)
UnmarshalCollectionEntityInterface unmarshals the interface into the correct type based on __typename provided by GraphQL
type DashboardAlertSeverity ¶ added in v0.53.0
type DashboardAlertSeverity string
DashboardAlertSeverity - Alert severity.
type DashboardAreaWidgetConfiguration ¶ added in v0.53.0
type DashboardAreaWidgetConfiguration struct { // nrql queries NRQLQueries []DashboardWidgetNRQLQuery `json:"nrqlQueries,omitempty"` }
DashboardAreaWidgetConfiguration - Configuration for visualization type 'viz.area'
type DashboardBarWidgetConfiguration ¶ added in v0.53.0
type DashboardBarWidgetConfiguration struct { // nrql queries NRQLQueries []DashboardWidgetNRQLQuery `json:"nrqlQueries,omitempty"` }
DashboardBarWidgetConfiguration - Configuration for visualization type 'viz.bar'
type DashboardBillboardWidgetConfiguration ¶ added in v0.53.0
type DashboardBillboardWidgetConfiguration struct { // nrql queries NRQLQueries []DashboardWidgetNRQLQuery `json:"nrqlQueries,omitempty"` // Thresholds Thresholds []DashboardBillboardWidgetThreshold `json:"thresholds,omitempty"` }
DashboardBillboardWidgetConfiguration - Configuration for visualization type 'viz.billboard'
type DashboardBillboardWidgetThreshold ¶ added in v0.53.0
type DashboardBillboardWidgetThreshold struct { // Alert severity. AlertSeverity DashboardAlertSeverity `json:"alertSeverity,omitempty"` // Alert value. Value float64 `json:"value,omitempty"` }
DashboardBillboardWidgetThreshold - Billboard widget threshold.
type DashboardEntity ¶ added in v0.53.0
type DashboardEntity struct { // Account accounts.AccountOutline `json:"account,omitempty"` // The New Relic account ID associated with this entity. AccountID int `json:"accountId,omitempty"` // The current alerting severity of the entity. AlertSeverity EntityAlertSeverity `json:"alertSeverity,omitempty"` // Violations on the entity that were open during the specified time window. AlertViolations []EntityAlertViolation `json:"alertViolations,omitempty"` // Dashboard creation timestamp. CreatedAt nrtime.DateTime `json:"createdAt,omitempty"` // The parent entity `guid` of the dashboard. DashboardParentGUID common.EntityGUID `json:"dashboardParentGuid,omitempty"` // Dashboard description. Description string `json:"description,omitempty"` // The entity's domain Domain string `json:"domain,omitempty"` // A value representing the combination of the entity's domain and type. EntityType EntityType `json:"entityType,omitempty"` // A unique entity identifier. GUID common.EntityGUID `json:"guid,omitempty"` // The list of golden metrics for a specific entity GoldenMetrics EntityGoldenContextScopedGoldenMetrics `json:"goldenMetrics"` // The list of golden tags for a specific entityType. GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags"` // The time the entity was indexed. IndexedAt *nrtime.EpochMilliseconds `json:"indexedAt,omitempty"` // Make an `Entity` scoped query to NRDB with a NRQL string. // // A relevant `WHERE` clause will be added to your query to scope data to the entity in question. // // See the [NRQL Docs](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/nrql-resources/nrql-syntax-components-functions) for more information about generating a query string. NRDBQuery nrdb.NRDBResultContainer `json:"nrdbQuery,omitempty"` // The name of this entity. Name string `json:"name,omitempty"` // NerdStorage NerdStorageEntityScope `json:"nerdStorage,omitempty"` // Dashboard owner. Owner DashboardOwnerInfo `json:"owner,omitempty"` // Dashboard pages. Pages []DashboardPage `json:"pages,omitempty"` // The url to the entity. Permalink string `json:"permalink,omitempty"` // Dashboard permissions configuration. Permissions DashboardPermissions `json:"permissions,omitempty"` // Recent violations on the entity. RecentAlertViolations []EntityAlertViolation `json:"recentAlertViolations,omitempty"` // Related entities result with optional filtering. RelatedEntities EntityRelationshipRelatedEntitiesResult `json:"relatedEntities,omitempty"` // A list of the entities' relationships. // // For more information, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-relationships-api-tutorial). Relationships []EntityRelationship `json:"relationships,omitempty"` // The reporting status of the entity. If New Relic is successfully collecting data from your application, this will be true. Reporting bool `json:"reporting,omitempty"` // The service level defined for the entity. ServiceLevel ServiceLevelDefinition `json:"serviceLevel,omitempty"` // The tags applied to the entity. // // For details on tags, as well as query and mutation examples, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-tagging-api-tutorial). Tags []EntityTag `json:"tags,omitempty"` // The tags applied to the entity with their metadata. TagsWithMetadata []EntityTagWithMetadata `json:"tagsWithMetadata,omitempty"` // The entity's type Type string `json:"type,omitempty"` // Dashboard update timestamp. UpdatedAt nrtime.DateTime `json:"updatedAt,omitempty"` }
DashboardEntity - A Dashboard entity.
func (DashboardEntity) GetAccount ¶ added in v0.54.0
func (x DashboardEntity) GetAccount() accounts.AccountOutline
GetAccount returns a pointer to the value of Account from DashboardEntity
func (DashboardEntity) GetAccountID ¶ added in v0.54.0
func (x DashboardEntity) GetAccountID() int
GetAccountID returns a pointer to the value of AccountID from DashboardEntity
func (DashboardEntity) GetAlertSeverity ¶ added in v0.59.2
func (x DashboardEntity) GetAlertSeverity() EntityAlertSeverity
GetAlertSeverity returns a pointer to the value of AlertSeverity from DashboardEntity
func (DashboardEntity) GetAlertViolations ¶ added in v0.59.2
func (x DashboardEntity) GetAlertViolations() []EntityAlertViolation
GetAlertViolations returns a pointer to the value of AlertViolations from DashboardEntity
func (DashboardEntity) GetCreatedAt ¶ added in v0.54.0
func (x DashboardEntity) GetCreatedAt() nrtime.DateTime
GetCreatedAt returns a pointer to the value of CreatedAt from DashboardEntity
func (DashboardEntity) GetDashboardParentGUID ¶ added in v0.54.0
func (x DashboardEntity) GetDashboardParentGUID() common.EntityGUID
GetDashboardParentGUID returns a pointer to the value of DashboardParentGUID from DashboardEntity
func (DashboardEntity) GetDescription ¶ added in v0.54.0
func (x DashboardEntity) GetDescription() string
GetDescription returns a pointer to the value of Description from DashboardEntity
func (DashboardEntity) GetDomain ¶ added in v0.54.0
func (x DashboardEntity) GetDomain() string
GetDomain returns a pointer to the value of Domain from DashboardEntity
func (DashboardEntity) GetEntityType ¶ added in v0.54.0
func (x DashboardEntity) GetEntityType() EntityType
GetEntityType returns a pointer to the value of EntityType from DashboardEntity
func (DashboardEntity) GetGUID ¶ added in v0.54.0
func (x DashboardEntity) GetGUID() common.EntityGUID
GetGUID returns a pointer to the value of GUID from DashboardEntity
func (DashboardEntity) GetGoldenMetrics ¶ added in v0.59.0
func (x DashboardEntity) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
GetGoldenMetrics returns a pointer to the value of GoldenMetrics from DashboardEntity
func (DashboardEntity) GetGoldenTags ¶ added in v0.59.0
func (x DashboardEntity) GetGoldenTags() EntityGoldenContextScopedGoldenTags
GetGoldenTags returns a pointer to the value of GoldenTags from DashboardEntity
func (DashboardEntity) GetIndexedAt ¶ added in v0.54.0
func (x DashboardEntity) GetIndexedAt() *nrtime.EpochMilliseconds
GetIndexedAt returns a pointer to the value of IndexedAt from DashboardEntity
func (DashboardEntity) GetNRDBQuery ¶ added in v0.54.0
func (x DashboardEntity) GetNRDBQuery() nrdb.NRDBResultContainer
GetNRDBQuery returns a pointer to the value of NRDBQuery from DashboardEntity
func (DashboardEntity) GetName ¶ added in v0.54.0
func (x DashboardEntity) GetName() string
GetName returns a pointer to the value of Name from DashboardEntity
func (DashboardEntity) GetNerdStorage ¶ added in v0.54.0
func (x DashboardEntity) GetNerdStorage() NerdStorageEntityScope
GetNerdStorage returns a pointer to the value of NerdStorage from DashboardEntity
func (DashboardEntity) GetOwner ¶ added in v0.54.0
func (x DashboardEntity) GetOwner() DashboardOwnerInfo
GetOwner returns a pointer to the value of Owner from DashboardEntity
func (DashboardEntity) GetPages ¶ added in v0.54.0
func (x DashboardEntity) GetPages() []DashboardPage
GetPages returns a pointer to the value of Pages from DashboardEntity
func (DashboardEntity) GetPermalink ¶ added in v0.54.0
func (x DashboardEntity) GetPermalink() string
GetPermalink returns a pointer to the value of Permalink from DashboardEntity
func (DashboardEntity) GetPermissions ¶ added in v0.54.0
func (x DashboardEntity) GetPermissions() DashboardPermissions
GetPermissions returns a pointer to the value of Permissions from DashboardEntity
func (DashboardEntity) GetRecentAlertViolations ¶ added in v0.59.2
func (x DashboardEntity) GetRecentAlertViolations() []EntityAlertViolation
GetRecentAlertViolations returns a pointer to the value of RecentAlertViolations from DashboardEntity
func (DashboardEntity) GetRelatedEntities ¶ added in v0.63.0
func (x DashboardEntity) GetRelatedEntities() EntityRelationshipRelatedEntitiesResult
GetRelatedEntities returns a pointer to the value of RelatedEntities from DashboardEntity
func (DashboardEntity) GetRelationships ¶ added in v0.54.0
func (x DashboardEntity) GetRelationships() []EntityRelationship
GetRelationships returns a pointer to the value of Relationships from DashboardEntity
func (DashboardEntity) GetReporting ¶ added in v0.54.0
func (x DashboardEntity) GetReporting() bool
GetReporting returns a pointer to the value of Reporting from DashboardEntity
func (DashboardEntity) GetServiceLevel ¶ added in v0.63.0
func (x DashboardEntity) GetServiceLevel() ServiceLevelDefinition
GetServiceLevel returns a pointer to the value of ServiceLevel from DashboardEntity
func (DashboardEntity) GetTags ¶ added in v0.54.0
func (x DashboardEntity) GetTags() []EntityTag
GetTags returns a pointer to the value of Tags from DashboardEntity
func (DashboardEntity) GetTagsWithMetadata ¶ added in v0.54.0
func (x DashboardEntity) GetTagsWithMetadata() []EntityTagWithMetadata
GetTagsWithMetadata returns a pointer to the value of TagsWithMetadata from DashboardEntity
func (DashboardEntity) GetType ¶ added in v0.54.0
func (x DashboardEntity) GetType() string
GetType returns a pointer to the value of Type from DashboardEntity
func (DashboardEntity) GetUpdatedAt ¶ added in v0.54.0
func (x DashboardEntity) GetUpdatedAt() nrtime.DateTime
GetUpdatedAt returns a pointer to the value of UpdatedAt from DashboardEntity
func (*DashboardEntity) ImplementsAlertableEntity ¶ added in v0.59.2
func (x *DashboardEntity) ImplementsAlertableEntity()
func (*DashboardEntity) ImplementsEntity ¶ added in v0.53.0
func (x *DashboardEntity) ImplementsEntity()
type DashboardEntityOutline ¶ added in v0.53.0
type DashboardEntityOutline struct { // Account accounts.AccountOutline `json:"account,omitempty"` // The New Relic account ID associated with this entity. AccountID int `json:"accountId,omitempty"` // The current alerting severity of the entity. AlertSeverity EntityAlertSeverity `json:"alertSeverity,omitempty"` // The date and time the dashboard was created CreatedAt nrtime.DateTime `json:"createdAt,omitempty"` // The parent entity `guid` of the dashboard. DashboardParentGUID common.EntityGUID `json:"dashboardParentGuid,omitempty"` // The entity's domain Domain string `json:"domain,omitempty"` // A value representing the combination of the entity's domain and type. EntityType EntityType `json:"entityType,omitempty"` // A unique entity identifier. GUID common.EntityGUID `json:"guid,omitempty"` // The list of golden metrics for a specific entity GoldenMetrics EntityGoldenContextScopedGoldenMetrics `json:"goldenMetrics"` // The list of golden tags for a specific entityType. GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags"` // The time the entity was indexed. IndexedAt *nrtime.EpochMilliseconds `json:"indexedAt,omitempty"` // The name of this entity. Name string `json:"name,omitempty"` // The owner information of the dashboard. Owner DashboardEntityOwnerInfo `json:"owner,omitempty"` // The url to the entity. Permalink string `json:"permalink,omitempty"` // The permissions of the dashboard. Permissions DashboardEntityPermissions `json:"permissions,omitempty"` // The reporting status of the entity. If New Relic is successfully collecting data from your application, this will be true. Reporting bool `json:"reporting,omitempty"` // The service level defined for the entity. ServiceLevel ServiceLevelDefinition `json:"serviceLevel,omitempty"` // The tags applied to the entity. // // For details on tags, as well as query and mutation examples, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-tagging-api-tutorial). Tags []EntityTag `json:"tags,omitempty"` // The entity's type Type string `json:"type,omitempty"` // The date and time the dashboard was updated UpdatedAt nrtime.DateTime `json:"updatedAt,omitempty"` }
DashboardEntityOutline - A Dashboard entity outline.
func (DashboardEntityOutline) GetAccount ¶ added in v0.54.0
func (x DashboardEntityOutline) GetAccount() accounts.AccountOutline
GetAccount returns a pointer to the value of Account from DashboardEntityOutline
func (DashboardEntityOutline) GetAccountID ¶ added in v0.54.0
func (x DashboardEntityOutline) GetAccountID() int
GetAccountID returns a pointer to the value of AccountID from DashboardEntityOutline
func (DashboardEntityOutline) GetAlertSeverity ¶ added in v0.59.2
func (x DashboardEntityOutline) GetAlertSeverity() EntityAlertSeverity
GetAlertSeverity returns a pointer to the value of AlertSeverity from DashboardEntityOutline
func (DashboardEntityOutline) GetCreatedAt ¶ added in v0.59.2
func (x DashboardEntityOutline) GetCreatedAt() nrtime.DateTime
GetCreatedAt returns a pointer to the value of CreatedAt from DashboardEntityOutline
func (DashboardEntityOutline) GetDashboardParentGUID ¶ added in v0.54.0
func (x DashboardEntityOutline) GetDashboardParentGUID() common.EntityGUID
GetDashboardParentGUID returns a pointer to the value of DashboardParentGUID from DashboardEntityOutline
func (DashboardEntityOutline) GetDomain ¶ added in v0.54.0
func (x DashboardEntityOutline) GetDomain() string
GetDomain returns a pointer to the value of Domain from DashboardEntityOutline
func (DashboardEntityOutline) GetEntityType ¶ added in v0.54.0
func (x DashboardEntityOutline) GetEntityType() EntityType
GetEntityType returns a pointer to the value of EntityType from DashboardEntityOutline
func (DashboardEntityOutline) GetGUID ¶ added in v0.54.0
func (x DashboardEntityOutline) GetGUID() common.EntityGUID
GetGUID returns a pointer to the value of GUID from DashboardEntityOutline
func (DashboardEntityOutline) GetGoldenMetrics ¶ added in v0.59.0
func (x DashboardEntityOutline) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
GetGoldenMetrics returns a pointer to the value of GoldenMetrics from DashboardEntityOutline
func (DashboardEntityOutline) GetGoldenTags ¶ added in v0.59.0
func (x DashboardEntityOutline) GetGoldenTags() EntityGoldenContextScopedGoldenTags
GetGoldenTags returns a pointer to the value of GoldenTags from DashboardEntityOutline
func (DashboardEntityOutline) GetIndexedAt ¶ added in v0.54.0
func (x DashboardEntityOutline) GetIndexedAt() *nrtime.EpochMilliseconds
GetIndexedAt returns a pointer to the value of IndexedAt from DashboardEntityOutline
func (DashboardEntityOutline) GetName ¶ added in v0.54.0
func (x DashboardEntityOutline) GetName() string
GetName returns a pointer to the value of Name from DashboardEntityOutline
func (DashboardEntityOutline) GetOwner ¶ added in v0.59.0
func (x DashboardEntityOutline) GetOwner() DashboardEntityOwnerInfo
GetOwner returns a pointer to the value of Owner from DashboardEntityOutline
func (DashboardEntityOutline) GetPermalink ¶ added in v0.54.0
func (x DashboardEntityOutline) GetPermalink() string
GetPermalink returns a pointer to the value of Permalink from DashboardEntityOutline
func (DashboardEntityOutline) GetPermissions ¶ added in v0.59.0
func (x DashboardEntityOutline) GetPermissions() DashboardEntityPermissions
GetPermissions returns a pointer to the value of Permissions from DashboardEntityOutline
func (DashboardEntityOutline) GetReporting ¶ added in v0.54.0
func (x DashboardEntityOutline) GetReporting() bool
GetReporting returns a pointer to the value of Reporting from DashboardEntityOutline
func (DashboardEntityOutline) GetServiceLevel ¶ added in v0.63.0
func (x DashboardEntityOutline) GetServiceLevel() ServiceLevelDefinition
GetServiceLevel returns a pointer to the value of ServiceLevel from DashboardEntityOutline
func (DashboardEntityOutline) GetTags ¶ added in v0.54.0
func (x DashboardEntityOutline) GetTags() []EntityTag
GetTags returns a pointer to the value of Tags from DashboardEntityOutline
func (DashboardEntityOutline) GetType ¶ added in v0.54.0
func (x DashboardEntityOutline) GetType() string
GetType returns a pointer to the value of Type from DashboardEntityOutline
func (DashboardEntityOutline) GetUpdatedAt ¶ added in v0.59.2
func (x DashboardEntityOutline) GetUpdatedAt() nrtime.DateTime
GetUpdatedAt returns a pointer to the value of UpdatedAt from DashboardEntityOutline
func (*DashboardEntityOutline) ImplementsAlertableEntityOutline ¶ added in v0.59.2
func (x *DashboardEntityOutline) ImplementsAlertableEntityOutline()
func (DashboardEntityOutline) ImplementsEntity ¶ added in v0.53.0
func (x DashboardEntityOutline) ImplementsEntity()
func (*DashboardEntityOutline) ImplementsEntityOutline ¶ added in v0.53.0
func (x *DashboardEntityOutline) ImplementsEntityOutline()
type DashboardEntityOwnerInfo ¶ added in v0.59.0
type DashboardEntityOwnerInfo struct { // The email of the dashboard owner Email string `json:"email,omitempty"` // The user ID of the dashboard owner UserID int `json:"userId,omitempty"` }
DashboardEntityOwnerInfo - Dashboard owner
type DashboardEntityPermissions ¶ added in v0.59.0
type DashboardEntityPermissions string
DashboardEntityPermissions - Permission that represent visibility & editability
type DashboardLineWidgetConfiguration ¶ added in v0.53.0
type DashboardLineWidgetConfiguration struct { // nrql queries NRQLQueries []DashboardWidgetNRQLQuery `json:"nrqlQueries,omitempty"` }
DashboardLineWidgetConfiguration - Configuration for visualization type 'viz.line'
type DashboardMarkdownWidgetConfiguration ¶ added in v0.53.0
type DashboardMarkdownWidgetConfiguration struct { // Markdown content of the widget Text string `json:"text"` }
DashboardMarkdownWidgetConfiguration - Configuration for visualization type 'viz.markdown'
type DashboardOwnerInfo ¶ added in v0.53.0
type DashboardOwnerInfo struct { // Email. Email string `json:"email,omitempty"` // User id. UserID int `json:"userId,omitempty"` }
DashboardOwnerInfo - Information on the owner of a dashboard or page
type DashboardPage ¶ added in v0.53.0
type DashboardPage struct { // Page creation timestamp. CreatedAt nrtime.DateTime `json:"createdAt,omitempty"` // Page description. Description string `json:"description,omitempty"` // Unique entity identifier. GUID common.EntityGUID `json:"guid,omitempty"` // Page name. Name string `json:"name,omitempty"` // Page owner Owner DashboardOwnerInfo `json:"owner,omitempty"` // Page update timestamp. UpdatedAt nrtime.DateTime `json:"updatedAt,omitempty"` // Page widgets. Widgets []DashboardWidget `json:"widgets,omitempty"` }
DashboardPage - Page in a dashboard entity
type DashboardPermissions ¶ added in v0.53.0
type DashboardPermissions string
DashboardPermissions - Permission that represent visibility & editability
type DashboardPieWidgetConfiguration ¶ added in v0.53.0
type DashboardPieWidgetConfiguration struct { // nrql queries NRQLQueries []DashboardWidgetNRQLQuery `json:"nrqlQueries,omitempty"` }
DashboardPieWidgetConfiguration - Configuration for visualization type 'viz.pie'
type DashboardTableWidgetConfiguration ¶ added in v0.53.0
type DashboardTableWidgetConfiguration struct { // nrql queries NRQLQueries []DashboardWidgetNRQLQuery `json:"nrqlQueries,omitempty"` }
DashboardTableWidgetConfiguration - Configuration for visualization type 'viz.table'
type DashboardWidget ¶ added in v0.53.0
type DashboardWidget struct { // Typed configuration Configuration DashboardWidgetConfiguration `json:"configuration,omitempty"` // id ID string `json:"id"` // layout Layout DashboardWidgetLayout `json:"layout,omitempty"` // Related entities. Currently only supports Dashboard entities, but may allow other cases in the future. LinkedEntities []EntityOutlineInterface `json:"linkedEntities,omitempty"` // Untyped configuration RawConfiguration DashboardWidgetRawConfiguration `json:"rawConfiguration"` // title Title string `json:"title,omitempty"` // Specifies how this widget will be visualized. Visualization DashboardWidgetVisualization `json:"visualization"` }
DashboardWidget - Widgets in a Dashboard Page.
func (*DashboardWidget) UnmarshalJSON ¶ added in v0.53.0
func (x *DashboardWidget) UnmarshalJSON(b []byte) error
special
type DashboardWidgetConfiguration ¶ added in v0.53.0
type DashboardWidgetConfiguration struct { // Configuration for visualization type 'viz.area' Area DashboardAreaWidgetConfiguration `json:"area,omitempty"` // Configuration for visualization type 'viz.bar' Bar DashboardBarWidgetConfiguration `json:"bar,omitempty"` // Configuration for visualization type 'viz.billboard' Billboard DashboardBillboardWidgetConfiguration `json:"billboard,omitempty"` // Configuration for visualization type 'viz.line' Line DashboardLineWidgetConfiguration `json:"line,omitempty"` // Configuration for visualization type 'viz.markdown' Markdown DashboardMarkdownWidgetConfiguration `json:"markdown,omitempty"` // Configuration for visualization type 'viz.pie' Pie DashboardPieWidgetConfiguration `json:"pie,omitempty"` // Configuration for visualization type 'viz.table' Table DashboardTableWidgetConfiguration `json:"table,omitempty"` }
DashboardWidgetConfiguration - Typed configuration for known visualizations. Only one (at most) will be populated for a given widget.
type DashboardWidgetLayout ¶ added in v0.53.0
type DashboardWidgetLayout struct { // column. Column int `json:"column,omitempty"` // height. Height int `json:"height,omitempty"` // row. Row int `json:"row,omitempty"` // width. Width int `json:"width,omitempty"` }
DashboardWidgetLayout - Widget layout.
type DashboardWidgetNRQLQuery ¶ added in v0.55.7
type DashboardWidgetNRQLQuery struct { // accountId AccountID int `json:"accountId"` // NRQL formatted query Query nrdb.NRQL `json:"query"` }
DashboardWidgetNRQLQuery - Single NRQL query for a widget.
type DashboardWidgetRawConfiguration ¶ added in v0.53.0
type DashboardWidgetRawConfiguration []byte
DashboardWidgetRawConfiguration - Raw JSON payload with full configuration of a widget.
func (DashboardWidgetRawConfiguration) MarshalJSON ¶ added in v0.53.0
func (d DashboardWidgetRawConfiguration) MarshalJSON() ([]byte, error)
MarshalJSON returns the JSON encoded version of DashboardWidgetRawConfiguration (which is already JSON)
func (*DashboardWidgetRawConfiguration) UnmarshalJSON ¶ added in v0.53.0
func (d *DashboardWidgetRawConfiguration) UnmarshalJSON(data []byte) error
UnmarshalJSON sets *d to a copy of the data, as DashboardWidgetRawConfiguration is the raw JSON intentionally.
type DashboardWidgetVisualization ¶ added in v0.53.0
type DashboardWidgetVisualization struct { // Nerdpack artifact ID ID string `json:"id,omitempty"` }
DashboardWidgetVisualization - Visualization configuration
type DomainTypeInput ¶ added in v0.63.0
type DomainTypeInput struct { // The domain of the entity. // // The domain must be a value matching /[A-Z][A-Z0-9_]{2,14}/. Domain string `json:"domain"` // The type of the entity. // // The type must be a value matching /[A-Z][A-Z0-9_]{2,49}/. // // Some examples are APPLICATION, HOST or CONTAINER. Type string `json:"type"` }
DomainTypeInput - Input for getting details about an entity type
type Entities ¶
type Entities struct {
// contains filtered or unexported fields
}
Entities is used to communicate with the New Relic Entities product.
func (*Entities) AddTagsWithContext
deprecated
added in
v0.60.2
func (*Entities) DeleteTagValues
deprecated
func (e *Entities) DeleteTagValues(guid common.EntityGUID, tagValues []TagValue) error
DeleteTagValues deletes specific tag key and value pairs from the entity.
Deprecated: Use TaggingDeleteTagValuesFromEntity instead.
func (*Entities) DeleteTagValuesWithContext
deprecated
added in
v0.60.2
func (*Entities) DeleteTags
deprecated
func (e *Entities) DeleteTags(guid common.EntityGUID, tagKeys []string) error
DeleteTags deletes specific tag keys from the entity.
Deprecated: Use TaggingDeleteTagFromEntity instead.
func (*Entities) DeleteTagsWithContext
deprecated
added in
v0.60.2
func (*Entities) GetEntities ¶
func (a *Entities) GetEntities( gUIDs []common.EntityGUID, ) (*[]EntityInterface, error)
Fetch a list of entities.
You can fetch a max of 25 entities in one query.
For more details on entities, visit our [entity docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/use-new-relic-graphql-api-query-entities).
func (*Entities) GetEntitiesWithContext ¶ added in v0.60.0
func (a *Entities) GetEntitiesWithContext( ctx context.Context, gUIDs []common.EntityGUID, ) (*[]EntityInterface, error)
Fetch a list of entities.
You can fetch a max of 25 entities in one query.
For more details on entities, visit our [entity docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/use-new-relic-graphql-api-query-entities).
func (*Entities) GetEntity ¶
func (a *Entities) GetEntity( gUID common.EntityGUID, ) (*EntityInterface, error)
Fetch a single entity.
For more details on entities, visit our [entity docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/use-new-relic-graphql-api-query-entities).
func (*Entities) GetEntitySearch ¶ added in v0.53.0
func (a *Entities) GetEntitySearch( options EntitySearchOptions, query string, queryBuilder EntitySearchQueryBuilder, sortBy []EntitySearchSortCriteria, ) (*EntitySearch, error)
Search for entities using a custom query.
For more details on how to create a custom query and what entity data you can request, visit our [entity docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/use-new-relic-graphql-api-query-entities).
Note: you must supply either a `query` OR a `queryBuilder` argument, not both.
func (*Entities) GetEntitySearchWithContext ¶ added in v0.60.0
func (a *Entities) GetEntitySearchWithContext( ctx context.Context, options EntitySearchOptions, query string, queryBuilder EntitySearchQueryBuilder, sortBy []EntitySearchSortCriteria, ) (*EntitySearch, error)
Search for entities using a custom query.
For more details on how to create a custom query and what entity data you can request, visit our [entity docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/use-new-relic-graphql-api-query-entities).
Note: you must supply either a `query` OR a `queryBuilder` argument, not both.
func (*Entities) GetEntityWithContext ¶ added in v0.60.0
func (a *Entities) GetEntityWithContext( ctx context.Context, gUID common.EntityGUID, ) (*EntityInterface, error)
Fetch a single entity.
For more details on entities, visit our [entity docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/use-new-relic-graphql-api-query-entities).
func (*Entities) GetTagsForEntity ¶ added in v0.53.0
func (e *Entities) GetTagsForEntity(guid common.EntityGUID) ([]*EntityTag, error)
GetTagsForEntity returns a collection of all tags (mutable and not) for a given entity by entity GUID.
func (*Entities) GetTagsForEntityMutable ¶ added in v0.67.0
func (e *Entities) GetTagsForEntityMutable(guid common.EntityGUID) ([]*EntityTag, error)
GetTagsForEntityMutable returns a collection of all tags (mutable only) for a given entity by entity GUID.
func (*Entities) GetTagsForEntityWithContext ¶ added in v0.60.2
func (e *Entities) GetTagsForEntityWithContext(ctx context.Context, guid common.EntityGUID) ([]*EntityTag, error)
GetTagsForEntityWithContext returns a collection of all tags (mutable and not) for a given entity by entity GUID.
func (*Entities) GetTagsForEntityWithContextMutable ¶ added in v0.67.0
func (e *Entities) GetTagsForEntityWithContextMutable(ctx context.Context, guid common.EntityGUID) ([]*EntityTag, error)
GetTagsForEntityWithContextMutable returns a collection of all tags (mutable only) for a given entity by entity GUID.
func (*Entities) ListAllTags
deprecated
added in
v0.41.1
func (e *Entities) ListAllTags(guid common.EntityGUID) ([]*Tag, error)
ListAllTags returns a collection of all tags (mutable and not) for a given entity by entity GUID.
Deprecated: Use GetTagsForEntity instead.
func (*Entities) ListAllTagsWithContext
deprecated
added in
v0.60.2
func (*Entities) ListTagsWithContext
deprecated
added in
v0.60.2
func (*Entities) ReplaceTags
deprecated
func (e *Entities) ReplaceTags(guid common.EntityGUID, tags []Tag) error
ReplaceTags replaces the entity's entire set of tags with the provided tag set.
Deprecated: Use TaggingReplaceTagsOnEntity instead.
func (*Entities) ReplaceTagsWithContext
deprecated
added in
v0.60.2
func (*Entities) TaggingAddTagsToEntity ¶ added in v0.53.0
func (a *Entities) TaggingAddTagsToEntity( gUID common.EntityGUID, tags []TaggingTagInput, ) (*TaggingMutationResult, error)
Adds the provided tags to your specified entity, without deleting existing ones.
The maximum number of tag-values per entity is 100; if the sum of existing and new tag-values if over the limit this mutation will fail. For details and mutation examples, visit [our docs](https://docs.newrelic.com/docs/apis/nerdgraph/examples/nerdgraph-tagging-api-tutorial).
func (*Entities) TaggingAddTagsToEntityWithContext ¶ added in v0.60.0
func (a *Entities) TaggingAddTagsToEntityWithContext( ctx context.Context, gUID common.EntityGUID, tags []TaggingTagInput, ) (*TaggingMutationResult, error)
Adds the provided tags to your specified entity, without deleting existing ones.
The maximum number of tag-values per entity is 100; if the sum of existing and new tag-values if over the limit this mutation will fail. For details and mutation examples, visit [our docs](https://docs.newrelic.com/docs/apis/nerdgraph/examples/nerdgraph-tagging-api-tutorial).
func (*Entities) TaggingDeleteTagFromEntity ¶ added in v0.53.0
func (a *Entities) TaggingDeleteTagFromEntity( gUID common.EntityGUID, tagKeys []string, ) (*TaggingMutationResult, error)
Delete specific tag keys from the entity.
For details and mutation examples, visit [our docs](https://docs.newrelic.com/docs/apis/nerdgraph/examples/nerdgraph-tagging-api-tutorial).
func (*Entities) TaggingDeleteTagFromEntityWithContext ¶ added in v0.60.0
func (a *Entities) TaggingDeleteTagFromEntityWithContext( ctx context.Context, gUID common.EntityGUID, tagKeys []string, ) (*TaggingMutationResult, error)
Delete specific tag keys from the entity.
For details and mutation examples, visit [our docs](https://docs.newrelic.com/docs/apis/nerdgraph/examples/nerdgraph-tagging-api-tutorial).
func (*Entities) TaggingDeleteTagValuesFromEntity ¶ added in v0.53.0
func (a *Entities) TaggingDeleteTagValuesFromEntity( gUID common.EntityGUID, tagValues []TaggingTagValueInput, ) (*TaggingMutationResult, error)
Delete specific tag key-values from the entity.
For details and mutation examples, visit [our docs](https://docs.newrelic.com/docs/apis/nerdgraph/examples/nerdgraph-tagging-api-tutorial).
func (*Entities) TaggingDeleteTagValuesFromEntityWithContext ¶ added in v0.60.0
func (a *Entities) TaggingDeleteTagValuesFromEntityWithContext( ctx context.Context, gUID common.EntityGUID, tagValues []TaggingTagValueInput, ) (*TaggingMutationResult, error)
Delete specific tag key-values from the entity.
For details and mutation examples, visit [our docs](https://docs.newrelic.com/docs/apis/nerdgraph/examples/nerdgraph-tagging-api-tutorial).
func (*Entities) TaggingReplaceTagsOnEntity ¶ added in v0.53.0
func (a *Entities) TaggingReplaceTagsOnEntity( gUID common.EntityGUID, tags []TaggingTagInput, ) (*TaggingMutationResult, error)
Replaces the entity's entire set of tags with the provided tag set.
The maximum number of tag-values per entity is 100; if more than 100 tag-values are provided this mutation will fail. For details and mutation examples, visit [our docs](https://docs.newrelic.com/docs/apis/nerdgraph/examples/nerdgraph-tagging-api-tutorial).
func (*Entities) TaggingReplaceTagsOnEntityWithContext ¶ added in v0.60.0
func (a *Entities) TaggingReplaceTagsOnEntityWithContext( ctx context.Context, gUID common.EntityGUID, tags []TaggingTagInput, ) (*TaggingMutationResult, error)
Replaces the entity's entire set of tags with the provided tag set.
The maximum number of tag-values per entity is 100; if more than 100 tag-values are provided this mutation will fail. For details and mutation examples, visit [our docs](https://docs.newrelic.com/docs/apis/nerdgraph/examples/nerdgraph-tagging-api-tutorial).
type Entity ¶
type Entity struct { // Account accounts.AccountOutline `json:"account,omitempty"` // The New Relic account ID associated with this entity. AccountID int `json:"accountId,omitempty"` // The current alerting severity of the entity. AlertSeverity EntityAlertSeverity `json:"alertSeverity,omitempty"` // Violations on the entity that were open during the specified time window. AlertViolations []EntityAlertViolation `json:"alertViolations,omitempty"` // The entity's domain Domain string `json:"domain,omitempty"` // A value representing the combination of the entity's domain and type. EntityType EntityType `json:"entityType,omitempty"` // A unique entity identifier. GUID common.EntityGUID `json:"guid,omitempty"` // The list of golden metrics for a specific entity GoldenMetrics EntityGoldenContextScopedGoldenMetrics `json:"goldenMetrics"` // The list of golden tags for a specific entityType. GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags"` // The time the entity was indexed. IndexedAt *nrtime.EpochMilliseconds `json:"indexedAt,omitempty"` // Make an `Entity` scoped query to NRDB with a NRQL string. // // A relevant `WHERE` clause will be added to your query to scope data to the entity in question. // // See the [NRQL Docs](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/nrql-resources/nrql-syntax-components-functions) for more information about generating a query string. NRDBQuery nrdb.NRDBResultContainer `json:"nrdbQuery,omitempty"` // The name of this entity. Name string `json:"name,omitempty"` // NerdStorage NerdStorageEntityScope `json:"nerdStorage,omitempty"` // The url to the entity. Permalink string `json:"permalink,omitempty"` // Recent violations on the entity. RecentAlertViolations []EntityAlertViolation `json:"recentAlertViolations,omitempty"` // Related entities result with optional filtering. RelatedEntities EntityRelationshipRelatedEntitiesResult `json:"relatedEntities,omitempty"` // A list of the entities' relationships. // // For more information, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-relationships-api-tutorial). Relationships []EntityRelationship `json:"relationships,omitempty"` // The reporting status of the entity. If New Relic is successfully collecting data from your application, this will be true. Reporting bool `json:"reporting,omitempty"` // The service level defined for the entity. ServiceLevel ServiceLevelDefinition `json:"serviceLevel,omitempty"` // The tags applied to the entity. // // For details on tags, as well as query and mutation examples, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-tagging-api-tutorial). Tags []EntityTag `json:"tags,omitempty"` // The tags applied to the entity with their metadata. TagsWithMetadata []EntityTagWithMetadata `json:"tagsWithMetadata,omitempty"` // The entity's type Type string `json:"type,omitempty"` }
Entity - The `Entity` interface allows fetching detailed entity information for a single entity.
To understand more about entities and entity types, look at [our docs](https://docs.newrelic.com/docs/what-are-new-relic-entities).
func (*Entity) ImplementsAlertableEntity ¶ added in v0.59.2
func (x *Entity) ImplementsAlertableEntity()
func (*Entity) ImplementsEntity ¶ added in v0.53.0
func (x *Entity) ImplementsEntity()
type EntityAlertViolation ¶ added in v0.53.0
type EntityAlertViolation struct { // A link to the agent in the time window in which the violation occurred. AgentURL string `json:"agentUrl,omitempty"` // The severity of the violation. AlertSeverity EntityAlertSeverity `json:"alertSeverity,omitempty"` // Timestamp of when the violation was closed. ClosedAt *nrtime.EpochMilliseconds `json:"closedAt,omitempty"` // The description of the violation. Label string `json:"label,omitempty"` // The priority of the violation. Level string `json:"level,omitempty"` // Timestamp of when the violation was opened. OpenedAt *nrtime.EpochMilliseconds `json:"openedAt,omitempty"` // The id of the violation. ViolationId int `json:"violationId,omitempty"` // A link to the violation if it is connected to an incident. ViolationURL string `json:"violationUrl,omitempty"` }
EntityAlertViolation -
type EntityCollection ¶ added in v0.53.0
type EntityCollection struct { // The account the collection is part of Account accounts.AccountReference `json:"account,omitempty"` // The user who created the collection CreatedBy users.UserReference `json:"createdBy,omitempty"` // The definition of the collection. Definition EntityCollectionDefinition `json:"definition,omitempty"` // The GUID of the Entity GUID common.EntityGUID `json:"guid,omitempty"` // The result of searching for the members of the collection. Members EntitySearch `json:"members,omitempty"` // The name of the collection. Name string `json:"name,omitempty"` // The type of Collection Type EntityCollectionType `json:"type,omitempty"` }
EntityCollection - A collection of user defined Entities and Entity Search queries.
type EntityCollectionDefinition ¶ added in v0.53.0
type EntityCollectionDefinition struct { // A list of entity GUIDs. These entities will belong to the collection as long as their accounts are included in the scope accounts of the collection. EntityGUIDs []common.EntityGUID `json:"entityGuids,omitempty"` // The Entity Search query that returns the full collection of entities. EntitySearchQuery string `json:"entitySearchQuery,omitempty"` // The Accounts that will be used to scope the collection. ScopeAccounts EntityCollectionScopeAccounts `json:"scopeAccounts,omitempty"` // A list of entity search queries. The resulting entities will be limited to the scope accounts of the collection. SearchQueries []string `json:"searchQueries,omitempty"` }
EntityCollectionDefinition - The definition of a collection.
type EntityCollectionScopeAccounts ¶ added in v0.53.0
type EntityCollectionScopeAccounts struct { // The Account IDs that make up the account scoping. AccountIDs []int `json:"accountIds,omitempty"` }
EntityCollectionScopeAccounts - The Accounts used to scope a collection.
type EntityCollectionType ¶ added in v0.53.0
type EntityCollectionType string
EntityCollectionType - Indicates where this collection is used
type EntityGoldenContext ¶ added in v0.59.0
type EntityGoldenContext struct { // Account context. Account int `json:"account,omitempty"` // Collection guid context. GUID common.EntityGUID `json:"guid,omitempty"` }
EntityGoldenContext - An object that represent the context.
type EntityGoldenContextInput ¶ added in v0.59.0
type EntityGoldenContextInput struct { // Account context. Account int `json:"account,omitempty"` // Collection guid context. GUID common.EntityGUID `json:"guid,omitempty"` }
EntityGoldenContextInput - Input type used to define the context for the golden metrics.
type EntityGoldenContextScopedGoldenMetrics ¶ added in v0.59.0
type EntityGoldenContextScopedGoldenMetrics struct { // Context for the golden metric Context EntityGoldenContext `json:"context"` // Metrics for the domain and type Metrics []EntityGoldenMetric `json:"metrics"` }
EntityGoldenContextScopedGoldenMetrics - An object that represents the golden metrics scoped by context
type EntityGoldenContextScopedGoldenTags ¶ added in v0.59.0
type EntityGoldenContextScopedGoldenTags struct { // Context for the golden tags Context EntityGoldenContext `json:"context"` // Tags for the domain and type Tags []EntityGoldenTag `json:"tags"` }
EntityGoldenContextScopedGoldenTags - An object that represents the golden tags scoped by context
type EntityGoldenEventObjectId ¶ added in v0.59.0
type EntityGoldenEventObjectId string
EntityGoldenEventObjectId - Types of references for the default WHERE clause.
type EntityGoldenMetric ¶ added in v0.59.0
type EntityGoldenMetric struct { // The definition of the golden metric. Definition EntityGoldenMetricDefinition `json:"definition"` // The name of the golden metric. Name string `json:"name"` // The golden metric NRQL query. Query string `json:"query"` // The title of the golden metric. Title string `json:"title"` }
EntityGoldenMetric - An object that represents a golden metric.
type EntityGoldenMetricDefinition ¶ added in v0.59.0
type EntityGoldenMetricDefinition struct { // The field used to filter the entity in the metric. This will be added to the WHERE by default. EventId string `json:"eventId"` // Indicates if the eventId field references a GUID, a domainId or an entity name. EventObjectId EntityGoldenEventObjectId `json:"eventObjectId"` // The field to FACET by. Facet string `json:"facet"` // The FROM clause of the query. From string `json:"from"` // The SELECT clause of the query. Select string `json:"select"` // If a complementary WHERE clause is required to identify the entity type this field will contain it. Where string `json:"where,omitempty"` }
EntityGoldenMetricDefinition - The definition of the metric.
type EntityGoldenNRQLTimeWindowInput ¶ added in v0.59.0
type EntityGoldenNRQLTimeWindowInput struct { // Start time. Since nrdb.NRQL `json:"since,omitempty"` // End time. Until nrdb.NRQL `json:"until,omitempty"` }
EntityGoldenNRQLTimeWindowInput - Time range to apply to the golden metric NRQL query
type EntityGoldenTag ¶ added in v0.59.0
type EntityGoldenTag struct { // The golden tag key. Key string `json:"key"` }
EntityGoldenTag - An object that represents a golden tag.
type EntityInfrastructureIntegrationType ¶ added in v0.53.0
type EntityInfrastructureIntegrationType string
EntityInfrastructureIntegrationType - The type of Infrastructure Integration
type EntityInterface ¶ added in v0.53.0
type EntityInterface interface { ImplementsEntity() GetAccountID() int GetDomain() string GetGUID() common.EntityGUID GetName() string GetTags() []EntityTag GetType() string GetServiceLevel() ServiceLevelDefinition }
Entity - The `Entity` interface allows fetching detailed entity information for a single entity.
To understand more about entities and entity types, look at [our docs](https://docs.newrelic.com/docs/what-are-new-relic-entities).
func UnmarshalEntityInterface ¶ added in v0.53.0
func UnmarshalEntityInterface(b []byte) (*EntityInterface, error)
UnmarshalEntityInterface unmarshals the interface into the correct type based on __typename provided by GraphQL
type EntityOutline ¶ added in v0.53.0
type EntityOutline struct { // Account accounts.AccountOutline `json:"account,omitempty"` // The New Relic account ID associated with this entity. AccountID int `json:"accountId,omitempty"` // The current alerting severity of the entity. AlertSeverity EntityAlertSeverity `json:"alertSeverity,omitempty"` // The entity's domain Domain string `json:"domain,omitempty"` // A value representing the combination of the entity's domain and type. EntityType EntityType `json:"entityType,omitempty"` // A unique entity identifier. GUID common.EntityGUID `json:"guid,omitempty"` // The list of golden metrics for a specific entity GoldenMetrics EntityGoldenContextScopedGoldenMetrics `json:"goldenMetrics"` // The list of golden tags for a specific entityType. GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags"` // The time the entity was indexed. IndexedAt *nrtime.EpochMilliseconds `json:"indexedAt,omitempty"` // The name of this entity. Name string `json:"name,omitempty"` // The url to the entity. Permalink string `json:"permalink,omitempty"` // The reporting status of the entity. If New Relic is successfully collecting data from your application, this will be true. Reporting bool `json:"reporting,omitempty"` // The service level defined for the entity. ServiceLevel ServiceLevelDefinition `json:"serviceLevel,omitempty"` // The tags applied to the entity. // // For details on tags, as well as query and mutation examples, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-tagging-api-tutorial). Tags []EntityTag `json:"tags,omitempty"` // The entity's type Type string `json:"type,omitempty"` }
EntityOutline - The `EntityOutline` interface object allows fetching basic entity data for many entities at a time.
To understand more about entities and entity types, look at [our docs](https://docs.newrelic.com/docs/what-are-new-relic-entities).
func (*EntityOutline) ImplementsAlertableEntityOutline ¶ added in v0.59.2
func (x *EntityOutline) ImplementsAlertableEntityOutline()
func (EntityOutline) ImplementsEntity ¶ added in v0.53.0
func (x EntityOutline) ImplementsEntity()
func (*EntityOutline) ImplementsEntityOutline ¶ added in v0.53.0
func (x *EntityOutline) ImplementsEntityOutline()
type EntityOutlineInterface ¶ added in v0.53.0
type EntityOutlineInterface interface { ImplementsEntityOutline() GetAccountID() int GetDomain() string GetGUID() common.EntityGUID GetName() string GetType() string }
EntityOutline - The `EntityOutline` interface object allows fetching basic entity data for many entities at a time.
To understand more about entities and entity types, look at [our docs](https://docs.newrelic.com/docs/what-are-new-relic-entities).
func UnmarshalEntityOutlineInterface ¶ added in v0.53.0
func UnmarshalEntityOutlineInterface(b []byte) (*EntityOutlineInterface, error)
UnmarshalEntityOutlineInterface unmarshals the interface into the correct type based on __typename provided by GraphQL
type EntityRelationship ¶ added in v0.53.0
type EntityRelationship struct { // The source entity of the relationship. Source EntityRelationshipNode `json:"source,omitempty"` // The target entity of the relationship. Target EntityRelationshipNode `json:"target,omitempty"` // The type of the relationship. For details, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-relationships-api-tutorial). Type EntityRelationshipType `json:"type,omitempty"` }
EntityRelationship - An entity relationship
type EntityRelationshipDetectedEdge ¶ added in v0.63.0
type EntityRelationshipDetectedEdge struct { // The time the relationship was created. CreatedAt *nrtime.EpochMilliseconds `json:"createdAt"` // The source entity of the relationship. Source EntityRelationshipVertex `json:"source"` // The target entity of the relationship. Target EntityRelationshipVertex `json:"target"` // The type of the relationship. Type EntityRelationshipEdgeType `json:"type"` }
EntityRelationshipDetectedEdge - An entity relationship automatically detected by NewRelic.
func (*EntityRelationshipDetectedEdge) ImplementsEntityRelationshipEdge ¶ added in v0.63.0
func (x *EntityRelationshipDetectedEdge) ImplementsEntityRelationshipEdge()
type EntityRelationshipEdge ¶ added in v0.63.0
type EntityRelationshipEdge struct { // The time the relationship was created. CreatedAt *nrtime.EpochMilliseconds `json:"createdAt"` // The source entity of the relationship. Source EntityRelationshipVertex `json:"source"` // The target entity of the relationship. Target EntityRelationshipVertex `json:"target"` // The type of the relationship. Type EntityRelationshipEdgeType `json:"type"` }
EntityRelationshipEdge - An entity relationship.
func (*EntityRelationshipEdge) ImplementsEntityRelationshipEdge ¶ added in v0.63.0
func (x *EntityRelationshipEdge) ImplementsEntityRelationshipEdge()
type EntityRelationshipEdgeDirection ¶ added in v0.63.0
type EntityRelationshipEdgeDirection string
EntityRelationshipEdgeDirection - Values for relationship direction filter.
type EntityRelationshipEdgeFilter ¶ added in v0.63.0
type EntityRelationshipEdgeFilter struct { // Filter by direction of relationship. Direction EntityRelationshipEdgeDirection `json:"direction,omitempty"` // Filter on entity domain-types. EntityDomainTypes EntityRelationshipEntityDomainTypeFilter `json:"entityDomainTypes,omitempty"` // Filter on relationship types. RelationshipTypes EntityRelationshipEdgeTypeFilter `json:"relationshipTypes,omitempty"` }
EntityRelationshipEdgeFilter - EntityRelationship edge filter.
type EntityRelationshipEdgeInterface ¶ added in v0.63.0
type EntityRelationshipEdgeInterface interface {
ImplementsEntityRelationshipEdge()
}
EntityRelationshipEdge - An entity relationship.
func UnmarshalEntityRelationshipEdgeInterface ¶ added in v0.63.0
func UnmarshalEntityRelationshipEdgeInterface(b []byte) (*EntityRelationshipEdgeInterface, error)
UnmarshalEntityRelationshipEdgeInterface unmarshals the interface into the correct type based on __typename provided by GraphQL
type EntityRelationshipEdgeType ¶ added in v0.63.0
type EntityRelationshipEdgeType string
EntityRelationshipEdgeType - The type of the relationship.
type EntityRelationshipEdgeTypeFilter ¶ added in v0.63.0
type EntityRelationshipEdgeTypeFilter struct { // Filter the relationships to those that are not of specific relationship types. Exclude []EntityRelationshipEdgeType `json:"exclude"` // Filter the relationships to those of specific relationship types. Include []EntityRelationshipEdgeType `json:"include"` }
EntityRelationshipEdgeTypeFilter - Filter on relationship types.
type EntityRelationshipEntityDomainTypeFilter ¶ added in v0.63.0
type EntityRelationshipEntityDomainTypeFilter struct { // Filter the relationships to those between entities that are not of specific domain-types. Exclude []DomainTypeInput `json:"exclude,omitempty"` // Filter the relationships to those between entities of specific domain-types. Include []DomainTypeInput `json:"include,omitempty"` }
EntityRelationshipEntityDomainTypeFilter - Filter on entity domain-types.
type EntityRelationshipFilter ¶ added in v0.53.0
type EntityRelationshipFilter struct { // Filter the relationships to those that contain a specific entity type. EntityType []EntityType `json:"entityType,omitempty"` // Filter the relationships to those that contain a specific Infrastructure integration entity type InfrastructureIntegrationType []EntityInfrastructureIntegrationType `json:"infrastructureIntegrationType,omitempty"` }
EntityRelationshipFilter - Relationship filter
type EntityRelationshipNode ¶ added in v0.53.0
type EntityRelationshipNode struct { // The Account ID for the relationship node. AccountID int `json:"accountId,omitempty"` // Entity EntityOutlineInterface `json:"entity,omitempty"` // The `EntityType` of the relationship node. EntityType EntityType `json:"entityType,omitempty"` // The Entity `guid` for the relationship node. GUID common.EntityGUID `json:"guid,omitempty"` }
EntityRelationshipNode - A node in an Entity relationship.
func (*EntityRelationshipNode) UnmarshalJSON ¶ added in v0.53.0
func (x *EntityRelationshipNode) UnmarshalJSON(b []byte) error
special
type EntityRelationshipRelatedEntitiesResult ¶ added in v0.63.0
type EntityRelationshipRelatedEntitiesResult struct { // The next cursor for fetching additional paginated results. NextCursor string `json:"nextCursor,omitempty"` // The list of related entities. Results []EntityRelationshipEdgeInterface `json:"results"` }
EntityRelationshipRelatedEntitiesResult - Response containing related entities
func (*EntityRelationshipRelatedEntitiesResult) UnmarshalJSON ¶ added in v0.63.0
func (x *EntityRelationshipRelatedEntitiesResult) UnmarshalJSON(b []byte) error
special
type EntityRelationshipType ¶ added in v0.53.0
type EntityRelationshipType string
EntityRelationshipType - The type of the relationship.
For details, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-relationships-api-tutorial).
type EntityRelationshipUserDefinedEdge ¶ added in v0.63.0
type EntityRelationshipUserDefinedEdge struct { // The time the relationship was created. CreatedAt *nrtime.EpochMilliseconds `json:"createdAt"` // The user that created the relationship. CreatedByUser users.UserReference `json:"createdByUser"` // The source entity of the relationship. Source EntityRelationshipVertex `json:"source"` // The target entity of the relationship. Target EntityRelationshipVertex `json:"target"` // The type of the relationship. Type EntityRelationshipEdgeType `json:"type"` }
EntityRelationshipUserDefinedEdge - An entity user-defined relationship.
func (*EntityRelationshipUserDefinedEdge) ImplementsEntityRelationshipEdge ¶ added in v0.63.0
func (x *EntityRelationshipUserDefinedEdge) ImplementsEntityRelationshipEdge()
type EntityRelationshipVertex ¶ added in v0.63.0
type EntityRelationshipVertex struct { // The account ID of the relationship node. AccountID int `json:"accountId"` // The entity of the relationship node. Entity EntityOutlineInterface `json:"entity"` // The entity guid of the relationship node. GUID common.EntityGUID `json:"guid"` }
EntityRelationshipVertex - A vertex in an entity relationship edge.
func (*EntityRelationshipVertex) UnmarshalJSON ¶ added in v0.63.0
func (x *EntityRelationshipVertex) UnmarshalJSON(b []byte) error
special
type EntitySearch ¶ added in v0.53.0
type EntitySearch struct { // The number of entities returned by the entity search. Count int `json:"count,omitempty"` // A count of the Entity Search results faceted by a chosen set of criteria. // // Note: Unlike a NRQL facet, the facet results do not include entities where the facet value does not exist. Additionally, entities can be tagged with multiple tag values for one tag key. For these reasons, depending on the facet values chosen, the `counts` field will not always equal the `entitySearch.count` field. Counts []EntitySearchCounts `json:"counts,omitempty"` // The entity search query string. Query string `json:"query,omitempty"` // The paginated results of the entity search. Results EntitySearchResult `json:"results,omitempty"` // The entity types returned by the entity search. Types []EntitySearchTypes `json:"types,omitempty"` }
EntitySearch - A data structure that contains the detailed response of an entity search.
The direct search result is available through `results`. Information about the query itself is available through `query`, `types`, and `count`.
type EntitySearchCounts ¶ added in v0.53.0
type EntitySearchCounts struct { // The number of entities that match the specified criteria. Count int `json:"count,omitempty"` // The group of entities returned for the specified criteria. Facet AttributeMap `json:"facet,omitempty"` }
EntitySearchCounts - The groupings and counts of entities returned for the specified criteria.
type EntitySearchCountsFacet ¶ added in v0.53.0
type EntitySearchCountsFacet string
EntitySearchCountsFacet - Possible entity search count facets.
type EntitySearchOptions ¶ added in v0.53.0
type EntitySearchOptions struct { // Whether or not matching on tag keys and values should be case-sensitive. CaseSensitiveTagMatching bool `json:"caseSensitiveTagMatching,omitempty"` // A limit to apply to the number of entities returned. Note: this option can only _lower_ the default limits. Limit int `json:"limit,omitempty"` }
EntitySearchOptions - Additional entity search options.
type EntitySearchQueryBuilder ¶ added in v0.53.0
type EntitySearchQueryBuilder struct { // The alerting severity of the entity. AlertSeverity EntityAlertSeverity `json:"alertSeverity,omitempty"` // The entity domain. Domain EntitySearchQueryBuilderDomain `json:"domain,omitempty"` // The Infrastructure integration type. This should be used in place of the `type` field to search for Infrastructure integration specific types. InfrastructureIntegrationType EntityInfrastructureIntegrationType `json:"infrastructureIntegrationType,omitempty"` // The entity name. Name string `json:"name,omitempty"` // The reporting status of the entity. Reporting bool `json:"reporting,omitempty"` // A list of tags applied to the entity. Tags []EntitySearchQueryBuilderTag `json:"tags,omitempty"` // The entity type. // // If you are querying for Infrastructure integration types, use the `infrastructureIntegrationType` field instead of `type`. Type EntitySearchQueryBuilderType `json:"type,omitempty"` }
EntitySearchQueryBuilder - An object that can be used to discover and create the entity search query argument.
type EntitySearchQueryBuilderDomain ¶ added in v0.53.0
type EntitySearchQueryBuilderDomain string
EntitySearchQueryBuilderDomain - The domain to search
type EntitySearchQueryBuilderTag ¶ added in v0.53.0
type EntitySearchQueryBuilderTag struct { // The tag key. You can search using a `tags.` prefix or omit it and receive the same results. // // Examples: `tags.environment`, `environment`. Key string `json:"key"` // The tag value. Value string `json:"value"` }
EntitySearchQueryBuilderTag - An entity tag.
type EntitySearchQueryBuilderType ¶ added in v0.53.0
type EntitySearchQueryBuilderType string
EntitySearchQueryBuilderType - The type of entity
type EntitySearchResult ¶ added in v0.53.0
type EntitySearchResult struct { // The entities contained in this section of the entity search results. // // For information on New Relic entities, visit [our docs](https://docs.newrelic.com/docs/what-are-new-relic-entities). // // To see some query examples of entity information, // visit [our entity GraphQL API docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/use-new-relic-graphql-api-query-entities). Entities []EntityOutlineInterface `json:"entities,omitempty"` // The next cursor for fetching additional paginated entity search results. NextCursor string `json:"nextCursor,omitempty"` }
EntitySearchResult - A section of the entity search results. If there is a `nextCursor` present, there are more results available.
func (*EntitySearchResult) UnmarshalJSON ¶ added in v0.53.0
func (x *EntitySearchResult) UnmarshalJSON(b []byte) error
special
type EntitySearchSortCriteria ¶ added in v0.53.0
type EntitySearchSortCriteria string
EntitySearchSortCriteria - Possible entity sorting criteria.
type EntitySearchTypes ¶ added in v0.53.0
type EntitySearchTypes struct { // The number of results with this type. Count int `json:"count,omitempty"` // The domain of the search result group. Domain string `json:"domain,omitempty"` // The combined domain & type of the search result group. EntityType EntityType `json:"entityType,omitempty"` // The type of the search result group. Type string `json:"type,omitempty"` }
EntitySearchTypes - A detailed entity search response object type.
type EntityTag ¶ added in v0.53.0
type EntityTag struct { // The tag's key Key string `json:"key,omitempty"` // A list of the tag values Values []string `json:"values,omitempty"` }
EntityTag - A tag that has been applied to an entity.
type EntityTagValueWithMetadata ¶ added in v0.41.0
type EntityTagValueWithMetadata struct { // Whether or not the tag can be mutated by the user. Mutable bool `json:"mutable,omitempty"` // The tag value. Value string `json:"value,omitempty"` }
EntityTagValueWithMetadata - The value and metadata of a single entity tag.
type EntityTagWithMetadata ¶ added in v0.41.0
type EntityTagWithMetadata struct { // The tag's key. Key string `json:"key,omitempty"` // A list of tag values with metadata information. Values []EntityTagValueWithMetadata `json:"values,omitempty"` }
EntityTagWithMetadata - The tags with metadata of the entity.
type ExternalEntity ¶ added in v0.59.0
type ExternalEntity struct { // Account accounts.AccountOutline `json:"account,omitempty"` // The New Relic account ID associated with this entity. AccountID int `json:"accountId,omitempty"` // The current alerting severity of the entity. AlertSeverity EntityAlertSeverity `json:"alertSeverity,omitempty"` // Violations on the entity that were open during the specified time window. AlertViolations []EntityAlertViolation `json:"alertViolations,omitempty"` // The entity's domain Domain string `json:"domain,omitempty"` // A value representing the combination of the entity's domain and type. EntityType EntityType `json:"entityType,omitempty"` // A unique entity identifier. GUID common.EntityGUID `json:"guid,omitempty"` // The list of golden metrics for a specific entity GoldenMetrics EntityGoldenContextScopedGoldenMetrics `json:"goldenMetrics"` // The list of golden tags for a specific entityType. GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags"` // The time the entity was indexed. IndexedAt *nrtime.EpochMilliseconds `json:"indexedAt,omitempty"` // Make an `Entity` scoped query to NRDB with a NRQL string. // // A relevant `WHERE` clause will be added to your query to scope data to the entity in question. // // See the [NRQL Docs](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/nrql-resources/nrql-syntax-components-functions) for more information about generating a query string. NRDBQuery nrdb.NRDBResultContainer `json:"nrdbQuery,omitempty"` // The name of this entity. Name string `json:"name,omitempty"` // NerdStorage NerdStorageEntityScope `json:"nerdStorage,omitempty"` // The url to the entity. Permalink string `json:"permalink,omitempty"` // Recent violations on the entity. RecentAlertViolations []EntityAlertViolation `json:"recentAlertViolations,omitempty"` // Related entities result with optional filtering. RelatedEntities EntityRelationshipRelatedEntitiesResult `json:"relatedEntities,omitempty"` // A list of the entities' relationships. // // For more information, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-relationships-api-tutorial). Relationships []EntityRelationship `json:"relationships,omitempty"` // The reporting status of the entity. If New Relic is successfully collecting data from your application, this will be true. Reporting bool `json:"reporting,omitempty"` // The service level defined for the entity. ServiceLevel ServiceLevelDefinition `json:"serviceLevel,omitempty"` // The tags applied to the entity. // // For details on tags, as well as query and mutation examples, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-tagging-api-tutorial). Tags []EntityTag `json:"tags,omitempty"` // The tags applied to the entity with their metadata. TagsWithMetadata []EntityTagWithMetadata `json:"tagsWithMetadata,omitempty"` // The entity's type Type string `json:"type,omitempty"` }
ExternalEntity - An External entity.
func (ExternalEntity) GetAccount ¶ added in v0.59.0
func (x ExternalEntity) GetAccount() accounts.AccountOutline
GetAccount returns a pointer to the value of Account from ExternalEntity
func (ExternalEntity) GetAccountID ¶ added in v0.59.0
func (x ExternalEntity) GetAccountID() int
GetAccountID returns a pointer to the value of AccountID from ExternalEntity
func (ExternalEntity) GetAlertSeverity ¶ added in v0.59.0
func (x ExternalEntity) GetAlertSeverity() EntityAlertSeverity
GetAlertSeverity returns a pointer to the value of AlertSeverity from ExternalEntity
func (ExternalEntity) GetAlertViolations ¶ added in v0.59.0
func (x ExternalEntity) GetAlertViolations() []EntityAlertViolation
GetAlertViolations returns a pointer to the value of AlertViolations from ExternalEntity
func (ExternalEntity) GetDomain ¶ added in v0.59.0
func (x ExternalEntity) GetDomain() string
GetDomain returns a pointer to the value of Domain from ExternalEntity
func (ExternalEntity) GetEntityType ¶ added in v0.59.0
func (x ExternalEntity) GetEntityType() EntityType
GetEntityType returns a pointer to the value of EntityType from ExternalEntity
func (ExternalEntity) GetGUID ¶ added in v0.59.0
func (x ExternalEntity) GetGUID() common.EntityGUID
GetGUID returns a pointer to the value of GUID from ExternalEntity
func (ExternalEntity) GetGoldenMetrics ¶ added in v0.59.0
func (x ExternalEntity) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
GetGoldenMetrics returns a pointer to the value of GoldenMetrics from ExternalEntity
func (ExternalEntity) GetGoldenTags ¶ added in v0.59.0
func (x ExternalEntity) GetGoldenTags() EntityGoldenContextScopedGoldenTags
GetGoldenTags returns a pointer to the value of GoldenTags from ExternalEntity
func (ExternalEntity) GetIndexedAt ¶ added in v0.59.0
func (x ExternalEntity) GetIndexedAt() *nrtime.EpochMilliseconds
GetIndexedAt returns a pointer to the value of IndexedAt from ExternalEntity
func (ExternalEntity) GetNRDBQuery ¶ added in v0.59.0
func (x ExternalEntity) GetNRDBQuery() nrdb.NRDBResultContainer
GetNRDBQuery returns a pointer to the value of NRDBQuery from ExternalEntity
func (ExternalEntity) GetName ¶ added in v0.59.0
func (x ExternalEntity) GetName() string
GetName returns a pointer to the value of Name from ExternalEntity
func (ExternalEntity) GetNerdStorage ¶ added in v0.59.0
func (x ExternalEntity) GetNerdStorage() NerdStorageEntityScope
GetNerdStorage returns a pointer to the value of NerdStorage from ExternalEntity
func (ExternalEntity) GetPermalink ¶ added in v0.59.0
func (x ExternalEntity) GetPermalink() string
GetPermalink returns a pointer to the value of Permalink from ExternalEntity
func (ExternalEntity) GetRecentAlertViolations ¶ added in v0.59.0
func (x ExternalEntity) GetRecentAlertViolations() []EntityAlertViolation
GetRecentAlertViolations returns a pointer to the value of RecentAlertViolations from ExternalEntity
func (ExternalEntity) GetRelatedEntities ¶ added in v0.63.0
func (x ExternalEntity) GetRelatedEntities() EntityRelationshipRelatedEntitiesResult
GetRelatedEntities returns a pointer to the value of RelatedEntities from ExternalEntity
func (ExternalEntity) GetRelationships ¶ added in v0.59.0
func (x ExternalEntity) GetRelationships() []EntityRelationship
GetRelationships returns a pointer to the value of Relationships from ExternalEntity
func (ExternalEntity) GetReporting ¶ added in v0.59.0
func (x ExternalEntity) GetReporting() bool
GetReporting returns a pointer to the value of Reporting from ExternalEntity
func (ExternalEntity) GetServiceLevel ¶ added in v0.63.0
func (x ExternalEntity) GetServiceLevel() ServiceLevelDefinition
GetServiceLevel returns a pointer to the value of ServiceLevel from ExternalEntity
func (ExternalEntity) GetTags ¶ added in v0.59.0
func (x ExternalEntity) GetTags() []EntityTag
GetTags returns a pointer to the value of Tags from ExternalEntity
func (ExternalEntity) GetTagsWithMetadata ¶ added in v0.59.0
func (x ExternalEntity) GetTagsWithMetadata() []EntityTagWithMetadata
GetTagsWithMetadata returns a pointer to the value of TagsWithMetadata from ExternalEntity
func (ExternalEntity) GetType ¶ added in v0.59.0
func (x ExternalEntity) GetType() string
GetType returns a pointer to the value of Type from ExternalEntity
func (*ExternalEntity) ImplementsAlertableEntity ¶ added in v0.59.0
func (x *ExternalEntity) ImplementsAlertableEntity()
func (*ExternalEntity) ImplementsEntity ¶ added in v0.59.0
func (x *ExternalEntity) ImplementsEntity()
type ExternalEntityOutline ¶ added in v0.59.0
type ExternalEntityOutline struct { // Account accounts.AccountOutline `json:"account,omitempty"` // The New Relic account ID associated with this entity. AccountID int `json:"accountId,omitempty"` // The current alerting severity of the entity. AlertSeverity EntityAlertSeverity `json:"alertSeverity,omitempty"` // The entity's domain Domain string `json:"domain,omitempty"` // A value representing the combination of the entity's domain and type. EntityType EntityType `json:"entityType,omitempty"` // A unique entity identifier. GUID common.EntityGUID `json:"guid,omitempty"` // The list of golden metrics for a specific entity GoldenMetrics EntityGoldenContextScopedGoldenMetrics `json:"goldenMetrics"` // The list of golden tags for a specific entityType. GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags"` // The time the entity was indexed. IndexedAt *nrtime.EpochMilliseconds `json:"indexedAt,omitempty"` // The name of this entity. Name string `json:"name,omitempty"` // The url to the entity. Permalink string `json:"permalink,omitempty"` // The reporting status of the entity. If New Relic is successfully collecting data from your application, this will be true. Reporting bool `json:"reporting,omitempty"` // The service level defined for the entity. ServiceLevel ServiceLevelDefinition `json:"serviceLevel,omitempty"` // The tags applied to the entity. // // For details on tags, as well as query and mutation examples, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-tagging-api-tutorial). Tags []EntityTag `json:"tags,omitempty"` // The entity's type Type string `json:"type,omitempty"` }
ExternalEntityOutline - An External entity outline.
func (ExternalEntityOutline) GetAccount ¶ added in v0.59.0
func (x ExternalEntityOutline) GetAccount() accounts.AccountOutline
GetAccount returns a pointer to the value of Account from ExternalEntityOutline
func (ExternalEntityOutline) GetAccountID ¶ added in v0.59.0
func (x ExternalEntityOutline) GetAccountID() int
GetAccountID returns a pointer to the value of AccountID from ExternalEntityOutline
func (ExternalEntityOutline) GetAlertSeverity ¶ added in v0.59.0
func (x ExternalEntityOutline) GetAlertSeverity() EntityAlertSeverity
GetAlertSeverity returns a pointer to the value of AlertSeverity from ExternalEntityOutline
func (ExternalEntityOutline) GetDomain ¶ added in v0.59.0
func (x ExternalEntityOutline) GetDomain() string
GetDomain returns a pointer to the value of Domain from ExternalEntityOutline
func (ExternalEntityOutline) GetEntityType ¶ added in v0.59.0
func (x ExternalEntityOutline) GetEntityType() EntityType
GetEntityType returns a pointer to the value of EntityType from ExternalEntityOutline
func (ExternalEntityOutline) GetGUID ¶ added in v0.59.0
func (x ExternalEntityOutline) GetGUID() common.EntityGUID
GetGUID returns a pointer to the value of GUID from ExternalEntityOutline
func (ExternalEntityOutline) GetGoldenMetrics ¶ added in v0.59.0
func (x ExternalEntityOutline) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
GetGoldenMetrics returns a pointer to the value of GoldenMetrics from ExternalEntityOutline
func (ExternalEntityOutline) GetGoldenTags ¶ added in v0.59.0
func (x ExternalEntityOutline) GetGoldenTags() EntityGoldenContextScopedGoldenTags
GetGoldenTags returns a pointer to the value of GoldenTags from ExternalEntityOutline
func (ExternalEntityOutline) GetIndexedAt ¶ added in v0.59.0
func (x ExternalEntityOutline) GetIndexedAt() *nrtime.EpochMilliseconds
GetIndexedAt returns a pointer to the value of IndexedAt from ExternalEntityOutline
func (ExternalEntityOutline) GetName ¶ added in v0.59.0
func (x ExternalEntityOutline) GetName() string
GetName returns a pointer to the value of Name from ExternalEntityOutline
func (ExternalEntityOutline) GetPermalink ¶ added in v0.59.0
func (x ExternalEntityOutline) GetPermalink() string
GetPermalink returns a pointer to the value of Permalink from ExternalEntityOutline
func (ExternalEntityOutline) GetReporting ¶ added in v0.59.0
func (x ExternalEntityOutline) GetReporting() bool
GetReporting returns a pointer to the value of Reporting from ExternalEntityOutline
func (ExternalEntityOutline) GetServiceLevel ¶ added in v0.63.0
func (x ExternalEntityOutline) GetServiceLevel() ServiceLevelDefinition
GetServiceLevel returns a pointer to the value of ServiceLevel from ExternalEntityOutline
func (ExternalEntityOutline) GetTags ¶ added in v0.59.0
func (x ExternalEntityOutline) GetTags() []EntityTag
GetTags returns a pointer to the value of Tags from ExternalEntityOutline
func (ExternalEntityOutline) GetType ¶ added in v0.59.0
func (x ExternalEntityOutline) GetType() string
GetType returns a pointer to the value of Type from ExternalEntityOutline
func (*ExternalEntityOutline) ImplementsAlertableEntityOutline ¶ added in v0.59.0
func (x *ExternalEntityOutline) ImplementsAlertableEntityOutline()
func (*ExternalEntityOutline) ImplementsEntityOutline ¶ added in v0.59.0
func (x *ExternalEntityOutline) ImplementsEntityOutline()
type Float ¶ added in v0.53.0
type Float string
Float - The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](http://en.wikipedia.org/wiki/IEEE_floating_point).
type GenericEntity ¶ added in v0.53.0
type GenericEntity struct { // Account accounts.AccountOutline `json:"account,omitempty"` // The New Relic account ID associated with this entity. AccountID int `json:"accountId,omitempty"` // The current alerting severity of the entity. AlertSeverity EntityAlertSeverity `json:"alertSeverity,omitempty"` // Violations on the entity that were open during the specified time window. AlertViolations []EntityAlertViolation `json:"alertViolations,omitempty"` // The entity's domain Domain string `json:"domain,omitempty"` // A value representing the combination of the entity's domain and type. EntityType EntityType `json:"entityType,omitempty"` // A unique entity identifier. GUID common.EntityGUID `json:"guid,omitempty"` // The list of golden metrics for a specific entity GoldenMetrics EntityGoldenContextScopedGoldenMetrics `json:"goldenMetrics"` // The list of golden tags for a specific entityType. GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags"` // The time the entity was indexed. IndexedAt *nrtime.EpochMilliseconds `json:"indexedAt,omitempty"` // Make an `Entity` scoped query to NRDB with a NRQL string. // // A relevant `WHERE` clause will be added to your query to scope data to the entity in question. // // See the [NRQL Docs](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/nrql-resources/nrql-syntax-components-functions) for more information about generating a query string. NRDBQuery nrdb.NRDBResultContainer `json:"nrdbQuery,omitempty"` // The name of this entity. Name string `json:"name,omitempty"` // NerdStorage NerdStorageEntityScope `json:"nerdStorage,omitempty"` // The url to the entity. Permalink string `json:"permalink,omitempty"` // Recent violations on the entity. RecentAlertViolations []EntityAlertViolation `json:"recentAlertViolations,omitempty"` // Related entities result with optional filtering. RelatedEntities EntityRelationshipRelatedEntitiesResult `json:"relatedEntities,omitempty"` // A list of the entities' relationships. // // For more information, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-relationships-api-tutorial). Relationships []EntityRelationship `json:"relationships,omitempty"` // The reporting status of the entity. If New Relic is successfully collecting data from your application, this will be true. Reporting bool `json:"reporting,omitempty"` // The service level defined for the entity. ServiceLevel ServiceLevelDefinition `json:"serviceLevel,omitempty"` // The tags applied to the entity. // // For details on tags, as well as query and mutation examples, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-tagging-api-tutorial). Tags []EntityTag `json:"tags,omitempty"` // The tags applied to the entity with their metadata. TagsWithMetadata []EntityTagWithMetadata `json:"tagsWithMetadata,omitempty"` // The entity's type Type string `json:"type,omitempty"` }
GenericEntity - A generic entity.
func (GenericEntity) GetAccount ¶ added in v0.54.0
func (x GenericEntity) GetAccount() accounts.AccountOutline
GetAccount returns a pointer to the value of Account from GenericEntity
func (GenericEntity) GetAccountID ¶ added in v0.54.0
func (x GenericEntity) GetAccountID() int
GetAccountID returns a pointer to the value of AccountID from GenericEntity
func (GenericEntity) GetAlertSeverity ¶ added in v0.59.2
func (x GenericEntity) GetAlertSeverity() EntityAlertSeverity
GetAlertSeverity returns a pointer to the value of AlertSeverity from GenericEntity
func (GenericEntity) GetAlertViolations ¶ added in v0.59.2
func (x GenericEntity) GetAlertViolations() []EntityAlertViolation
GetAlertViolations returns a pointer to the value of AlertViolations from GenericEntity
func (GenericEntity) GetDomain ¶ added in v0.54.0
func (x GenericEntity) GetDomain() string
GetDomain returns a pointer to the value of Domain from GenericEntity
func (GenericEntity) GetEntityType ¶ added in v0.54.0
func (x GenericEntity) GetEntityType() EntityType
GetEntityType returns a pointer to the value of EntityType from GenericEntity
func (GenericEntity) GetGUID ¶ added in v0.54.0
func (x GenericEntity) GetGUID() common.EntityGUID
GetGUID returns a pointer to the value of GUID from GenericEntity
func (GenericEntity) GetGoldenMetrics ¶ added in v0.59.0
func (x GenericEntity) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
GetGoldenMetrics returns a pointer to the value of GoldenMetrics from GenericEntity
func (GenericEntity) GetGoldenTags ¶ added in v0.59.0
func (x GenericEntity) GetGoldenTags() EntityGoldenContextScopedGoldenTags
GetGoldenTags returns a pointer to the value of GoldenTags from GenericEntity
func (GenericEntity) GetIndexedAt ¶ added in v0.54.0
func (x GenericEntity) GetIndexedAt() *nrtime.EpochMilliseconds
GetIndexedAt returns a pointer to the value of IndexedAt from GenericEntity
func (GenericEntity) GetNRDBQuery ¶ added in v0.54.0
func (x GenericEntity) GetNRDBQuery() nrdb.NRDBResultContainer
GetNRDBQuery returns a pointer to the value of NRDBQuery from GenericEntity
func (GenericEntity) GetName ¶ added in v0.54.0
func (x GenericEntity) GetName() string
GetName returns a pointer to the value of Name from GenericEntity
func (GenericEntity) GetNerdStorage ¶ added in v0.54.0
func (x GenericEntity) GetNerdStorage() NerdStorageEntityScope
GetNerdStorage returns a pointer to the value of NerdStorage from GenericEntity
func (GenericEntity) GetPermalink ¶ added in v0.54.0
func (x GenericEntity) GetPermalink() string
GetPermalink returns a pointer to the value of Permalink from GenericEntity
func (GenericEntity) GetRecentAlertViolations ¶ added in v0.59.2
func (x GenericEntity) GetRecentAlertViolations() []EntityAlertViolation
GetRecentAlertViolations returns a pointer to the value of RecentAlertViolations from GenericEntity
func (GenericEntity) GetRelatedEntities ¶ added in v0.63.0
func (x GenericEntity) GetRelatedEntities() EntityRelationshipRelatedEntitiesResult
GetRelatedEntities returns a pointer to the value of RelatedEntities from GenericEntity
func (GenericEntity) GetRelationships ¶ added in v0.54.0
func (x GenericEntity) GetRelationships() []EntityRelationship
GetRelationships returns a pointer to the value of Relationships from GenericEntity
func (GenericEntity) GetReporting ¶ added in v0.54.0
func (x GenericEntity) GetReporting() bool
GetReporting returns a pointer to the value of Reporting from GenericEntity
func (GenericEntity) GetServiceLevel ¶ added in v0.63.0
func (x GenericEntity) GetServiceLevel() ServiceLevelDefinition
GetServiceLevel returns a pointer to the value of ServiceLevel from GenericEntity
func (GenericEntity) GetTags ¶ added in v0.54.0
func (x GenericEntity) GetTags() []EntityTag
GetTags returns a pointer to the value of Tags from GenericEntity
func (GenericEntity) GetTagsWithMetadata ¶ added in v0.54.0
func (x GenericEntity) GetTagsWithMetadata() []EntityTagWithMetadata
GetTagsWithMetadata returns a pointer to the value of TagsWithMetadata from GenericEntity
func (GenericEntity) GetType ¶ added in v0.54.0
func (x GenericEntity) GetType() string
GetType returns a pointer to the value of Type from GenericEntity
func (*GenericEntity) ImplementsAlertableEntity ¶ added in v0.59.2
func (x *GenericEntity) ImplementsAlertableEntity()
func (*GenericEntity) ImplementsEntity ¶ added in v0.53.0
func (x *GenericEntity) ImplementsEntity()
type GenericEntityOutline ¶ added in v0.53.0
type GenericEntityOutline struct { // Account accounts.AccountOutline `json:"account,omitempty"` // The New Relic account ID associated with this entity. AccountID int `json:"accountId,omitempty"` // The current alerting severity of the entity. AlertSeverity EntityAlertSeverity `json:"alertSeverity,omitempty"` // The entity's domain Domain string `json:"domain,omitempty"` // A value representing the combination of the entity's domain and type. EntityType EntityType `json:"entityType,omitempty"` // A unique entity identifier. GUID common.EntityGUID `json:"guid,omitempty"` // The list of golden metrics for a specific entity GoldenMetrics EntityGoldenContextScopedGoldenMetrics `json:"goldenMetrics"` // The list of golden tags for a specific entityType. GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags"` // The time the entity was indexed. IndexedAt *nrtime.EpochMilliseconds `json:"indexedAt,omitempty"` // The name of this entity. Name string `json:"name,omitempty"` // The url to the entity. Permalink string `json:"permalink,omitempty"` // The reporting status of the entity. If New Relic is successfully collecting data from your application, this will be true. Reporting bool `json:"reporting,omitempty"` // The service level defined for the entity. ServiceLevel ServiceLevelDefinition `json:"serviceLevel,omitempty"` // The tags applied to the entity. // // For details on tags, as well as query and mutation examples, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-tagging-api-tutorial). Tags []EntityTag `json:"tags,omitempty"` // The entity's type Type string `json:"type,omitempty"` }
GenericEntityOutline - A generic entity outline.
func (GenericEntityOutline) GetAccount ¶ added in v0.54.0
func (x GenericEntityOutline) GetAccount() accounts.AccountOutline
GetAccount returns a pointer to the value of Account from GenericEntityOutline
func (GenericEntityOutline) GetAccountID ¶ added in v0.54.0
func (x GenericEntityOutline) GetAccountID() int
GetAccountID returns a pointer to the value of AccountID from GenericEntityOutline
func (GenericEntityOutline) GetAlertSeverity ¶ added in v0.59.2
func (x GenericEntityOutline) GetAlertSeverity() EntityAlertSeverity
GetAlertSeverity returns a pointer to the value of AlertSeverity from GenericEntityOutline
func (GenericEntityOutline) GetDomain ¶ added in v0.54.0
func (x GenericEntityOutline) GetDomain() string
GetDomain returns a pointer to the value of Domain from GenericEntityOutline
func (GenericEntityOutline) GetEntityType ¶ added in v0.54.0
func (x GenericEntityOutline) GetEntityType() EntityType
GetEntityType returns a pointer to the value of EntityType from GenericEntityOutline
func (GenericEntityOutline) GetGUID ¶ added in v0.54.0
func (x GenericEntityOutline) GetGUID() common.EntityGUID
GetGUID returns a pointer to the value of GUID from GenericEntityOutline
func (GenericEntityOutline) GetGoldenMetrics ¶ added in v0.59.0
func (x GenericEntityOutline) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
GetGoldenMetrics returns a pointer to the value of GoldenMetrics from GenericEntityOutline
func (GenericEntityOutline) GetGoldenTags ¶ added in v0.59.0
func (x GenericEntityOutline) GetGoldenTags() EntityGoldenContextScopedGoldenTags
GetGoldenTags returns a pointer to the value of GoldenTags from GenericEntityOutline
func (GenericEntityOutline) GetIndexedAt ¶ added in v0.54.0
func (x GenericEntityOutline) GetIndexedAt() *nrtime.EpochMilliseconds
GetIndexedAt returns a pointer to the value of IndexedAt from GenericEntityOutline
func (GenericEntityOutline) GetName ¶ added in v0.54.0
func (x GenericEntityOutline) GetName() string
GetName returns a pointer to the value of Name from GenericEntityOutline
func (GenericEntityOutline) GetPermalink ¶ added in v0.54.0
func (x GenericEntityOutline) GetPermalink() string
GetPermalink returns a pointer to the value of Permalink from GenericEntityOutline
func (GenericEntityOutline) GetReporting ¶ added in v0.54.0
func (x GenericEntityOutline) GetReporting() bool
GetReporting returns a pointer to the value of Reporting from GenericEntityOutline
func (GenericEntityOutline) GetServiceLevel ¶ added in v0.63.0
func (x GenericEntityOutline) GetServiceLevel() ServiceLevelDefinition
GetServiceLevel returns a pointer to the value of ServiceLevel from GenericEntityOutline
func (GenericEntityOutline) GetTags ¶ added in v0.54.0
func (x GenericEntityOutline) GetTags() []EntityTag
GetTags returns a pointer to the value of Tags from GenericEntityOutline
func (GenericEntityOutline) GetType ¶ added in v0.54.0
func (x GenericEntityOutline) GetType() string
GetType returns a pointer to the value of Type from GenericEntityOutline
func (*GenericEntityOutline) ImplementsAlertableEntityOutline ¶ added in v0.59.2
func (x *GenericEntityOutline) ImplementsAlertableEntityOutline()
func (GenericEntityOutline) ImplementsEntity ¶ added in v0.53.0
func (x GenericEntityOutline) ImplementsEntity()
func (*GenericEntityOutline) ImplementsEntityOutline ¶ added in v0.53.0
func (x *GenericEntityOutline) ImplementsEntityOutline()
type GenericInfrastructureEntity ¶ added in v0.53.0
type GenericInfrastructureEntity struct { // Account accounts.AccountOutline `json:"account,omitempty"` // The New Relic account ID associated with this entity. AccountID int `json:"accountId,omitempty"` // The current alerting severity of the entity. AlertSeverity EntityAlertSeverity `json:"alertSeverity,omitempty"` // Violations on the entity that were open during the specified time window. AlertViolations []EntityAlertViolation `json:"alertViolations,omitempty"` // The entity's domain Domain string `json:"domain,omitempty"` // A value representing the combination of the entity's domain and type. EntityType EntityType `json:"entityType,omitempty"` // A unique entity identifier. GUID common.EntityGUID `json:"guid,omitempty"` // The list of golden metrics for a specific entity GoldenMetrics EntityGoldenContextScopedGoldenMetrics `json:"goldenMetrics"` // The list of golden tags for a specific entityType. GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags"` // The time the entity was indexed. IndexedAt *nrtime.EpochMilliseconds `json:"indexedAt,omitempty"` // IntegrationTypeCode string `json:"integrationTypeCode,omitempty"` // Make an `Entity` scoped query to NRDB with a NRQL string. // // A relevant `WHERE` clause will be added to your query to scope data to the entity in question. // // See the [NRQL Docs](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/nrql-resources/nrql-syntax-components-functions) for more information about generating a query string. NRDBQuery nrdb.NRDBResultContainer `json:"nrdbQuery,omitempty"` // The name of this entity. Name string `json:"name,omitempty"` // NerdStorage NerdStorageEntityScope `json:"nerdStorage,omitempty"` // The url to the entity. Permalink string `json:"permalink,omitempty"` // Recent violations on the entity. RecentAlertViolations []EntityAlertViolation `json:"recentAlertViolations,omitempty"` // Related entities result with optional filtering. RelatedEntities EntityRelationshipRelatedEntitiesResult `json:"relatedEntities,omitempty"` // A list of the entities' relationships. // // For more information, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-relationships-api-tutorial). Relationships []EntityRelationship `json:"relationships,omitempty"` // The reporting status of the entity. If New Relic is successfully collecting data from your application, this will be true. Reporting bool `json:"reporting,omitempty"` // The service level defined for the entity. ServiceLevel ServiceLevelDefinition `json:"serviceLevel,omitempty"` // The tags applied to the entity. // // For details on tags, as well as query and mutation examples, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-tagging-api-tutorial). Tags []EntityTag `json:"tags,omitempty"` // The tags applied to the entity with their metadata. TagsWithMetadata []EntityTagWithMetadata `json:"tagsWithMetadata,omitempty"` // The entity's type Type string `json:"type,omitempty"` }
GenericInfrastructureEntity - An Infrastructure entity.
func (GenericInfrastructureEntity) GetAccount ¶ added in v0.54.0
func (x GenericInfrastructureEntity) GetAccount() accounts.AccountOutline
GetAccount returns a pointer to the value of Account from GenericInfrastructureEntity
func (GenericInfrastructureEntity) GetAccountID ¶ added in v0.54.0
func (x GenericInfrastructureEntity) GetAccountID() int
GetAccountID returns a pointer to the value of AccountID from GenericInfrastructureEntity
func (GenericInfrastructureEntity) GetAlertSeverity ¶ added in v0.54.0
func (x GenericInfrastructureEntity) GetAlertSeverity() EntityAlertSeverity
GetAlertSeverity returns a pointer to the value of AlertSeverity from GenericInfrastructureEntity
func (GenericInfrastructureEntity) GetAlertViolations ¶ added in v0.54.0
func (x GenericInfrastructureEntity) GetAlertViolations() []EntityAlertViolation
GetAlertViolations returns a pointer to the value of AlertViolations from GenericInfrastructureEntity
func (GenericInfrastructureEntity) GetDomain ¶ added in v0.54.0
func (x GenericInfrastructureEntity) GetDomain() string
GetDomain returns a pointer to the value of Domain from GenericInfrastructureEntity
func (GenericInfrastructureEntity) GetEntityType ¶ added in v0.54.0
func (x GenericInfrastructureEntity) GetEntityType() EntityType
GetEntityType returns a pointer to the value of EntityType from GenericInfrastructureEntity
func (GenericInfrastructureEntity) GetGUID ¶ added in v0.54.0
func (x GenericInfrastructureEntity) GetGUID() common.EntityGUID
GetGUID returns a pointer to the value of GUID from GenericInfrastructureEntity
func (GenericInfrastructureEntity) GetGoldenMetrics ¶ added in v0.59.0
func (x GenericInfrastructureEntity) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
GetGoldenMetrics returns a pointer to the value of GoldenMetrics from GenericInfrastructureEntity
func (GenericInfrastructureEntity) GetGoldenTags ¶ added in v0.59.0
func (x GenericInfrastructureEntity) GetGoldenTags() EntityGoldenContextScopedGoldenTags
GetGoldenTags returns a pointer to the value of GoldenTags from GenericInfrastructureEntity
func (GenericInfrastructureEntity) GetIndexedAt ¶ added in v0.54.0
func (x GenericInfrastructureEntity) GetIndexedAt() *nrtime.EpochMilliseconds
GetIndexedAt returns a pointer to the value of IndexedAt from GenericInfrastructureEntity
func (GenericInfrastructureEntity) GetIntegrationTypeCode ¶ added in v0.54.0
func (x GenericInfrastructureEntity) GetIntegrationTypeCode() string
GetIntegrationTypeCode returns a pointer to the value of IntegrationTypeCode from GenericInfrastructureEntity
func (GenericInfrastructureEntity) GetNRDBQuery ¶ added in v0.54.0
func (x GenericInfrastructureEntity) GetNRDBQuery() nrdb.NRDBResultContainer
GetNRDBQuery returns a pointer to the value of NRDBQuery from GenericInfrastructureEntity
func (GenericInfrastructureEntity) GetName ¶ added in v0.54.0
func (x GenericInfrastructureEntity) GetName() string
GetName returns a pointer to the value of Name from GenericInfrastructureEntity
func (GenericInfrastructureEntity) GetNerdStorage ¶ added in v0.54.0
func (x GenericInfrastructureEntity) GetNerdStorage() NerdStorageEntityScope
GetNerdStorage returns a pointer to the value of NerdStorage from GenericInfrastructureEntity
func (GenericInfrastructureEntity) GetPermalink ¶ added in v0.54.0
func (x GenericInfrastructureEntity) GetPermalink() string
GetPermalink returns a pointer to the value of Permalink from GenericInfrastructureEntity
func (GenericInfrastructureEntity) GetRecentAlertViolations ¶ added in v0.54.0
func (x GenericInfrastructureEntity) GetRecentAlertViolations() []EntityAlertViolation
GetRecentAlertViolations returns a pointer to the value of RecentAlertViolations from GenericInfrastructureEntity
func (GenericInfrastructureEntity) GetRelatedEntities ¶ added in v0.63.0
func (x GenericInfrastructureEntity) GetRelatedEntities() EntityRelationshipRelatedEntitiesResult
GetRelatedEntities returns a pointer to the value of RelatedEntities from GenericInfrastructureEntity
func (GenericInfrastructureEntity) GetRelationships ¶ added in v0.54.0
func (x GenericInfrastructureEntity) GetRelationships() []EntityRelationship
GetRelationships returns a pointer to the value of Relationships from GenericInfrastructureEntity
func (GenericInfrastructureEntity) GetReporting ¶ added in v0.54.0
func (x GenericInfrastructureEntity) GetReporting() bool
GetReporting returns a pointer to the value of Reporting from GenericInfrastructureEntity
func (GenericInfrastructureEntity) GetServiceLevel ¶ added in v0.63.0
func (x GenericInfrastructureEntity) GetServiceLevel() ServiceLevelDefinition
GetServiceLevel returns a pointer to the value of ServiceLevel from GenericInfrastructureEntity
func (GenericInfrastructureEntity) GetTags ¶ added in v0.54.0
func (x GenericInfrastructureEntity) GetTags() []EntityTag
GetTags returns a pointer to the value of Tags from GenericInfrastructureEntity
func (GenericInfrastructureEntity) GetTagsWithMetadata ¶ added in v0.54.0
func (x GenericInfrastructureEntity) GetTagsWithMetadata() []EntityTagWithMetadata
GetTagsWithMetadata returns a pointer to the value of TagsWithMetadata from GenericInfrastructureEntity
func (GenericInfrastructureEntity) GetType ¶ added in v0.54.0
func (x GenericInfrastructureEntity) GetType() string
GetType returns a pointer to the value of Type from GenericInfrastructureEntity
func (*GenericInfrastructureEntity) ImplementsAlertableEntity ¶ added in v0.53.0
func (x *GenericInfrastructureEntity) ImplementsAlertableEntity()
func (*GenericInfrastructureEntity) ImplementsEntity ¶ added in v0.53.0
func (x *GenericInfrastructureEntity) ImplementsEntity()
func (*GenericInfrastructureEntity) ImplementsInfrastructureIntegrationEntity ¶ added in v0.53.0
func (x *GenericInfrastructureEntity) ImplementsInfrastructureIntegrationEntity()
type GenericInfrastructureEntityOutline ¶ added in v0.53.0
type GenericInfrastructureEntityOutline struct { // Account accounts.AccountOutline `json:"account,omitempty"` // The New Relic account ID associated with this entity. AccountID int `json:"accountId,omitempty"` // The current alerting severity of the entity. AlertSeverity EntityAlertSeverity `json:"alertSeverity,omitempty"` // The entity's domain Domain string `json:"domain,omitempty"` // A value representing the combination of the entity's domain and type. EntityType EntityType `json:"entityType,omitempty"` // A unique entity identifier. GUID common.EntityGUID `json:"guid,omitempty"` // The list of golden metrics for a specific entity GoldenMetrics EntityGoldenContextScopedGoldenMetrics `json:"goldenMetrics"` // The list of golden tags for a specific entityType. GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags"` // The time the entity was indexed. IndexedAt *nrtime.EpochMilliseconds `json:"indexedAt,omitempty"` // IntegrationTypeCode string `json:"integrationTypeCode,omitempty"` // The name of this entity. Name string `json:"name,omitempty"` // The url to the entity. Permalink string `json:"permalink,omitempty"` // The reporting status of the entity. If New Relic is successfully collecting data from your application, this will be true. Reporting bool `json:"reporting,omitempty"` // The service level defined for the entity. ServiceLevel ServiceLevelDefinition `json:"serviceLevel,omitempty"` // The tags applied to the entity. // // For details on tags, as well as query and mutation examples, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-tagging-api-tutorial). Tags []EntityTag `json:"tags,omitempty"` // The entity's type Type string `json:"type,omitempty"` }
GenericInfrastructureEntityOutline - An Infrastructure entity outline.
func (GenericInfrastructureEntityOutline) GetAccount ¶ added in v0.54.0
func (x GenericInfrastructureEntityOutline) GetAccount() accounts.AccountOutline
GetAccount returns a pointer to the value of Account from GenericInfrastructureEntityOutline
func (GenericInfrastructureEntityOutline) GetAccountID ¶ added in v0.54.0
func (x GenericInfrastructureEntityOutline) GetAccountID() int
GetAccountID returns a pointer to the value of AccountID from GenericInfrastructureEntityOutline
func (GenericInfrastructureEntityOutline) GetAlertSeverity ¶ added in v0.54.0
func (x GenericInfrastructureEntityOutline) GetAlertSeverity() EntityAlertSeverity
GetAlertSeverity returns a pointer to the value of AlertSeverity from GenericInfrastructureEntityOutline
func (GenericInfrastructureEntityOutline) GetDomain ¶ added in v0.54.0
func (x GenericInfrastructureEntityOutline) GetDomain() string
GetDomain returns a pointer to the value of Domain from GenericInfrastructureEntityOutline
func (GenericInfrastructureEntityOutline) GetEntityType ¶ added in v0.54.0
func (x GenericInfrastructureEntityOutline) GetEntityType() EntityType
GetEntityType returns a pointer to the value of EntityType from GenericInfrastructureEntityOutline
func (GenericInfrastructureEntityOutline) GetGUID ¶ added in v0.54.0
func (x GenericInfrastructureEntityOutline) GetGUID() common.EntityGUID
GetGUID returns a pointer to the value of GUID from GenericInfrastructureEntityOutline
func (GenericInfrastructureEntityOutline) GetGoldenMetrics ¶ added in v0.59.0
func (x GenericInfrastructureEntityOutline) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
GetGoldenMetrics returns a pointer to the value of GoldenMetrics from GenericInfrastructureEntityOutline
func (GenericInfrastructureEntityOutline) GetGoldenTags ¶ added in v0.59.0
func (x GenericInfrastructureEntityOutline) GetGoldenTags() EntityGoldenContextScopedGoldenTags
GetGoldenTags returns a pointer to the value of GoldenTags from GenericInfrastructureEntityOutline
func (GenericInfrastructureEntityOutline) GetIndexedAt ¶ added in v0.54.0
func (x GenericInfrastructureEntityOutline) GetIndexedAt() *nrtime.EpochMilliseconds
GetIndexedAt returns a pointer to the value of IndexedAt from GenericInfrastructureEntityOutline
func (GenericInfrastructureEntityOutline) GetIntegrationTypeCode ¶ added in v0.54.0
func (x GenericInfrastructureEntityOutline) GetIntegrationTypeCode() string
GetIntegrationTypeCode returns a pointer to the value of IntegrationTypeCode from GenericInfrastructureEntityOutline
func (GenericInfrastructureEntityOutline) GetName ¶ added in v0.54.0
func (x GenericInfrastructureEntityOutline) GetName() string
GetName returns a pointer to the value of Name from GenericInfrastructureEntityOutline
func (GenericInfrastructureEntityOutline) GetPermalink ¶ added in v0.54.0
func (x GenericInfrastructureEntityOutline) GetPermalink() string
GetPermalink returns a pointer to the value of Permalink from GenericInfrastructureEntityOutline
func (GenericInfrastructureEntityOutline) GetReporting ¶ added in v0.54.0
func (x GenericInfrastructureEntityOutline) GetReporting() bool
GetReporting returns a pointer to the value of Reporting from GenericInfrastructureEntityOutline
func (GenericInfrastructureEntityOutline) GetServiceLevel ¶ added in v0.63.0
func (x GenericInfrastructureEntityOutline) GetServiceLevel() ServiceLevelDefinition
GetServiceLevel returns a pointer to the value of ServiceLevel from GenericInfrastructureEntityOutline
func (GenericInfrastructureEntityOutline) GetTags ¶ added in v0.54.0
func (x GenericInfrastructureEntityOutline) GetTags() []EntityTag
GetTags returns a pointer to the value of Tags from GenericInfrastructureEntityOutline
func (GenericInfrastructureEntityOutline) GetType ¶ added in v0.54.0
func (x GenericInfrastructureEntityOutline) GetType() string
GetType returns a pointer to the value of Type from GenericInfrastructureEntityOutline
func (*GenericInfrastructureEntityOutline) ImplementsAlertableEntityOutline ¶ added in v0.53.0
func (x *GenericInfrastructureEntityOutline) ImplementsAlertableEntityOutline()
func (GenericInfrastructureEntityOutline) ImplementsEntity ¶ added in v0.53.0
func (x GenericInfrastructureEntityOutline) ImplementsEntity()
func (*GenericInfrastructureEntityOutline) ImplementsEntityOutline ¶ added in v0.53.0
func (x *GenericInfrastructureEntityOutline) ImplementsEntityOutline()
func (*GenericInfrastructureEntityOutline) ImplementsInfrastructureIntegrationEntityOutline ¶ added in v0.53.0
func (x *GenericInfrastructureEntityOutline) ImplementsInfrastructureIntegrationEntityOutline()
type InfrastructureAwsLambdaFunctionEntity ¶ added in v0.53.0
type InfrastructureAwsLambdaFunctionEntity struct { // Account accounts.AccountOutline `json:"account,omitempty"` // The New Relic account ID associated with this entity. AccountID int `json:"accountId,omitempty"` // The current alerting severity of the entity. AlertSeverity EntityAlertSeverity `json:"alertSeverity,omitempty"` // Violations on the entity that were open during the specified time window. AlertViolations []EntityAlertViolation `json:"alertViolations,omitempty"` // The entity's domain Domain string `json:"domain,omitempty"` // A value representing the combination of the entity's domain and type. EntityType EntityType `json:"entityType,omitempty"` // A unique entity identifier. GUID common.EntityGUID `json:"guid,omitempty"` // The list of golden metrics for a specific entity GoldenMetrics EntityGoldenContextScopedGoldenMetrics `json:"goldenMetrics"` // The list of golden tags for a specific entityType. GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags"` // The time the entity was indexed. IndexedAt *nrtime.EpochMilliseconds `json:"indexedAt,omitempty"` // IntegrationTypeCode string `json:"integrationTypeCode,omitempty"` // Make an `Entity` scoped query to NRDB with a NRQL string. // // A relevant `WHERE` clause will be added to your query to scope data to the entity in question. // // See the [NRQL Docs](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/nrql-resources/nrql-syntax-components-functions) for more information about generating a query string. NRDBQuery nrdb.NRDBResultContainer `json:"nrdbQuery,omitempty"` // The name of this entity. Name string `json:"name,omitempty"` // NerdStorage NerdStorageEntityScope `json:"nerdStorage,omitempty"` // The url to the entity. Permalink string `json:"permalink,omitempty"` // Recent violations on the entity. RecentAlertViolations []EntityAlertViolation `json:"recentAlertViolations,omitempty"` // Related entities result with optional filtering. RelatedEntities EntityRelationshipRelatedEntitiesResult `json:"relatedEntities,omitempty"` // A list of the entities' relationships. // // For more information, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-relationships-api-tutorial). Relationships []EntityRelationship `json:"relationships,omitempty"` // The reporting status of the entity. If New Relic is successfully collecting data from your application, this will be true. Reporting bool `json:"reporting,omitempty"` // Runtime string `json:"runtime,omitempty"` // The service level defined for the entity. ServiceLevel ServiceLevelDefinition `json:"serviceLevel,omitempty"` // The tags applied to the entity. // // For details on tags, as well as query and mutation examples, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-tagging-api-tutorial). Tags []EntityTag `json:"tags,omitempty"` // The tags applied to the entity with their metadata. TagsWithMetadata []EntityTagWithMetadata `json:"tagsWithMetadata,omitempty"` // The entity's type Type string `json:"type,omitempty"` }
InfrastructureAwsLambdaFunctionEntity - An AWS Lambda Function entity.
func (InfrastructureAwsLambdaFunctionEntity) GetAccount ¶ added in v0.54.0
func (x InfrastructureAwsLambdaFunctionEntity) GetAccount() accounts.AccountOutline
GetAccount returns a pointer to the value of Account from InfrastructureAwsLambdaFunctionEntity
func (InfrastructureAwsLambdaFunctionEntity) GetAccountID ¶ added in v0.54.0
func (x InfrastructureAwsLambdaFunctionEntity) GetAccountID() int
GetAccountID returns a pointer to the value of AccountID from InfrastructureAwsLambdaFunctionEntity
func (InfrastructureAwsLambdaFunctionEntity) GetAlertSeverity ¶ added in v0.54.0
func (x InfrastructureAwsLambdaFunctionEntity) GetAlertSeverity() EntityAlertSeverity
GetAlertSeverity returns a pointer to the value of AlertSeverity from InfrastructureAwsLambdaFunctionEntity
func (InfrastructureAwsLambdaFunctionEntity) GetAlertViolations ¶ added in v0.54.0
func (x InfrastructureAwsLambdaFunctionEntity) GetAlertViolations() []EntityAlertViolation
GetAlertViolations returns a pointer to the value of AlertViolations from InfrastructureAwsLambdaFunctionEntity
func (InfrastructureAwsLambdaFunctionEntity) GetDomain ¶ added in v0.54.0
func (x InfrastructureAwsLambdaFunctionEntity) GetDomain() string
GetDomain returns a pointer to the value of Domain from InfrastructureAwsLambdaFunctionEntity
func (InfrastructureAwsLambdaFunctionEntity) GetEntityType ¶ added in v0.54.0
func (x InfrastructureAwsLambdaFunctionEntity) GetEntityType() EntityType
GetEntityType returns a pointer to the value of EntityType from InfrastructureAwsLambdaFunctionEntity
func (InfrastructureAwsLambdaFunctionEntity) GetGUID ¶ added in v0.54.0
func (x InfrastructureAwsLambdaFunctionEntity) GetGUID() common.EntityGUID
GetGUID returns a pointer to the value of GUID from InfrastructureAwsLambdaFunctionEntity
func (InfrastructureAwsLambdaFunctionEntity) GetGoldenMetrics ¶ added in v0.59.0
func (x InfrastructureAwsLambdaFunctionEntity) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
GetGoldenMetrics returns a pointer to the value of GoldenMetrics from InfrastructureAwsLambdaFunctionEntity
func (InfrastructureAwsLambdaFunctionEntity) GetGoldenTags ¶ added in v0.59.0
func (x InfrastructureAwsLambdaFunctionEntity) GetGoldenTags() EntityGoldenContextScopedGoldenTags
GetGoldenTags returns a pointer to the value of GoldenTags from InfrastructureAwsLambdaFunctionEntity
func (InfrastructureAwsLambdaFunctionEntity) GetIndexedAt ¶ added in v0.54.0
func (x InfrastructureAwsLambdaFunctionEntity) GetIndexedAt() *nrtime.EpochMilliseconds
GetIndexedAt returns a pointer to the value of IndexedAt from InfrastructureAwsLambdaFunctionEntity
func (InfrastructureAwsLambdaFunctionEntity) GetIntegrationTypeCode ¶ added in v0.54.0
func (x InfrastructureAwsLambdaFunctionEntity) GetIntegrationTypeCode() string
GetIntegrationTypeCode returns a pointer to the value of IntegrationTypeCode from InfrastructureAwsLambdaFunctionEntity
func (InfrastructureAwsLambdaFunctionEntity) GetNRDBQuery ¶ added in v0.54.0
func (x InfrastructureAwsLambdaFunctionEntity) GetNRDBQuery() nrdb.NRDBResultContainer
GetNRDBQuery returns a pointer to the value of NRDBQuery from InfrastructureAwsLambdaFunctionEntity
func (InfrastructureAwsLambdaFunctionEntity) GetName ¶ added in v0.54.0
func (x InfrastructureAwsLambdaFunctionEntity) GetName() string
GetName returns a pointer to the value of Name from InfrastructureAwsLambdaFunctionEntity
func (InfrastructureAwsLambdaFunctionEntity) GetNerdStorage ¶ added in v0.54.0
func (x InfrastructureAwsLambdaFunctionEntity) GetNerdStorage() NerdStorageEntityScope
GetNerdStorage returns a pointer to the value of NerdStorage from InfrastructureAwsLambdaFunctionEntity
func (InfrastructureAwsLambdaFunctionEntity) GetPermalink ¶ added in v0.54.0
func (x InfrastructureAwsLambdaFunctionEntity) GetPermalink() string
GetPermalink returns a pointer to the value of Permalink from InfrastructureAwsLambdaFunctionEntity
func (InfrastructureAwsLambdaFunctionEntity) GetRecentAlertViolations ¶ added in v0.54.0
func (x InfrastructureAwsLambdaFunctionEntity) GetRecentAlertViolations() []EntityAlertViolation
GetRecentAlertViolations returns a pointer to the value of RecentAlertViolations from InfrastructureAwsLambdaFunctionEntity
func (InfrastructureAwsLambdaFunctionEntity) GetRelatedEntities ¶ added in v0.63.0
func (x InfrastructureAwsLambdaFunctionEntity) GetRelatedEntities() EntityRelationshipRelatedEntitiesResult
GetRelatedEntities returns a pointer to the value of RelatedEntities from InfrastructureAwsLambdaFunctionEntity
func (InfrastructureAwsLambdaFunctionEntity) GetRelationships ¶ added in v0.54.0
func (x InfrastructureAwsLambdaFunctionEntity) GetRelationships() []EntityRelationship
GetRelationships returns a pointer to the value of Relationships from InfrastructureAwsLambdaFunctionEntity
func (InfrastructureAwsLambdaFunctionEntity) GetReporting ¶ added in v0.54.0
func (x InfrastructureAwsLambdaFunctionEntity) GetReporting() bool
GetReporting returns a pointer to the value of Reporting from InfrastructureAwsLambdaFunctionEntity
func (InfrastructureAwsLambdaFunctionEntity) GetRuntime ¶ added in v0.54.0
func (x InfrastructureAwsLambdaFunctionEntity) GetRuntime() string
GetRuntime returns a pointer to the value of Runtime from InfrastructureAwsLambdaFunctionEntity
func (InfrastructureAwsLambdaFunctionEntity) GetServiceLevel ¶ added in v0.63.0
func (x InfrastructureAwsLambdaFunctionEntity) GetServiceLevel() ServiceLevelDefinition
GetServiceLevel returns a pointer to the value of ServiceLevel from InfrastructureAwsLambdaFunctionEntity
func (InfrastructureAwsLambdaFunctionEntity) GetTags ¶ added in v0.54.0
func (x InfrastructureAwsLambdaFunctionEntity) GetTags() []EntityTag
GetTags returns a pointer to the value of Tags from InfrastructureAwsLambdaFunctionEntity
func (InfrastructureAwsLambdaFunctionEntity) GetTagsWithMetadata ¶ added in v0.54.0
func (x InfrastructureAwsLambdaFunctionEntity) GetTagsWithMetadata() []EntityTagWithMetadata
GetTagsWithMetadata returns a pointer to the value of TagsWithMetadata from InfrastructureAwsLambdaFunctionEntity
func (InfrastructureAwsLambdaFunctionEntity) GetType ¶ added in v0.54.0
func (x InfrastructureAwsLambdaFunctionEntity) GetType() string
GetType returns a pointer to the value of Type from InfrastructureAwsLambdaFunctionEntity
func (*InfrastructureAwsLambdaFunctionEntity) ImplementsAlertableEntity ¶ added in v0.53.0
func (x *InfrastructureAwsLambdaFunctionEntity) ImplementsAlertableEntity()
func (*InfrastructureAwsLambdaFunctionEntity) ImplementsEntity ¶ added in v0.53.0
func (x *InfrastructureAwsLambdaFunctionEntity) ImplementsEntity()
func (*InfrastructureAwsLambdaFunctionEntity) ImplementsInfrastructureIntegrationEntity ¶ added in v0.53.0
func (x *InfrastructureAwsLambdaFunctionEntity) ImplementsInfrastructureIntegrationEntity()
type InfrastructureAwsLambdaFunctionEntityOutline ¶ added in v0.53.0
type InfrastructureAwsLambdaFunctionEntityOutline struct { // Account accounts.AccountOutline `json:"account,omitempty"` // The New Relic account ID associated with this entity. AccountID int `json:"accountId,omitempty"` // The current alerting severity of the entity. AlertSeverity EntityAlertSeverity `json:"alertSeverity,omitempty"` // The entity's domain Domain string `json:"domain,omitempty"` // A value representing the combination of the entity's domain and type. EntityType EntityType `json:"entityType,omitempty"` // A unique entity identifier. GUID common.EntityGUID `json:"guid,omitempty"` // The list of golden metrics for a specific entity GoldenMetrics EntityGoldenContextScopedGoldenMetrics `json:"goldenMetrics"` // The list of golden tags for a specific entityType. GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags"` // The time the entity was indexed. IndexedAt *nrtime.EpochMilliseconds `json:"indexedAt,omitempty"` // IntegrationTypeCode string `json:"integrationTypeCode,omitempty"` // The name of this entity. Name string `json:"name,omitempty"` // The url to the entity. Permalink string `json:"permalink,omitempty"` // The reporting status of the entity. If New Relic is successfully collecting data from your application, this will be true. Reporting bool `json:"reporting,omitempty"` // Runtime string `json:"runtime,omitempty"` // The service level defined for the entity. ServiceLevel ServiceLevelDefinition `json:"serviceLevel,omitempty"` // The tags applied to the entity. // // For details on tags, as well as query and mutation examples, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-tagging-api-tutorial). Tags []EntityTag `json:"tags,omitempty"` // The entity's type Type string `json:"type,omitempty"` }
InfrastructureAwsLambdaFunctionEntityOutline - An AWS Lambda Function entity outline.
func (InfrastructureAwsLambdaFunctionEntityOutline) GetAccount ¶ added in v0.54.0
func (x InfrastructureAwsLambdaFunctionEntityOutline) GetAccount() accounts.AccountOutline
GetAccount returns a pointer to the value of Account from InfrastructureAwsLambdaFunctionEntityOutline
func (InfrastructureAwsLambdaFunctionEntityOutline) GetAccountID ¶ added in v0.54.0
func (x InfrastructureAwsLambdaFunctionEntityOutline) GetAccountID() int
GetAccountID returns a pointer to the value of AccountID from InfrastructureAwsLambdaFunctionEntityOutline
func (InfrastructureAwsLambdaFunctionEntityOutline) GetAlertSeverity ¶ added in v0.54.0
func (x InfrastructureAwsLambdaFunctionEntityOutline) GetAlertSeverity() EntityAlertSeverity
GetAlertSeverity returns a pointer to the value of AlertSeverity from InfrastructureAwsLambdaFunctionEntityOutline
func (InfrastructureAwsLambdaFunctionEntityOutline) GetDomain ¶ added in v0.54.0
func (x InfrastructureAwsLambdaFunctionEntityOutline) GetDomain() string
GetDomain returns a pointer to the value of Domain from InfrastructureAwsLambdaFunctionEntityOutline
func (InfrastructureAwsLambdaFunctionEntityOutline) GetEntityType ¶ added in v0.54.0
func (x InfrastructureAwsLambdaFunctionEntityOutline) GetEntityType() EntityType
GetEntityType returns a pointer to the value of EntityType from InfrastructureAwsLambdaFunctionEntityOutline
func (InfrastructureAwsLambdaFunctionEntityOutline) GetGUID ¶ added in v0.54.0
func (x InfrastructureAwsLambdaFunctionEntityOutline) GetGUID() common.EntityGUID
GetGUID returns a pointer to the value of GUID from InfrastructureAwsLambdaFunctionEntityOutline
func (InfrastructureAwsLambdaFunctionEntityOutline) GetGoldenMetrics ¶ added in v0.59.0
func (x InfrastructureAwsLambdaFunctionEntityOutline) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
GetGoldenMetrics returns a pointer to the value of GoldenMetrics from InfrastructureAwsLambdaFunctionEntityOutline
func (InfrastructureAwsLambdaFunctionEntityOutline) GetGoldenTags ¶ added in v0.59.0
func (x InfrastructureAwsLambdaFunctionEntityOutline) GetGoldenTags() EntityGoldenContextScopedGoldenTags
GetGoldenTags returns a pointer to the value of GoldenTags from InfrastructureAwsLambdaFunctionEntityOutline
func (InfrastructureAwsLambdaFunctionEntityOutline) GetIndexedAt ¶ added in v0.54.0
func (x InfrastructureAwsLambdaFunctionEntityOutline) GetIndexedAt() *nrtime.EpochMilliseconds
GetIndexedAt returns a pointer to the value of IndexedAt from InfrastructureAwsLambdaFunctionEntityOutline
func (InfrastructureAwsLambdaFunctionEntityOutline) GetIntegrationTypeCode ¶ added in v0.54.0
func (x InfrastructureAwsLambdaFunctionEntityOutline) GetIntegrationTypeCode() string
GetIntegrationTypeCode returns a pointer to the value of IntegrationTypeCode from InfrastructureAwsLambdaFunctionEntityOutline
func (InfrastructureAwsLambdaFunctionEntityOutline) GetName ¶ added in v0.54.0
func (x InfrastructureAwsLambdaFunctionEntityOutline) GetName() string
GetName returns a pointer to the value of Name from InfrastructureAwsLambdaFunctionEntityOutline
func (InfrastructureAwsLambdaFunctionEntityOutline) GetPermalink ¶ added in v0.54.0
func (x InfrastructureAwsLambdaFunctionEntityOutline) GetPermalink() string
GetPermalink returns a pointer to the value of Permalink from InfrastructureAwsLambdaFunctionEntityOutline
func (InfrastructureAwsLambdaFunctionEntityOutline) GetReporting ¶ added in v0.54.0
func (x InfrastructureAwsLambdaFunctionEntityOutline) GetReporting() bool
GetReporting returns a pointer to the value of Reporting from InfrastructureAwsLambdaFunctionEntityOutline
func (InfrastructureAwsLambdaFunctionEntityOutline) GetRuntime ¶ added in v0.54.0
func (x InfrastructureAwsLambdaFunctionEntityOutline) GetRuntime() string
GetRuntime returns a pointer to the value of Runtime from InfrastructureAwsLambdaFunctionEntityOutline
func (InfrastructureAwsLambdaFunctionEntityOutline) GetServiceLevel ¶ added in v0.63.0
func (x InfrastructureAwsLambdaFunctionEntityOutline) GetServiceLevel() ServiceLevelDefinition
GetServiceLevel returns a pointer to the value of ServiceLevel from InfrastructureAwsLambdaFunctionEntityOutline
func (InfrastructureAwsLambdaFunctionEntityOutline) GetTags ¶ added in v0.54.0
func (x InfrastructureAwsLambdaFunctionEntityOutline) GetTags() []EntityTag
GetTags returns a pointer to the value of Tags from InfrastructureAwsLambdaFunctionEntityOutline
func (InfrastructureAwsLambdaFunctionEntityOutline) GetType ¶ added in v0.54.0
func (x InfrastructureAwsLambdaFunctionEntityOutline) GetType() string
GetType returns a pointer to the value of Type from InfrastructureAwsLambdaFunctionEntityOutline
func (*InfrastructureAwsLambdaFunctionEntityOutline) ImplementsAlertableEntityOutline ¶ added in v0.53.0
func (x *InfrastructureAwsLambdaFunctionEntityOutline) ImplementsAlertableEntityOutline()
func (InfrastructureAwsLambdaFunctionEntityOutline) ImplementsEntity ¶ added in v0.53.0
func (x InfrastructureAwsLambdaFunctionEntityOutline) ImplementsEntity()
func (*InfrastructureAwsLambdaFunctionEntityOutline) ImplementsEntityOutline ¶ added in v0.53.0
func (x *InfrastructureAwsLambdaFunctionEntityOutline) ImplementsEntityOutline()
func (*InfrastructureAwsLambdaFunctionEntityOutline) ImplementsInfrastructureIntegrationEntityOutline ¶ added in v0.53.0
func (x *InfrastructureAwsLambdaFunctionEntityOutline) ImplementsInfrastructureIntegrationEntityOutline()
type InfrastructureHostEntity ¶ added in v0.53.0
type InfrastructureHostEntity struct { // Account accounts.AccountOutline `json:"account,omitempty"` // The New Relic account ID associated with this entity. AccountID int `json:"accountId,omitempty"` // The current alerting severity of the entity. AlertSeverity EntityAlertSeverity `json:"alertSeverity,omitempty"` // Violations on the entity that were open during the specified time window. AlertViolations []EntityAlertViolation `json:"alertViolations,omitempty"` // The entity's domain Domain string `json:"domain,omitempty"` // A value representing the combination of the entity's domain and type. EntityType EntityType `json:"entityType,omitempty"` // A unique entity identifier. GUID common.EntityGUID `json:"guid,omitempty"` // The list of golden metrics for a specific entity GoldenMetrics EntityGoldenContextScopedGoldenMetrics `json:"goldenMetrics"` // The list of golden tags for a specific entityType. GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags"` // HostSummary InfrastructureHostSummaryData `json:"hostSummary,omitempty"` // The time the entity was indexed. IndexedAt *nrtime.EpochMilliseconds `json:"indexedAt,omitempty"` // Make an `Entity` scoped query to NRDB with a NRQL string. // // A relevant `WHERE` clause will be added to your query to scope data to the entity in question. // // See the [NRQL Docs](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/nrql-resources/nrql-syntax-components-functions) for more information about generating a query string. NRDBQuery nrdb.NRDBResultContainer `json:"nrdbQuery,omitempty"` // The name of this entity. Name string `json:"name,omitempty"` // NerdStorage NerdStorageEntityScope `json:"nerdStorage,omitempty"` // The url to the entity. Permalink string `json:"permalink,omitempty"` // Recent violations on the entity. RecentAlertViolations []EntityAlertViolation `json:"recentAlertViolations,omitempty"` // Related entities result with optional filtering. RelatedEntities EntityRelationshipRelatedEntitiesResult `json:"relatedEntities,omitempty"` // A list of the entities' relationships. // // For more information, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-relationships-api-tutorial). Relationships []EntityRelationship `json:"relationships,omitempty"` // The reporting status of the entity. If New Relic is successfully collecting data from your application, this will be true. Reporting bool `json:"reporting,omitempty"` // The service level defined for the entity. ServiceLevel ServiceLevelDefinition `json:"serviceLevel,omitempty"` // The tags applied to the entity. // // For details on tags, as well as query and mutation examples, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-tagging-api-tutorial). Tags []EntityTag `json:"tags,omitempty"` // The tags applied to the entity with their metadata. TagsWithMetadata []EntityTagWithMetadata `json:"tagsWithMetadata,omitempty"` // The entity's type Type string `json:"type,omitempty"` }
InfrastructureHostEntity - An Infrastructure Host entity.
func (InfrastructureHostEntity) GetAccount ¶ added in v0.54.0
func (x InfrastructureHostEntity) GetAccount() accounts.AccountOutline
GetAccount returns a pointer to the value of Account from InfrastructureHostEntity
func (InfrastructureHostEntity) GetAccountID ¶ added in v0.54.0
func (x InfrastructureHostEntity) GetAccountID() int
GetAccountID returns a pointer to the value of AccountID from InfrastructureHostEntity
func (InfrastructureHostEntity) GetAlertSeverity ¶ added in v0.54.0
func (x InfrastructureHostEntity) GetAlertSeverity() EntityAlertSeverity
GetAlertSeverity returns a pointer to the value of AlertSeverity from InfrastructureHostEntity
func (InfrastructureHostEntity) GetAlertViolations ¶ added in v0.54.0
func (x InfrastructureHostEntity) GetAlertViolations() []EntityAlertViolation
GetAlertViolations returns a pointer to the value of AlertViolations from InfrastructureHostEntity
func (InfrastructureHostEntity) GetDomain ¶ added in v0.54.0
func (x InfrastructureHostEntity) GetDomain() string
GetDomain returns a pointer to the value of Domain from InfrastructureHostEntity
func (InfrastructureHostEntity) GetEntityType ¶ added in v0.54.0
func (x InfrastructureHostEntity) GetEntityType() EntityType
GetEntityType returns a pointer to the value of EntityType from InfrastructureHostEntity
func (InfrastructureHostEntity) GetGUID ¶ added in v0.54.0
func (x InfrastructureHostEntity) GetGUID() common.EntityGUID
GetGUID returns a pointer to the value of GUID from InfrastructureHostEntity
func (InfrastructureHostEntity) GetGoldenMetrics ¶ added in v0.59.0
func (x InfrastructureHostEntity) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
GetGoldenMetrics returns a pointer to the value of GoldenMetrics from InfrastructureHostEntity
func (InfrastructureHostEntity) GetGoldenTags ¶ added in v0.59.0
func (x InfrastructureHostEntity) GetGoldenTags() EntityGoldenContextScopedGoldenTags
GetGoldenTags returns a pointer to the value of GoldenTags from InfrastructureHostEntity
func (InfrastructureHostEntity) GetHostSummary ¶ added in v0.54.0
func (x InfrastructureHostEntity) GetHostSummary() InfrastructureHostSummaryData
GetHostSummary returns a pointer to the value of HostSummary from InfrastructureHostEntity
func (InfrastructureHostEntity) GetIndexedAt ¶ added in v0.54.0
func (x InfrastructureHostEntity) GetIndexedAt() *nrtime.EpochMilliseconds
GetIndexedAt returns a pointer to the value of IndexedAt from InfrastructureHostEntity
func (InfrastructureHostEntity) GetNRDBQuery ¶ added in v0.54.0
func (x InfrastructureHostEntity) GetNRDBQuery() nrdb.NRDBResultContainer
GetNRDBQuery returns a pointer to the value of NRDBQuery from InfrastructureHostEntity
func (InfrastructureHostEntity) GetName ¶ added in v0.54.0
func (x InfrastructureHostEntity) GetName() string
GetName returns a pointer to the value of Name from InfrastructureHostEntity
func (InfrastructureHostEntity) GetNerdStorage ¶ added in v0.54.0
func (x InfrastructureHostEntity) GetNerdStorage() NerdStorageEntityScope
GetNerdStorage returns a pointer to the value of NerdStorage from InfrastructureHostEntity
func (InfrastructureHostEntity) GetPermalink ¶ added in v0.54.0
func (x InfrastructureHostEntity) GetPermalink() string
GetPermalink returns a pointer to the value of Permalink from InfrastructureHostEntity
func (InfrastructureHostEntity) GetRecentAlertViolations ¶ added in v0.54.0
func (x InfrastructureHostEntity) GetRecentAlertViolations() []EntityAlertViolation
GetRecentAlertViolations returns a pointer to the value of RecentAlertViolations from InfrastructureHostEntity
func (InfrastructureHostEntity) GetRelatedEntities ¶ added in v0.63.0
func (x InfrastructureHostEntity) GetRelatedEntities() EntityRelationshipRelatedEntitiesResult
GetRelatedEntities returns a pointer to the value of RelatedEntities from InfrastructureHostEntity
func (InfrastructureHostEntity) GetRelationships ¶ added in v0.54.0
func (x InfrastructureHostEntity) GetRelationships() []EntityRelationship
GetRelationships returns a pointer to the value of Relationships from InfrastructureHostEntity
func (InfrastructureHostEntity) GetReporting ¶ added in v0.54.0
func (x InfrastructureHostEntity) GetReporting() bool
GetReporting returns a pointer to the value of Reporting from InfrastructureHostEntity
func (InfrastructureHostEntity) GetServiceLevel ¶ added in v0.63.0
func (x InfrastructureHostEntity) GetServiceLevel() ServiceLevelDefinition
GetServiceLevel returns a pointer to the value of ServiceLevel from InfrastructureHostEntity
func (InfrastructureHostEntity) GetTags ¶ added in v0.54.0
func (x InfrastructureHostEntity) GetTags() []EntityTag
GetTags returns a pointer to the value of Tags from InfrastructureHostEntity
func (InfrastructureHostEntity) GetTagsWithMetadata ¶ added in v0.54.0
func (x InfrastructureHostEntity) GetTagsWithMetadata() []EntityTagWithMetadata
GetTagsWithMetadata returns a pointer to the value of TagsWithMetadata from InfrastructureHostEntity
func (InfrastructureHostEntity) GetType ¶ added in v0.54.0
func (x InfrastructureHostEntity) GetType() string
GetType returns a pointer to the value of Type from InfrastructureHostEntity
func (*InfrastructureHostEntity) ImplementsAlertableEntity ¶ added in v0.53.0
func (x *InfrastructureHostEntity) ImplementsAlertableEntity()
func (*InfrastructureHostEntity) ImplementsEntity ¶ added in v0.53.0
func (x *InfrastructureHostEntity) ImplementsEntity()
type InfrastructureHostEntityOutline ¶ added in v0.53.0
type InfrastructureHostEntityOutline struct { // Account accounts.AccountOutline `json:"account,omitempty"` // The New Relic account ID associated with this entity. AccountID int `json:"accountId,omitempty"` // The current alerting severity of the entity. AlertSeverity EntityAlertSeverity `json:"alertSeverity,omitempty"` // The entity's domain Domain string `json:"domain,omitempty"` // A value representing the combination of the entity's domain and type. EntityType EntityType `json:"entityType,omitempty"` // A unique entity identifier. GUID common.EntityGUID `json:"guid,omitempty"` // The list of golden metrics for a specific entity GoldenMetrics EntityGoldenContextScopedGoldenMetrics `json:"goldenMetrics"` // The list of golden tags for a specific entityType. GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags"` // HostSummary InfrastructureHostSummaryData `json:"hostSummary,omitempty"` // The time the entity was indexed. IndexedAt *nrtime.EpochMilliseconds `json:"indexedAt,omitempty"` // The name of this entity. Name string `json:"name,omitempty"` // The url to the entity. Permalink string `json:"permalink,omitempty"` // The reporting status of the entity. If New Relic is successfully collecting data from your application, this will be true. Reporting bool `json:"reporting,omitempty"` // The service level defined for the entity. ServiceLevel ServiceLevelDefinition `json:"serviceLevel,omitempty"` // The tags applied to the entity. // // For details on tags, as well as query and mutation examples, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-tagging-api-tutorial). Tags []EntityTag `json:"tags,omitempty"` // The entity's type Type string `json:"type,omitempty"` }
InfrastructureHostEntityOutline - An Infrastructure Host entity outline.
func (InfrastructureHostEntityOutline) GetAccount ¶ added in v0.54.0
func (x InfrastructureHostEntityOutline) GetAccount() accounts.AccountOutline
GetAccount returns a pointer to the value of Account from InfrastructureHostEntityOutline
func (InfrastructureHostEntityOutline) GetAccountID ¶ added in v0.54.0
func (x InfrastructureHostEntityOutline) GetAccountID() int
GetAccountID returns a pointer to the value of AccountID from InfrastructureHostEntityOutline
func (InfrastructureHostEntityOutline) GetAlertSeverity ¶ added in v0.54.0
func (x InfrastructureHostEntityOutline) GetAlertSeverity() EntityAlertSeverity
GetAlertSeverity returns a pointer to the value of AlertSeverity from InfrastructureHostEntityOutline
func (InfrastructureHostEntityOutline) GetDomain ¶ added in v0.54.0
func (x InfrastructureHostEntityOutline) GetDomain() string
GetDomain returns a pointer to the value of Domain from InfrastructureHostEntityOutline
func (InfrastructureHostEntityOutline) GetEntityType ¶ added in v0.54.0
func (x InfrastructureHostEntityOutline) GetEntityType() EntityType
GetEntityType returns a pointer to the value of EntityType from InfrastructureHostEntityOutline
func (InfrastructureHostEntityOutline) GetGUID ¶ added in v0.54.0
func (x InfrastructureHostEntityOutline) GetGUID() common.EntityGUID
GetGUID returns a pointer to the value of GUID from InfrastructureHostEntityOutline
func (InfrastructureHostEntityOutline) GetGoldenMetrics ¶ added in v0.59.0
func (x InfrastructureHostEntityOutline) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
GetGoldenMetrics returns a pointer to the value of GoldenMetrics from InfrastructureHostEntityOutline
func (InfrastructureHostEntityOutline) GetGoldenTags ¶ added in v0.59.0
func (x InfrastructureHostEntityOutline) GetGoldenTags() EntityGoldenContextScopedGoldenTags
GetGoldenTags returns a pointer to the value of GoldenTags from InfrastructureHostEntityOutline
func (InfrastructureHostEntityOutline) GetHostSummary ¶ added in v0.54.0
func (x InfrastructureHostEntityOutline) GetHostSummary() InfrastructureHostSummaryData
GetHostSummary returns a pointer to the value of HostSummary from InfrastructureHostEntityOutline
func (InfrastructureHostEntityOutline) GetIndexedAt ¶ added in v0.54.0
func (x InfrastructureHostEntityOutline) GetIndexedAt() *nrtime.EpochMilliseconds
GetIndexedAt returns a pointer to the value of IndexedAt from InfrastructureHostEntityOutline
func (InfrastructureHostEntityOutline) GetName ¶ added in v0.54.0
func (x InfrastructureHostEntityOutline) GetName() string
GetName returns a pointer to the value of Name from InfrastructureHostEntityOutline
func (InfrastructureHostEntityOutline) GetPermalink ¶ added in v0.54.0
func (x InfrastructureHostEntityOutline) GetPermalink() string
GetPermalink returns a pointer to the value of Permalink from InfrastructureHostEntityOutline
func (InfrastructureHostEntityOutline) GetReporting ¶ added in v0.54.0
func (x InfrastructureHostEntityOutline) GetReporting() bool
GetReporting returns a pointer to the value of Reporting from InfrastructureHostEntityOutline
func (InfrastructureHostEntityOutline) GetServiceLevel ¶ added in v0.63.0
func (x InfrastructureHostEntityOutline) GetServiceLevel() ServiceLevelDefinition
GetServiceLevel returns a pointer to the value of ServiceLevel from InfrastructureHostEntityOutline
func (InfrastructureHostEntityOutline) GetTags ¶ added in v0.54.0
func (x InfrastructureHostEntityOutline) GetTags() []EntityTag
GetTags returns a pointer to the value of Tags from InfrastructureHostEntityOutline
func (InfrastructureHostEntityOutline) GetType ¶ added in v0.54.0
func (x InfrastructureHostEntityOutline) GetType() string
GetType returns a pointer to the value of Type from InfrastructureHostEntityOutline
func (*InfrastructureHostEntityOutline) ImplementsAlertableEntityOutline ¶ added in v0.53.0
func (x *InfrastructureHostEntityOutline) ImplementsAlertableEntityOutline()
func (InfrastructureHostEntityOutline) ImplementsEntity ¶ added in v0.53.0
func (x InfrastructureHostEntityOutline) ImplementsEntity()
func (*InfrastructureHostEntityOutline) ImplementsEntityOutline ¶ added in v0.53.0
func (x *InfrastructureHostEntityOutline) ImplementsEntityOutline()
type InfrastructureHostSummaryData ¶ added in v0.53.0
type InfrastructureHostSummaryData struct { // Total CPU utilization as a percentage. CpuUtilizationPercent float64 `json:"cpuUtilizationPercent,omitempty"` // The cumulative disk fullness percentage. DiskUsedPercent float64 `json:"diskUsedPercent,omitempty"` // Total memory utilization as a percentage. MemoryUsedPercent float64 `json:"memoryUsedPercent,omitempty"` // The number of bytes per second received during the sampling period. NetworkReceiveRate float64 `json:"networkReceiveRate,omitempty"` // The number of bytes sent per second during the sampling period. NetworkTransmitRate float64 `json:"networkTransmitRate,omitempty"` // Number of services running on the host. ServicesCount int `json:"servicesCount,omitempty"` }
InfrastructureHostSummaryData - Summary statistics about the Infra Host.
type InfrastructureIntegrationEntity ¶ added in v0.53.0
type InfrastructureIntegrationEntity struct { // IntegrationTypeCode string `json:"integrationTypeCode,omitempty"` }
InfrastructureIntegrationEntity -
func (InfrastructureIntegrationEntity) GetIntegrationTypeCode ¶ added in v0.54.0
func (x InfrastructureIntegrationEntity) GetIntegrationTypeCode() string
GetIntegrationTypeCode returns a pointer to the value of IntegrationTypeCode from InfrastructureIntegrationEntity
func (*InfrastructureIntegrationEntity) ImplementsInfrastructureIntegrationEntity ¶ added in v0.53.0
func (x *InfrastructureIntegrationEntity) ImplementsInfrastructureIntegrationEntity()
type InfrastructureIntegrationEntityInterface ¶ added in v0.53.0
type InfrastructureIntegrationEntityInterface interface {
ImplementsInfrastructureIntegrationEntity()
}
InfrastructureIntegrationEntity -
func UnmarshalInfrastructureIntegrationEntityInterface ¶ added in v0.53.0
func UnmarshalInfrastructureIntegrationEntityInterface(b []byte) (*InfrastructureIntegrationEntityInterface, error)
UnmarshalInfrastructureIntegrationEntityInterface unmarshals the interface into the correct type based on __typename provided by GraphQL
type InfrastructureIntegrationEntityOutline ¶ added in v0.53.0
type InfrastructureIntegrationEntityOutline struct { // IntegrationTypeCode string `json:"integrationTypeCode,omitempty"` }
InfrastructureIntegrationEntityOutline -
func (InfrastructureIntegrationEntityOutline) GetIntegrationTypeCode ¶ added in v0.54.0
func (x InfrastructureIntegrationEntityOutline) GetIntegrationTypeCode() string
GetIntegrationTypeCode returns a pointer to the value of IntegrationTypeCode from InfrastructureIntegrationEntityOutline
func (InfrastructureIntegrationEntityOutline) ImplementsEntity ¶ added in v0.53.0
func (x InfrastructureIntegrationEntityOutline) ImplementsEntity()
func (*InfrastructureIntegrationEntityOutline) ImplementsInfrastructureIntegrationEntityOutline ¶ added in v0.53.0
func (x *InfrastructureIntegrationEntityOutline) ImplementsInfrastructureIntegrationEntityOutline()
type InfrastructureIntegrationEntityOutlineInterface ¶ added in v0.53.0
type InfrastructureIntegrationEntityOutlineInterface interface {
ImplementsInfrastructureIntegrationEntityOutline()
}
InfrastructureIntegrationEntityOutline -
func UnmarshalInfrastructureIntegrationEntityOutlineInterface ¶ added in v0.53.0
func UnmarshalInfrastructureIntegrationEntityOutlineInterface(b []byte) (*InfrastructureIntegrationEntityOutlineInterface, error)
UnmarshalInfrastructureIntegrationEntityOutlineInterface unmarshals the interface into the correct type based on __typename provided by GraphQL
type MetricNormalizationRule ¶ added in v0.53.0
type MetricNormalizationRule struct { // Rule action. Action MetricNormalizationRuleAction `json:"action,omitempty"` // Application GUID ApplicationGUID common.EntityGUID `json:"applicationGuid,omitempty"` // Application Name ApplicationName string `json:"applicationName,omitempty"` // Date of rule creation. CreatedAt *nrtime.EpochMilliseconds `json:"createdAt,omitempty"` // Is rule enabled? Enabled bool `json:"enabled"` // Rule Id ID int `json:"id"` // Metric Match Expression. MatchExpression string `json:"matchExpression"` // Notes. Notes string `json:"notes,omitempty"` // Metric Replacement Expression. Replacement string `json:"replacement,omitempty"` }
MetricNormalizationRule - An object that represents a metric rename rule.
type MetricNormalizationRuleAction ¶ added in v0.53.0
type MetricNormalizationRuleAction string
MetricNormalizationRuleAction - The different rule actions.
type MobileAppSummaryData ¶ added in v0.53.0
type MobileAppSummaryData struct { // The number of times the app has been launched. AppLaunchCount int `json:"appLaunchCount,omitempty"` // The number of crashes. CrashCount int `json:"crashCount,omitempty"` // Crash rate is percentage of crashes per sessions. CrashRate float64 `json:"crashRate,omitempty"` // Error rate is the percentage of http errors per successful requests. HttpErrorRate float64 `json:"httpErrorRate,omitempty"` // The number of http requests. HttpRequestCount int `json:"httpRequestCount,omitempty"` // The rate of http requests per minute. HttpRequestRate float64 `json:"httpRequestRate,omitempty"` // The average response time for all http calls. HttpResponseTimeAverage nrtime.Seconds `json:"httpResponseTimeAverage,omitempty"` // The number of mobile sessions. MobileSessionCount int `json:"mobileSessionCount,omitempty"` // Network failure rate is the percentage of network failures per successful requests. NetworkFailureRate float64 `json:"networkFailureRate,omitempty"` // The number of users affected by crashes. UsersAffectedCount int `json:"usersAffectedCount,omitempty"` }
MobileAppSummaryData - Mobile application summary data
type MobileApplicationEntity ¶ added in v0.53.0
type MobileApplicationEntity struct { // Account accounts.AccountOutline `json:"account,omitempty"` // The New Relic account ID associated with this entity. AccountID int `json:"accountId,omitempty"` // The current alerting severity of the entity. AlertSeverity EntityAlertSeverity `json:"alertSeverity,omitempty"` // Violations on the entity that were open during the specified time window. AlertViolations []EntityAlertViolation `json:"alertViolations,omitempty"` // The ID of the Mobile App. ApplicationID int `json:"applicationId,omitempty"` // The entity's domain Domain string `json:"domain,omitempty"` // A value representing the combination of the entity's domain and type. EntityType EntityType `json:"entityType,omitempty"` // A unique entity identifier. GUID common.EntityGUID `json:"guid,omitempty"` // The list of golden metrics for a specific entity GoldenMetrics EntityGoldenContextScopedGoldenMetrics `json:"goldenMetrics"` // The list of golden tags for a specific entityType. GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags"` // The time the entity was indexed. IndexedAt *nrtime.EpochMilliseconds `json:"indexedAt,omitempty"` // Retrieves a rule. MetricNormalizationRule MetricNormalizationRule `json:"metricNormalizationRule,omitempty"` // Retrieves the rules for the application. MetricNormalizationRules []MetricNormalizationRule `json:"metricNormalizationRules"` // Summary statistics about the Mobile App. MobileSummary MobileAppSummaryData `json:"mobileSummary,omitempty"` // Make an `Entity` scoped query to NRDB with a NRQL string. // // A relevant `WHERE` clause will be added to your query to scope data to the entity in question. // // See the [NRQL Docs](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/nrql-resources/nrql-syntax-components-functions) for more information about generating a query string. NRDBQuery nrdb.NRDBResultContainer `json:"nrdbQuery,omitempty"` // The name of this entity. Name string `json:"name,omitempty"` // NerdStorage NerdStorageEntityScope `json:"nerdStorage,omitempty"` // The url to the entity. Permalink string `json:"permalink,omitempty"` // Recent violations on the entity. RecentAlertViolations []EntityAlertViolation `json:"recentAlertViolations,omitempty"` // Related entities result with optional filtering. RelatedEntities EntityRelationshipRelatedEntitiesResult `json:"relatedEntities,omitempty"` // A list of the entities' relationships. // // For more information, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-relationships-api-tutorial). Relationships []EntityRelationship `json:"relationships,omitempty"` // The reporting status of the entity. If New Relic is successfully collecting data from your application, this will be true. Reporting bool `json:"reporting,omitempty"` // The service level defined for the entity. ServiceLevel ServiceLevelDefinition `json:"serviceLevel,omitempty"` // The tags applied to the entity. // // For details on tags, as well as query and mutation examples, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-tagging-api-tutorial). Tags []EntityTag `json:"tags,omitempty"` // The tags applied to the entity with their metadata. TagsWithMetadata []EntityTagWithMetadata `json:"tagsWithMetadata,omitempty"` // The entity's type Type string `json:"type,omitempty"` }
MobileApplicationEntity - A Mobile Application entity.
func (MobileApplicationEntity) GetAccount ¶ added in v0.54.0
func (x MobileApplicationEntity) GetAccount() accounts.AccountOutline
GetAccount returns a pointer to the value of Account from MobileApplicationEntity
func (MobileApplicationEntity) GetAccountID ¶ added in v0.54.0
func (x MobileApplicationEntity) GetAccountID() int
GetAccountID returns a pointer to the value of AccountID from MobileApplicationEntity
func (MobileApplicationEntity) GetAlertSeverity ¶ added in v0.54.0
func (x MobileApplicationEntity) GetAlertSeverity() EntityAlertSeverity
GetAlertSeverity returns a pointer to the value of AlertSeverity from MobileApplicationEntity
func (MobileApplicationEntity) GetAlertViolations ¶ added in v0.54.0
func (x MobileApplicationEntity) GetAlertViolations() []EntityAlertViolation
GetAlertViolations returns a pointer to the value of AlertViolations from MobileApplicationEntity
func (MobileApplicationEntity) GetApplicationID ¶ added in v0.54.0
func (x MobileApplicationEntity) GetApplicationID() int
GetApplicationID returns a pointer to the value of ApplicationID from MobileApplicationEntity
func (MobileApplicationEntity) GetDomain ¶ added in v0.54.0
func (x MobileApplicationEntity) GetDomain() string
GetDomain returns a pointer to the value of Domain from MobileApplicationEntity
func (MobileApplicationEntity) GetEntityType ¶ added in v0.54.0
func (x MobileApplicationEntity) GetEntityType() EntityType
GetEntityType returns a pointer to the value of EntityType from MobileApplicationEntity
func (MobileApplicationEntity) GetGUID ¶ added in v0.54.0
func (x MobileApplicationEntity) GetGUID() common.EntityGUID
GetGUID returns a pointer to the value of GUID from MobileApplicationEntity
func (MobileApplicationEntity) GetGoldenMetrics ¶ added in v0.59.0
func (x MobileApplicationEntity) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
GetGoldenMetrics returns a pointer to the value of GoldenMetrics from MobileApplicationEntity
func (MobileApplicationEntity) GetGoldenTags ¶ added in v0.59.0
func (x MobileApplicationEntity) GetGoldenTags() EntityGoldenContextScopedGoldenTags
GetGoldenTags returns a pointer to the value of GoldenTags from MobileApplicationEntity
func (MobileApplicationEntity) GetIndexedAt ¶ added in v0.54.0
func (x MobileApplicationEntity) GetIndexedAt() *nrtime.EpochMilliseconds
GetIndexedAt returns a pointer to the value of IndexedAt from MobileApplicationEntity
func (MobileApplicationEntity) GetMetricNormalizationRule ¶ added in v0.59.0
func (x MobileApplicationEntity) GetMetricNormalizationRule() MetricNormalizationRule
GetMetricNormalizationRule returns a pointer to the value of MetricNormalizationRule from MobileApplicationEntity
func (MobileApplicationEntity) GetMetricNormalizationRules ¶ added in v0.59.0
func (x MobileApplicationEntity) GetMetricNormalizationRules() []MetricNormalizationRule
GetMetricNormalizationRules returns a pointer to the value of MetricNormalizationRules from MobileApplicationEntity
func (MobileApplicationEntity) GetMobileSummary ¶ added in v0.54.0
func (x MobileApplicationEntity) GetMobileSummary() MobileAppSummaryData
GetMobileSummary returns a pointer to the value of MobileSummary from MobileApplicationEntity
func (MobileApplicationEntity) GetNRDBQuery ¶ added in v0.54.0
func (x MobileApplicationEntity) GetNRDBQuery() nrdb.NRDBResultContainer
GetNRDBQuery returns a pointer to the value of NRDBQuery from MobileApplicationEntity
func (MobileApplicationEntity) GetName ¶ added in v0.54.0
func (x MobileApplicationEntity) GetName() string
GetName returns a pointer to the value of Name from MobileApplicationEntity
func (MobileApplicationEntity) GetNerdStorage ¶ added in v0.54.0
func (x MobileApplicationEntity) GetNerdStorage() NerdStorageEntityScope
GetNerdStorage returns a pointer to the value of NerdStorage from MobileApplicationEntity
func (MobileApplicationEntity) GetPermalink ¶ added in v0.54.0
func (x MobileApplicationEntity) GetPermalink() string
GetPermalink returns a pointer to the value of Permalink from MobileApplicationEntity
func (MobileApplicationEntity) GetRecentAlertViolations ¶ added in v0.54.0
func (x MobileApplicationEntity) GetRecentAlertViolations() []EntityAlertViolation
GetRecentAlertViolations returns a pointer to the value of RecentAlertViolations from MobileApplicationEntity
func (MobileApplicationEntity) GetRelatedEntities ¶ added in v0.63.0
func (x MobileApplicationEntity) GetRelatedEntities() EntityRelationshipRelatedEntitiesResult
GetRelatedEntities returns a pointer to the value of RelatedEntities from MobileApplicationEntity
func (MobileApplicationEntity) GetRelationships ¶ added in v0.54.0
func (x MobileApplicationEntity) GetRelationships() []EntityRelationship
GetRelationships returns a pointer to the value of Relationships from MobileApplicationEntity
func (MobileApplicationEntity) GetReporting ¶ added in v0.54.0
func (x MobileApplicationEntity) GetReporting() bool
GetReporting returns a pointer to the value of Reporting from MobileApplicationEntity
func (MobileApplicationEntity) GetServiceLevel ¶ added in v0.63.0
func (x MobileApplicationEntity) GetServiceLevel() ServiceLevelDefinition
GetServiceLevel returns a pointer to the value of ServiceLevel from MobileApplicationEntity
func (MobileApplicationEntity) GetTags ¶ added in v0.54.0
func (x MobileApplicationEntity) GetTags() []EntityTag
GetTags returns a pointer to the value of Tags from MobileApplicationEntity
func (MobileApplicationEntity) GetTagsWithMetadata ¶ added in v0.54.0
func (x MobileApplicationEntity) GetTagsWithMetadata() []EntityTagWithMetadata
GetTagsWithMetadata returns a pointer to the value of TagsWithMetadata from MobileApplicationEntity
func (MobileApplicationEntity) GetType ¶ added in v0.54.0
func (x MobileApplicationEntity) GetType() string
GetType returns a pointer to the value of Type from MobileApplicationEntity
func (*MobileApplicationEntity) ImplementsAlertableEntity ¶ added in v0.53.0
func (x *MobileApplicationEntity) ImplementsAlertableEntity()
func (*MobileApplicationEntity) ImplementsEntity ¶ added in v0.53.0
func (x *MobileApplicationEntity) ImplementsEntity()
type MobileApplicationEntityOutline ¶ added in v0.53.0
type MobileApplicationEntityOutline struct { // Account accounts.AccountOutline `json:"account,omitempty"` // The New Relic account ID associated with this entity. AccountID int `json:"accountId,omitempty"` // The current alerting severity of the entity. AlertSeverity EntityAlertSeverity `json:"alertSeverity,omitempty"` // The ID of the Mobile App. ApplicationID int `json:"applicationId,omitempty"` // The entity's domain Domain string `json:"domain,omitempty"` // A value representing the combination of the entity's domain and type. EntityType EntityType `json:"entityType,omitempty"` // A unique entity identifier. GUID common.EntityGUID `json:"guid,omitempty"` // The list of golden metrics for a specific entity GoldenMetrics EntityGoldenContextScopedGoldenMetrics `json:"goldenMetrics"` // The list of golden tags for a specific entityType. GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags"` // The time the entity was indexed. IndexedAt *nrtime.EpochMilliseconds `json:"indexedAt,omitempty"` // Summary statistics about the Mobile App. MobileSummary MobileAppSummaryData `json:"mobileSummary,omitempty"` // The name of this entity. Name string `json:"name,omitempty"` // The url to the entity. Permalink string `json:"permalink,omitempty"` // The reporting status of the entity. If New Relic is successfully collecting data from your application, this will be true. Reporting bool `json:"reporting,omitempty"` // The service level defined for the entity. ServiceLevel ServiceLevelDefinition `json:"serviceLevel,omitempty"` // The tags applied to the entity. // // For details on tags, as well as query and mutation examples, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-tagging-api-tutorial). Tags []EntityTag `json:"tags,omitempty"` // The entity's type Type string `json:"type,omitempty"` }
MobileApplicationEntityOutline - A Mobile Application entity outline.
func (MobileApplicationEntityOutline) GetAccount ¶ added in v0.54.0
func (x MobileApplicationEntityOutline) GetAccount() accounts.AccountOutline
GetAccount returns a pointer to the value of Account from MobileApplicationEntityOutline
func (MobileApplicationEntityOutline) GetAccountID ¶ added in v0.54.0
func (x MobileApplicationEntityOutline) GetAccountID() int
GetAccountID returns a pointer to the value of AccountID from MobileApplicationEntityOutline
func (MobileApplicationEntityOutline) GetAlertSeverity ¶ added in v0.54.0
func (x MobileApplicationEntityOutline) GetAlertSeverity() EntityAlertSeverity
GetAlertSeverity returns a pointer to the value of AlertSeverity from MobileApplicationEntityOutline
func (MobileApplicationEntityOutline) GetApplicationID ¶ added in v0.54.0
func (x MobileApplicationEntityOutline) GetApplicationID() int
GetApplicationID returns a pointer to the value of ApplicationID from MobileApplicationEntityOutline
func (MobileApplicationEntityOutline) GetDomain ¶ added in v0.54.0
func (x MobileApplicationEntityOutline) GetDomain() string
GetDomain returns a pointer to the value of Domain from MobileApplicationEntityOutline
func (MobileApplicationEntityOutline) GetEntityType ¶ added in v0.54.0
func (x MobileApplicationEntityOutline) GetEntityType() EntityType
GetEntityType returns a pointer to the value of EntityType from MobileApplicationEntityOutline
func (MobileApplicationEntityOutline) GetGUID ¶ added in v0.54.0
func (x MobileApplicationEntityOutline) GetGUID() common.EntityGUID
GetGUID returns a pointer to the value of GUID from MobileApplicationEntityOutline
func (MobileApplicationEntityOutline) GetGoldenMetrics ¶ added in v0.59.0
func (x MobileApplicationEntityOutline) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
GetGoldenMetrics returns a pointer to the value of GoldenMetrics from MobileApplicationEntityOutline
func (MobileApplicationEntityOutline) GetGoldenTags ¶ added in v0.59.0
func (x MobileApplicationEntityOutline) GetGoldenTags() EntityGoldenContextScopedGoldenTags
GetGoldenTags returns a pointer to the value of GoldenTags from MobileApplicationEntityOutline
func (MobileApplicationEntityOutline) GetIndexedAt ¶ added in v0.54.0
func (x MobileApplicationEntityOutline) GetIndexedAt() *nrtime.EpochMilliseconds
GetIndexedAt returns a pointer to the value of IndexedAt from MobileApplicationEntityOutline
func (MobileApplicationEntityOutline) GetMobileSummary ¶ added in v0.54.0
func (x MobileApplicationEntityOutline) GetMobileSummary() MobileAppSummaryData
GetMobileSummary returns a pointer to the value of MobileSummary from MobileApplicationEntityOutline
func (MobileApplicationEntityOutline) GetName ¶ added in v0.54.0
func (x MobileApplicationEntityOutline) GetName() string
GetName returns a pointer to the value of Name from MobileApplicationEntityOutline
func (MobileApplicationEntityOutline) GetPermalink ¶ added in v0.54.0
func (x MobileApplicationEntityOutline) GetPermalink() string
GetPermalink returns a pointer to the value of Permalink from MobileApplicationEntityOutline
func (MobileApplicationEntityOutline) GetReporting ¶ added in v0.54.0
func (x MobileApplicationEntityOutline) GetReporting() bool
GetReporting returns a pointer to the value of Reporting from MobileApplicationEntityOutline
func (MobileApplicationEntityOutline) GetServiceLevel ¶ added in v0.63.0
func (x MobileApplicationEntityOutline) GetServiceLevel() ServiceLevelDefinition
GetServiceLevel returns a pointer to the value of ServiceLevel from MobileApplicationEntityOutline
func (MobileApplicationEntityOutline) GetTags ¶ added in v0.54.0
func (x MobileApplicationEntityOutline) GetTags() []EntityTag
GetTags returns a pointer to the value of Tags from MobileApplicationEntityOutline
func (MobileApplicationEntityOutline) GetType ¶ added in v0.54.0
func (x MobileApplicationEntityOutline) GetType() string
GetType returns a pointer to the value of Type from MobileApplicationEntityOutline
func (*MobileApplicationEntityOutline) ImplementsAlertableEntityOutline ¶ added in v0.53.0
func (x *MobileApplicationEntityOutline) ImplementsAlertableEntityOutline()
func (MobileApplicationEntityOutline) ImplementsEntity ¶ added in v0.53.0
func (x MobileApplicationEntityOutline) ImplementsEntity()
func (*MobileApplicationEntityOutline) ImplementsEntityOutline ¶ added in v0.53.0
func (x *MobileApplicationEntityOutline) ImplementsEntityOutline()
type NRQLQueryOptions ¶ added in v0.63.0
type NRQLQueryOptions struct { // Limit the NRQL query to return results from the chosen [Event Namespaces](https://docs.newrelic.com/docs/accounts/new-relic-account-usage/getting-started-usage/insights-subscription-usage/#namespace). EventNamespaces []string `json:"eventNamespaces"` }
NRQLQueryOptions - Additional options for NRQL queries.
type NerdStorageCollectionMember ¶ added in v0.53.0
type NerdStorageCollectionMember struct { // The NerdStorage document. Document NerdStorageDocument `json:"document,omitempty"` // The documentId. ID string `json:"id,omitempty"` }
NerdStorageCollectionMember -
type NerdStorageDocument ¶ added in v0.53.0
type NerdStorageDocument string
NerdStorageDocument - This scalar represents a NerdStorage document.
type NerdStorageEntityScope ¶ added in v0.53.0
type NerdStorageEntityScope struct { // Collection []NerdStorageCollectionMember `json:"collection,omitempty"` // Document NerdStorageDocument `json:"document,omitempty"` }
NerdStorageEntityScope -
type SecureCredentialEntity ¶ added in v0.53.0
type SecureCredentialEntity struct { // Account accounts.AccountOutline `json:"account,omitempty"` // The New Relic account ID associated with this entity. AccountID int `json:"accountId,omitempty"` // The current alerting severity of the entity. AlertSeverity EntityAlertSeverity `json:"alertSeverity,omitempty"` // Violations on the entity that were open during the specified time window. AlertViolations []EntityAlertViolation `json:"alertViolations,omitempty"` // The description of the entity. Description string `json:"description,omitempty"` // The entity's domain Domain string `json:"domain,omitempty"` // A value representing the combination of the entity's domain and type. EntityType EntityType `json:"entityType,omitempty"` // A unique entity identifier. GUID common.EntityGUID `json:"guid,omitempty"` // The list of golden metrics for a specific entity GoldenMetrics EntityGoldenContextScopedGoldenMetrics `json:"goldenMetrics"` // The list of golden tags for a specific entityType. GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags"` // The time the entity was indexed. IndexedAt *nrtime.EpochMilliseconds `json:"indexedAt,omitempty"` // Make an `Entity` scoped query to NRDB with a NRQL string. // // A relevant `WHERE` clause will be added to your query to scope data to the entity in question. // // See the [NRQL Docs](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/nrql-resources/nrql-syntax-components-functions) for more information about generating a query string. NRDBQuery nrdb.NRDBResultContainer `json:"nrdbQuery,omitempty"` // The name of this entity. Name string `json:"name,omitempty"` // NerdStorage NerdStorageEntityScope `json:"nerdStorage,omitempty"` // The url to the entity. Permalink string `json:"permalink,omitempty"` // Recent violations on the entity. RecentAlertViolations []EntityAlertViolation `json:"recentAlertViolations,omitempty"` // Related entities result with optional filtering. RelatedEntities EntityRelationshipRelatedEntitiesResult `json:"relatedEntities,omitempty"` // A list of the entities' relationships. // // For more information, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-relationships-api-tutorial). Relationships []EntityRelationship `json:"relationships,omitempty"` // The reporting status of the entity. If New Relic is successfully collecting data from your application, this will be true. Reporting bool `json:"reporting,omitempty"` // The domain-specific identifier for the entity. SecureCredentialId string `json:"secureCredentialId,omitempty"` // Summary statistics for the Synthetic Monitor Secure Credential. SecureCredentialSummary SecureCredentialSummaryData `json:"secureCredentialSummary,omitempty"` // The service level defined for the entity. ServiceLevel ServiceLevelDefinition `json:"serviceLevel,omitempty"` // The tags applied to the entity. // // For details on tags, as well as query and mutation examples, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-tagging-api-tutorial). Tags []EntityTag `json:"tags,omitempty"` // The tags applied to the entity with their metadata. TagsWithMetadata []EntityTagWithMetadata `json:"tagsWithMetadata,omitempty"` // The entity's type Type string `json:"type,omitempty"` // The time at which the entity was last updated. UpdatedAt *nrtime.EpochMilliseconds `json:"updatedAt,omitempty"` }
SecureCredentialEntity - A secure credential entity.
func (SecureCredentialEntity) GetAccount ¶ added in v0.54.0
func (x SecureCredentialEntity) GetAccount() accounts.AccountOutline
GetAccount returns a pointer to the value of Account from SecureCredentialEntity
func (SecureCredentialEntity) GetAccountID ¶ added in v0.54.0
func (x SecureCredentialEntity) GetAccountID() int
GetAccountID returns a pointer to the value of AccountID from SecureCredentialEntity
func (SecureCredentialEntity) GetAlertSeverity ¶ added in v0.59.2
func (x SecureCredentialEntity) GetAlertSeverity() EntityAlertSeverity
GetAlertSeverity returns a pointer to the value of AlertSeverity from SecureCredentialEntity
func (SecureCredentialEntity) GetAlertViolations ¶ added in v0.59.2
func (x SecureCredentialEntity) GetAlertViolations() []EntityAlertViolation
GetAlertViolations returns a pointer to the value of AlertViolations from SecureCredentialEntity
func (SecureCredentialEntity) GetDescription ¶ added in v0.54.0
func (x SecureCredentialEntity) GetDescription() string
GetDescription returns a pointer to the value of Description from SecureCredentialEntity
func (SecureCredentialEntity) GetDomain ¶ added in v0.54.0
func (x SecureCredentialEntity) GetDomain() string
GetDomain returns a pointer to the value of Domain from SecureCredentialEntity
func (SecureCredentialEntity) GetEntityType ¶ added in v0.54.0
func (x SecureCredentialEntity) GetEntityType() EntityType
GetEntityType returns a pointer to the value of EntityType from SecureCredentialEntity
func (SecureCredentialEntity) GetGUID ¶ added in v0.54.0
func (x SecureCredentialEntity) GetGUID() common.EntityGUID
GetGUID returns a pointer to the value of GUID from SecureCredentialEntity
func (SecureCredentialEntity) GetGoldenMetrics ¶ added in v0.59.0
func (x SecureCredentialEntity) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
GetGoldenMetrics returns a pointer to the value of GoldenMetrics from SecureCredentialEntity
func (SecureCredentialEntity) GetGoldenTags ¶ added in v0.59.0
func (x SecureCredentialEntity) GetGoldenTags() EntityGoldenContextScopedGoldenTags
GetGoldenTags returns a pointer to the value of GoldenTags from SecureCredentialEntity
func (SecureCredentialEntity) GetIndexedAt ¶ added in v0.54.0
func (x SecureCredentialEntity) GetIndexedAt() *nrtime.EpochMilliseconds
GetIndexedAt returns a pointer to the value of IndexedAt from SecureCredentialEntity
func (SecureCredentialEntity) GetNRDBQuery ¶ added in v0.54.0
func (x SecureCredentialEntity) GetNRDBQuery() nrdb.NRDBResultContainer
GetNRDBQuery returns a pointer to the value of NRDBQuery from SecureCredentialEntity
func (SecureCredentialEntity) GetName ¶ added in v0.54.0
func (x SecureCredentialEntity) GetName() string
GetName returns a pointer to the value of Name from SecureCredentialEntity
func (SecureCredentialEntity) GetNerdStorage ¶ added in v0.54.0
func (x SecureCredentialEntity) GetNerdStorage() NerdStorageEntityScope
GetNerdStorage returns a pointer to the value of NerdStorage from SecureCredentialEntity
func (SecureCredentialEntity) GetPermalink ¶ added in v0.54.0
func (x SecureCredentialEntity) GetPermalink() string
GetPermalink returns a pointer to the value of Permalink from SecureCredentialEntity
func (SecureCredentialEntity) GetRecentAlertViolations ¶ added in v0.59.2
func (x SecureCredentialEntity) GetRecentAlertViolations() []EntityAlertViolation
GetRecentAlertViolations returns a pointer to the value of RecentAlertViolations from SecureCredentialEntity
func (SecureCredentialEntity) GetRelatedEntities ¶ added in v0.63.0
func (x SecureCredentialEntity) GetRelatedEntities() EntityRelationshipRelatedEntitiesResult
GetRelatedEntities returns a pointer to the value of RelatedEntities from SecureCredentialEntity
func (SecureCredentialEntity) GetRelationships ¶ added in v0.54.0
func (x SecureCredentialEntity) GetRelationships() []EntityRelationship
GetRelationships returns a pointer to the value of Relationships from SecureCredentialEntity
func (SecureCredentialEntity) GetReporting ¶ added in v0.54.0
func (x SecureCredentialEntity) GetReporting() bool
GetReporting returns a pointer to the value of Reporting from SecureCredentialEntity
func (SecureCredentialEntity) GetSecureCredentialId ¶ added in v0.54.0
func (x SecureCredentialEntity) GetSecureCredentialId() string
GetSecureCredentialId returns a pointer to the value of SecureCredentialId from SecureCredentialEntity
func (SecureCredentialEntity) GetSecureCredentialSummary ¶ added in v0.54.0
func (x SecureCredentialEntity) GetSecureCredentialSummary() SecureCredentialSummaryData
GetSecureCredentialSummary returns a pointer to the value of SecureCredentialSummary from SecureCredentialEntity
func (SecureCredentialEntity) GetServiceLevel ¶ added in v0.63.0
func (x SecureCredentialEntity) GetServiceLevel() ServiceLevelDefinition
GetServiceLevel returns a pointer to the value of ServiceLevel from SecureCredentialEntity
func (SecureCredentialEntity) GetTags ¶ added in v0.54.0
func (x SecureCredentialEntity) GetTags() []EntityTag
GetTags returns a pointer to the value of Tags from SecureCredentialEntity
func (SecureCredentialEntity) GetTagsWithMetadata ¶ added in v0.54.0
func (x SecureCredentialEntity) GetTagsWithMetadata() []EntityTagWithMetadata
GetTagsWithMetadata returns a pointer to the value of TagsWithMetadata from SecureCredentialEntity
func (SecureCredentialEntity) GetType ¶ added in v0.54.0
func (x SecureCredentialEntity) GetType() string
GetType returns a pointer to the value of Type from SecureCredentialEntity
func (SecureCredentialEntity) GetUpdatedAt ¶ added in v0.54.0
func (x SecureCredentialEntity) GetUpdatedAt() *nrtime.EpochMilliseconds
GetUpdatedAt returns a pointer to the value of UpdatedAt from SecureCredentialEntity
func (*SecureCredentialEntity) ImplementsAlertableEntity ¶ added in v0.59.2
func (x *SecureCredentialEntity) ImplementsAlertableEntity()
func (*SecureCredentialEntity) ImplementsEntity ¶ added in v0.53.0
func (x *SecureCredentialEntity) ImplementsEntity()
type SecureCredentialEntityOutline ¶ added in v0.53.0
type SecureCredentialEntityOutline struct { // Account accounts.AccountOutline `json:"account,omitempty"` // The New Relic account ID associated with this entity. AccountID int `json:"accountId,omitempty"` // The current alerting severity of the entity. AlertSeverity EntityAlertSeverity `json:"alertSeverity,omitempty"` // The description of the entity. Description string `json:"description,omitempty"` // The entity's domain Domain string `json:"domain,omitempty"` // A value representing the combination of the entity's domain and type. EntityType EntityType `json:"entityType,omitempty"` // A unique entity identifier. GUID common.EntityGUID `json:"guid,omitempty"` // The list of golden metrics for a specific entity GoldenMetrics EntityGoldenContextScopedGoldenMetrics `json:"goldenMetrics"` // The list of golden tags for a specific entityType. GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags"` // The time the entity was indexed. IndexedAt *nrtime.EpochMilliseconds `json:"indexedAt,omitempty"` // The name of this entity. Name string `json:"name,omitempty"` // The url to the entity. Permalink string `json:"permalink,omitempty"` // The reporting status of the entity. If New Relic is successfully collecting data from your application, this will be true. Reporting bool `json:"reporting,omitempty"` // The domain-specific identifier for the entity. SecureCredentialId string `json:"secureCredentialId,omitempty"` // Summary statistics for the Synthetic Monitor Secure Credential. SecureCredentialSummary SecureCredentialSummaryData `json:"secureCredentialSummary,omitempty"` // The service level defined for the entity. ServiceLevel ServiceLevelDefinition `json:"serviceLevel,omitempty"` // The tags applied to the entity. // // For details on tags, as well as query and mutation examples, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-tagging-api-tutorial). Tags []EntityTag `json:"tags,omitempty"` // The entity's type Type string `json:"type,omitempty"` // The time at which the entity was last updated. UpdatedAt *nrtime.EpochMilliseconds `json:"updatedAt,omitempty"` }
SecureCredentialEntityOutline - A secure credential entity outline.
func (SecureCredentialEntityOutline) GetAccount ¶ added in v0.54.0
func (x SecureCredentialEntityOutline) GetAccount() accounts.AccountOutline
GetAccount returns a pointer to the value of Account from SecureCredentialEntityOutline
func (SecureCredentialEntityOutline) GetAccountID ¶ added in v0.54.0
func (x SecureCredentialEntityOutline) GetAccountID() int
GetAccountID returns a pointer to the value of AccountID from SecureCredentialEntityOutline
func (SecureCredentialEntityOutline) GetAlertSeverity ¶ added in v0.59.2
func (x SecureCredentialEntityOutline) GetAlertSeverity() EntityAlertSeverity
GetAlertSeverity returns a pointer to the value of AlertSeverity from SecureCredentialEntityOutline
func (SecureCredentialEntityOutline) GetDescription ¶ added in v0.54.0
func (x SecureCredentialEntityOutline) GetDescription() string
GetDescription returns a pointer to the value of Description from SecureCredentialEntityOutline
func (SecureCredentialEntityOutline) GetDomain ¶ added in v0.54.0
func (x SecureCredentialEntityOutline) GetDomain() string
GetDomain returns a pointer to the value of Domain from SecureCredentialEntityOutline
func (SecureCredentialEntityOutline) GetEntityType ¶ added in v0.54.0
func (x SecureCredentialEntityOutline) GetEntityType() EntityType
GetEntityType returns a pointer to the value of EntityType from SecureCredentialEntityOutline
func (SecureCredentialEntityOutline) GetGUID ¶ added in v0.54.0
func (x SecureCredentialEntityOutline) GetGUID() common.EntityGUID
GetGUID returns a pointer to the value of GUID from SecureCredentialEntityOutline
func (SecureCredentialEntityOutline) GetGoldenMetrics ¶ added in v0.59.0
func (x SecureCredentialEntityOutline) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
GetGoldenMetrics returns a pointer to the value of GoldenMetrics from SecureCredentialEntityOutline
func (SecureCredentialEntityOutline) GetGoldenTags ¶ added in v0.59.0
func (x SecureCredentialEntityOutline) GetGoldenTags() EntityGoldenContextScopedGoldenTags
GetGoldenTags returns a pointer to the value of GoldenTags from SecureCredentialEntityOutline
func (SecureCredentialEntityOutline) GetIndexedAt ¶ added in v0.54.0
func (x SecureCredentialEntityOutline) GetIndexedAt() *nrtime.EpochMilliseconds
GetIndexedAt returns a pointer to the value of IndexedAt from SecureCredentialEntityOutline
func (SecureCredentialEntityOutline) GetName ¶ added in v0.54.0
func (x SecureCredentialEntityOutline) GetName() string
GetName returns a pointer to the value of Name from SecureCredentialEntityOutline
func (SecureCredentialEntityOutline) GetPermalink ¶ added in v0.54.0
func (x SecureCredentialEntityOutline) GetPermalink() string
GetPermalink returns a pointer to the value of Permalink from SecureCredentialEntityOutline
func (SecureCredentialEntityOutline) GetReporting ¶ added in v0.54.0
func (x SecureCredentialEntityOutline) GetReporting() bool
GetReporting returns a pointer to the value of Reporting from SecureCredentialEntityOutline
func (SecureCredentialEntityOutline) GetSecureCredentialId ¶ added in v0.54.0
func (x SecureCredentialEntityOutline) GetSecureCredentialId() string
GetSecureCredentialId returns a pointer to the value of SecureCredentialId from SecureCredentialEntityOutline
func (SecureCredentialEntityOutline) GetSecureCredentialSummary ¶ added in v0.54.0
func (x SecureCredentialEntityOutline) GetSecureCredentialSummary() SecureCredentialSummaryData
GetSecureCredentialSummary returns a pointer to the value of SecureCredentialSummary from SecureCredentialEntityOutline
func (SecureCredentialEntityOutline) GetServiceLevel ¶ added in v0.63.0
func (x SecureCredentialEntityOutline) GetServiceLevel() ServiceLevelDefinition
GetServiceLevel returns a pointer to the value of ServiceLevel from SecureCredentialEntityOutline
func (SecureCredentialEntityOutline) GetTags ¶ added in v0.54.0
func (x SecureCredentialEntityOutline) GetTags() []EntityTag
GetTags returns a pointer to the value of Tags from SecureCredentialEntityOutline
func (SecureCredentialEntityOutline) GetType ¶ added in v0.54.0
func (x SecureCredentialEntityOutline) GetType() string
GetType returns a pointer to the value of Type from SecureCredentialEntityOutline
func (SecureCredentialEntityOutline) GetUpdatedAt ¶ added in v0.54.0
func (x SecureCredentialEntityOutline) GetUpdatedAt() *nrtime.EpochMilliseconds
GetUpdatedAt returns a pointer to the value of UpdatedAt from SecureCredentialEntityOutline
func (*SecureCredentialEntityOutline) ImplementsAlertableEntityOutline ¶ added in v0.59.2
func (x *SecureCredentialEntityOutline) ImplementsAlertableEntityOutline()
func (SecureCredentialEntityOutline) ImplementsEntity ¶ added in v0.53.0
func (x SecureCredentialEntityOutline) ImplementsEntity()
func (*SecureCredentialEntityOutline) ImplementsEntityOutline ¶ added in v0.53.0
func (x *SecureCredentialEntityOutline) ImplementsEntityOutline()
type SecureCredentialSummaryData ¶ added in v0.53.0
type SecureCredentialSummaryData struct { // The number of monitors that contain this secure credential and failed their last check. FailingMonitorCount int `json:"failingMonitorCount,omitempty"` // The number of monitors that contain this secure credential. MonitorCount int `json:"monitorCount,omitempty"` }
SecureCredentialSummaryData - Summary statistics for the Synthetic Monitor Secure Credential.
type ServiceLevelDefinition ¶ added in v0.63.0
type ServiceLevelDefinition struct { // The SLIs attached to the entity. Indicators []servicelevel.ServiceLevelIndicator `json:"indicators"` }
ServiceLevelDefinition - The service level defined for a specific entity.
type SyntheticMonitorEntity ¶ added in v0.53.0
type SyntheticMonitorEntity struct { // Account accounts.AccountOutline `json:"account,omitempty"` // The New Relic account ID associated with this entity. AccountID int `json:"accountId,omitempty"` // The current alerting severity of the entity. AlertSeverity EntityAlertSeverity `json:"alertSeverity,omitempty"` // Violations on the entity that were open during the specified time window. AlertViolations []EntityAlertViolation `json:"alertViolations,omitempty"` // Assets produced during the execution of the check, such as screenshots Assets []SyntheticsSyntheticMonitorAsset `json:"assets,omitempty"` // The entity's domain Domain string `json:"domain,omitempty"` // A value representing the combination of the entity's domain and type. EntityType EntityType `json:"entityType,omitempty"` // A unique entity identifier. GUID common.EntityGUID `json:"guid,omitempty"` // The list of golden metrics for a specific entity GoldenMetrics EntityGoldenContextScopedGoldenMetrics `json:"goldenMetrics"` // The list of golden tags for a specific entityType. GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags"` // The time the entity was indexed. IndexedAt *nrtime.EpochMilliseconds `json:"indexedAt,omitempty"` // The Synthetic Monitor ID MonitorId string `json:"monitorId,omitempty"` // Summary statistics for the Synthetic Monitor. MonitorSummary SyntheticMonitorSummaryData `json:"monitorSummary,omitempty"` // The Synthetic Monitor type MonitorType SyntheticMonitorType `json:"monitorType,omitempty"` // The URL being monitored by a `SIMPLE` or `BROWSER` monitor type. MonitoredURL string `json:"monitoredUrl,omitempty"` // Make an `Entity` scoped query to NRDB with a NRQL string. // // A relevant `WHERE` clause will be added to your query to scope data to the entity in question. // // See the [NRQL Docs](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/nrql-resources/nrql-syntax-components-functions) for more information about generating a query string. NRDBQuery nrdb.NRDBResultContainer `json:"nrdbQuery,omitempty"` // The name of this entity. Name string `json:"name,omitempty"` // NerdStorage NerdStorageEntityScope `json:"nerdStorage,omitempty"` // The duration in minutes between Synthetic Monitor runs. Period nrtime.Minutes `json:"period,omitempty"` // The url to the entity. Permalink string `json:"permalink,omitempty"` // Recent violations on the entity. RecentAlertViolations []EntityAlertViolation `json:"recentAlertViolations,omitempty"` // Related entities result with optional filtering. RelatedEntities EntityRelationshipRelatedEntitiesResult `json:"relatedEntities,omitempty"` // A list of the entities' relationships. // // For more information, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-relationships-api-tutorial). Relationships []EntityRelationship `json:"relationships,omitempty"` // The reporting status of the entity. If New Relic is successfully collecting data from your application, this will be true. Reporting bool `json:"reporting,omitempty"` // The service level defined for the entity. ServiceLevel ServiceLevelDefinition `json:"serviceLevel,omitempty"` // The tags applied to the entity. // // For details on tags, as well as query and mutation examples, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-tagging-api-tutorial). Tags []EntityTag `json:"tags,omitempty"` // The tags applied to the entity with their metadata. TagsWithMetadata []EntityTagWithMetadata `json:"tagsWithMetadata,omitempty"` // The entity's type Type string `json:"type,omitempty"` }
SyntheticMonitorEntity - A Synthetic Monitor entity.
func (SyntheticMonitorEntity) GetAccount ¶ added in v0.54.0
func (x SyntheticMonitorEntity) GetAccount() accounts.AccountOutline
GetAccount returns a pointer to the value of Account from SyntheticMonitorEntity
func (SyntheticMonitorEntity) GetAccountID ¶ added in v0.54.0
func (x SyntheticMonitorEntity) GetAccountID() int
GetAccountID returns a pointer to the value of AccountID from SyntheticMonitorEntity
func (SyntheticMonitorEntity) GetAlertSeverity ¶ added in v0.54.0
func (x SyntheticMonitorEntity) GetAlertSeverity() EntityAlertSeverity
GetAlertSeverity returns a pointer to the value of AlertSeverity from SyntheticMonitorEntity
func (SyntheticMonitorEntity) GetAlertViolations ¶ added in v0.54.0
func (x SyntheticMonitorEntity) GetAlertViolations() []EntityAlertViolation
GetAlertViolations returns a pointer to the value of AlertViolations from SyntheticMonitorEntity
func (SyntheticMonitorEntity) GetAssets ¶ added in v0.54.0
func (x SyntheticMonitorEntity) GetAssets() []SyntheticsSyntheticMonitorAsset
GetAssets returns a pointer to the value of Assets from SyntheticMonitorEntity
func (SyntheticMonitorEntity) GetDomain ¶ added in v0.54.0
func (x SyntheticMonitorEntity) GetDomain() string
GetDomain returns a pointer to the value of Domain from SyntheticMonitorEntity
func (SyntheticMonitorEntity) GetEntityType ¶ added in v0.54.0
func (x SyntheticMonitorEntity) GetEntityType() EntityType
GetEntityType returns a pointer to the value of EntityType from SyntheticMonitorEntity
func (SyntheticMonitorEntity) GetGUID ¶ added in v0.54.0
func (x SyntheticMonitorEntity) GetGUID() common.EntityGUID
GetGUID returns a pointer to the value of GUID from SyntheticMonitorEntity
func (SyntheticMonitorEntity) GetGoldenMetrics ¶ added in v0.59.0
func (x SyntheticMonitorEntity) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
GetGoldenMetrics returns a pointer to the value of GoldenMetrics from SyntheticMonitorEntity
func (SyntheticMonitorEntity) GetGoldenTags ¶ added in v0.59.0
func (x SyntheticMonitorEntity) GetGoldenTags() EntityGoldenContextScopedGoldenTags
GetGoldenTags returns a pointer to the value of GoldenTags from SyntheticMonitorEntity
func (SyntheticMonitorEntity) GetIndexedAt ¶ added in v0.54.0
func (x SyntheticMonitorEntity) GetIndexedAt() *nrtime.EpochMilliseconds
GetIndexedAt returns a pointer to the value of IndexedAt from SyntheticMonitorEntity
func (SyntheticMonitorEntity) GetMonitorId ¶ added in v0.54.0
func (x SyntheticMonitorEntity) GetMonitorId() string
GetMonitorId returns a pointer to the value of MonitorId from SyntheticMonitorEntity
func (SyntheticMonitorEntity) GetMonitorSummary ¶ added in v0.54.0
func (x SyntheticMonitorEntity) GetMonitorSummary() SyntheticMonitorSummaryData
GetMonitorSummary returns a pointer to the value of MonitorSummary from SyntheticMonitorEntity
func (SyntheticMonitorEntity) GetMonitorType ¶ added in v0.54.0
func (x SyntheticMonitorEntity) GetMonitorType() SyntheticMonitorType
GetMonitorType returns a pointer to the value of MonitorType from SyntheticMonitorEntity
func (SyntheticMonitorEntity) GetMonitoredURL ¶ added in v0.54.0
func (x SyntheticMonitorEntity) GetMonitoredURL() string
GetMonitoredURL returns a pointer to the value of MonitoredURL from SyntheticMonitorEntity
func (SyntheticMonitorEntity) GetNRDBQuery ¶ added in v0.54.0
func (x SyntheticMonitorEntity) GetNRDBQuery() nrdb.NRDBResultContainer
GetNRDBQuery returns a pointer to the value of NRDBQuery from SyntheticMonitorEntity
func (SyntheticMonitorEntity) GetName ¶ added in v0.54.0
func (x SyntheticMonitorEntity) GetName() string
GetName returns a pointer to the value of Name from SyntheticMonitorEntity
func (SyntheticMonitorEntity) GetNerdStorage ¶ added in v0.54.0
func (x SyntheticMonitorEntity) GetNerdStorage() NerdStorageEntityScope
GetNerdStorage returns a pointer to the value of NerdStorage from SyntheticMonitorEntity
func (SyntheticMonitorEntity) GetPeriod ¶ added in v0.54.0
func (x SyntheticMonitorEntity) GetPeriod() nrtime.Minutes
GetPeriod returns a pointer to the value of Period from SyntheticMonitorEntity
func (SyntheticMonitorEntity) GetPermalink ¶ added in v0.54.0
func (x SyntheticMonitorEntity) GetPermalink() string
GetPermalink returns a pointer to the value of Permalink from SyntheticMonitorEntity
func (SyntheticMonitorEntity) GetRecentAlertViolations ¶ added in v0.54.0
func (x SyntheticMonitorEntity) GetRecentAlertViolations() []EntityAlertViolation
GetRecentAlertViolations returns a pointer to the value of RecentAlertViolations from SyntheticMonitorEntity
func (SyntheticMonitorEntity) GetRelatedEntities ¶ added in v0.63.0
func (x SyntheticMonitorEntity) GetRelatedEntities() EntityRelationshipRelatedEntitiesResult
GetRelatedEntities returns a pointer to the value of RelatedEntities from SyntheticMonitorEntity
func (SyntheticMonitorEntity) GetRelationships ¶ added in v0.54.0
func (x SyntheticMonitorEntity) GetRelationships() []EntityRelationship
GetRelationships returns a pointer to the value of Relationships from SyntheticMonitorEntity
func (SyntheticMonitorEntity) GetReporting ¶ added in v0.54.0
func (x SyntheticMonitorEntity) GetReporting() bool
GetReporting returns a pointer to the value of Reporting from SyntheticMonitorEntity
func (SyntheticMonitorEntity) GetServiceLevel ¶ added in v0.63.0
func (x SyntheticMonitorEntity) GetServiceLevel() ServiceLevelDefinition
GetServiceLevel returns a pointer to the value of ServiceLevel from SyntheticMonitorEntity
func (SyntheticMonitorEntity) GetTags ¶ added in v0.54.0
func (x SyntheticMonitorEntity) GetTags() []EntityTag
GetTags returns a pointer to the value of Tags from SyntheticMonitorEntity
func (SyntheticMonitorEntity) GetTagsWithMetadata ¶ added in v0.54.0
func (x SyntheticMonitorEntity) GetTagsWithMetadata() []EntityTagWithMetadata
GetTagsWithMetadata returns a pointer to the value of TagsWithMetadata from SyntheticMonitorEntity
func (SyntheticMonitorEntity) GetType ¶ added in v0.54.0
func (x SyntheticMonitorEntity) GetType() string
GetType returns a pointer to the value of Type from SyntheticMonitorEntity
func (*SyntheticMonitorEntity) ImplementsAlertableEntity ¶ added in v0.53.0
func (x *SyntheticMonitorEntity) ImplementsAlertableEntity()
func (*SyntheticMonitorEntity) ImplementsEntity ¶ added in v0.53.0
func (x *SyntheticMonitorEntity) ImplementsEntity()
type SyntheticMonitorEntityOutline ¶ added in v0.53.0
type SyntheticMonitorEntityOutline struct { // Account accounts.AccountOutline `json:"account,omitempty"` // The New Relic account ID associated with this entity. AccountID int `json:"accountId,omitempty"` // The current alerting severity of the entity. AlertSeverity EntityAlertSeverity `json:"alertSeverity,omitempty"` // The entity's domain Domain string `json:"domain,omitempty"` // A value representing the combination of the entity's domain and type. EntityType EntityType `json:"entityType,omitempty"` // A unique entity identifier. GUID common.EntityGUID `json:"guid,omitempty"` // The list of golden metrics for a specific entity GoldenMetrics EntityGoldenContextScopedGoldenMetrics `json:"goldenMetrics"` // The list of golden tags for a specific entityType. GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags"` // The time the entity was indexed. IndexedAt *nrtime.EpochMilliseconds `json:"indexedAt,omitempty"` // The Synthetic Monitor ID MonitorId string `json:"monitorId,omitempty"` // Summary statistics for the Synthetic Monitor. MonitorSummary SyntheticMonitorSummaryData `json:"monitorSummary,omitempty"` // The Synthetic Monitor type MonitorType SyntheticMonitorType `json:"monitorType,omitempty"` // The URL being monitored by a `SIMPLE` or `BROWSER` monitor type. MonitoredURL string `json:"monitoredUrl,omitempty"` // The name of this entity. Name string `json:"name,omitempty"` // The duration in minutes between Synthetic Monitor runs. Period nrtime.Minutes `json:"period,omitempty"` // The url to the entity. Permalink string `json:"permalink,omitempty"` // The reporting status of the entity. If New Relic is successfully collecting data from your application, this will be true. Reporting bool `json:"reporting,omitempty"` // The service level defined for the entity. ServiceLevel ServiceLevelDefinition `json:"serviceLevel,omitempty"` // The tags applied to the entity. // // For details on tags, as well as query and mutation examples, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-tagging-api-tutorial). Tags []EntityTag `json:"tags,omitempty"` // The entity's type Type string `json:"type,omitempty"` }
SyntheticMonitorEntityOutline - A Synthetic Monitor entity outline.
func (SyntheticMonitorEntityOutline) GetAccount ¶ added in v0.54.0
func (x SyntheticMonitorEntityOutline) GetAccount() accounts.AccountOutline
GetAccount returns a pointer to the value of Account from SyntheticMonitorEntityOutline
func (SyntheticMonitorEntityOutline) GetAccountID ¶ added in v0.54.0
func (x SyntheticMonitorEntityOutline) GetAccountID() int
GetAccountID returns a pointer to the value of AccountID from SyntheticMonitorEntityOutline
func (SyntheticMonitorEntityOutline) GetAlertSeverity ¶ added in v0.54.0
func (x SyntheticMonitorEntityOutline) GetAlertSeverity() EntityAlertSeverity
GetAlertSeverity returns a pointer to the value of AlertSeverity from SyntheticMonitorEntityOutline
func (SyntheticMonitorEntityOutline) GetDomain ¶ added in v0.54.0
func (x SyntheticMonitorEntityOutline) GetDomain() string
GetDomain returns a pointer to the value of Domain from SyntheticMonitorEntityOutline
func (SyntheticMonitorEntityOutline) GetEntityType ¶ added in v0.54.0
func (x SyntheticMonitorEntityOutline) GetEntityType() EntityType
GetEntityType returns a pointer to the value of EntityType from SyntheticMonitorEntityOutline
func (SyntheticMonitorEntityOutline) GetGUID ¶ added in v0.54.0
func (x SyntheticMonitorEntityOutline) GetGUID() common.EntityGUID
GetGUID returns a pointer to the value of GUID from SyntheticMonitorEntityOutline
func (SyntheticMonitorEntityOutline) GetGoldenMetrics ¶ added in v0.59.0
func (x SyntheticMonitorEntityOutline) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
GetGoldenMetrics returns a pointer to the value of GoldenMetrics from SyntheticMonitorEntityOutline
func (SyntheticMonitorEntityOutline) GetGoldenTags ¶ added in v0.59.0
func (x SyntheticMonitorEntityOutline) GetGoldenTags() EntityGoldenContextScopedGoldenTags
GetGoldenTags returns a pointer to the value of GoldenTags from SyntheticMonitorEntityOutline
func (SyntheticMonitorEntityOutline) GetIndexedAt ¶ added in v0.54.0
func (x SyntheticMonitorEntityOutline) GetIndexedAt() *nrtime.EpochMilliseconds
GetIndexedAt returns a pointer to the value of IndexedAt from SyntheticMonitorEntityOutline
func (SyntheticMonitorEntityOutline) GetMonitorId ¶ added in v0.54.0
func (x SyntheticMonitorEntityOutline) GetMonitorId() string
GetMonitorId returns a pointer to the value of MonitorId from SyntheticMonitorEntityOutline
func (SyntheticMonitorEntityOutline) GetMonitorSummary ¶ added in v0.54.0
func (x SyntheticMonitorEntityOutline) GetMonitorSummary() SyntheticMonitorSummaryData
GetMonitorSummary returns a pointer to the value of MonitorSummary from SyntheticMonitorEntityOutline
func (SyntheticMonitorEntityOutline) GetMonitorType ¶ added in v0.54.0
func (x SyntheticMonitorEntityOutline) GetMonitorType() SyntheticMonitorType
GetMonitorType returns a pointer to the value of MonitorType from SyntheticMonitorEntityOutline
func (SyntheticMonitorEntityOutline) GetMonitoredURL ¶ added in v0.54.0
func (x SyntheticMonitorEntityOutline) GetMonitoredURL() string
GetMonitoredURL returns a pointer to the value of MonitoredURL from SyntheticMonitorEntityOutline
func (SyntheticMonitorEntityOutline) GetName ¶ added in v0.54.0
func (x SyntheticMonitorEntityOutline) GetName() string
GetName returns a pointer to the value of Name from SyntheticMonitorEntityOutline
func (SyntheticMonitorEntityOutline) GetPeriod ¶ added in v0.54.0
func (x SyntheticMonitorEntityOutline) GetPeriod() nrtime.Minutes
GetPeriod returns a pointer to the value of Period from SyntheticMonitorEntityOutline
func (SyntheticMonitorEntityOutline) GetPermalink ¶ added in v0.54.0
func (x SyntheticMonitorEntityOutline) GetPermalink() string
GetPermalink returns a pointer to the value of Permalink from SyntheticMonitorEntityOutline
func (SyntheticMonitorEntityOutline) GetReporting ¶ added in v0.54.0
func (x SyntheticMonitorEntityOutline) GetReporting() bool
GetReporting returns a pointer to the value of Reporting from SyntheticMonitorEntityOutline
func (SyntheticMonitorEntityOutline) GetServiceLevel ¶ added in v0.63.0
func (x SyntheticMonitorEntityOutline) GetServiceLevel() ServiceLevelDefinition
GetServiceLevel returns a pointer to the value of ServiceLevel from SyntheticMonitorEntityOutline
func (SyntheticMonitorEntityOutline) GetTags ¶ added in v0.54.0
func (x SyntheticMonitorEntityOutline) GetTags() []EntityTag
GetTags returns a pointer to the value of Tags from SyntheticMonitorEntityOutline
func (SyntheticMonitorEntityOutline) GetType ¶ added in v0.54.0
func (x SyntheticMonitorEntityOutline) GetType() string
GetType returns a pointer to the value of Type from SyntheticMonitorEntityOutline
func (*SyntheticMonitorEntityOutline) ImplementsAlertableEntityOutline ¶ added in v0.53.0
func (x *SyntheticMonitorEntityOutline) ImplementsAlertableEntityOutline()
func (SyntheticMonitorEntityOutline) ImplementsEntity ¶ added in v0.53.0
func (x SyntheticMonitorEntityOutline) ImplementsEntity()
func (*SyntheticMonitorEntityOutline) ImplementsEntityOutline ¶ added in v0.53.0
func (x *SyntheticMonitorEntityOutline) ImplementsEntityOutline()
type SyntheticMonitorStatus ¶ added in v0.53.0
type SyntheticMonitorStatus string
SyntheticMonitorStatus -
type SyntheticMonitorSummaryData ¶ added in v0.53.0
type SyntheticMonitorSummaryData struct { // The number of locations that are currently failing. LocationsFailing int `json:"locationsFailing,omitempty"` // The number of locations that are currently running. LocationsRunning int `json:"locationsRunning,omitempty"` // Status SyntheticMonitorStatus `json:"status,omitempty"` // The percentage of successful synthetic monitor checks in the last 24 hours. SuccessRate float64 `json:"successRate,omitempty"` }
SyntheticMonitorSummaryData - Summary statistics for the Synthetic Monitor.
type SyntheticMonitorType ¶ added in v0.53.0
type SyntheticMonitorType string
SyntheticMonitorType - The types of Synthetic Monitors.
type SyntheticsSyntheticMonitorAsset ¶ added in v0.53.0
type SyntheticsSyntheticMonitorAsset struct { // MIME type of asset Type string `json:"type,omitempty"` // Temporary url at which the asset is available for download URL string `json:"url,omitempty"` }
SyntheticsSyntheticMonitorAsset - Asset produced during the execution of the check
type TaggingAddTagsToEntityQueryResponse ¶ added in v0.57.1
type TaggingAddTagsToEntityQueryResponse struct {
TaggingMutationResult TaggingMutationResult `json:"TaggingAddTagsToEntity"`
}
type TaggingDeleteTagFromEntityQueryResponse ¶ added in v0.57.1
type TaggingDeleteTagFromEntityQueryResponse struct {
TaggingMutationResult TaggingMutationResult `json:"TaggingDeleteTagFromEntity"`
}
type TaggingDeleteTagValuesFromEntityQueryResponse ¶ added in v0.57.1
type TaggingDeleteTagValuesFromEntityQueryResponse struct {
TaggingMutationResult TaggingMutationResult `json:"TaggingDeleteTagValuesFromEntity"`
}
type TaggingMutationError ¶ added in v0.53.0
type TaggingMutationError struct { // A message explaining what the errors is about. Message string `json:"message,omitempty"` // The type of error. Type TaggingMutationErrorType `json:"type,omitempty"` }
TaggingMutationError - An error object for tag mutations.
type TaggingMutationErrorType ¶ added in v0.53.0
type TaggingMutationErrorType string
TaggingMutationErrorType - The different types of errors the API can return.
type TaggingMutationResult ¶ added in v0.53.0
type TaggingMutationResult struct { // An array containing errors, if any. These are expected errors listed in TagMutationErrorType which a request should be capable of handling appropriately. Errors []TaggingMutationError `json:"errors,omitempty"` }
TaggingMutationResult - The result of a tag mutation
type TaggingReplaceTagsOnEntityQueryResponse ¶ added in v0.57.1
type TaggingReplaceTagsOnEntityQueryResponse struct {
TaggingMutationResult TaggingMutationResult `json:"TaggingReplaceTagsOnEntity"`
}
type TaggingTagInput ¶ added in v0.53.0
type TaggingTagInput struct { // The tag key. Key string `json:"key"` // The tag values. Values []string `json:"values,omitempty"` }
TaggingTagInput - An object that represents a tag key-values pair.
type TaggingTagValueInput ¶ added in v0.53.0
type TaggingTagValueInput struct { // The tag key. Key string `json:"key"` // The tag value. Value string `json:"value"` }
TaggingTagValueInput - An object that represents a tag key-value pair
type ThirdPartyServiceEntity ¶ added in v0.53.0
type ThirdPartyServiceEntity struct { // Account accounts.AccountOutline `json:"account,omitempty"` // The New Relic account ID associated with this entity. AccountID int `json:"accountId,omitempty"` // The current alerting severity of the entity. AlertSeverity EntityAlertSeverity `json:"alertSeverity,omitempty"` // Violations on the entity that were open during the specified time window. AlertViolations []EntityAlertViolation `json:"alertViolations,omitempty"` // The entity's domain Domain string `json:"domain,omitempty"` // A value representing the combination of the entity's domain and type. EntityType EntityType `json:"entityType,omitempty"` // A unique entity identifier. GUID common.EntityGUID `json:"guid,omitempty"` // The list of golden metrics for a specific entity GoldenMetrics EntityGoldenContextScopedGoldenMetrics `json:"goldenMetrics"` // The list of golden tags for a specific entityType. GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags"` // The time the entity was indexed. IndexedAt *nrtime.EpochMilliseconds `json:"indexedAt,omitempty"` // Make an `Entity` scoped query to NRDB with a NRQL string. // // A relevant `WHERE` clause will be added to your query to scope data to the entity in question. // // See the [NRQL Docs](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/nrql-resources/nrql-syntax-components-functions) for more information about generating a query string. NRDBQuery nrdb.NRDBResultContainer `json:"nrdbQuery,omitempty"` // The name of this entity. Name string `json:"name,omitempty"` // NerdStorage NerdStorageEntityScope `json:"nerdStorage,omitempty"` // The url to the entity. Permalink string `json:"permalink,omitempty"` // Recent violations on the entity. RecentAlertViolations []EntityAlertViolation `json:"recentAlertViolations,omitempty"` // Related entities result with optional filtering. RelatedEntities EntityRelationshipRelatedEntitiesResult `json:"relatedEntities,omitempty"` // A list of the entities' relationships. // // For more information, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-relationships-api-tutorial). Relationships []EntityRelationship `json:"relationships,omitempty"` // The reporting status of the entity. If New Relic is successfully collecting data from your application, this will be true. Reporting bool `json:"reporting,omitempty"` // The service level defined for the entity. ServiceLevel ServiceLevelDefinition `json:"serviceLevel,omitempty"` // The tags applied to the entity. // // For details on tags, as well as query and mutation examples, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-tagging-api-tutorial). Tags []EntityTag `json:"tags,omitempty"` // The tags applied to the entity with their metadata. TagsWithMetadata []EntityTagWithMetadata `json:"tagsWithMetadata,omitempty"` // The entity's type Type string `json:"type,omitempty"` }
ThirdPartyServiceEntity - A third party service entity.
func (ThirdPartyServiceEntity) GetAccount ¶ added in v0.54.0
func (x ThirdPartyServiceEntity) GetAccount() accounts.AccountOutline
GetAccount returns a pointer to the value of Account from ThirdPartyServiceEntity
func (ThirdPartyServiceEntity) GetAccountID ¶ added in v0.54.0
func (x ThirdPartyServiceEntity) GetAccountID() int
GetAccountID returns a pointer to the value of AccountID from ThirdPartyServiceEntity
func (ThirdPartyServiceEntity) GetAlertSeverity ¶ added in v0.54.0
func (x ThirdPartyServiceEntity) GetAlertSeverity() EntityAlertSeverity
GetAlertSeverity returns a pointer to the value of AlertSeverity from ThirdPartyServiceEntity
func (ThirdPartyServiceEntity) GetAlertViolations ¶ added in v0.54.0
func (x ThirdPartyServiceEntity) GetAlertViolations() []EntityAlertViolation
GetAlertViolations returns a pointer to the value of AlertViolations from ThirdPartyServiceEntity
func (ThirdPartyServiceEntity) GetDomain ¶ added in v0.54.0
func (x ThirdPartyServiceEntity) GetDomain() string
GetDomain returns a pointer to the value of Domain from ThirdPartyServiceEntity
func (ThirdPartyServiceEntity) GetEntityType ¶ added in v0.54.0
func (x ThirdPartyServiceEntity) GetEntityType() EntityType
GetEntityType returns a pointer to the value of EntityType from ThirdPartyServiceEntity
func (ThirdPartyServiceEntity) GetGUID ¶ added in v0.54.0
func (x ThirdPartyServiceEntity) GetGUID() common.EntityGUID
GetGUID returns a pointer to the value of GUID from ThirdPartyServiceEntity
func (ThirdPartyServiceEntity) GetGoldenMetrics ¶ added in v0.59.0
func (x ThirdPartyServiceEntity) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
GetGoldenMetrics returns a pointer to the value of GoldenMetrics from ThirdPartyServiceEntity
func (ThirdPartyServiceEntity) GetGoldenTags ¶ added in v0.59.0
func (x ThirdPartyServiceEntity) GetGoldenTags() EntityGoldenContextScopedGoldenTags
GetGoldenTags returns a pointer to the value of GoldenTags from ThirdPartyServiceEntity
func (ThirdPartyServiceEntity) GetIndexedAt ¶ added in v0.54.0
func (x ThirdPartyServiceEntity) GetIndexedAt() *nrtime.EpochMilliseconds
GetIndexedAt returns a pointer to the value of IndexedAt from ThirdPartyServiceEntity
func (ThirdPartyServiceEntity) GetNRDBQuery ¶ added in v0.54.0
func (x ThirdPartyServiceEntity) GetNRDBQuery() nrdb.NRDBResultContainer
GetNRDBQuery returns a pointer to the value of NRDBQuery from ThirdPartyServiceEntity
func (ThirdPartyServiceEntity) GetName ¶ added in v0.54.0
func (x ThirdPartyServiceEntity) GetName() string
GetName returns a pointer to the value of Name from ThirdPartyServiceEntity
func (ThirdPartyServiceEntity) GetNerdStorage ¶ added in v0.54.0
func (x ThirdPartyServiceEntity) GetNerdStorage() NerdStorageEntityScope
GetNerdStorage returns a pointer to the value of NerdStorage from ThirdPartyServiceEntity
func (ThirdPartyServiceEntity) GetPermalink ¶ added in v0.54.0
func (x ThirdPartyServiceEntity) GetPermalink() string
GetPermalink returns a pointer to the value of Permalink from ThirdPartyServiceEntity
func (ThirdPartyServiceEntity) GetRecentAlertViolations ¶ added in v0.54.0
func (x ThirdPartyServiceEntity) GetRecentAlertViolations() []EntityAlertViolation
GetRecentAlertViolations returns a pointer to the value of RecentAlertViolations from ThirdPartyServiceEntity
func (ThirdPartyServiceEntity) GetRelatedEntities ¶ added in v0.63.0
func (x ThirdPartyServiceEntity) GetRelatedEntities() EntityRelationshipRelatedEntitiesResult
GetRelatedEntities returns a pointer to the value of RelatedEntities from ThirdPartyServiceEntity
func (ThirdPartyServiceEntity) GetRelationships ¶ added in v0.54.0
func (x ThirdPartyServiceEntity) GetRelationships() []EntityRelationship
GetRelationships returns a pointer to the value of Relationships from ThirdPartyServiceEntity
func (ThirdPartyServiceEntity) GetReporting ¶ added in v0.54.0
func (x ThirdPartyServiceEntity) GetReporting() bool
GetReporting returns a pointer to the value of Reporting from ThirdPartyServiceEntity
func (ThirdPartyServiceEntity) GetServiceLevel ¶ added in v0.63.0
func (x ThirdPartyServiceEntity) GetServiceLevel() ServiceLevelDefinition
GetServiceLevel returns a pointer to the value of ServiceLevel from ThirdPartyServiceEntity
func (ThirdPartyServiceEntity) GetTags ¶ added in v0.54.0
func (x ThirdPartyServiceEntity) GetTags() []EntityTag
GetTags returns a pointer to the value of Tags from ThirdPartyServiceEntity
func (ThirdPartyServiceEntity) GetTagsWithMetadata ¶ added in v0.54.0
func (x ThirdPartyServiceEntity) GetTagsWithMetadata() []EntityTagWithMetadata
GetTagsWithMetadata returns a pointer to the value of TagsWithMetadata from ThirdPartyServiceEntity
func (ThirdPartyServiceEntity) GetType ¶ added in v0.54.0
func (x ThirdPartyServiceEntity) GetType() string
GetType returns a pointer to the value of Type from ThirdPartyServiceEntity
func (*ThirdPartyServiceEntity) ImplementsAlertableEntity ¶ added in v0.54.0
func (x *ThirdPartyServiceEntity) ImplementsAlertableEntity()
func (*ThirdPartyServiceEntity) ImplementsEntity ¶ added in v0.53.0
func (x *ThirdPartyServiceEntity) ImplementsEntity()
type ThirdPartyServiceEntityOutline ¶ added in v0.53.0
type ThirdPartyServiceEntityOutline struct { // Account accounts.AccountOutline `json:"account,omitempty"` // The New Relic account ID associated with this entity. AccountID int `json:"accountId,omitempty"` // The current alerting severity of the entity. AlertSeverity EntityAlertSeverity `json:"alertSeverity,omitempty"` // The entity's domain Domain string `json:"domain,omitempty"` // A value representing the combination of the entity's domain and type. EntityType EntityType `json:"entityType,omitempty"` // A unique entity identifier. GUID common.EntityGUID `json:"guid,omitempty"` // The list of golden metrics for a specific entity GoldenMetrics EntityGoldenContextScopedGoldenMetrics `json:"goldenMetrics"` // The list of golden tags for a specific entityType. GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags"` // The time the entity was indexed. IndexedAt *nrtime.EpochMilliseconds `json:"indexedAt,omitempty"` // The name of this entity. Name string `json:"name,omitempty"` // The url to the entity. Permalink string `json:"permalink,omitempty"` // The reporting status of the entity. If New Relic is successfully collecting data from your application, this will be true. Reporting bool `json:"reporting,omitempty"` // The service level defined for the entity. ServiceLevel ServiceLevelDefinition `json:"serviceLevel,omitempty"` // The tags applied to the entity. // // For details on tags, as well as query and mutation examples, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-tagging-api-tutorial). Tags []EntityTag `json:"tags,omitempty"` // The entity's type Type string `json:"type,omitempty"` }
ThirdPartyServiceEntityOutline - A third party service entity outline.
func (ThirdPartyServiceEntityOutline) GetAccount ¶ added in v0.54.0
func (x ThirdPartyServiceEntityOutline) GetAccount() accounts.AccountOutline
GetAccount returns a pointer to the value of Account from ThirdPartyServiceEntityOutline
func (ThirdPartyServiceEntityOutline) GetAccountID ¶ added in v0.54.0
func (x ThirdPartyServiceEntityOutline) GetAccountID() int
GetAccountID returns a pointer to the value of AccountID from ThirdPartyServiceEntityOutline
func (ThirdPartyServiceEntityOutline) GetAlertSeverity ¶ added in v0.54.0
func (x ThirdPartyServiceEntityOutline) GetAlertSeverity() EntityAlertSeverity
GetAlertSeverity returns a pointer to the value of AlertSeverity from ThirdPartyServiceEntityOutline
func (ThirdPartyServiceEntityOutline) GetDomain ¶ added in v0.54.0
func (x ThirdPartyServiceEntityOutline) GetDomain() string
GetDomain returns a pointer to the value of Domain from ThirdPartyServiceEntityOutline
func (ThirdPartyServiceEntityOutline) GetEntityType ¶ added in v0.54.0
func (x ThirdPartyServiceEntityOutline) GetEntityType() EntityType
GetEntityType returns a pointer to the value of EntityType from ThirdPartyServiceEntityOutline
func (ThirdPartyServiceEntityOutline) GetGUID ¶ added in v0.54.0
func (x ThirdPartyServiceEntityOutline) GetGUID() common.EntityGUID
GetGUID returns a pointer to the value of GUID from ThirdPartyServiceEntityOutline
func (ThirdPartyServiceEntityOutline) GetGoldenMetrics ¶ added in v0.59.0
func (x ThirdPartyServiceEntityOutline) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
GetGoldenMetrics returns a pointer to the value of GoldenMetrics from ThirdPartyServiceEntityOutline
func (ThirdPartyServiceEntityOutline) GetGoldenTags ¶ added in v0.59.0
func (x ThirdPartyServiceEntityOutline) GetGoldenTags() EntityGoldenContextScopedGoldenTags
GetGoldenTags returns a pointer to the value of GoldenTags from ThirdPartyServiceEntityOutline
func (ThirdPartyServiceEntityOutline) GetIndexedAt ¶ added in v0.54.0
func (x ThirdPartyServiceEntityOutline) GetIndexedAt() *nrtime.EpochMilliseconds
GetIndexedAt returns a pointer to the value of IndexedAt from ThirdPartyServiceEntityOutline
func (ThirdPartyServiceEntityOutline) GetName ¶ added in v0.54.0
func (x ThirdPartyServiceEntityOutline) GetName() string
GetName returns a pointer to the value of Name from ThirdPartyServiceEntityOutline
func (ThirdPartyServiceEntityOutline) GetPermalink ¶ added in v0.54.0
func (x ThirdPartyServiceEntityOutline) GetPermalink() string
GetPermalink returns a pointer to the value of Permalink from ThirdPartyServiceEntityOutline
func (ThirdPartyServiceEntityOutline) GetReporting ¶ added in v0.54.0
func (x ThirdPartyServiceEntityOutline) GetReporting() bool
GetReporting returns a pointer to the value of Reporting from ThirdPartyServiceEntityOutline
func (ThirdPartyServiceEntityOutline) GetServiceLevel ¶ added in v0.63.0
func (x ThirdPartyServiceEntityOutline) GetServiceLevel() ServiceLevelDefinition
GetServiceLevel returns a pointer to the value of ServiceLevel from ThirdPartyServiceEntityOutline
func (ThirdPartyServiceEntityOutline) GetTags ¶ added in v0.54.0
func (x ThirdPartyServiceEntityOutline) GetTags() []EntityTag
GetTags returns a pointer to the value of Tags from ThirdPartyServiceEntityOutline
func (ThirdPartyServiceEntityOutline) GetType ¶ added in v0.54.0
func (x ThirdPartyServiceEntityOutline) GetType() string
GetType returns a pointer to the value of Type from ThirdPartyServiceEntityOutline
func (*ThirdPartyServiceEntityOutline) ImplementsAlertableEntityOutline ¶ added in v0.54.0
func (x *ThirdPartyServiceEntityOutline) ImplementsAlertableEntityOutline()
func (ThirdPartyServiceEntityOutline) ImplementsEntity ¶ added in v0.53.0
func (x ThirdPartyServiceEntityOutline) ImplementsEntity()
func (*ThirdPartyServiceEntityOutline) ImplementsEntityOutline ¶ added in v0.53.0
func (x *ThirdPartyServiceEntityOutline) ImplementsEntityOutline()
type TimeWindowInput ¶ added in v0.53.0
type TimeWindowInput struct { // The end time of the time window the number of milliseconds since the Unix epoch. EndTime *nrtime.EpochMilliseconds `json:"endTime"` // The start time of the time window the number of milliseconds since the Unix epoch. StartTime *nrtime.EpochMilliseconds `json:"startTime"` }
TimeWindowInput - Represents a time window input.
type UnavailableEntity ¶ added in v0.53.0
type UnavailableEntity struct { accounts.AccountOutline `json:"account,omitempty"` AccountID int `json:"accountId,omitempty"` AlertSeverity EntityAlertSeverity `json:"alertSeverity,omitempty"` AlertViolations []EntityAlertViolation `json:"alertViolations,omitempty"` Domain string `json:"domain,omitempty"` EntityType EntityType `json:"entityType,omitempty"` GUID common.EntityGUID `json:"guid,omitempty"` GoldenMetrics EntityGoldenContextScopedGoldenMetrics `json:"goldenMetrics"` GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags"` IndexedAt *nrtime.EpochMilliseconds `json:"indexedAt,omitempty"` // // A relevant `WHERE` clause will be added to your query to scope data to the entity in question. // // See the [NRQL Docs](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/nrql-resources/nrql-syntax-components-functions) for more information about generating a query string. NRDBQuery nrdb.NRDBResultContainer `json:"nrdbQuery,omitempty"` Name string `json:"name,omitempty"` NerdStorage NerdStorageEntityScope `json:"nerdStorage,omitempty"` Permalink string `json:"permalink,omitempty"` RecentAlertViolations []EntityAlertViolation `json:"recentAlertViolations,omitempty"` RelatedEntities EntityRelationshipRelatedEntitiesResult `json:"relatedEntities,omitempty"` // // For more information, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-relationships-api-tutorial). Relationships []EntityRelationship `json:"relationships,omitempty"` Reporting bool `json:"reporting,omitempty"` ServiceLevel ServiceLevelDefinition `json:"serviceLevel,omitempty"` // // For details on tags, as well as query and mutation examples, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-tagging-api-tutorial). Tags []EntityTag `json:"tags,omitempty"` TagsWithMetadata []EntityTagWithMetadata `json:"tagsWithMetadata,omitempty"` Type string `json:"type,omitempty"` }Account
UnavailableEntity - An entity that is unavailable.
func (UnavailableEntity) GetAccount ¶ added in v0.54.0
func (x UnavailableEntity) GetAccount() accounts.AccountOutline
GetAccount returns a pointer to the value of Account from UnavailableEntity
func (UnavailableEntity) GetAccountID ¶ added in v0.54.0
func (x UnavailableEntity) GetAccountID() int
GetAccountID returns a pointer to the value of AccountID from UnavailableEntity
func (UnavailableEntity) GetAlertSeverity ¶ added in v0.59.2
func (x UnavailableEntity) GetAlertSeverity() EntityAlertSeverity
GetAlertSeverity returns a pointer to the value of AlertSeverity from UnavailableEntity
func (UnavailableEntity) GetAlertViolations ¶ added in v0.59.2
func (x UnavailableEntity) GetAlertViolations() []EntityAlertViolation
GetAlertViolations returns a pointer to the value of AlertViolations from UnavailableEntity
func (UnavailableEntity) GetDomain ¶ added in v0.54.0
func (x UnavailableEntity) GetDomain() string
GetDomain returns a pointer to the value of Domain from UnavailableEntity
func (UnavailableEntity) GetEntityType ¶ added in v0.54.0
func (x UnavailableEntity) GetEntityType() EntityType
GetEntityType returns a pointer to the value of EntityType from UnavailableEntity
func (UnavailableEntity) GetGUID ¶ added in v0.54.0
func (x UnavailableEntity) GetGUID() common.EntityGUID
GetGUID returns a pointer to the value of GUID from UnavailableEntity
func (UnavailableEntity) GetGoldenMetrics ¶ added in v0.59.0
func (x UnavailableEntity) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
GetGoldenMetrics returns a pointer to the value of GoldenMetrics from UnavailableEntity
func (UnavailableEntity) GetGoldenTags ¶ added in v0.59.0
func (x UnavailableEntity) GetGoldenTags() EntityGoldenContextScopedGoldenTags
GetGoldenTags returns a pointer to the value of GoldenTags from UnavailableEntity
func (UnavailableEntity) GetIndexedAt ¶ added in v0.54.0
func (x UnavailableEntity) GetIndexedAt() *nrtime.EpochMilliseconds
GetIndexedAt returns a pointer to the value of IndexedAt from UnavailableEntity
func (UnavailableEntity) GetNRDBQuery ¶ added in v0.54.0
func (x UnavailableEntity) GetNRDBQuery() nrdb.NRDBResultContainer
GetNRDBQuery returns a pointer to the value of NRDBQuery from UnavailableEntity
func (UnavailableEntity) GetName ¶ added in v0.54.0
func (x UnavailableEntity) GetName() string
GetName returns a pointer to the value of Name from UnavailableEntity
func (UnavailableEntity) GetNerdStorage ¶ added in v0.54.0
func (x UnavailableEntity) GetNerdStorage() NerdStorageEntityScope
GetNerdStorage returns a pointer to the value of NerdStorage from UnavailableEntity
func (UnavailableEntity) GetPermalink ¶ added in v0.54.0
func (x UnavailableEntity) GetPermalink() string
GetPermalink returns a pointer to the value of Permalink from UnavailableEntity
func (UnavailableEntity) GetRecentAlertViolations ¶ added in v0.59.2
func (x UnavailableEntity) GetRecentAlertViolations() []EntityAlertViolation
GetRecentAlertViolations returns a pointer to the value of RecentAlertViolations from UnavailableEntity
func (UnavailableEntity) GetRelatedEntities ¶ added in v0.63.0
func (x UnavailableEntity) GetRelatedEntities() EntityRelationshipRelatedEntitiesResult
GetRelatedEntities returns a pointer to the value of RelatedEntities from UnavailableEntity
func (UnavailableEntity) GetRelationships ¶ added in v0.54.0
func (x UnavailableEntity) GetRelationships() []EntityRelationship
GetRelationships returns a pointer to the value of Relationships from UnavailableEntity
func (UnavailableEntity) GetReporting ¶ added in v0.54.0
func (x UnavailableEntity) GetReporting() bool
GetReporting returns a pointer to the value of Reporting from UnavailableEntity
func (UnavailableEntity) GetServiceLevel ¶ added in v0.63.0
func (x UnavailableEntity) GetServiceLevel() ServiceLevelDefinition
GetServiceLevel returns a pointer to the value of ServiceLevel from UnavailableEntity
func (UnavailableEntity) GetTags ¶ added in v0.54.0
func (x UnavailableEntity) GetTags() []EntityTag
GetTags returns a pointer to the value of Tags from UnavailableEntity
func (UnavailableEntity) GetTagsWithMetadata ¶ added in v0.54.0
func (x UnavailableEntity) GetTagsWithMetadata() []EntityTagWithMetadata
GetTagsWithMetadata returns a pointer to the value of TagsWithMetadata from UnavailableEntity
func (UnavailableEntity) GetType ¶ added in v0.54.0
func (x UnavailableEntity) GetType() string
GetType returns a pointer to the value of Type from UnavailableEntity
func (*UnavailableEntity) ImplementsAlertableEntity ¶ added in v0.59.2
func (x *UnavailableEntity) ImplementsAlertableEntity()
func (*UnavailableEntity) ImplementsEntity ¶ added in v0.53.0
func (x *UnavailableEntity) ImplementsEntity()
type UnavailableEntityOutline ¶ added in v0.53.0
type UnavailableEntityOutline struct { accounts.AccountOutline `json:"account,omitempty"` AccountID int `json:"accountId,omitempty"` AlertSeverity EntityAlertSeverity `json:"alertSeverity,omitempty"` Domain string `json:"domain,omitempty"` EntityType EntityType `json:"entityType,omitempty"` GUID common.EntityGUID `json:"guid,omitempty"` GoldenMetrics EntityGoldenContextScopedGoldenMetrics `json:"goldenMetrics"` GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags"` IndexedAt *nrtime.EpochMilliseconds `json:"indexedAt,omitempty"` Name string `json:"name,omitempty"` Permalink string `json:"permalink,omitempty"` Reporting bool `json:"reporting,omitempty"` ServiceLevel ServiceLevelDefinition `json:"serviceLevel,omitempty"` // // For details on tags, as well as query and mutation examples, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-tagging-api-tutorial). Tags []EntityTag `json:"tags,omitempty"` Type string `json:"type,omitempty"` }Account
UnavailableEntityOutline - An entity outline that is unavailable.
func (UnavailableEntityOutline) GetAccount ¶ added in v0.54.0
func (x UnavailableEntityOutline) GetAccount() accounts.AccountOutline
GetAccount returns a pointer to the value of Account from UnavailableEntityOutline
func (UnavailableEntityOutline) GetAccountID ¶ added in v0.54.0
func (x UnavailableEntityOutline) GetAccountID() int
GetAccountID returns a pointer to the value of AccountID from UnavailableEntityOutline
func (UnavailableEntityOutline) GetAlertSeverity ¶ added in v0.59.2
func (x UnavailableEntityOutline) GetAlertSeverity() EntityAlertSeverity
GetAlertSeverity returns a pointer to the value of AlertSeverity from UnavailableEntityOutline
func (UnavailableEntityOutline) GetDomain ¶ added in v0.54.0
func (x UnavailableEntityOutline) GetDomain() string
GetDomain returns a pointer to the value of Domain from UnavailableEntityOutline
func (UnavailableEntityOutline) GetEntityType ¶ added in v0.54.0
func (x UnavailableEntityOutline) GetEntityType() EntityType
GetEntityType returns a pointer to the value of EntityType from UnavailableEntityOutline
func (UnavailableEntityOutline) GetGUID ¶ added in v0.54.0
func (x UnavailableEntityOutline) GetGUID() common.EntityGUID
GetGUID returns a pointer to the value of GUID from UnavailableEntityOutline
func (UnavailableEntityOutline) GetGoldenMetrics ¶ added in v0.59.0
func (x UnavailableEntityOutline) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
GetGoldenMetrics returns a pointer to the value of GoldenMetrics from UnavailableEntityOutline
func (UnavailableEntityOutline) GetGoldenTags ¶ added in v0.59.0
func (x UnavailableEntityOutline) GetGoldenTags() EntityGoldenContextScopedGoldenTags
GetGoldenTags returns a pointer to the value of GoldenTags from UnavailableEntityOutline
func (UnavailableEntityOutline) GetIndexedAt ¶ added in v0.54.0
func (x UnavailableEntityOutline) GetIndexedAt() *nrtime.EpochMilliseconds
GetIndexedAt returns a pointer to the value of IndexedAt from UnavailableEntityOutline
func (UnavailableEntityOutline) GetName ¶ added in v0.54.0
func (x UnavailableEntityOutline) GetName() string
GetName returns a pointer to the value of Name from UnavailableEntityOutline
func (UnavailableEntityOutline) GetPermalink ¶ added in v0.54.0
func (x UnavailableEntityOutline) GetPermalink() string
GetPermalink returns a pointer to the value of Permalink from UnavailableEntityOutline
func (UnavailableEntityOutline) GetReporting ¶ added in v0.54.0
func (x UnavailableEntityOutline) GetReporting() bool
GetReporting returns a pointer to the value of Reporting from UnavailableEntityOutline
func (UnavailableEntityOutline) GetServiceLevel ¶ added in v0.63.0
func (x UnavailableEntityOutline) GetServiceLevel() ServiceLevelDefinition
GetServiceLevel returns a pointer to the value of ServiceLevel from UnavailableEntityOutline
func (UnavailableEntityOutline) GetTags ¶ added in v0.54.0
func (x UnavailableEntityOutline) GetTags() []EntityTag
GetTags returns a pointer to the value of Tags from UnavailableEntityOutline
func (UnavailableEntityOutline) GetType ¶ added in v0.54.0
func (x UnavailableEntityOutline) GetType() string
GetType returns a pointer to the value of Type from UnavailableEntityOutline
func (*UnavailableEntityOutline) ImplementsAlertableEntityOutline ¶ added in v0.59.2
func (x *UnavailableEntityOutline) ImplementsAlertableEntityOutline()
func (UnavailableEntityOutline) ImplementsEntity ¶ added in v0.53.0
func (x UnavailableEntityOutline) ImplementsEntity()
func (*UnavailableEntityOutline) ImplementsEntityOutline ¶ added in v0.53.0
func (x *UnavailableEntityOutline) ImplementsEntityOutline()
type WorkloadEntity ¶ added in v0.53.0
type WorkloadEntity struct { // Account accounts.AccountOutline `json:"account,omitempty"` // The New Relic account ID associated with this entity. AccountID int `json:"accountId,omitempty"` // The current alerting severity of the workload entity. AlertSeverity EntityAlertSeverity `json:"alertSeverity,omitempty"` // Violations on the members of the workload that were open during the specified time window. AlertViolations []EntityAlertViolation `json:"alertViolations,omitempty"` // Collection EntityCollection `json:"collection,omitempty"` // When the workload was created. CreatedAt *nrtime.EpochMilliseconds `json:"createdAt,omitempty"` // The user that created the workload. CreatedByUser users.UserReference `json:"createdByUser,omitempty"` // The entity's domain Domain string `json:"domain,omitempty"` // A value representing the combination of the entity's domain and type. EntityType EntityType `json:"entityType,omitempty"` // A unique entity identifier. GUID common.EntityGUID `json:"guid,omitempty"` // The list of golden metrics for a specific entity GoldenMetrics EntityGoldenContextScopedGoldenMetrics `json:"goldenMetrics"` // The list of golden tags for a specific entityType. GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags"` // The time the entity was indexed. IndexedAt *nrtime.EpochMilliseconds `json:"indexedAt,omitempty"` // Make an `Entity` scoped query to NRDB with a NRQL string. // // A relevant `WHERE` clause will be added to your query to scope data to the entity in question. // // See the [NRQL Docs](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/nrql-resources/nrql-syntax-components-functions) for more information about generating a query string. NRDBQuery nrdb.NRDBResultContainer `json:"nrdbQuery,omitempty"` // The name of this entity. Name string `json:"name,omitempty"` // NerdStorage NerdStorageEntityScope `json:"nerdStorage,omitempty"` // The url to the entity. Permalink string `json:"permalink,omitempty"` // Recent violations on the members of the workload. RecentAlertViolations []EntityAlertViolation `json:"recentAlertViolations,omitempty"` // Related entities result with optional filtering. RelatedEntities EntityRelationshipRelatedEntitiesResult `json:"relatedEntities,omitempty"` // A list of the entities' relationships. // // For more information, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-relationships-api-tutorial). Relationships []EntityRelationship `json:"relationships,omitempty"` // The reporting status of the entity. If New Relic is successfully collecting data from your application, this will be true. Reporting bool `json:"reporting,omitempty"` // The service level defined for the entity. ServiceLevel ServiceLevelDefinition `json:"serviceLevel,omitempty"` // The tags applied to the entity. // // For details on tags, as well as query and mutation examples, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-tagging-api-tutorial). Tags []EntityTag `json:"tags,omitempty"` // The tags applied to the entity with their metadata. TagsWithMetadata []EntityTagWithMetadata `json:"tagsWithMetadata,omitempty"` // The entity's type Type string `json:"type,omitempty"` // When the workload was last updated. UpdatedAt *nrtime.EpochMilliseconds `json:"updatedAt,omitempty"` // Status of the workload. WorkloadStatus WorkloadStatus `json:"workloadStatus,omitempty"` }
WorkloadEntity - A workload entity.
func (WorkloadEntity) GetAccount ¶ added in v0.54.0
func (x WorkloadEntity) GetAccount() accounts.AccountOutline
GetAccount returns a pointer to the value of Account from WorkloadEntity
func (WorkloadEntity) GetAccountID ¶ added in v0.54.0
func (x WorkloadEntity) GetAccountID() int
GetAccountID returns a pointer to the value of AccountID from WorkloadEntity
func (WorkloadEntity) GetAlertSeverity ¶ added in v0.54.0
func (x WorkloadEntity) GetAlertSeverity() EntityAlertSeverity
GetAlertSeverity returns a pointer to the value of AlertSeverity from WorkloadEntity
func (WorkloadEntity) GetAlertViolations ¶ added in v0.54.0
func (x WorkloadEntity) GetAlertViolations() []EntityAlertViolation
GetAlertViolations returns a pointer to the value of AlertViolations from WorkloadEntity
func (WorkloadEntity) GetCollection ¶ added in v0.54.0
func (x WorkloadEntity) GetCollection() EntityCollection
GetCollection returns a pointer to the value of Collection from WorkloadEntity
func (WorkloadEntity) GetCreatedAt ¶ added in v0.54.0
func (x WorkloadEntity) GetCreatedAt() *nrtime.EpochMilliseconds
GetCreatedAt returns a pointer to the value of CreatedAt from WorkloadEntity
func (WorkloadEntity) GetCreatedByUser ¶ added in v0.54.0
func (x WorkloadEntity) GetCreatedByUser() users.UserReference
GetCreatedByUser returns a pointer to the value of CreatedByUser from WorkloadEntity
func (WorkloadEntity) GetDomain ¶ added in v0.54.0
func (x WorkloadEntity) GetDomain() string
GetDomain returns a pointer to the value of Domain from WorkloadEntity
func (WorkloadEntity) GetEntityType ¶ added in v0.54.0
func (x WorkloadEntity) GetEntityType() EntityType
GetEntityType returns a pointer to the value of EntityType from WorkloadEntity
func (WorkloadEntity) GetGUID ¶ added in v0.54.0
func (x WorkloadEntity) GetGUID() common.EntityGUID
GetGUID returns a pointer to the value of GUID from WorkloadEntity
func (WorkloadEntity) GetGoldenMetrics ¶ added in v0.59.0
func (x WorkloadEntity) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
GetGoldenMetrics returns a pointer to the value of GoldenMetrics from WorkloadEntity
func (WorkloadEntity) GetGoldenTags ¶ added in v0.59.0
func (x WorkloadEntity) GetGoldenTags() EntityGoldenContextScopedGoldenTags
GetGoldenTags returns a pointer to the value of GoldenTags from WorkloadEntity
func (WorkloadEntity) GetIndexedAt ¶ added in v0.54.0
func (x WorkloadEntity) GetIndexedAt() *nrtime.EpochMilliseconds
GetIndexedAt returns a pointer to the value of IndexedAt from WorkloadEntity
func (WorkloadEntity) GetNRDBQuery ¶ added in v0.54.0
func (x WorkloadEntity) GetNRDBQuery() nrdb.NRDBResultContainer
GetNRDBQuery returns a pointer to the value of NRDBQuery from WorkloadEntity
func (WorkloadEntity) GetName ¶ added in v0.54.0
func (x WorkloadEntity) GetName() string
GetName returns a pointer to the value of Name from WorkloadEntity
func (WorkloadEntity) GetNerdStorage ¶ added in v0.54.0
func (x WorkloadEntity) GetNerdStorage() NerdStorageEntityScope
GetNerdStorage returns a pointer to the value of NerdStorage from WorkloadEntity
func (WorkloadEntity) GetPermalink ¶ added in v0.54.0
func (x WorkloadEntity) GetPermalink() string
GetPermalink returns a pointer to the value of Permalink from WorkloadEntity
func (WorkloadEntity) GetRecentAlertViolations ¶ added in v0.54.0
func (x WorkloadEntity) GetRecentAlertViolations() []EntityAlertViolation
GetRecentAlertViolations returns a pointer to the value of RecentAlertViolations from WorkloadEntity
func (WorkloadEntity) GetRelatedEntities ¶ added in v0.63.0
func (x WorkloadEntity) GetRelatedEntities() EntityRelationshipRelatedEntitiesResult
GetRelatedEntities returns a pointer to the value of RelatedEntities from WorkloadEntity
func (WorkloadEntity) GetRelationships ¶ added in v0.54.0
func (x WorkloadEntity) GetRelationships() []EntityRelationship
GetRelationships returns a pointer to the value of Relationships from WorkloadEntity
func (WorkloadEntity) GetReporting ¶ added in v0.54.0
func (x WorkloadEntity) GetReporting() bool
GetReporting returns a pointer to the value of Reporting from WorkloadEntity
func (WorkloadEntity) GetServiceLevel ¶ added in v0.63.0
func (x WorkloadEntity) GetServiceLevel() ServiceLevelDefinition
GetServiceLevel returns a pointer to the value of ServiceLevel from WorkloadEntity
func (WorkloadEntity) GetTags ¶ added in v0.54.0
func (x WorkloadEntity) GetTags() []EntityTag
GetTags returns a pointer to the value of Tags from WorkloadEntity
func (WorkloadEntity) GetTagsWithMetadata ¶ added in v0.54.0
func (x WorkloadEntity) GetTagsWithMetadata() []EntityTagWithMetadata
GetTagsWithMetadata returns a pointer to the value of TagsWithMetadata from WorkloadEntity
func (WorkloadEntity) GetType ¶ added in v0.54.0
func (x WorkloadEntity) GetType() string
GetType returns a pointer to the value of Type from WorkloadEntity
func (WorkloadEntity) GetUpdatedAt ¶ added in v0.54.0
func (x WorkloadEntity) GetUpdatedAt() *nrtime.EpochMilliseconds
GetUpdatedAt returns a pointer to the value of UpdatedAt from WorkloadEntity
func (WorkloadEntity) GetWorkloadStatus ¶ added in v0.54.0
func (x WorkloadEntity) GetWorkloadStatus() WorkloadStatus
GetWorkloadStatus returns a pointer to the value of WorkloadStatus from WorkloadEntity
func (*WorkloadEntity) ImplementsAlertableEntity ¶ added in v0.53.0
func (x *WorkloadEntity) ImplementsAlertableEntity()
func (*WorkloadEntity) ImplementsCollectionEntity ¶ added in v0.53.0
func (x *WorkloadEntity) ImplementsCollectionEntity()
func (*WorkloadEntity) ImplementsEntity ¶ added in v0.53.0
func (x *WorkloadEntity) ImplementsEntity()
type WorkloadEntityOutline ¶ added in v0.53.0
type WorkloadEntityOutline struct { // Account accounts.AccountOutline `json:"account,omitempty"` // The New Relic account ID associated with this entity. AccountID int `json:"accountId,omitempty"` // The current alerting severity of the workload entity. AlertSeverity EntityAlertSeverity `json:"alertSeverity,omitempty"` // When the workload was created. CreatedAt *nrtime.EpochMilliseconds `json:"createdAt,omitempty"` // The user that created the workload. CreatedByUser users.UserReference `json:"createdByUser,omitempty"` // The entity's domain Domain string `json:"domain,omitempty"` // A value representing the combination of the entity's domain and type. EntityType EntityType `json:"entityType,omitempty"` // A unique entity identifier. GUID common.EntityGUID `json:"guid,omitempty"` // The list of golden metrics for a specific entity GoldenMetrics EntityGoldenContextScopedGoldenMetrics `json:"goldenMetrics"` // The list of golden tags for a specific entityType. GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags"` // The time the entity was indexed. IndexedAt *nrtime.EpochMilliseconds `json:"indexedAt,omitempty"` // The name of this entity. Name string `json:"name,omitempty"` // The url to the entity. Permalink string `json:"permalink,omitempty"` // The reporting status of the entity. If New Relic is successfully collecting data from your application, this will be true. Reporting bool `json:"reporting,omitempty"` // The service level defined for the entity. ServiceLevel ServiceLevelDefinition `json:"serviceLevel,omitempty"` // The tags applied to the entity. // // For details on tags, as well as query and mutation examples, visit [our docs](https://docs.newrelic.com/docs/apis/graphql-api/tutorials/graphql-tagging-api-tutorial). Tags []EntityTag `json:"tags,omitempty"` // The entity's type Type string `json:"type,omitempty"` // When the workload was last updated. UpdatedAt *nrtime.EpochMilliseconds `json:"updatedAt,omitempty"` // Status of the workload. WorkloadStatus WorkloadStatus `json:"workloadStatus,omitempty"` }
WorkloadEntityOutline - A workload entity outline.
func (WorkloadEntityOutline) GetAccount ¶ added in v0.54.0
func (x WorkloadEntityOutline) GetAccount() accounts.AccountOutline
GetAccount returns a pointer to the value of Account from WorkloadEntityOutline
func (WorkloadEntityOutline) GetAccountID ¶ added in v0.54.0
func (x WorkloadEntityOutline) GetAccountID() int
GetAccountID returns a pointer to the value of AccountID from WorkloadEntityOutline
func (WorkloadEntityOutline) GetAlertSeverity ¶ added in v0.54.0
func (x WorkloadEntityOutline) GetAlertSeverity() EntityAlertSeverity
GetAlertSeverity returns a pointer to the value of AlertSeverity from WorkloadEntityOutline
func (WorkloadEntityOutline) GetCreatedAt ¶ added in v0.54.0
func (x WorkloadEntityOutline) GetCreatedAt() *nrtime.EpochMilliseconds
GetCreatedAt returns a pointer to the value of CreatedAt from WorkloadEntityOutline
func (WorkloadEntityOutline) GetCreatedByUser ¶ added in v0.54.0
func (x WorkloadEntityOutline) GetCreatedByUser() users.UserReference
GetCreatedByUser returns a pointer to the value of CreatedByUser from WorkloadEntityOutline
func (WorkloadEntityOutline) GetDomain ¶ added in v0.54.0
func (x WorkloadEntityOutline) GetDomain() string
GetDomain returns a pointer to the value of Domain from WorkloadEntityOutline
func (WorkloadEntityOutline) GetEntityType ¶ added in v0.54.0
func (x WorkloadEntityOutline) GetEntityType() EntityType
GetEntityType returns a pointer to the value of EntityType from WorkloadEntityOutline
func (WorkloadEntityOutline) GetGUID ¶ added in v0.54.0
func (x WorkloadEntityOutline) GetGUID() common.EntityGUID
GetGUID returns a pointer to the value of GUID from WorkloadEntityOutline
func (WorkloadEntityOutline) GetGoldenMetrics ¶ added in v0.59.0
func (x WorkloadEntityOutline) GetGoldenMetrics() EntityGoldenContextScopedGoldenMetrics
GetGoldenMetrics returns a pointer to the value of GoldenMetrics from WorkloadEntityOutline
func (WorkloadEntityOutline) GetGoldenTags ¶ added in v0.59.0
func (x WorkloadEntityOutline) GetGoldenTags() EntityGoldenContextScopedGoldenTags
GetGoldenTags returns a pointer to the value of GoldenTags from WorkloadEntityOutline
func (WorkloadEntityOutline) GetIndexedAt ¶ added in v0.54.0
func (x WorkloadEntityOutline) GetIndexedAt() *nrtime.EpochMilliseconds
GetIndexedAt returns a pointer to the value of IndexedAt from WorkloadEntityOutline
func (WorkloadEntityOutline) GetName ¶ added in v0.54.0
func (x WorkloadEntityOutline) GetName() string
GetName returns a pointer to the value of Name from WorkloadEntityOutline
func (WorkloadEntityOutline) GetPermalink ¶ added in v0.54.0
func (x WorkloadEntityOutline) GetPermalink() string
GetPermalink returns a pointer to the value of Permalink from WorkloadEntityOutline
func (WorkloadEntityOutline) GetReporting ¶ added in v0.54.0
func (x WorkloadEntityOutline) GetReporting() bool
GetReporting returns a pointer to the value of Reporting from WorkloadEntityOutline
func (WorkloadEntityOutline) GetServiceLevel ¶ added in v0.63.0
func (x WorkloadEntityOutline) GetServiceLevel() ServiceLevelDefinition
GetServiceLevel returns a pointer to the value of ServiceLevel from WorkloadEntityOutline
func (WorkloadEntityOutline) GetTags ¶ added in v0.54.0
func (x WorkloadEntityOutline) GetTags() []EntityTag
GetTags returns a pointer to the value of Tags from WorkloadEntityOutline
func (WorkloadEntityOutline) GetType ¶ added in v0.54.0
func (x WorkloadEntityOutline) GetType() string
GetType returns a pointer to the value of Type from WorkloadEntityOutline
func (WorkloadEntityOutline) GetUpdatedAt ¶ added in v0.54.0
func (x WorkloadEntityOutline) GetUpdatedAt() *nrtime.EpochMilliseconds
GetUpdatedAt returns a pointer to the value of UpdatedAt from WorkloadEntityOutline
func (WorkloadEntityOutline) GetWorkloadStatus ¶ added in v0.54.0
func (x WorkloadEntityOutline) GetWorkloadStatus() WorkloadStatus
GetWorkloadStatus returns a pointer to the value of WorkloadStatus from WorkloadEntityOutline
func (*WorkloadEntityOutline) ImplementsAlertableEntityOutline ¶ added in v0.53.0
func (x *WorkloadEntityOutline) ImplementsAlertableEntityOutline()
func (WorkloadEntityOutline) ImplementsEntity ¶ added in v0.53.0
func (x WorkloadEntityOutline) ImplementsEntity()
func (*WorkloadEntityOutline) ImplementsEntityOutline ¶ added in v0.53.0
func (x *WorkloadEntityOutline) ImplementsEntityOutline()
type WorkloadEntityRef ¶ added in v0.53.0
type WorkloadEntityRef struct { // The unique entity identifier in New Relic. GUID common.EntityGUID `json:"guid,omitempty"` }
WorkloadEntityRef - A reference to a New Relic entity.
type WorkloadStatus ¶ added in v0.53.0
type WorkloadStatus struct { // A description that provides additional details about the status of the workload. Description string `json:"description,omitempty"` // Indicates where the status value derives from. StatusSource WorkloadStatusSource `json:"statusSource,omitempty"` // The status of the workload. StatusValue WorkloadStatusValue `json:"statusValue,omitempty"` // A short description of the status of the workload. Summary string `json:"summary,omitempty"` }
WorkloadStatus - Detailed information about the status of a workload.
type WorkloadStatusSource ¶ added in v0.53.0
type WorkloadStatusSource string
WorkloadStatusSource - Indicates where the status value derives from.
type WorkloadStatusValue ¶ added in v0.53.0
type WorkloadStatusValue string
WorkloadStatusValue - The status of the workload, which is derived from the static and the automatic statuses configured. Any static status always overrides any other status values calculated automatically.