entities

package
v2.30.0 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: Apache-2.0 Imports: 18 Imported by: 1

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

Examples

Constants

View Source
const TaggingAddTagsToEntityMutation = `` /* 153-byte string literal not displayed */
View Source
const TaggingDeleteTagFromEntityMutation = `` /* 157-byte string literal not displayed */
View Source
const TaggingDeleteTagValuesFromEntityMutation = `` /* 183-byte string literal not displayed */
View Source
const TaggingReplaceTagsOnEntityMutation = `` /* 157-byte string literal not displayed */

Variables

View Source
var AccountStatusTypes = struct {
	ACTIVE                 AccountStatus
	AWAITING_USER_FROM_API AccountStatus
	CANCELLED              AccountStatus
	DOWNGRADED             AccountStatus
	NEW                    AccountStatus
	PAID_ACTIVE            AccountStatus
	PAID_NEW               AccountStatus
	PAID_PENDING           AccountStatus
	PENDING                AccountStatus
	UPGRADED               AccountStatus
}{
	ACTIVE:                 "ACTIVE",
	AWAITING_USER_FROM_API: "AWAITING_USER_FROM_API",
	CANCELLED:              "CANCELLED",
	DOWNGRADED:             "DOWNGRADED",
	NEW:                    "NEW",
	PAID_ACTIVE:            "PAID_ACTIVE",
	PAID_NEW:               "PAID_NEW",
	PAID_PENDING:           "PAID_PENDING",
	PENDING:                "PENDING",
	UPGRADED:               "UPGRADED",
}
View Source
var AgentApplicationSettingsBrowserLoaderTypes = struct {
	// "full" maps to "FULL".
	FULL AgentApplicationSettingsBrowserLoader
	// "lite" maps to "LITE".
	LITE AgentApplicationSettingsBrowserLoader
	// "none" maps to "NONE".
	NONE AgentApplicationSettingsBrowserLoader
	// "spa" maps to "SPA".
	SPA AgentApplicationSettingsBrowserLoader
	// "xhr" maps to "XHR".
	XHR AgentApplicationSettingsBrowserLoader
}{

	FULL: "FULL",

	LITE: "LITE",

	NONE: "NONE",

	SPA: "SPA",

	XHR: "XHR",
}
View Source
var AgentApplicationSettingsRecordSqlEnumTypes = struct {
	// This is the default value. This setting strips string literals and numeric sequences from your queries and replaces them with the ? character. For example: the query select * from table where ssn='123-45-6789' would become select * from table where ssn=?.
	OBFUSCATED AgentApplicationSettingsRecordSqlEnum
	// Query collection is turned off entirely.
	OFF AgentApplicationSettingsRecordSqlEnum
	// If you are confident that full query data collection will not impact your data security or your users' privacy, you can change the setting to Raw, which will record all query values. NOTE: 'Raw' is not permitted when 'High security mode' is enabled.
	RAW AgentApplicationSettingsRecordSqlEnum
}{

	OBFUSCATED: "OBFUSCATED",

	OFF: "OFF",

	RAW: "RAW",
}
View Source
var AgentApplicationSettingsThresholdTypeEnumTypes = struct {
	// Configures the threshold to be 4 times the value of APDEX_T
	APDEX_F AgentApplicationSettingsThresholdTypeEnum
	// Threshold will be statically configured via the corresponding "value" field.
	VALUE AgentApplicationSettingsThresholdTypeEnum
}{

	APDEX_F: "APDEX_F",

	VALUE: "VALUE",
}
View Source
var AgentApplicationSettingsTracerTypes = struct {
	// cross application tracing feature enabled
	CROSS_APPLICATION_TRACER AgentApplicationSettingsTracer
	// distributed tracing feature enabled
	DISTRIBUTED_TRACING AgentApplicationSettingsTracer
	// both cross application & distributed tracing disabled
	NONE AgentApplicationSettingsTracer
}{

	CROSS_APPLICATION_TRACER: "CROSS_APPLICATION_TRACER",

	DISTRIBUTED_TRACING: "DISTRIBUTED_TRACING",

	NONE: "NONE",
}
View Source
var AgentTracesErrorTraceOrderByFieldTypes = struct {
	// Error count.
	COUNT AgentTracesErrorTraceOrderByField
	// Error exception class.
	EXCEPTION_CLASS AgentTracesErrorTraceOrderByField
	// Error message.
	MESSAGE AgentTracesErrorTraceOrderByField
	// Error trace path.
	PATH AgentTracesErrorTraceOrderByField
	// Trace start time.
	TIMESTAMP AgentTracesErrorTraceOrderByField
}{

	COUNT: "COUNT",

	EXCEPTION_CLASS: "EXCEPTION_CLASS",

	MESSAGE: "MESSAGE",

	PATH: "PATH",

	TIMESTAMP: "TIMESTAMP",
}
View Source
var AgentTracesOrderByDirectionTypes = struct {
	// Ascending.
	ASC AgentTracesOrderByDirection
	// Descending.
	DESC AgentTracesOrderByDirection
}{

	ASC: "ASC",

	DESC: "DESC",
}
View Source
var AgentTracesSqlTraceOrderByFieldTypes = struct {
	// Trace duration.
	DURATION AgentTracesSqlTraceOrderByField
	// Call time, maximum of all `call_count` traces.
	MAX_CALL_TIME AgentTracesSqlTraceOrderByField
	// SQL trace path.
	PATH AgentTracesSqlTraceOrderByField
	// Agent generated `sql_id`.
	SQL_ID AgentTracesSqlTraceOrderByField
	// Trace start time.
	TIMESTAMP AgentTracesSqlTraceOrderByField
	// Call time, as added across all `call_count` traces.
	TOTAL_CALL_TIME AgentTracesSqlTraceOrderByField
}{

	DURATION: "DURATION",

	MAX_CALL_TIME: "MAX_CALL_TIME",

	PATH: "PATH",

	SQL_ID: "SQL_ID",

	TIMESTAMP: "TIMESTAMP",

	TOTAL_CALL_TIME: "TOTAL_CALL_TIME",
}
View Source
var AgentTracesTransactionTraceOrderByFieldTypes = struct {
	// Trace duration.
	DURATION AgentTracesTransactionTraceOrderByField
	// Transaction trace path.
	PATH AgentTracesTransactionTraceOrderByField
	// Trace start time.
	TIMESTAMP AgentTracesTransactionTraceOrderByField
}{

	DURATION: "DURATION",

	PATH: "PATH",

	TIMESTAMP: "TIMESTAMP",
}
View Source
var AiNotificationsChannelStatusTypes = struct {
	// Configuration Error channel status
	CONFIGURATION_ERROR AiNotificationsChannelStatus
	// Configuration Warning channel status
	CONFIGURATION_WARNING AiNotificationsChannelStatus
	// Default channel status
	DEFAULT AiNotificationsChannelStatus
	// Draft channel status
	DRAFT AiNotificationsChannelStatus
	// Error channel status
	ERROR AiNotificationsChannelStatus
	// Tested channel status
	TESTED AiNotificationsChannelStatus
	// Throttled channel status
	THROTTLED AiNotificationsChannelStatus
	// Unknown Error channel status
	UNKNOWN_ERROR AiNotificationsChannelStatus
}{

	CONFIGURATION_ERROR: "CONFIGURATION_ERROR",

	CONFIGURATION_WARNING: "CONFIGURATION_WARNING",

	DEFAULT: "DEFAULT",

	DRAFT: "DRAFT",

	ERROR: "ERROR",

	TESTED: "TESTED",

	THROTTLED: "THROTTLED",

	UNKNOWN_ERROR: "UNKNOWN_ERROR",
}
View Source
var AiNotificationsChannelTypeTypes = struct {
	// Email channel type
	EMAIL AiNotificationsChannelType
	// Event Bridge channel type
	EVENT_BRIDGE AiNotificationsChannelType
	// Jira Classic channel type
	JIRA_CLASSIC AiNotificationsChannelType
	// Jira Nextgen channel type
	JIRA_NEXTGEN AiNotificationsChannelType
	// PagerDuty channel type
	PAGERDUTY_ACCOUNT_INTEGRATION AiNotificationsChannelType
	// Pager Duty channel type
	PAGERDUTY_SERVICE_INTEGRATION AiNotificationsChannelType
	// Servicenow events channel type
	SERVICENOW_EVENTS AiNotificationsChannelType
	// Servicenow incidents channel type
	SERVICENOW_INCIDENTS AiNotificationsChannelType
	// Slack channel type
	SLACK AiNotificationsChannelType
	// Webhook channel type
	WEBHOOK AiNotificationsChannelType
}{

	EMAIL: "EMAIL",

	EVENT_BRIDGE: "EVENT_BRIDGE",

	JIRA_CLASSIC: "JIRA_CLASSIC",

	JIRA_NEXTGEN: "JIRA_NEXTGEN",

	PAGERDUTY_ACCOUNT_INTEGRATION: "PAGERDUTY_ACCOUNT_INTEGRATION",

	PAGERDUTY_SERVICE_INTEGRATION: "PAGERDUTY_SERVICE_INTEGRATION",

	SERVICENOW_EVENTS: "SERVICENOW_EVENTS",

	SERVICENOW_INCIDENTS: "SERVICENOW_INCIDENTS",

	SLACK: "SLACK",

	WEBHOOK: "WEBHOOK",
}
View Source
var AiNotificationsDestinationStatusTypes = struct {
	// Authentication Error destination status
	AUTHENTICATION_ERROR AiNotificationsDestinationStatus
	// Authorization Error destination status
	AUTHORIZATION_ERROR AiNotificationsDestinationStatus
	// Authorization Warning destination status
	AUTHORIZATION_WARNING AiNotificationsDestinationStatus
	// Configuration Error destination status
	CONFIGURATION_ERROR AiNotificationsDestinationStatus
	// Default destination status
	DEFAULT AiNotificationsDestinationStatus
	// Draft channel status
	DRAFT AiNotificationsDestinationStatus
	// Error channel status
	ERROR AiNotificationsDestinationStatus
	// Temporary Warning destination status
	TEMPORARY_WARNING AiNotificationsDestinationStatus
	// Tested channel status
	TESTED AiNotificationsDestinationStatus
	// Throttled channel status
	THROTTLED AiNotificationsDestinationStatus
	// Throttling Warning destination status
	THROTTLING_WARNING AiNotificationsDestinationStatus
	// Unknown Error destination status
	UNKNOWN_ERROR AiNotificationsDestinationStatus
}{

	AUTHENTICATION_ERROR: "AUTHENTICATION_ERROR",

	AUTHORIZATION_ERROR: "AUTHORIZATION_ERROR",

	AUTHORIZATION_WARNING: "AUTHORIZATION_WARNING",

	CONFIGURATION_ERROR: "CONFIGURATION_ERROR",

	DEFAULT: "DEFAULT",

	DRAFT: "DRAFT",

	ERROR: "ERROR",

	TEMPORARY_WARNING: "TEMPORARY_WARNING",

	TESTED: "TESTED",

	THROTTLED: "THROTTLED",

	THROTTLING_WARNING: "THROTTLING_WARNING",

	UNKNOWN_ERROR: "UNKNOWN_ERROR",
}
View Source
var AiNotificationsDestinationTypeTypes = struct {
	// Email destination type
	EMAIL AiNotificationsDestinationType
	// EventBridge destination type
	EVENT_BRIDGE AiNotificationsDestinationType
	// Jira destination type
	JIRA AiNotificationsDestinationType
	// PagerDuty destination type
	PAGERDUTY_ACCOUNT_INTEGRATION AiNotificationsDestinationType
	// PagerDuty destination type}
	PAGERDUTY_SERVICE_INTEGRATION AiNotificationsDestinationType
	// ServiceNow destination type
	SERVICE_NOW AiNotificationsDestinationType
	// Slack destination type
	SLACK AiNotificationsDestinationType
	// WebHook destination type
	WEBHOOK AiNotificationsDestinationType
}{

	EMAIL: "EMAIL",

	EVENT_BRIDGE: "EVENT_BRIDGE",

	JIRA: "JIRA",

	PAGERDUTY_ACCOUNT_INTEGRATION: "PAGERDUTY_ACCOUNT_INTEGRATION",

	PAGERDUTY_SERVICE_INTEGRATION: "PAGERDUTY_SERVICE_INTEGRATION",

	SERVICE_NOW: "SERVICE_NOW",

	SLACK: "SLACK",

	WEBHOOK: "WEBHOOK",
}
View Source
var AiNotificationsProductTypes = struct {
	// Alerts product type
	ALERTS AiNotificationsProduct
	// Error Tracking product type
	ERROR_TRACKING AiNotificationsProduct
	// Incident Intelligence product type
	IINT AiNotificationsProduct
	// Notifications internal product type
	NTFC AiNotificationsProduct
	// Proactive Detection product type
	PD AiNotificationsProduct
	// Sharing product type
	SHARING AiNotificationsProduct
}{

	ALERTS: "ALERTS",

	ERROR_TRACKING: "ERROR_TRACKING",

	IINT: "IINT",

	NTFC: "NTFC",

	PD: "PD",

	SHARING: "SHARING",
}
View Source
var AiNotificationsVariableTypeTypes = struct {
	// Boolean variable type
	BOOLEAN AiNotificationsVariableType
	// List variable type
	LIST AiNotificationsVariableType
	// number variable type
	NUMBER AiNotificationsVariableType
	// Object variable type
	OBJECT AiNotificationsVariableType
	// String variable type
	STRING AiNotificationsVariableType
}{

	BOOLEAN: "BOOLEAN",

	LIST: "LIST",

	NUMBER: "NUMBER",

	OBJECT: "OBJECT",

	STRING: "STRING",
}
View Source
var AiOpsEventsQueryContextTypes = struct {
	// AiOps overview and anomaly pages
	AI_OPS AiOpsEventsQueryContext
	// Activity feeds and other NR One contexts
	GLOBAL AiOpsEventsQueryContext
}{

	AI_OPS: "AI_OPS",

	GLOBAL: "GLOBAL",
}
View Source
var AiOpsProactiveDetectionEventConfigurationTypeTypes = struct {
	// Entity is not monitored by a specific configuration and was automatically detected.
	AUTOMATIC AiOpsProactiveDetectionEventConfigurationType
	// Entity is being monitored by a Proactive Detection configuration.
	CONFIGURATION AiOpsProactiveDetectionEventConfigurationType
	// Entity is being monitored by a custom configuration
	CUSTOM AiOpsProactiveDetectionEventConfigurationType
	// Unknown configuration type.
	UNKNOWN AiOpsProactiveDetectionEventConfigurationType
}{

	AUTOMATIC: "AUTOMATIC",

	CONFIGURATION: "CONFIGURATION",

	CUSTOM: "CUSTOM",

	UNKNOWN: "UNKNOWN",
}
View Source
var AiOpsProactiveDetectionEventMonitoringStatusTypes = struct {
	// Event recorded for an entity that is monitored by Proactive Detection
	MONITORED AiOpsProactiveDetectionEventMonitoringStatus
	// Unknown Proactive Detection event monitoring status
	UNKNOWN AiOpsProactiveDetectionEventMonitoringStatus
	// Event recorded for an entity that is NOT monitored by Proactive Detection
	UNMONITORED AiOpsProactiveDetectionEventMonitoringStatus
}{

	MONITORED: "MONITORED",

	UNKNOWN: "UNKNOWN",

	UNMONITORED: "UNMONITORED",
}
View Source
var AiOpsProactiveDetectionEventTypeTypes = struct {
	// Event recorded when a Proactive Detection anomaly has ended
	ANOMALY_CLOSE AiOpsProactiveDetectionEventType
	// Event recorded when a Proactive Detection anomaly has begun
	ANOMALY_OPEN AiOpsProactiveDetectionEventType
	// Unknown Proactive Detection event type
	UNKNOWN AiOpsProactiveDetectionEventType
}{

	ANOMALY_CLOSE: "ANOMALY_CLOSE",

	ANOMALY_OPEN: "ANOMALY_OPEN",

	UNKNOWN: "UNKNOWN",
}
View Source
var AiOpsSignalTypeTypes = struct {
	// APM application error count
	APM_APPLICATION_ERRORCOUNT AiOpsSignalType
	// APM application response time ms
	APM_APPLICATION_RESPONSETIMEMS AiOpsSignalType
	// APM application throughput
	APM_APPLICATION_THROUGHPUT AiOpsSignalType
	// Browser application errors
	BROWSER_APPLICATION_ERRORS AiOpsSignalType
	// Browser application first Input Delay (75 percentile) (ms)
	BROWSER_APPLICATION_FIRSTINPUTDELAY75PERCENTILEMS AiOpsSignalType
	// Browser application largest Contentful Paint (75 percentile) (s)
	BROWSER_APPLICATION_LARGESTCONTENTFULPAINT75PERCENTILES AiOpsSignalType
	// Browser application throughput (ppm)
	BROWSER_APPLICATION_THROUGHPUTPPM AiOpsSignalType
	// Error rate
	ERROR_RATE AiOpsSignalType
	// AWS volume average write time
	INFRA_AWSEBSVOLUME_AVERAGEWRITETIMEMS AiOpsSignalType
	// Container cpu usage
	INFRA_CONTAINER_CPUUSAGE AiOpsSignalType
	// Container cpu utilitization
	INFRA_CONTAINER_CPUUTILIZATION AiOpsSignalType
	// Container memory usage
	INFRA_CONTAINER_MEMORYUSAGE AiOpsSignalType
	// Container storage usage
	INFRA_CONTAINER_STORAGEUSAGE AiOpsSignalType
	// Host network traffic
	INFRA_HOST_NETWORKTRAFFIC AiOpsSignalType
	// Redis instance connected clients
	INFRA_REDISINSTANCE_CONNECTEDCLIENTS AiOpsSignalType
	// Redis instance keyspace misses per second
	INFRA_REDISINSTANCE_KEYSPACEMISSESPERSECOND AiOpsSignalType
	// Mobile application HTTP errors and network failures
	MOBILE_APPLICATION_HTTPERRORSANDNETWORKFAILURES AiOpsSignalType
	// Mobile application HTTP response time (95%) (s)
	MOBILE_APPLICATION_HTTPRESPONSETIME95S AiOpsSignalType
	// Mobile application requests per minute
	MOBILE_APPLICATION_REQUESTSPERMINUTE AiOpsSignalType
	// Custom NRQL query
	NRQL AiOpsSignalType
	// Non-web response time
	RESPONSE_TIME_NON_WEB AiOpsSignalType
	// Web Response time
	RESPONSE_TIME_WEB AiOpsSignalType
	// Synthetic monitor failures
	SYNTH_MONITOR_FAILURES AiOpsSignalType
	// Synthetic monitor median duration (s)
	SYNTH_MONITOR_MEDIANDURATIONS AiOpsSignalType
	// Non-web throughput
	THROUGHPUT_NON_WEB AiOpsSignalType
	// Web throughput
	THROUGHPUT_WEB AiOpsSignalType
	// Unknown
	UNKNOWN AiOpsSignalType
}{

	APM_APPLICATION_ERRORCOUNT: "APM_APPLICATION_ERRORCOUNT",

	APM_APPLICATION_RESPONSETIMEMS: "APM_APPLICATION_RESPONSETIMEMS",

	APM_APPLICATION_THROUGHPUT: "APM_APPLICATION_THROUGHPUT",

	BROWSER_APPLICATION_ERRORS: "BROWSER_APPLICATION_ERRORS",

	BROWSER_APPLICATION_FIRSTINPUTDELAY75PERCENTILEMS: "BROWSER_APPLICATION_FIRSTINPUTDELAY75PERCENTILEMS",

	BROWSER_APPLICATION_LARGESTCONTENTFULPAINT75PERCENTILES: "BROWSER_APPLICATION_LARGESTCONTENTFULPAINT75PERCENTILES",

	BROWSER_APPLICATION_THROUGHPUTPPM: "BROWSER_APPLICATION_THROUGHPUTPPM",

	ERROR_RATE: "ERROR_RATE",

	INFRA_AWSEBSVOLUME_AVERAGEWRITETIMEMS: "INFRA_AWSEBSVOLUME_AVERAGEWRITETIMEMS",

	INFRA_CONTAINER_CPUUSAGE: "INFRA_CONTAINER_CPUUSAGE",

	INFRA_CONTAINER_CPUUTILIZATION: "INFRA_CONTAINER_CPUUTILIZATION",

	INFRA_CONTAINER_MEMORYUSAGE: "INFRA_CONTAINER_MEMORYUSAGE",

	INFRA_CONTAINER_STORAGEUSAGE: "INFRA_CONTAINER_STORAGEUSAGE",

	INFRA_HOST_NETWORKTRAFFIC: "INFRA_HOST_NETWORKTRAFFIC",

	INFRA_REDISINSTANCE_CONNECTEDCLIENTS: "INFRA_REDISINSTANCE_CONNECTEDCLIENTS",

	INFRA_REDISINSTANCE_KEYSPACEMISSESPERSECOND: "INFRA_REDISINSTANCE_KEYSPACEMISSESPERSECOND",

	MOBILE_APPLICATION_HTTPERRORSANDNETWORKFAILURES: "MOBILE_APPLICATION_HTTPERRORSANDNETWORKFAILURES",

	MOBILE_APPLICATION_HTTPRESPONSETIME95S: "MOBILE_APPLICATION_HTTPRESPONSETIME95S",

	MOBILE_APPLICATION_REQUESTSPERMINUTE: "MOBILE_APPLICATION_REQUESTSPERMINUTE",

	NRQL: "NRQL",

	RESPONSE_TIME_NON_WEB: "RESPONSE_TIME_NON_WEB",

	RESPONSE_TIME_WEB: "RESPONSE_TIME_WEB",

	SYNTH_MONITOR_FAILURES: "SYNTH_MONITOR_FAILURES",

	SYNTH_MONITOR_MEDIANDURATIONS: "SYNTH_MONITOR_MEDIANDURATIONS",

	THROUGHPUT_NON_WEB: "THROUGHPUT_NON_WEB",

	THROUGHPUT_WEB: "THROUGHPUT_WEB",

	UNKNOWN: "UNKNOWN",
}
View Source
var AiOpsWebhookPayloadTemplateTypeTypes = struct {
	// The webhook will use a template that was provided by the user.
	// No new attributes will be included uness the user manually updates the custom template.
	CUSTOM AiOpsWebhookPayloadTemplateType
	// The webhook to use the most recent default template.
	// Any new attributes available to the webhook will be automatically included in the payload.
	DEFAULT AiOpsWebhookPayloadTemplateType
}{

	CUSTOM: "CUSTOM",

	DEFAULT: "DEFAULT",
}
View Source
var AiWorkflowsDestinationTypeTypes = struct {
	// Email Destination Configuration type
	EMAIL AiWorkflowsDestinationType
	// Event Bridge Destination Configuration type
	EVENT_BRIDGE AiWorkflowsDestinationType
	// Jira Destination Configuration type
	JIRA AiWorkflowsDestinationType
	// Pager Duty Destination Configuration type
	PAGERDUTY AiWorkflowsDestinationType
	// Pager Duty with account integration Destination Configuration type
	PAGERDUTY_ACCOUNT_INTEGRATION AiWorkflowsDestinationType
	// Pager Duty with service integration Destination Configuration type
	PAGERDUTY_SERVICE_INTEGRATION AiWorkflowsDestinationType
	// Service Now Destination Configuration type
	SERVICE_NOW AiWorkflowsDestinationType
	// Slack Destination Configuration type
	SLACK AiWorkflowsDestinationType
	// Webhook Destination Configuration type
	WEBHOOK AiWorkflowsDestinationType
}{

	EMAIL: "EMAIL",

	EVENT_BRIDGE: "EVENT_BRIDGE",

	JIRA: "JIRA",

	PAGERDUTY: "PAGERDUTY",

	PAGERDUTY_ACCOUNT_INTEGRATION: "PAGERDUTY_ACCOUNT_INTEGRATION",

	PAGERDUTY_SERVICE_INTEGRATION: "PAGERDUTY_SERVICE_INTEGRATION",

	SERVICE_NOW: "SERVICE_NOW",

	SLACK: "SLACK",

	WEBHOOK: "WEBHOOK",
}
View Source
var AiWorkflowsEnrichmentTypeTypes = struct {
	// NRQL Enrichment type
	NRQL AiWorkflowsEnrichmentType
}{

	NRQL: "NRQL",
}
View Source
var AiWorkflowsFilterTypeTypes = struct {
	// Standard Filter type
	FILTER AiWorkflowsFilterType
	// View Filter type
	VIEW AiWorkflowsFilterType
}{

	FILTER: "FILTER",

	VIEW: "VIEW",
}
View Source
var AiWorkflowsOperatorTypes = struct {
	// Contains this value
	CONTAINS AiWorkflowsOperator
	// Does not contain this value
	DOES_NOT_CONTAIN AiWorkflowsOperator
	// Not equal this value
	DOES_NOT_EQUAL AiWorkflowsOperator
	// Does not exactly match this value
	DOES_NOT_EXACTLY_MATCH AiWorkflowsOperator
	// Ends with this value
	ENDS_WITH AiWorkflowsOperator
	// Equals this value
	EQUAL AiWorkflowsOperator
	// Exactly matches this value
	EXACTLY_MATCHES AiWorkflowsOperator
	// Greater or equal to this value
	GREATER_OR_EQUAL AiWorkflowsOperator
	// Greater than
	GREATER_THAN AiWorkflowsOperator
	// is this boolean value
	IS AiWorkflowsOperator
	// is not this boolean value
	IS_NOT AiWorkflowsOperator
	// Less or equal to this value
	LESS_OR_EQUAL AiWorkflowsOperator
	// Less than this value
	LESS_THAN AiWorkflowsOperator
	// Starts with this value
	STARTS_WITH AiWorkflowsOperator
}{

	CONTAINS: "CONTAINS",

	DOES_NOT_CONTAIN: "DOES_NOT_CONTAIN",

	DOES_NOT_EQUAL: "DOES_NOT_EQUAL",

	DOES_NOT_EXACTLY_MATCH: "DOES_NOT_EXACTLY_MATCH",

	ENDS_WITH: "ENDS_WITH",

	EQUAL: "EQUAL",

	EXACTLY_MATCHES: "EXACTLY_MATCHES",

	GREATER_OR_EQUAL: "GREATER_OR_EQUAL",

	GREATER_THAN: "GREATER_THAN",

	IS: "IS",

	IS_NOT: "IS_NOT",

	LESS_OR_EQUAL: "LESS_OR_EQUAL",

	LESS_THAN: "LESS_THAN",

	STARTS_WITH: "STARTS_WITH",
}
View Source
var ApmApplicationRecentActivityTypeTypes = struct {
	// An update to the agent instrumentation on an APM application.
	INSTRUMENTATION ApmApplicationRecentActivityType
	// A notification relating to the APM application agent.
	NOTIFICATION ApmApplicationRecentActivityType
	// A change to the agent settings of an APM application.
	SETTINGS_CHANGE ApmApplicationRecentActivityType
}{

	INSTRUMENTATION: "INSTRUMENTATION",

	NOTIFICATION: "NOTIFICATION",

	SETTINGS_CHANGE: "SETTINGS_CHANGE",
}
View Source
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",
}
View Source
var ChangeTrackingDeploymentTypeTypes = struct {
	// A vanilla deployment
	BASIC ChangeTrackingDeploymentType
	// Blue-green deployment
	BLUE_GREEN ChangeTrackingDeploymentType
	// Canary deployment
	CANARY ChangeTrackingDeploymentType
	// Other types of deployment.
	OTHER ChangeTrackingDeploymentType
	// Rolling deployment.
	ROLLING ChangeTrackingDeploymentType
	// Shadow deployment
	SHADOW ChangeTrackingDeploymentType
}{

	BASIC: "BASIC",

	BLUE_GREEN: "BLUE_GREEN",

	CANARY: "CANARY",

	OTHER: "OTHER",

	ROLLING: "ROLLING",

	SHADOW: "SHADOW",
}
View Source
var DashboardAlertSeverityTypes = struct {
	// CRITICAL
	CRITICAL DashboardAlertSeverity
	// NOT_ALERTING
	NOT_ALERTING DashboardAlertSeverity
	// WARNING
	WARNING DashboardAlertSeverity
}{

	CRITICAL: "CRITICAL",

	NOT_ALERTING: "NOT_ALERTING",

	WARNING: "WARNING",
}
View Source
var DashboardEditableTypes = struct {
	// EDITABLE_BY_ALL.
	EDITABLE_BY_ALL DashboardEditable
	// EDITABLE_BY_OWNER.
	EDITABLE_BY_OWNER DashboardEditable
	// READ_ONLY.
	READ_ONLY DashboardEditable
}{

	EDITABLE_BY_ALL: "EDITABLE_BY_ALL",

	EDITABLE_BY_OWNER: "EDITABLE_BY_OWNER",

	READ_ONLY: "READ_ONLY",
}
View Source
var DashboardEntityAlertStatusTypes = struct {
	// Not alerting.
	GREEN DashboardEntityAlertStatus
	// Entity not reporting.
	GREY DashboardEntityAlertStatus
	// No alerts set up.
	LIGHT_GREEN DashboardEntityAlertStatus
	// Critical violation.
	RED DashboardEntityAlertStatus
	// Warning violation.
	YELLOW DashboardEntityAlertStatus
}{

	GREEN: "GREEN",

	GREY: "GREY",

	LIGHT_GREEN: "LIGHT_GREEN",

	RED: "RED",

	YELLOW: "YELLOW",
}
View Source
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",
}
View Source
var DashboardEntityTypeTypes = struct {
	// An APM Application.
	APM_APPLICATION_ENTITY DashboardEntityType
	// A database instance seen by an APM Application.
	APM_DATABASE_INSTANCE_ENTITY DashboardEntityType
	// An external service seen by an APM Application.
	APM_EXTERNAL_SERVICE_ENTITY DashboardEntityType
	// A Browser Application.
	BROWSER_APPLICATION_ENTITY DashboardEntityType
	// An Insights  entity.
	DASHBOARD_ENTITY DashboardEntityType
	// A Generic Entity with no detailed data.
	GENERIC_ENTITY DashboardEntityType
	// An Infrastructure entity.
	GENERIC_INFRASTRUCTURE_ENTITY DashboardEntityType
	// An Infrastructure Integration AWS Lambda Function entity.
	INFRASTRUCTURE_AWS_LAMBDA_FUNCTION_ENTITY DashboardEntityType
	// An Infrastructure Host entity.
	INFRASTRUCTURE_HOST_ENTITY DashboardEntityType
	// A Mobile Application.
	MOBILE_APPLICATION_ENTITY DashboardEntityType
	// A entity that is unavailable.
	UNAVAILABLE_ENTITY DashboardEntityType
	// A Workload Entity.
	WORKLOAD_ENTITY DashboardEntityType
}{

	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",

	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",

	UNAVAILABLE_ENTITY: "UNAVAILABLE_ENTITY",

	WORKLOAD_ENTITY: "WORKLOAD_ENTITY",
}
View Source
var DashboardFacetChartWidgetVisualizationTypeTypes = struct {
	// FACETED_AREA_CHART.
	FACETED_AREA_CHART DashboardFacetChartWidgetVisualizationType
	// FACETED_LINE_CHART.
	FACETED_LINE_CHART DashboardFacetChartWidgetVisualizationType
	// FACET_BAR_CHART.
	FACET_BAR_CHART DashboardFacetChartWidgetVisualizationType
	// FACET_PIE_CHART.
	FACET_PIE_CHART DashboardFacetChartWidgetVisualizationType
	// FACET_TABLE.
	FACET_TABLE DashboardFacetChartWidgetVisualizationType
	// HEATMAP.
	HEATMAP DashboardFacetChartWidgetVisualizationType
}{

	FACETED_AREA_CHART: "FACETED_AREA_CHART",

	FACETED_LINE_CHART: "FACETED_LINE_CHART",

	FACET_BAR_CHART: "FACET_BAR_CHART",

	FACET_PIE_CHART: "FACET_PIE_CHART",

	FACET_TABLE: "FACET_TABLE",

	HEATMAP: "HEATMAP",
}
View Source
var DashboardInaccessibleWidgetVisualizationTypeTypes = struct {
	// INACCESSIBLE.
	INACCESSIBLE DashboardInaccessibleWidgetVisualizationType
}{

	INACCESSIBLE: "INACCESSIBLE",
}
View Source
var DashboardInventoryWidgetVisualizationTypeTypes = struct {
	// INVENTORY.
	INVENTORY DashboardInventoryWidgetVisualizationType
}{

	INVENTORY: "INVENTORY",
}
View Source
var DashboardMarkdownWidgetVisualizationTypeTypes = struct {
	// MARKDOWN.
	MARKDOWN DashboardMarkdownWidgetVisualizationType
}{

	MARKDOWN: "MARKDOWN",
}
View Source
var DashboardMetricLineChartWidgetVisualizationTypeTypes = struct {
	// METRIC_LINE_CHART.
	METRIC_LINE_CHART DashboardMetricLineChartWidgetVisualizationType
}{

	METRIC_LINE_CHART: "METRIC_LINE_CHART",
}
View Source
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",
}
View Source
var DashboardPredefinedMetricChartWidgetVisualizationTypeTypes = struct {
	// APPLICATION_BREAKDOWN.
	APPLICATION_BREAKDOWN DashboardPredefinedMetricChartWidgetVisualizationType
	// BACKGROUND_BREAKDOWN.
	BACKGROUND_BREAKDOWN DashboardPredefinedMetricChartWidgetVisualizationType
	// BROWSER_BREAKDOWN.
	BROWSER_BREAKDOWN DashboardPredefinedMetricChartWidgetVisualizationType
	// GC_RUNS_BREAKDOWN.
	GC_RUNS_BREAKDOWN DashboardPredefinedMetricChartWidgetVisualizationType
	// SCOPE_BREAKDOWN.
	SCOPE_BREAKDOWN DashboardPredefinedMetricChartWidgetVisualizationType
	// SOLR_BREAKDOWN.
	SOLR_BREAKDOWN DashboardPredefinedMetricChartWidgetVisualizationType
}{

	APPLICATION_BREAKDOWN: "APPLICATION_BREAKDOWN",

	BACKGROUND_BREAKDOWN: "BACKGROUND_BREAKDOWN",

	BROWSER_BREAKDOWN: "BROWSER_BREAKDOWN",

	GC_RUNS_BREAKDOWN: "GC_RUNS_BREAKDOWN",

	SCOPE_BREAKDOWN: "SCOPE_BREAKDOWN",

	SOLR_BREAKDOWN: "SOLR_BREAKDOWN",
}
View Source
var DashboardServiceMapWidgetVisualizationTypeTypes = struct {
	// SERVICE_MAP.
	SERVICE_MAP DashboardServiceMapWidgetVisualizationType
}{

	SERVICE_MAP: "SERVICE_MAP",
}
View Source
var DashboardSimpleEventWidgetVisualizationTypeTypes = struct {
	// ATTRIBUTE_SHEET.
	ATTRIBUTE_SHEET DashboardSimpleEventWidgetVisualizationType
	// COMPARISON_LINE_CHART.
	COMPARISON_LINE_CHART DashboardSimpleEventWidgetVisualizationType
	// EVENT_FEED.
	EVENT_FEED DashboardSimpleEventWidgetVisualizationType
	// EVENT_TABLE.
	EVENT_TABLE DashboardSimpleEventWidgetVisualizationType
	// FUNNEL.
	FUNNEL DashboardSimpleEventWidgetVisualizationType
	// HISTOGRAM.
	HISTOGRAM DashboardSimpleEventWidgetVisualizationType
	// LINE_CHART.
	LINE_CHART DashboardSimpleEventWidgetVisualizationType
	// RAW_JSON.
	RAW_JSON DashboardSimpleEventWidgetVisualizationType
	// SINGLE_EVENT.
	SINGLE_EVENT DashboardSimpleEventWidgetVisualizationType
	// UNIQUES_LIST.
	UNIQUES_LIST DashboardSimpleEventWidgetVisualizationType
}{

	ATTRIBUTE_SHEET: "ATTRIBUTE_SHEET",

	COMPARISON_LINE_CHART: "COMPARISON_LINE_CHART",

	EVENT_FEED: "EVENT_FEED",

	EVENT_TABLE: "EVENT_TABLE",

	FUNNEL: "FUNNEL",

	HISTOGRAM: "HISTOGRAM",

	LINE_CHART: "LINE_CHART",

	RAW_JSON: "RAW_JSON",

	SINGLE_EVENT: "SINGLE_EVENT",

	UNIQUES_LIST: "UNIQUES_LIST",
}
View Source
var DashboardThresholdEventWidgetVisualizationTypeTypes = struct {
	// BILLBOARD.
	BILLBOARD DashboardThresholdEventWidgetVisualizationType
	// BILLBOARD_COMPARISON.
	BILLBOARD_COMPARISON DashboardThresholdEventWidgetVisualizationType
	// GAUGE.
	GAUGE DashboardThresholdEventWidgetVisualizationType
}{

	BILLBOARD: "BILLBOARD",

	BILLBOARD_COMPARISON: "BILLBOARD_COMPARISON",

	GAUGE: "GAUGE",
}
View Source
var DashboardVariableReplacementStrategyTypes = struct {
	// Replace the variable based on its automatically-inferred type.
	DEFAULT DashboardVariableReplacementStrategy
	// Replace the variable value as an identifier.
	IDENTIFIER DashboardVariableReplacementStrategy
	// Replace the variable value as a number.
	NUMBER DashboardVariableReplacementStrategy
	// Replace the variable value as a string.
	STRING DashboardVariableReplacementStrategy
}{

	DEFAULT: "DEFAULT",

	IDENTIFIER: "IDENTIFIER",

	NUMBER: "NUMBER",

	STRING: "STRING",
}
View Source
var DashboardVariableTypeTypes = struct {
	// Value comes from an enumerated list of possible values.
	ENUM DashboardVariableType
	// Value comes from the results of a NRQL query.
	NRQL DashboardVariableType
	// Dashboard user can supply an arbitrary string value to variable.
	STRING DashboardVariableType
}{

	ENUM: "ENUM",

	NRQL: "NRQL",

	STRING: "STRING",
}
View Source
var DashboardVisibilityTypes = struct {
	// ALL.
	ALL DashboardVisibility
	// OWNER.
	OWNER DashboardVisibility
}{

	ALL: "ALL",

	OWNER: "OWNER",
}
View Source
var EntityAlertSeverityTypes = struct {
	// Indicates an entity has a critical violation in progress.
	CRITICAL EntityAlertSeverity
	// Indicates an entity has no violations and therefore is not alerting.
	NOT_ALERTING EntityAlertSeverity
	// Indicates an entity is not configured for alerting.
	NOT_CONFIGURED EntityAlertSeverity
	// Indicates an entity  has a warning violation in progress.
	WARNING EntityAlertSeverity
}{

	CRITICAL: "CRITICAL",

	NOT_ALERTING: "NOT_ALERTING",

	NOT_CONFIGURED: "NOT_CONFIGURED",

	WARNING: "WARNING",
}
View Source
var EntityAlertStatusTypes = struct {
	// Not alerting
	GREEN EntityAlertStatus
	// Entity not reporting
	GREY EntityAlertStatus
	// No alerts set up
	LIGHT_GREEN EntityAlertStatus
	// Critical violation
	RED EntityAlertStatus
	// Warning violation
	YELLOW EntityAlertStatus
}{

	GREEN: "GREEN",

	GREY: "GREY",

	LIGHT_GREEN: "LIGHT_GREEN",

	RED: "RED",

	YELLOW: "YELLOW",
}
View Source
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",
}
View Source
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",
}
View Source
var EntityGoldenMetricUnitTypes = struct {
	// Apdex (Application Performance Index).
	APDEX EntityGoldenMetricUnit
	// Bits.
	BITS EntityGoldenMetricUnit
	// Bits per second.
	BITS_PER_SECOND EntityGoldenMetricUnit
	// Bytes.
	BYTES EntityGoldenMetricUnit
	// Bytes per second.
	BYTES_PER_SECOND EntityGoldenMetricUnit
	// Degrees celsius.
	CELSIUS EntityGoldenMetricUnit
	// Count.
	COUNT EntityGoldenMetricUnit
	// Hertz.
	HERTZ EntityGoldenMetricUnit
	// Messages per second.
	MESSAGES_PER_SECOND EntityGoldenMetricUnit
	// Operations per second.
	OPERATIONS_PER_SECOND EntityGoldenMetricUnit
	// Pages loaded per second.
	PAGES_PER_SECOND EntityGoldenMetricUnit
	// Percentage.
	PERCENTAGE EntityGoldenMetricUnit
	// Requests received per second.
	REQUESTS_PER_SECOND EntityGoldenMetricUnit
	// Seconds.
	SECONDS EntityGoldenMetricUnit
	// Timestamp.
	TIMESTAMP EntityGoldenMetricUnit
}{

	APDEX: "APDEX",

	BITS: "BITS",

	BITS_PER_SECOND: "BITS_PER_SECOND",

	BYTES: "BYTES",

	BYTES_PER_SECOND: "BYTES_PER_SECOND",

	CELSIUS: "CELSIUS",

	COUNT: "COUNT",

	HERTZ: "HERTZ",

	MESSAGES_PER_SECOND: "MESSAGES_PER_SECOND",

	OPERATIONS_PER_SECOND: "OPERATIONS_PER_SECOND",

	PAGES_PER_SECOND: "PAGES_PER_SECOND",

	PERCENTAGE: "PERCENTAGE",

	REQUESTS_PER_SECOND: "REQUESTS_PER_SECOND",

	SECONDS: "SECONDS",

	TIMESTAMP: "TIMESTAMP",
}
View Source
var EntityGraphEntityFlagsTypes = struct {
	// This entity does not match the normal filters, but was included because it is realted to an entity in the results.
	RELATED_ENTITY EntityGraphEntityFlags
	// This entity is the source of a relationshipOf filter.
	RELATIONSHIP_OF_SOURCE EntityGraphEntityFlags
}{

	RELATED_ENTITY: "RELATED_ENTITY",

	RELATIONSHIP_OF_SOURCE: "RELATIONSHIP_OF_SOURCE",
}
View Source
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 */
View Source
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",
}
View Source
var EntityRelationshipEdgeTypeTypes = struct {
	// The target entity contains the code for the source entity.
	BUILT_FROM EntityRelationshipEdgeType
	// The source entity calls the target entity.
	CALLS EntityRelationshipEdgeType
	// The source entity has a connection to the target entity.
	CONNECTS_TO 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
}{

	BUILT_FROM: "BUILT_FROM",

	CALLS: "CALLS",

	CONNECTS_TO: "CONNECTS_TO",

	CONTAINS: "CONTAINS",

	HOSTS: "HOSTS",

	IS: "IS",

	SERVES: "SERVES",
}
View Source
var EntityRelationshipTypeTypes = struct {
	// The source repository containing the code for the target
	BUILT_FROM EntityRelationshipType
	// The source entity calls the target entity.
	CALLS EntityRelationshipType
	// The source establishes TCP connections to the target
	CONNECTS_TO 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
}{

	BUILT_FROM: "BUILT_FROM",

	CALLS: "CALLS",

	CONNECTS_TO: "CONNECTS_TO",

	CONTAINS: "CONTAINS",

	HOSTS: "HOSTS",

	IS: "IS",

	SERVES: "SERVES",

	UNKNOWN: "UNKNOWN",
}
View Source
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",
}
View Source
var EntitySearchGroupingAttributeTypes = struct {
	// Group by account id.
	ACCOUNT_ID EntitySearchGroupingAttribute
	// Group by alert severity.
	ALERT_SEVERITY EntitySearchGroupingAttribute
	// Group by entity domain.
	DOMAIN EntitySearchGroupingAttribute
	// Group by entity domain and entity type.
	DOMAIN_TYPE EntitySearchGroupingAttribute
	// Group by entity name
	NAME EntitySearchGroupingAttribute
	// Group by reporting state.
	REPORTING EntitySearchGroupingAttribute
	// Group by entity type.
	TYPE EntitySearchGroupingAttribute
}{

	ACCOUNT_ID: "ACCOUNT_ID",

	ALERT_SEVERITY: "ALERT_SEVERITY",

	DOMAIN: "DOMAIN",

	DOMAIN_TYPE: "DOMAIN_TYPE",

	NAME: "NAME",

	REPORTING: "REPORTING",

	TYPE: "TYPE",
}
View Source
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",
}
View Source
var EntitySearchQueryBuilderTypeTypes = struct {
	// An application
	APPLICATION EntitySearchQueryBuilderType
	// A dashboard
	DASHBOARD EntitySearchQueryBuilderType
	// A host
	HOST EntitySearchQueryBuilderType
	// A monitor
	MONITOR EntitySearchQueryBuilderType
	// A service
	SERVICE EntitySearchQueryBuilderType
	// A workload
	WORKLOAD EntitySearchQueryBuilderType
}{

	APPLICATION: "APPLICATION",

	DASHBOARD: "DASHBOARD",

	HOST: "HOST",

	MONITOR: "MONITOR",

	SERVICE: "SERVICE",

	WORKLOAD: "WORKLOAD",
}
View Source
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",
}
View Source
var EntitySummaryMetricUnitTypes = struct {
	// Apdex (Application Performance Index).
	APDEX EntitySummaryMetricUnit
	// Bits.
	BITS EntitySummaryMetricUnit
	// Bits per second.
	BITS_PER_SECOND EntitySummaryMetricUnit
	// Bytes.
	BYTES EntitySummaryMetricUnit
	// Bytes per second.
	BYTES_PER_SECOND EntitySummaryMetricUnit
	// Degrees celsius.
	CELSIUS EntitySummaryMetricUnit
	// Count.
	COUNT EntitySummaryMetricUnit
	// Hertz.
	HERTZ EntitySummaryMetricUnit
	// Messages per second.
	MESSAGES_PER_SECOND EntitySummaryMetricUnit
	// Operations per second.
	OPERATIONS_PER_SECOND EntitySummaryMetricUnit
	// Pages loaded per second.
	PAGES_PER_SECOND EntitySummaryMetricUnit
	// Percentage.
	PERCENTAGE EntitySummaryMetricUnit
	// Requests received per second.
	REQUESTS_PER_SECOND EntitySummaryMetricUnit
	// Seconds.
	SECONDS EntitySummaryMetricUnit
	// String.
	STRING EntitySummaryMetricUnit
	// Timestamp.
	TIMESTAMP EntitySummaryMetricUnit
}{

	APDEX: "APDEX",

	BITS: "BITS",

	BITS_PER_SECOND: "BITS_PER_SECOND",

	BYTES: "BYTES",

	BYTES_PER_SECOND: "BYTES_PER_SECOND",

	CELSIUS: "CELSIUS",

	COUNT: "COUNT",

	HERTZ: "HERTZ",

	MESSAGES_PER_SECOND: "MESSAGES_PER_SECOND",

	OPERATIONS_PER_SECOND: "OPERATIONS_PER_SECOND",

	PAGES_PER_SECOND: "PAGES_PER_SECOND",

	PERCENTAGE: "PERCENTAGE",

	REQUESTS_PER_SECOND: "REQUESTS_PER_SECOND",

	SECONDS: "SECONDS",

	STRING: "STRING",

	TIMESTAMP: "TIMESTAMP",
}
View Source
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",
}
View Source
var ErrorTrackingErrorGroupStateTypes = struct {
	// Error group is ignored.
	IGNORED ErrorTrackingErrorGroupState
	// Error group is resolved.
	RESOLVED ErrorTrackingErrorGroupState
	// Error group is unresolved.
	UNRESOLVED ErrorTrackingErrorGroupState
}{

	IGNORED: "IGNORED",

	RESOLVED: "RESOLVED",

	UNRESOLVED: "UNRESOLVED",
}
View Source
var ErrorTrackingNotificationDestinationTypes = struct {
	// Jira Classic destination
	JIRA_CLASSIC ErrorTrackingNotificationDestination
	// Slack destination
	SLACK ErrorTrackingNotificationDestination
}{

	JIRA_CLASSIC: "JIRA_CLASSIC",

	SLACK: "SLACK",
}
View Source
var ErrorTrackingNotificationEventStatusTypes = struct {
	// Failed
	FAIL ErrorTrackingNotificationEventStatus
	// Successful
	SUCCESS ErrorTrackingNotificationEventStatus
}{

	FAIL: "FAIL",

	SUCCESS: "SUCCESS",
}
View Source
var FeatureFlagContextTypes = struct {
	ACCOUNT  FeatureFlagContext
	CRITERIA FeatureFlagContext
	NR_ADMIN FeatureFlagContext
	USER     FeatureFlagContext
}{
	ACCOUNT:  "ACCOUNT",
	CRITERIA: "CRITERIA",
	NR_ADMIN: "NR_ADMIN",
	USER:     "USER",
}
View Source
var InfrastructureAgentInstrumentationStrategyTypes = struct {
	// Instrumentation strategy: New Relic Java Agent. InfrastructureEvent strategy value: java_apm
	JAVAAPM InfrastructureAgentInstrumentationStrategy
	// Instrumentation strategy: Java Flight Recorder. InfrastructureEvent strategy value: jfr
	JFR InfrastructureAgentInstrumentationStrategy
	// Instrumentation strategy: Jafa Flight Recorder-Daemon. InfrastructureEvent strategy value: jfrd
	JFRD InfrastructureAgentInstrumentationStrategy
	// Instrumentation strategy: Java Management Extensions. InfrastructureEvent strategy value: jmx
	JMX InfrastructureAgentInstrumentationStrategy
}{

	JAVAAPM: "JAVAAPM",

	JFR: "JFR",

	JFRD: "JFRD",

	JMX: "JMX",
}
View Source
var InfrastructureAgentServiceStatusTypes = struct {
	// The service is being instrumented
	INSTRUMENTED InfrastructureAgentServiceStatus
	// Known service status
	KNOWN InfrastructureAgentServiceStatus
}{

	INSTRUMENTED: "INSTRUMENTED",

	KNOWN: "KNOWN",
}
View Source
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",
}
View Source
var RelatedExternalsDirectionTypes = struct {
	// A downstream dependency.
	DOWNSTREAM RelatedExternalsDirection
	// The entity at the center of these dependencies.
	FOCAL_ENTITY RelatedExternalsDirection
	// An upstream dependency.
	UPSTREAM RelatedExternalsDirection
}{

	DOWNSTREAM: "DOWNSTREAM",

	FOCAL_ENTITY: "FOCAL_ENTITY",

	UPSTREAM: "UPSTREAM",
}
View Source
var SortByTypes = struct {
	// Sort in ascending order.
	ASC SortBy
	// Sort in descending order.
	DESC SortBy
}{

	ASC: "ASC",

	DESC: "DESC",
}
View Source
var SyntheticMonitorCheckStatusTypes = struct {
	// Failed check
	FAILED SyntheticMonitorCheckStatus
	// Successful check
	SUCCESS SyntheticMonitorCheckStatus
}{

	FAILED: "FAILED",

	SUCCESS: "SUCCESS",
}
View Source
var SyntheticMonitorStatusTypes = struct {
	DELETED  SyntheticMonitorStatus
	DISABLED SyntheticMonitorStatus
	ENABLED  SyntheticMonitorStatus
	FAULTY   SyntheticMonitorStatus
	PAUSED   SyntheticMonitorStatus
}{
	DELETED:  "DELETED",
	DISABLED: "DISABLED",
	ENABLED:  "ENABLED",
	FAULTY:   "FAULTY",
	PAUSED:   "PAUSED",
}
View Source
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",
}
View Source
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
	// One of the query filters exceeds the character limit.
	TOO_MANY_CHARS_QUERY_FILTER 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_CHARS_QUERY_FILTER: "TOO_MANY_CHARS_QUERY_FILTER",

	TOO_MANY_TAG_KEYS: "TOO_MANY_TAG_KEYS",

	TOO_MANY_TAG_VALUES: "TOO_MANY_TAG_VALUES",

	UPDATE_WILL_BE_DELAYED: "UPDATE_WILL_BE_DELAYED",
}
View Source
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",
}
View Source
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

func BuildEntitySearchNrqlQuery added in v2.28.0

func BuildEntitySearchNrqlQuery(params EntitySearchParams) string

func BuildTagsNrqlQueryFragment added in v2.28.0

func BuildTagsNrqlQueryFragment(tags []map[string]string) string

func ConvertTagsToMap added in v2.28.0

func ConvertTagsToMap(tags []string) ([]map[string]string, error)

func FindTagByKey added in v2.18.0

func FindTagByKey(tags []EntityTag, key string) []string

Types

type AccountAccessInfo

type AccountAccessInfo struct {
	Capabilities []Capability         `json:"capabilities,omitempty"`
	Entitlements []AccountEntitlement `json:"entitlements,omitempty"`
	// These Feature Flags will be evaluated differently depending on their context:
	// * `currentUser.currentAccount` - Current User ID, current Account ID, NR admin
	// * `currentUser.account(id: N)` - Current User ID, given Account ID, NR admin
	// * `user(id: N).account(id: N)` - Given User ID, given Account ID, NR admin
	// * `account(id: N)` - Just the given Account ID
	FeatureFlags []FeatureFlag     `json:"featureFlags,omitempty"`
	ID           int               `json:"id,omitempty"`
	InRegion     bool              `json:"inRegion,omitempty"`
	Name         string            `json:"name,omitempty"`
	Parent       ParentAccountInfo `json:"parent,omitempty"`
	Region       Region            `json:"region,omitempty"`
	// Returns event types that are currently reporting in the account.
	ReportingEventTypes []string `json:"reportingEventTypes,omitempty"`
}

type AccountEntitlement

type AccountEntitlement struct {
	Name string `json:"name,omitempty"`
}

type AccountEntitlementFilter

type AccountEntitlementFilter struct {
	Names []string `json:"names"`
}

type AccountStatus

type AccountStatus string

type Actor

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"`
	// Contains information about the entity types specified in the `entityTypes` argument.
	EntityTypes         []EntityTypeResults         `json:"entityTypes,omitempty"`
	NerdStoreCollection []NerdStoreCollectionMember `json:"nerdStoreCollection,omitempty"`
	NerdStoreDocument   NerdStoreDocument           `json:"nerdStoreDocument,omitempty"`
}

Actor - The `Actor` object contains fields that are scoped to the API user's access level.

func (*Actor) UnmarshalJSON

func (a *Actor) UnmarshalJSON(b []byte) error

UnmarshalJSON is used to unmarshal Actor into the correct interfaces per field.

type AgentApplicationSettingsApmBase

type AgentApplicationSettingsApmBase struct {
	// The name for the application
	Alias string `json:"alias,omitempty"`
	// General settings for the application can be accessed via this field.
	ApmConfig AgentApplicationSettingsApmConfig `json:"apmConfig"`
	// Application settings regarding how events are handled with NRDB can be accessed via this field.
	DataManagement AgentApplicationSettingsDataManagement `json:"dataManagement"`
	// Error Collector settings for the application can be accessed via this field. The error collector captures information about uncaught exceptions and sends them to New Relic for viewing.
	ErrorCollector AgentApplicationSettingsErrorCollector `json:"errorCollector,omitempty"`
	// In APM, when transaction traces are collected, there may be additional Slow query data available.
	SlowSql AgentApplicationSettingsSlowSql `json:"slowSql,omitempty"`
	// Thread profiler measures wall clock time, CPU time, and method call counts in your application's threads as they run.
	ThreadProfiler AgentApplicationSettingsThreadProfiler `json:"threadProfiler,omitempty"`
	// Type of tracer used. APM's cross application tracing link transactions between APM apps in your service-oriented architecture (SOA).  Distributed tracing is an improvement on the cross application tracing feature and is recommended for large, distributed systems.
	TracerType AgentApplicationSettingsTracer `json:"tracerType,omitempty"`
	// Transaction Tracer settings for the application can be accessed via this field.
	TransactionTracer AgentApplicationSettingsTransactionTracer `json:"transactionTracer,omitempty"`
}

AgentApplicationSettingsApmBase - Settings that are applicable to APM applications and their agents.

type AgentApplicationSettingsApmConfig

type AgentApplicationSettingsApmConfig struct {
	// The desired target for the APDEX measurement of this APM application.
	ApdexTarget float64 `json:"apdexTarget,omitempty"`
	// Should agents for this APM application get some of their configuration from the server.
	UseServerSideConfig bool `json:"useServerSideConfig,omitempty"`
}

AgentApplicationSettingsApmConfig - General settings related to APM applications.

type AgentApplicationSettingsBrowserBase

type AgentApplicationSettingsBrowserBase struct {
	// General settings for the application can be accessed via this field.
	BrowserConfig AgentApplicationSettingsBrowserConfig `json:"browserConfig"`
	// Browser monitoring provides Real User Monitoring (RUM) that measures the speed and performance of end users as they navigate the application using different web browsers, devices, operating systems, and networks.
	BrowserMonitoring AgentApplicationSettingsBrowserMonitoring `json:"browserMonitoring"`
	// Application settings regarding how events are handled with NRDB can be accessed via this field.
	DataManagement AgentApplicationSettingsDataManagement `json:"dataManagement"`
}

AgentApplicationSettingsBrowserBase - Settings that are applicable to browser applications.

type AgentApplicationSettingsBrowserConfig

type AgentApplicationSettingsBrowserConfig struct {
	// The desired target for the APDEX measurement of this browser application.
	ApdexTarget float64 `json:"apdexTarget,omitempty"`
}

AgentApplicationSettingsBrowserConfig - General settings related to APM applications.

type AgentApplicationSettingsBrowserDistributedTracing

type AgentApplicationSettingsBrowserDistributedTracing struct {
	// Whether or not Distributed Tracing is enabled.
	Enabled bool `json:"enabled,omitempty"`
}

AgentApplicationSettingsBrowserDistributedTracing - Distributed tracing type. See [documentation](https://docs.newrelic.com/docs/browser/new-relic-browser/browser-pro-features/browser-data-distributed-tracing/) for further information.

type AgentApplicationSettingsBrowserLoader

type AgentApplicationSettingsBrowserLoader string

AgentApplicationSettingsBrowserLoader - Determines which Browser Loader will be configured. Some allowed return values are specified for backwards-compatibility and do not represent currently allowed values for new applications. See [documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/installation/install-browser-monitoring-agent/#agent-types) for further information.

type AgentApplicationSettingsBrowserMonitoring

type AgentApplicationSettingsBrowserMonitoring struct {
	// If you use browser to monitor end-user browser activity, you can now see end-user-originating browser-side traces in distributed tracing.
	DistributedTracing AgentApplicationSettingsBrowserDistributedTracing `json:"distributedTracing"`
	// The type of browser agent that will be loaded.
	Loader AgentApplicationSettingsBrowserLoader `json:"loader"`
	// Browser monitoring's page load timing feature can track sessions by using cookies that contain a simple session identifier.
	Privacy AgentApplicationSettingsBrowserPrivacy `json:"privacy"`
}

AgentApplicationSettingsBrowserMonitoring - Browser monitoring.

type AgentApplicationSettingsBrowserPrivacy

type AgentApplicationSettingsBrowserPrivacy struct {
	// Whether or not cookies are enabled.
	CookiesEnabled bool `json:"cookiesEnabled"`
}

AgentApplicationSettingsBrowserPrivacy - Browser privacy. See [documentation](https://docs.newrelic.com/docs/browser/browser-monitoring/page-load-timing-resources/cookie-collection-session-tracking/) for further information.

type AgentApplicationSettingsBrowserProperties added in v2.21.2

type AgentApplicationSettingsBrowserProperties struct {
	// The configuration required to run the npm version of the JS agent. This is the "pure" JSON configuration block without surrounding HTML <script> tags.
	JsConfig AgentApplicationSettingsRawJsConfiguration `json:"jsConfig,omitempty"`
	// The configuration block required to run the npm version of the JS agent. This includes the HTML <script> tags.
	JsConfigScript string `json:"jsConfigScript,omitempty"`
	// The snippet of JavaScript used to copy/paste into your JavaScript app if you aren't using an auto-instrumentating agent on the backend.
	JsLoaderScript string `json:"jsLoaderScript,omitempty"`
}

AgentApplicationSettingsBrowserProperties - General Properties related to browser applications.

type AgentApplicationSettingsDataManagement

type AgentApplicationSettingsDataManagement struct {
	// Should transaction events be sent to the internal stream.
	SendTransactionEventsToInternalStream bool `json:"sendTransactionEventsToInternalStream,omitempty"`
}

AgentApplicationSettingsDataManagement - Settings related to the management of Transaction data sent to NRDB.

type AgentApplicationSettingsErrorCollector

type AgentApplicationSettingsErrorCollector struct {
	// Enable error collector
	Enabled bool `json:"enabled,omitempty"`
	// Prevents specified exception classes from affecting error rate or Apdex score while still reporting the errors to APM.
	ExpectedErrorClasses []string `json:"expectedErrorClasses"`
	// A list comprised of individual and dashed ranges of HTTP status codes to be marked as expected and thus prevented from affecting error rate or Apdex score.
	ExpectedErrorCodes []AgentApplicationSettingsErrorCollectorHttpStatus `json:"expectedErrorCodes"`
	// Specified exception class names will be ignored and will not affect error rate or Apdex score, or be reported to APM.
	IgnoredErrorClasses []string `json:"ignoredErrorClasses"`
	// A list comprised of individual and dashed ranges of HTTP status codes that should not be treated as errors.
	IgnoredErrorCodes []AgentApplicationSettingsErrorCollectorHttpStatus `json:"ignoredErrorCodes"`
}

AgentApplicationSettingsErrorCollector - The error collector captures information about uncaught exceptions and sends them to New Relic for viewing. For more information about what these settings do and which ones are applicable for your application, please see docs.newrelic.com for more information about agent configuration for your language agent.

type AgentApplicationSettingsErrorCollectorHttpStatus

type AgentApplicationSettingsErrorCollectorHttpStatus string

AgentApplicationSettingsErrorCollectorHttpStatus - A list of HTTP status codes and/or status code ranges, such as "404" or "500-599"

type AgentApplicationSettingsRawJsConfiguration added in v2.21.2

type AgentApplicationSettingsRawJsConfiguration map[string]interface{}

AgentApplicationSettingsRawJsConfiguration - The "raw" configuration values for configuring the javascript client. NOTE: Datatype "string" generated by Tutone manually changed to "map[string]interface{}" as this is a JSON, but fetched as a string as the equivalent attribute on NerdGraph `jsConfig` is a string and has no nested attributes. Kindly DO NOT modify.

type AgentApplicationSettingsRecordSqlEnum

type AgentApplicationSettingsRecordSqlEnum string

AgentApplicationSettingsRecordSqlEnum - Obfuscation level for SQL queries reported in transaction trace nodes.

When turned on, the New Relic agent will attempt to remove values from SQL qeries.

For example:

``` SELECT * FROM Table WHERE ssn='123-45-6789' ```

might become:

``` SELECT * FROM Table WHERE ssn=? ```

This can behave differently for differnet applications and frameworks, please test for your specific case. Note: RAW collection is not campatible with High Security mode and cannot be set if your agent is running in that mode.

type AgentApplicationSettingsSlowSql

type AgentApplicationSettingsSlowSql struct {
	// If true, the agent collects slow SQL queries.
	Enabled bool `json:"enabled,omitempty"`
}

AgentApplicationSettingsSlowSql - In APM, when transaction traces are collected, there may be additional Slow query data available.

type AgentApplicationSettingsThreadProfiler

type AgentApplicationSettingsThreadProfiler struct {
	// Whether or not the Thread Profiler is enabled for your application.
	Enabled bool `json:"enabled,omitempty"`
}

AgentApplicationSettingsThreadProfiler - Thread profiler measures wall clock time, CPU time, and method call counts in your application's threads as they run.

type AgentApplicationSettingsThresholdTypeEnum

type AgentApplicationSettingsThresholdTypeEnum string

AgentApplicationSettingsThresholdTypeEnum - Determines whether a threshold is statically configured or dynamically configured.

type AgentApplicationSettingsTracer

type AgentApplicationSettingsTracer string

AgentApplicationSettingsTracer - The type of tracing being done.

type AgentApplicationSettingsTransactionTracer

type AgentApplicationSettingsTransactionTracer struct {
	// Enable or disable the capture of memcache keys from transaction traces.
	CaptureMemcacheKeys bool `json:"captureMemcacheKeys,omitempty"`
	// If true, this enables the Transaction Tracer feature, enabling collection of transaction traces.
	Enabled bool `json:"enabled,omitempty"`
	// If true, enables the collection of explain plans in transaction traces. This setting will also apply to explain plans in slow SQL traces if slow_sql.explain_enabled is not set separately.
	ExplainEnabled bool `json:"explainEnabled,omitempty"`
	// Relevant only when explain_enabled is true. Can be set to automatic configuration (APDEX_F) or manual (see explainThresholdValue).
	ExplainThresholdType AgentApplicationSettingsThresholdTypeEnum `json:"explainThresholdType,omitempty"`
	// Threshold (in seconds) above which the agent will collect explain plans. Relevant only when explainEnabled is true and explainThresholdType is set to VALUE.
	ExplainThresholdValue nrtime.Seconds `json:"explainThresholdValue,omitempty"`
	// Set to true to enable logging of queries to the agent log file instead of uploading to New Relic. Queries are logged using the record_sql mode.
	LogSql bool `json:"logSql,omitempty"`
	// Obfuscation level for SQL queries reported in transaction trace nodes.
	RecordSql AgentApplicationSettingsRecordSqlEnum `json:"recordSql,omitempty"`
	// Specify a threshold in seconds. The agent includes stack traces in transaction trace nodes when the stack trace duration exceeds this threshold.
	StackTraceThreshold nrtime.Seconds `json:"stackTraceThreshold,omitempty"`
	// Relevant only when TransactionTracer is enabled. Can be set to automatic configuration (APDEX_F) or manual (see TransactionThresholdValue).
	TransactionThresholdType AgentApplicationSettingsThresholdTypeEnum `json:"transactionThresholdType,omitempty"`
	// Threshold (in seconds) that transactions with a duration longer than this threshold are eligible for transaction traces.  Relevant only when Transaction Tracer is enabled and transaction_threshold_type is set to VALUE.
	TransactionThresholdValue nrtime.Seconds `json:"transactionThresholdValue,omitempty"`
}

AgentApplicationSettingsTransactionTracer - Transaction Tracer settings related to APM applications. For more information about what these settings do and which ones are applicable for your application, please see docs.newrelic.com for more information about agent configuration for your language agent.

type AgentEnvironmentApplicationInstance

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

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

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

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

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

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 AgentTracesErrorTrace

type AgentTracesErrorTrace struct {
	// Map of attributes collected by the agent.
	AgentAttributes AgentTracesTraceAttributes `json:"agentAttributes,omitempty"`
	// Error count.
	Count int `json:"count,omitempty"`
	// Exception class.
	ExceptionClass string `json:"exceptionClass,omitempty"`
	// Agent host.
	Host string `json:"host,omitempty"`
	// Trace identifier.
	ID string `json:"id"`
	// Map Attributes which can not be turned off by the user.These are generally not shown to the customer (NR only).
	IntrinsicAttributes AgentTracesTraceAttributes `json:"intrinsicAttributes,omitempty"`
	// Error message.
	Message string `json:"message,omitempty"`
	// Path, as definted by agents.
	Path string `json:"path"`
	// Error stack trace.
	StackTrace []AgentTracesStackTraceFrame `json:"stackTrace,omitempty"`
	// When the error occurred.
	StartTime *nrtime.EpochMilliseconds `json:"startTime"`
	// URI.
	Uri string `json:"uri,omitempty"`
	// Map of attributes collected by the user using the API.
	UserAttributes AgentTracesTraceAttributes `json:"userAttributes,omitempty"`
}

AgentTracesErrorTrace - An object that represents an error trace sample.

type AgentTracesErrorTraceOrderBy

type AgentTracesErrorTraceOrderBy struct {
	// Order by direction.
	Direction AgentTracesOrderByDirection `json:"direction,omitempty"`
	// Field to order by.
	Field AgentTracesErrorTraceOrderByField `json:"field"`
}

AgentTracesErrorTraceOrderBy - An object that represents error trace ordering.

type AgentTracesErrorTraceOrderByField

type AgentTracesErrorTraceOrderByField string

AgentTracesErrorTraceOrderByField - The different error trace fields to order by.

type AgentTracesErrorTraceQuery

type AgentTracesErrorTraceQuery struct {
	// Exception class pattern. Wildcard (SQL LIKE syntax)
	ExceptionClassPattern string `json:"exceptionClassPattern,omitempty"`
	// List of trace Ids.
	IDs []string `json:"ids,omitempty"`
	// Maximum number of traces returned.
	Limit int `json:"limit,omitempty"`
	// Error message pattern. Wildcard (SQL LIKE syntax)
	MessagePattern string `json:"messagePattern,omitempty"`
	// Error trace ordering.
	OrderBy AgentTracesErrorTraceOrderBy `json:"orderBy,omitempty"`
	// Error path pattern. Wildcard (SQL LIKE syntax)
	PathPattern string `json:"pathPattern,omitempty"`
	// End time.
	StartTimeMax *nrtime.EpochMilliseconds `json:"startTimeMax,omitempty"`
	// Start time.
	StartTimeMin *nrtime.EpochMilliseconds `json:"startTimeMin,omitempty"`
}

AgentTracesErrorTraceQuery - An object that reppresents an error trace query.

type AgentTracesExplainPlan

type AgentTracesExplainPlan struct {
	// Explain plan headers.
	Headers []string `json:"headers,omitempty"`
	// Explain plan rows.
	Rows []AgentTracesExplainPlanRow `json:"rows,omitempty"`
}

AgentTracesExplainPlan - An object representing a sql explain plan.

type AgentTracesExplainPlanRow

type AgentTracesExplainPlanRow string

AgentTracesExplainPlanRow - This scalar represents a explain plan row (list of values)

type AgentTracesOrderByDirection

type AgentTracesOrderByDirection string

AgentTracesOrderByDirection - Order by diraction

type AgentTracesQueryParameters

type AgentTracesQueryParameters string

AgentTracesQueryParameters - This scalar represents a map of sql query parameters in the form of key-value pairs.

type AgentTracesSqlTrace

type AgentTracesSqlTrace struct {
	// Backtrace
	Backtrace []AgentTracesStackTraceFrame `json:"backtrace,omitempty"`
	// Number of SQL statements like this.
	CallCount int `json:"callCount,omitempty"`
	// Database instance name
	DatabaseInstanceName string `json:"databaseInstanceName,omitempty"`
	// Database metric name, as defined by agents.
	DatabaseMetricName string `json:"databaseMetricName"`
	// Database name
	DatabaseName string `json:"databaseName,omitempty"`
	// Explain plan
	ExplainPlan AgentTracesExplainPlan `json:"explainPlan,omitempty"`
	// Trace identifier.
	ID string `json:"id"`
	// Call time, maximum of all `call_count` traces.
	MaxCallTime Milliseconds `json:"maxCallTime,omitempty"`
	// Call time, minimum of all `call_count` traces.
	MinCallTime Milliseconds `json:"minCallTime,omitempty"`
	// ORM input query
	OrmInputQuery string `json:"ormInputQuery,omitempty"`
	// ORM name
	OrmName string `json:"ormName,omitempty"`
	// Path, as definted by agents.
	Path string `json:"path"`
	// Query parameters
	QueryParameters AgentTracesQueryParameters `json:"queryParameters,omitempty"`
	// SQL statement.
	Sql string `json:"sql,omitempty"`
	// An agent generated `sql_id`.
	SqlId string `json:"sqlId"`
	// When the SQL query occurred.
	StartTime *nrtime.EpochMilliseconds `json:"startTime"`
	// Call time, as added across all `call_count` traces.
	TotalCallTime Milliseconds `json:"totalCallTime,omitempty"`
	// URI of SQL, as defined by agents.
	Uri string `json:"uri"`
}

AgentTracesSqlTrace - An object that represents a sql trace sample.

type AgentTracesSqlTraceOrderBy

type AgentTracesSqlTraceOrderBy struct {
	// Order by direction.
	Direction AgentTracesOrderByDirection `json:"direction,omitempty"`
	// Field to order by.
	Field AgentTracesSqlTraceOrderByField `json:"field"`
}

AgentTracesSqlTraceOrderBy - An object that represents SQL trace ordering

type AgentTracesSqlTraceOrderByField

type AgentTracesSqlTraceOrderByField string

AgentTracesSqlTraceOrderByField - The different SQL trace fields to order by.

type AgentTracesSqlTraceQuery

type AgentTracesSqlTraceQuery struct {
	// Database metric name pattern. Wildcard (SQL LIKE syntax)
	DatabaseMetricNamePattern string `json:"databaseMetricNamePattern,omitempty"`
	// List of trace Ids.
	IDs []string `json:"ids,omitempty"`
	// Maximum number of traces returned.
	Limit int `json:"limit,omitempty"`
	// SQL trace ordering.
	OrderBy AgentTracesSqlTraceOrderBy `json:"orderBy,omitempty"`
	// Path pattern. Wildcard (SQL LIKE syntax)
	PathPattern string `json:"pathPattern,omitempty"`
	// An agent generated `sql_id`.
	SqlId string `json:"sqlId,omitempty"`
	// SQL pattern. Wildcard (SQL LIKE syntax)
	SqlPattern string `json:"sqlPattern,omitempty"`
	// End time.
	StartTimeMax *nrtime.EpochMilliseconds `json:"startTimeMax,omitempty"`
	// Start time.
	StartTimeMin *nrtime.EpochMilliseconds `json:"startTimeMin,omitempty"`
	// URI pattern. Wildcard (SQL LIKE syntax)
	UriPattern string `json:"uriPattern,omitempty"`
}

AgentTracesSqlTraceQuery - An object that reppresents a SQL trace query.

type AgentTracesStackTraceFrame

type AgentTracesStackTraceFrame struct {
	// Frame filepath
	Filepath string `json:"filepath,omitempty"`
	// Formatted frame
	Formatted string `json:"formatted"`
	// Frame line number
	Line int `json:"line,omitempty"`
	// Frame name
	Name string `json:"name,omitempty"`
}

AgentTracesStackTraceFrame - An object representing an stack trace segment

type AgentTracesTraceAttributes

type AgentTracesTraceAttributes string

AgentTracesTraceAttributes - This scalar represents a map of attributes in the form of key-value pairs.

type AgentTracesTransactionTrace

type AgentTracesTransactionTrace struct {
	// Map of attributes collected by the agent.
	AgentAttributes AgentTracesTraceAttributes `json:"agentAttributes,omitempty"`
	// Duration from when the response is received to when the response is returned in milliseconds.
	Duration Milliseconds `json:"duration"`
	// List of trace segment edges.
	Edges []AgentTracesTransactionTraceEdge `json:"edges,omitempty"`
	// GUID of the transaction which was used for CAT.
	GUID string `json:"guid,omitempty"`
	// Trace identifier
	ID string `json:"id,omitempty"`
	// Map Attributes which can not be turned off by the user.These are generally not shown to the customer (NR only).
	IntrinsicAttributes AgentTracesTraceAttributes `json:"intrinsicAttributes,omitempty"`
	// List of trace segment nodes.
	Nodes []AgentTracesTransactionTraceNode `json:"nodes,omitempty"`
	// The transaction metric name.
	Path string `json:"path"`
	// Agent protocol version.
	ProtocolVersion int `json:"protocolVersion"`
	// Transaction start time in milliseconds since the unix epoch.
	StartTime *nrtime.EpochMilliseconds `json:"startTime"`
	// The transaction url.
	Uri string `json:"uri"`
	// Map of attributes collected by the user using the API.
	UserAttributes AgentTracesTraceAttributes `json:"userAttributes,omitempty"`
}

AgentTracesTransactionTrace - An object that represents a transaction trace sample.

type AgentTracesTransactionTraceEdge

type AgentTracesTransactionTraceEdge struct {
	// Child segment GUID.
	ChildId string `json:"childId,omitempty"`
	// Parent segment GUID.
	ParentId string `json:"parentId,omitempty"`
}

AgentTracesTransactionTraceEdge - An object that represents parent/child relationship between to trace segment nodes

type AgentTracesTransactionTraceNode

type AgentTracesTransactionTraceNode struct {
	// Map of segment attributes.
	Attributes AgentTracesTraceAttributes `json:"attributes,omitempty"`
	// Segment duration.
	Duration Milliseconds `json:"duration,omitempty"`
	// Segment exlusive duration.
	ExclusiveDurationMs *nrtime.EpochMilliseconds `json:"exclusiveDurationMs,omitempty"`
	// Segment ID.
	ID string `json:"id,omitempty"`
	// Segment name.
	Name string `json:"name,omitempty"`
	// Segment start time in milliseconds since the unix epoch.
	Timestamp *nrtime.EpochMilliseconds `json:"timestamp,omitempty"`
}

AgentTracesTransactionTraceNode - An object that represent a Trace Node.

type AgentTracesTransactionTraceOrderBy

type AgentTracesTransactionTraceOrderBy struct {
	// Order by direction.
	Direction AgentTracesOrderByDirection `json:"direction,omitempty"`
	// Field to order by.
	Field AgentTracesTransactionTraceOrderByField `json:"field"`
}

AgentTracesTransactionTraceOrderBy - An object that represents transaction trace ordering.

type AgentTracesTransactionTraceOrderByField

type AgentTracesTransactionTraceOrderByField string

AgentTracesTransactionTraceOrderByField - The different transaction trace fields to order by.

type AgentTracesTransactionTraceQuery

type AgentTracesTransactionTraceQuery struct {
	// Exact GUIDs.
	GUIDs []string `json:"guids,omitempty"`
	// List of trace Ids.
	IDs []string `json:"ids,omitempty"`
	// Maximum number of traces returned.
	Limit int `json:"limit,omitempty"`
	// Transaction trace ordering.
	OrderBy AgentTracesTransactionTraceOrderBy `json:"orderBy,omitempty"`
	// Parameters pattern. Wildcard (SQL LIKE syntax)
	ParametersPattern string `json:"parametersPattern,omitempty"`
	// Transaction path pattern. Wildcard (SQL LIKE syntax)
	PathPattern string `json:"pathPattern,omitempty"`
	// Exact paths.
	Paths []string `json:"paths,omitempty"`
	// List of Real Agent Ids
	RealAgentIds []string `json:"realAgentIds,omitempty"`
	// End time.
	StartTimeMax *nrtime.EpochMilliseconds `json:"startTimeMax,omitempty"`
	// Start time.
	StartTimeMin *nrtime.EpochMilliseconds `json:"startTimeMin,omitempty"`
	// URL pattern. Wildcard (SQL LIKE syntax)
	URLPattern string `json:"urlPattern,omitempty"`
}

AgentTracesTransactionTraceQuery - An object that reppresents a transaction trace query.

type AiNotificationsAuth

type AiNotificationsAuth struct {
}

AiNotificationsAuth - Authentication interface

func (*AiNotificationsAuth) ImplementsAiNotificationsAuth

func (x *AiNotificationsAuth) ImplementsAiNotificationsAuth()

type AiNotificationsAuthInterface

type AiNotificationsAuthInterface interface {
	ImplementsAiNotificationsAuth()
}

AiNotificationsAuth - Authentication interface

func UnmarshalAiNotificationsAuthInterface

func UnmarshalAiNotificationsAuthInterface(b []byte) (*AiNotificationsAuthInterface, error)

UnmarshalAiNotificationsAuthInterface unmarshals the interface into the correct type based on __typename provided by GraphQL

type AiNotificationsChannel

type AiNotificationsChannel struct {
	// The accountId of the creator of the channel
	AccountID int `json:"accountId"`
	// Is channel active
	Active bool `json:"active"`
	// Channel creation time
	CreatedAt nrtime.DateTime `json:"createdAt"`
	// Related destination type
	DestinationId string `json:"destinationId"`
	// Channel id
	ID string `json:"id"`
	// Channel name
	Name string `json:"name"`
	// Related product type
	Product AiNotificationsProduct `json:"product"`
	// List of destination property types
	Properties []AiNotificationsProperty `json:"properties"`
	// Channel Status
	Status AiNotificationsChannelStatus `json:"status"`
	// Channel type
	Type AiNotificationsChannelType `json:"type"`
	// Channel last update time
	UpdatedAt nrtime.DateTime `json:"updatedAt"`
	// Message template creator userId
	UpdatedBy int `json:"updatedBy"`
}

AiNotificationsChannel - Channel object

type AiNotificationsChannelStatus

type AiNotificationsChannelStatus string

AiNotificationsChannelStatus - Channel statuses

type AiNotificationsChannelType

type AiNotificationsChannelType string

AiNotificationsChannelType - Channel type

type AiNotificationsDestination

type AiNotificationsDestination struct {
	// The accountId of the creator of the destination
	AccountID int `json:"accountId"`
	// Destination active
	Active bool `json:"active"`
	// Authentication for this destination
	Auth AiNotificationsAuth `json:"auth,omitempty"`
	// Destination created at
	CreatedAt nrtime.DateTime `json:"createdAt"`
	// Destination id
	ID string `json:"id"`
	// Indicates whether the user is authenticated with the destination
	IsUserAuthenticated bool `json:"isUserAuthenticated"`
	// Last time a notification was sent
	LastSent nrtime.DateTime `json:"lastSent,omitempty"`
	// Destination name
	Name string `json:"name"`
	// List of destination property types
	Properties []AiNotificationsProperty `json:"properties"`
	// Destination status
	Status AiNotificationsDestinationStatus `json:"status"`
	// Destination type
	Type AiNotificationsDestinationType `json:"type"`
	// Destination updated at
	UpdatedAt nrtime.DateTime `json:"updatedAt"`
	// Destination updated by
	UpdatedBy int `json:"updatedBy"`
}

AiNotificationsDestination - Destination Object

func (*AiNotificationsDestination) UnmarshalJSON

func (x *AiNotificationsDestination) UnmarshalJSON(b []byte) error

special

type AiNotificationsDestinationStatus

type AiNotificationsDestinationStatus string

AiNotificationsDestinationStatus - Destination statuses

type AiNotificationsDestinationType

type AiNotificationsDestinationType string

AiNotificationsDestinationType - Destination types

type AiNotificationsProduct

type AiNotificationsProduct string

AiNotificationsProduct - Product types

type AiNotificationsProperty

type AiNotificationsProperty struct {
	// Channel property display key
	DisplayValue string `json:"displayValue,omitempty"`
	// Channel property key
	Key string `json:"key"`
	// Channel property display key
	Label string `json:"label,omitempty"`
	// Channel property value
	Value string `json:"value"`
}

AiNotificationsProperty - Channel property Object

type AiNotificationsSuggestion

type AiNotificationsSuggestion struct {
	// Suggestion label
	DisplayValue string `json:"displayValue"`
	// Should suggestion be the default selection
	Icon string `json:"icon,omitempty"`
	// Suggestion key
	Value string `json:"value"`
}

AiNotificationsSuggestion - Suggestion object

type AiNotificationsVariable

type AiNotificationsVariable struct {
	// Is variable active
	Active bool `json:"active"`
	// Variable creation time
	CreatedAt nrtime.DateTime `json:"createdAt"`
	// Variable description
	Description string `json:"description,omitempty"`
	// Variable example
	Example string `json:"example"`
	// Variable id
	ID string `json:"id"`
	// Variable key
	Key string `json:"key"`
	// Variable label
	Label string `json:"label,omitempty"`
	// Variable name
	Name string `json:"name"`
	// Related product type
	Product AiNotificationsProduct `json:"product"`
	// Variable type
	Type AiNotificationsVariableType `json:"type"`
	// Variable update time
	UpdatedAt nrtime.DateTime `json:"updatedAt"`
	// Variable creator userId
	UpdatedBy int `json:"updatedBy"`
}

AiNotificationsVariable - Variable object

type AiNotificationsVariableType

type AiNotificationsVariableType string

AiNotificationsVariableType - Variable types

type AiOpsEventsQueryContext

type AiOpsEventsQueryContext string

AiOpsEventsQueryContext - User preference context by which to scope event query results

type AiOpsIncidentIntelligenceDestination

type AiOpsIncidentIntelligenceDestination struct {
	// The id of the Incident Intelligence environment to which events will be sent.
	EnvironmentId int `json:"environmentId"`
}

AiOpsIncidentIntelligenceDestination - Destination containing information required to send events to Incident Intelligence.

type AiOpsMonitoredSignal

type AiOpsMonitoredSignal struct {
	// Whether or not the signal is enabled.
	Enabled bool `json:"enabled"`
	// The type of signal that is being monitored.
	SignalType AiOpsSignalType `json:"signalType"`
}

AiOpsMonitoredSignal - Description of a signal that is being monitored.

type AiOpsProactiveDetection

type AiOpsProactiveDetection struct {
	// Retrieve all Proactive Detection configurations
	Configurations AiOpsProactiveDetectionConfigSearchResults `json:"configurations,omitempty"`
	// Retrieve Proactive Detection-related events for an entity
	Events AiOpsProactiveDetectionEventsResult `json:"events,omitempty"`
}

AiOpsProactiveDetection - Data related to Proactive Detection

type AiOpsProactiveDetectionConfig

type AiOpsProactiveDetectionConfig struct {
	// The account to which the Proactive Detection configuration belongs.
	Account accounts.AccountReference `json:"account,omitempty"`
	// The entities whose real time failure warnings will be sent to the configured slack channels.
	Entities []EntityOutlineInterface `json:"entities"`
	// The number of entities being monitored
	EntityCount int `json:"entityCount"`
	// The unique id of the Proactive Detection configuration.
	ID string `json:"id"`
	// The list of incident intelligence destinations to notify when a real time failure warning is detected.
	IncidentIntelligenceDestinations []AiOpsIncidentIntelligenceDestination `json:"incidentIntelligenceDestinations"`
	// Timestamp of the last time the configuration was updated.
	LastUpdatedAt *nrtime.EpochMilliseconds `json:"lastUpdatedAt,omitempty"`
	// The list of signals that the configuration is monitoring.
	MonitoredSignals []AiOpsMonitoredSignal `json:"monitoredSignals"`
	// The name of the configuration
	Name string `json:"name,omitempty"`
	// The list of slack channels to notify when a real time failure warning is detected.
	SlackChannels []AiOpsSlackChannel `json:"slackChannels"`
	// The list of webhooks to notify when a real time failure warning is detected.
	Webhooks []AiOpsWebhook `json:"webhooks"`
}

AiOpsProactiveDetectionConfig - A Proactive Detection configuration. These allow users to subscribe to events detected by the AiOps platform.

func (*AiOpsProactiveDetectionConfig) UnmarshalJSON

func (x *AiOpsProactiveDetectionConfig) UnmarshalJSON(b []byte) error

special

type AiOpsProactiveDetectionConfigOutline

type AiOpsProactiveDetectionConfigOutline struct {
	// The account to which the Proactive Detection configuration belongs.
	Account accounts.AccountReference `json:"account,omitempty"`
	// The unique id of the Proactive Detection configuration.
	ID string `json:"id"`
	// The name of the configuration
	Name string `json:"name,omitempty"`
}

AiOpsProactiveDetectionConfigOutline - Simplified version of a Proactive Detection configuration

type AiOpsProactiveDetectionConfigSearchResults

type AiOpsProactiveDetectionConfigSearchResults struct {
	// The number of Proactive Detection configurations matching the search result.
	Count int `json:"count"`
	// The list of Proactive Detection configurations that were found.
	Results []AiOpsProactiveDetectionConfig `json:"results"`
}

AiOpsProactiveDetectionConfigSearchResults - The result of any operation that is querying Proactive Detection configurations.

type AiOpsProactiveDetectionEntityEventsQuery

type AiOpsProactiveDetectionEntityEventsQuery struct {
	// User preference context to scope query by
	Context AiOpsEventsQueryContext `json:"context,omitempty"`
	// Cursor to paginate results by
	Cursor string `json:"cursor,omitempty"`
	// Filter to events that were recorded at or before this timestamp
	EndTime *nrtime.EpochMilliseconds `json:"endTime"`
	// Filter to these Proactive Detection event types
	FilterTypes []AiOpsProactiveDetectionEventType `json:"filterTypes"`
	// Filter to events that were recorded at or after this timestamp
	StartTime *nrtime.EpochMilliseconds `json:"startTime"`
}

AiOpsProactiveDetectionEntityEventsQuery - Criteria used to filter Proactive Detection events by entity

type AiOpsProactiveDetectionEvent

type AiOpsProactiveDetectionEvent struct {
	// Account ID of the event
	AccountID int `json:"accountId"`
	// Anomaly ID of the event
	AnomalyId string `json:"anomalyId"`
	// Human readable category related to the type of signal evaluated
	Category string `json:"category"`
	// Flag describing the configuration type associated with the event.
	ConfigurationType AiOpsProactiveDetectionEventConfigurationType `json:"configurationType"`
	// Related configurations
	Configurations []AiOpsProactiveDetectionConfigOutline `json:"configurations"`
	// Description of the event
	Description string `json:"description"`
	// The time the event ended
	EndedAt *nrtime.EpochMilliseconds `json:"endedAt,omitempty"`
	// The Entity associated with the event
	Entity EntityOutlineInterface `json:"entity"`
	// ID of the event
	ID string `json:"id"`
	// Flag describing the monitoring status of the entity associated with the event.
	MonitoringStatus AiOpsProactiveDetectionEventMonitoringStatus `json:"monitoringStatus"`
	// Nrql query that can be used to chart the event
	NRQL nrdb.NRQL `json:"nrql"`
	// Type of signal that was evaluated
	SignalId string `json:"signalId"`
	// DEPRECATED - Use SignalId - Type of signal that was evaluated
	SignalType AiOpsSignalType `json:"signalType"`
	// The time the event started
	StartedAt *nrtime.EpochMilliseconds `json:"startedAt"`
	// The time the event was recorded
	Timestamp *nrtime.EpochMilliseconds `json:"timestamp"`
	// Human readable version of the event type
	Title string `json:"title"`
	// Type of event
	Type AiOpsProactiveDetectionEventType `json:"type"`
}

AiOpsProactiveDetectionEvent - A Proactive Detection event

func (*AiOpsProactiveDetectionEvent) UnmarshalJSON

func (x *AiOpsProactiveDetectionEvent) UnmarshalJSON(b []byte) error

special

type AiOpsProactiveDetectionEventConfigurationType

type AiOpsProactiveDetectionEventConfigurationType string

AiOpsProactiveDetectionEventConfigurationType - The type of configuration that is monitoring the event.

type AiOpsProactiveDetectionEventMonitoringStatus

type AiOpsProactiveDetectionEventMonitoringStatus string

AiOpsProactiveDetectionEventMonitoringStatus - Proactive Detection monitoring status

type AiOpsProactiveDetectionEventType

type AiOpsProactiveDetectionEventType string

AiOpsProactiveDetectionEventType - Proactive Detection event types

type AiOpsProactiveDetectionEventsResult

type AiOpsProactiveDetectionEventsResult struct {
	// Cursor to fetch additional events; null if no additional results
	NextCursor string `json:"nextCursor,omitempty"`
	// List of Proactive Detection events filtered by criteria
	Results []AiOpsProactiveDetectionEvent `json:"results"`
}

AiOpsProactiveDetectionEventsResult - Result of a query to retrieve Proactive Detection events

type AiOpsSignalType

type AiOpsSignalType string

AiOpsSignalType - The signal type

type AiOpsSlackChannel

type AiOpsSlackChannel struct {
	// The id of the channel
	ChannelId string `json:"channelId"`
	// The name of the channel.
	ChannelName string `json:"channelName"`
	// The id of the team to which the channel belongs.
	TeamId string `json:"teamId"`
	// The name of the team to which the channel belongs.
	TeamName string `json:"teamName"`
	// time zone set by the user creating the Slack destination configuration, stored as IANA database name string
	TimeZone string `json:"timeZone,omitempty"`
	// The default visibility of the slack channel in the UI -- PUBLIC or PRIVATE
	// If private, the user does not have permission to see the information about the slack channel.
	// If public, the user has permission to see the information about the slack channel.
	Visibility string `json:"visibility"`
}

AiOpsSlackChannel - The information needed to identify a slack channel.

type AiOpsWebhook

type AiOpsWebhook struct {
	// The custom headers that will be included when the message is delivered
	CustomHeaders []AiOpsWebhookCustomHeader `json:"customHeaders"`
	// The information describing the payload that will be provided when the webhook is called
	PayloadMetadata AiOpsWebhookPayloadMetadata `json:"payloadMetadata,omitempty"`
	// The url to which messages will be delivered
	URL string `json:"url"`
}

AiOpsWebhook - The information needed to communicate with a webhook.

type AiOpsWebhookCustomHeader

type AiOpsWebhookCustomHeader struct {
	// The name of the custom header that will be included in the webhook message
	Name string `json:"name"`
	// The value of the custom header that will be included in the webhook message
	Value string `json:"value"`
	// The default visibility of the value in the UI text input-- PUBLIC or PRIVATE
	// Setting this PRIVATE will obfuscate the field in the UI on page load
	Visibility string `json:"visibility"`
}

AiOpsWebhookCustomHeader - A custom header that will be provided when calling the webhook.

type AiOpsWebhookPayloadMetadata

type AiOpsWebhookPayloadMetadata struct {
	// The template that will be used when the webhook is called
	Template string `json:"template"`
	// The type of template that will be used when the webhook is called
	TemplateType AiOpsWebhookPayloadTemplateType `json:"templateType,omitempty"`
	// The version of the payload
	Version string `json:"version"`
}

AiOpsWebhookPayloadMetadata - The information describing the payload that will be provided when the webhook is called

type AiOpsWebhookPayloadTemplateType

type AiOpsWebhookPayloadTemplateType string

AiOpsWebhookPayloadTemplateType - The type of template that will be used when the webhook is called.

type AiWorkflowsConfiguration

type AiWorkflowsConfiguration struct {
}

AiWorkflowsConfiguration - Enrichment configuration object

func (*AiWorkflowsConfiguration) ImplementsAiWorkflowsConfiguration

func (x *AiWorkflowsConfiguration) ImplementsAiWorkflowsConfiguration()

type AiWorkflowsConfigurationInterface

type AiWorkflowsConfigurationInterface interface {
	ImplementsAiWorkflowsConfiguration()
}

AiWorkflowsConfiguration - Enrichment configuration object

func UnmarshalAiWorkflowsConfigurationInterface

func UnmarshalAiWorkflowsConfigurationInterface(b []byte) (*AiWorkflowsConfigurationInterface, error)

UnmarshalAiWorkflowsConfigurationInterface unmarshals the interface into the correct type based on __typename provided by GraphQL

type AiWorkflowsDestinationConfiguration

type AiWorkflowsDestinationConfiguration struct {
	// Channel Id of the Destination Configuration
	ChannelId string `json:"channelId"`
	// Name of the Destination Configuration
	Name string `json:"name"`
	// Type of the Destination Configuration
	Type AiWorkflowsDestinationType `json:"type"`
}

AiWorkflowsDestinationConfiguration - Destination Configuration Object

type AiWorkflowsDestinationType

type AiWorkflowsDestinationType string

AiWorkflowsDestinationType - Type of Destination Configuration

type AiWorkflowsEnrichment

type AiWorkflowsEnrichment struct {
	// Account Id of the Enrichment
	AccountID int `json:"accountId"`
	// List of configurations for the enrichment
	Configuration []AiWorkflowsConfiguration `json:"configuration"`
	// The time the Enrichment was created
	CreatedAt nrtime.DateTime `json:"createdAt"`
	// Enrichment Id
	ID string `json:"id"`
	// Name of the Enrichment
	Name string `json:"name"`
	// Type of the Enrichment
	Type AiWorkflowsEnrichmentType `json:"type"`
	// The time the Enrichment was last updated
	UpdatedAt nrtime.DateTime `json:"updatedAt"`
}

AiWorkflowsEnrichment - Enrichment Object

func (*AiWorkflowsEnrichment) UnmarshalJSON

func (x *AiWorkflowsEnrichment) UnmarshalJSON(b []byte) error

special

type AiWorkflowsEnrichmentType

type AiWorkflowsEnrichmentType string

AiWorkflowsEnrichmentType - Type of Enrichment

type AiWorkflowsFilter

type AiWorkflowsFilter struct {
	// Account ID of this Filter
	AccountID int `json:"accountId"`
	// Filter ID
	ID string `json:"id"`
	// Name of the Filter
	Name string `json:"name"`
	// Rules of the Filter
	Predicates []AiWorkflowsPredicate `json:"predicates"`
	// The type of the Filter
	Type AiWorkflowsFilterType `json:"type"`
}

AiWorkflowsFilter - Filter Object

type AiWorkflowsFilterType

type AiWorkflowsFilterType string

AiWorkflowsFilterType - Type of Filter

type AiWorkflowsOperator

type AiWorkflowsOperator string

AiWorkflowsOperator - Type of Filter

type AiWorkflowsPredicate

type AiWorkflowsPredicate struct {
	// Index of the predicate
	Attribute string `json:"attribute"`
	// Type of comparison
	Operator AiWorkflowsOperator `json:"operator"`
	// Values to compare
	Values []string `json:"values"`
}

AiWorkflowsPredicate - Predicate Object

type AiWorkflowsWorkflow

type AiWorkflowsWorkflow struct {
	// Account Id of this Workflow
	AccountID int `json:"accountId"`
	// The time the Workflow was created
	CreatedAt nrtime.DateTime `json:"createdAt"`
	// List of destination configurations that are attached to the workflow
	DestinationConfigurations []AiWorkflowsDestinationConfiguration `json:"destinationConfigurations"`
	// Are Destinations enabled
	DestinationsEnabled bool `json:"destinationsEnabled"`
	// List of enrichments that are attached to the workflow
	Enrichments []AiWorkflowsEnrichment `json:"enrichments"`
	// Is Enrichments enabled
	EnrichmentsEnabled bool `json:"enrichmentsEnabled"`
	// Filter attached to the Workflow
	Filter AiWorkflowsFilter `json:"filter"`
	// Workflow Id
	ID string `json:"id"`
	// Last time a notification was sent regarding this workflow
	LastRun nrtime.DateTime `json:"lastRun,omitempty"`
	// Name of the Workflow
	Name string `json:"name"`
	// The time the Workflow was last updated
	UpdatedAt nrtime.DateTime `json:"updatedAt"`
	// Is Workflow enabled
	WorkflowEnabled bool `json:"workflowEnabled"`
}

AiWorkflowsWorkflow - Workflow object

type AlertableEntity

type AlertableEntity struct {
	// The current alerting severity of the entity.
	AlertSeverity EntityAlertSeverity `json:"alertSeverity,omitempty"`
	// The alert status of the entity.
	AlertStatus EntityAlertStatus `json:"alertStatus,omitempty"`
	// Violations on the entity that were open during the specified time window. This will return up to 500 violations - if there are more in the time window selected, you must narrow the timewindow or look at fewer entities.
	AlertViolations []EntityAlertViolation `json:"alertViolations,omitempty"`
	// Recent violations on the entity.
	RecentAlertViolations []EntityAlertViolation `json:"recentAlertViolations,omitempty"`
}

func (AlertableEntity) GetAlertSeverity

func (x AlertableEntity) GetAlertSeverity() EntityAlertSeverity

GetAlertSeverity returns a pointer to the value of AlertSeverity from AlertableEntity

func (AlertableEntity) GetAlertStatus

func (x AlertableEntity) GetAlertStatus() EntityAlertStatus

GetAlertStatus returns a pointer to the value of AlertStatus from AlertableEntity

func (AlertableEntity) GetAlertViolations

func (x AlertableEntity) GetAlertViolations() []EntityAlertViolation

GetAlertViolations returns a pointer to the value of AlertViolations from AlertableEntity

func (AlertableEntity) GetRecentAlertViolations

func (x AlertableEntity) GetRecentAlertViolations() []EntityAlertViolation

GetRecentAlertViolations returns a pointer to the value of RecentAlertViolations from AlertableEntity

func (*AlertableEntity) ImplementsAlertableEntity

func (x *AlertableEntity) ImplementsAlertableEntity()

type AlertableEntityInterface

type AlertableEntityInterface interface {
	ImplementsAlertableEntity()
}

func UnmarshalAlertableEntityInterface

func UnmarshalAlertableEntityInterface(b []byte) (*AlertableEntityInterface, error)

UnmarshalAlertableEntityInterface unmarshals the interface into the correct type based on __typename provided by GraphQL

type AlertableEntityOutline

type AlertableEntityOutline struct {
	// The current alerting severity of the entity.
	AlertSeverity EntityAlertSeverity `json:"alertSeverity,omitempty"`
	// The alert status of the entity.
	AlertStatus EntityAlertStatus `json:"alertStatus,omitempty"`
}

func (AlertableEntityOutline) GetAlertSeverity

func (x AlertableEntityOutline) GetAlertSeverity() EntityAlertSeverity

GetAlertSeverity returns a pointer to the value of AlertSeverity from AlertableEntityOutline

func (AlertableEntityOutline) GetAlertStatus

func (x AlertableEntityOutline) GetAlertStatus() EntityAlertStatus

GetAlertStatus returns a pointer to the value of AlertStatus from AlertableEntityOutline

func (*AlertableEntityOutline) ImplementsAlertableEntityOutline

func (x *AlertableEntityOutline) ImplementsAlertableEntityOutline()

func (AlertableEntityOutline) ImplementsEntity

func (x AlertableEntityOutline) ImplementsEntity()

Need Outlines to also implement Entity

type AlertableEntityOutlineInterface

type AlertableEntityOutlineInterface interface {
	ImplementsAlertableEntityOutline()
}

func UnmarshalAlertableEntityOutlineInterface

func UnmarshalAlertableEntityOutlineInterface(b []byte) (*AlertableEntityOutlineInterface, error)

UnmarshalAlertableEntityOutlineInterface unmarshals the interface into the correct type based on __typename provided by GraphQL

type ApmAgentInstrumentedServiceEntity

type ApmAgentInstrumentedServiceEntity 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 alert status of the entity.
	AlertStatus EntityAlertStatus `json:"alertStatus,omitempty"`
	// Violations on the entity that were open during the specified time window. This will return up to 500 violations - if there are more in the time window selected, you must narrow the timewindow or look at fewer entities.
	AlertViolations []EntityAlertViolation `json:"alertViolations,omitempty"`
	// Summary statistics about the Browser App injected by an APM Application.
	ApmBrowserSummary ApmBrowserApplicationSummaryData `json:"apmBrowserSummary,omitempty"`
	// Settings that are common across APM applications.
	ApmSettings AgentApplicationSettingsApmBase `json:"apmSettings,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"`
	// Query upstream and downstream dependencies for an entity
	Connections RelatedExternalsEntityResult `json:"connections,omitempty"`
	// The list of dashboard templates available for this entity.
	DashboardTemplates []EntityDashboardTemplatesDashboardTemplate `json:"dashboardTemplates"`
	// 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"`
	// Retrieve metadata on a specific error group.
	ErrorGroup ErrorTrackingErrorGroup `json:"errorGroup,omitempty"`
	// Fetch the number of error groups counted within a given time range (default 3 hours).
	ErrorGroupCount ErrorTrackingErrorGroupCount `json:"errorGroupCount,omitempty"`
	// Fetch a list of error groups.
	ErrorGroupListing []ErrorTrackingErrorGroup `json:"errorGroupListing"`
	// Retrieves an error trace given its ID.
	ErrorTrace AgentTracesErrorTrace `json:"errorTrace,omitempty"`
	// Retrieve a list of error traces that match the given search query.
	ErrorTraces []AgentTracesErrorTrace `json:"errorTraces,omitempty"`
	// An Exception that occurred in your Application.
	Exception StackTraceApmException `json:"exception,omitempty"`
	// Retrieves a flamegraph for the specific entity over the time period specified.
	Flamegraph JavaFlightRecorderFlamegraph `json:"flamegraph,omitempty"`
	// A unique entity identifier.
	GUID common.EntityGUID `json:"guid,omitempty"`
	// The list of golden metrics for a specific entity
	GoldenMetrics EntityGoldenContextScopedGoldenMetrics `json:"goldenMetrics,omitempty"`
	// Existing API - to be replaced with V2 implementation.
	GoldenSignalValues []GoldenSignalSignalValues `json:"goldenSignalValues"`
	// The stored golden signal(s) for the given entity.
	GoldenSignalValuesV2 GoldenSignalValues `json:"goldenSignalValuesV2,omitempty"`
	// The list of golden tags for a specific entityType.
	GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags,omitempty"`
	// 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"`
	NerdStoreCollection []NerdStoreCollectionMember `json:"nerdStoreCollection,omitempty"`
	NerdStoreDocument   NerdStoreDocument           `json:"nerdStoreDocument,omitempty"`
	// The url to the entity.
	Permalink string `json:"permalink,omitempty"`
	// Proactive Detection events
	ProactiveDetection AiOpsProactiveDetection `json:"proactiveDetection,omitempty"`
	// Recent agent activity for an APM Application.
	RecentAgentActivity []ApmApplicationRecentAgentActivity `json:"recentAgentActivity,omitempty"`
	// Recent violations on the entity.
	RecentAlertViolations []EntityAlertViolation `json:"recentAlertViolations,omitempty"`
	// The recommended service levels for the entity.
	RecommendedServiceLevel ServiceLevelRecommendation `json:"recommendedServiceLevel,omitempty"`
	// Related dashboards results
	RelatedDashboards RelatedDashboardsRelatedDashboardResult `json:"relatedDashboards"`
	// Related entities result with optional filtering.
	RelatedEntities EntityRelationshipRelatedEntitiesResult `json:"relatedEntities,omitempty"`
	// Query upstream and downstream transaction dependencies for an entity
	RelatedTransactions RelatedExternalsTransactionResult `json:"relatedTransactions,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"`
	// Retrieves a SQL trace given its ID.
	SqlTrace AgentTracesSqlTrace `json:"sqlTrace,omitempty"`
	// Retrieve a list of SQL traces that match the given search query.
	SqlTraces []AgentTracesSqlTrace `json:"sqlTraces,omitempty"`
	// The list of summary metrics.
	SummaryMetrics []EntitySummaryMetric `json:"summaryMetrics,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"`
	// Look up Distributed Tracing summary data for the selected `EntityGuid`
	TracingSummary DistributedTracingEntityTracingSummary `json:"tracingSummary,omitempty"`
	// Retrieves a transaction trace given its ID.
	TransactionTrace AgentTracesTransactionTrace `json:"transactionTrace,omitempty"`
	// Retrieve a list of transaction traces that match the given search query.
	TransactionTraces []AgentTracesTransactionTrace `json:"transactionTraces,omitempty"`
	// The entity's type
	Type string `json:"type,omitempty"`
	// List of templates availables for this entity.
	UiTemplates []EntityDashboardTemplatesUi `json:"uiTemplates"`
}

ApmAgentInstrumentedServiceEntity - A service entity that is instrumented by an APM Agent.

func (ApmAgentInstrumentedServiceEntity) GetAccount

GetAccount returns a pointer to the value of Account from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetAccountID

func (x ApmAgentInstrumentedServiceEntity) GetAccountID() int

GetAccountID returns a pointer to the value of AccountID from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetAlertSeverity

GetAlertSeverity returns a pointer to the value of AlertSeverity from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetAlertStatus

GetAlertStatus returns a pointer to the value of AlertStatus from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetAlertViolations

GetAlertViolations returns a pointer to the value of AlertViolations from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetApmBrowserSummary

GetApmBrowserSummary returns a pointer to the value of ApmBrowserSummary from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetApmSettings

GetApmSettings returns a pointer to the value of ApmSettings from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetApmSummary

GetApmSummary returns a pointer to the value of ApmSummary from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetApplicationID

func (x ApmAgentInstrumentedServiceEntity) GetApplicationID() int

GetApplicationID returns a pointer to the value of ApplicationID from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetApplicationInstances

GetApplicationInstances returns a pointer to the value of ApplicationInstances from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetConnections

GetConnections returns a pointer to the value of Connections from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetDashboardTemplates

GetDashboardTemplates returns a pointer to the value of DashboardTemplates from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetDeployments

GetDeployments returns a pointer to the value of Deployments from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetDomain

GetDomain returns a pointer to the value of Domain from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetEntityType

GetEntityType returns a pointer to the value of EntityType from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetErrorGroup

GetErrorGroup returns a pointer to the value of ErrorGroup from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetErrorGroupCount

GetErrorGroupCount returns a pointer to the value of ErrorGroupCount from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetErrorGroupListing

GetErrorGroupListing returns a pointer to the value of ErrorGroupListing from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetErrorTrace

GetErrorTrace returns a pointer to the value of ErrorTrace from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetErrorTraces

GetErrorTraces returns a pointer to the value of ErrorTraces from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetException

GetException returns a pointer to the value of Exception from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetFlamegraph

GetFlamegraph returns a pointer to the value of Flamegraph from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetGUID

GetGUID returns a pointer to the value of GUID from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetGoldenMetrics

GetGoldenMetrics returns a pointer to the value of GoldenMetrics from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetGoldenSignalValues

func (x ApmAgentInstrumentedServiceEntity) GetGoldenSignalValues() []GoldenSignalSignalValues

GetGoldenSignalValues returns a pointer to the value of GoldenSignalValues from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetGoldenSignalValuesV2

func (x ApmAgentInstrumentedServiceEntity) GetGoldenSignalValuesV2() GoldenSignalValues

GetGoldenSignalValuesV2 returns a pointer to the value of GoldenSignalValuesV2 from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetGoldenTags

GetGoldenTags returns a pointer to the value of GoldenTags from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetIndexedAt

GetIndexedAt returns a pointer to the value of IndexedAt from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetLanguage

func (x ApmAgentInstrumentedServiceEntity) GetLanguage() string

GetLanguage returns a pointer to the value of Language from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetMetricNormalizationRule

func (x ApmAgentInstrumentedServiceEntity) GetMetricNormalizationRule() MetricNormalizationRule

GetMetricNormalizationRule returns a pointer to the value of MetricNormalizationRule from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetMetricNormalizationRules

func (x ApmAgentInstrumentedServiceEntity) GetMetricNormalizationRules() []MetricNormalizationRule

GetMetricNormalizationRules returns a pointer to the value of MetricNormalizationRules from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetNRDBQuery

GetNRDBQuery returns a pointer to the value of NRDBQuery from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetName

GetName returns a pointer to the value of Name from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetNerdStorage

GetNerdStorage returns a pointer to the value of NerdStorage from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetNerdStoreCollection

func (x ApmAgentInstrumentedServiceEntity) GetNerdStoreCollection() []NerdStoreCollectionMember

GetNerdStoreCollection returns a pointer to the value of NerdStoreCollection from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetNerdStoreDocument

func (x ApmAgentInstrumentedServiceEntity) GetNerdStoreDocument() NerdStoreDocument

GetNerdStoreDocument returns a pointer to the value of NerdStoreDocument from ApmAgentInstrumentedServiceEntity

func (x ApmAgentInstrumentedServiceEntity) GetPermalink() string

GetPermalink returns a pointer to the value of Permalink from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetProactiveDetection

GetProactiveDetection returns a pointer to the value of ProactiveDetection from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetRecentAgentActivity

GetRecentAgentActivity returns a pointer to the value of RecentAgentActivity from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetRecentAlertViolations

func (x ApmAgentInstrumentedServiceEntity) GetRecentAlertViolations() []EntityAlertViolation

GetRecentAlertViolations returns a pointer to the value of RecentAlertViolations from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetRecommendedServiceLevel

func (x ApmAgentInstrumentedServiceEntity) GetRecommendedServiceLevel() ServiceLevelRecommendation

GetRecommendedServiceLevel returns a pointer to the value of RecommendedServiceLevel from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetRelatedDashboards

GetRelatedDashboards returns a pointer to the value of RelatedDashboards from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetRelatedEntities

GetRelatedEntities returns a pointer to the value of RelatedEntities from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetRelatedTransactions

GetRelatedTransactions returns a pointer to the value of RelatedTransactions from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetRelationships

GetRelationships returns a pointer to the value of Relationships from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetReporting

func (x ApmAgentInstrumentedServiceEntity) GetReporting() bool

GetReporting returns a pointer to the value of Reporting from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetRunningAgentVersions

GetRunningAgentVersions returns a pointer to the value of RunningAgentVersions from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetServiceLevel

GetServiceLevel returns a pointer to the value of ServiceLevel from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetSettings

GetSettings returns a pointer to the value of Settings from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetSqlTrace

GetSqlTrace returns a pointer to the value of SqlTrace from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetSqlTraces

GetSqlTraces returns a pointer to the value of SqlTraces from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetSummaryMetrics

GetSummaryMetrics returns a pointer to the value of SummaryMetrics from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetTags

GetTags returns a pointer to the value of Tags from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetTagsWithMetadata

func (x ApmAgentInstrumentedServiceEntity) GetTagsWithMetadata() []EntityTagWithMetadata

GetTagsWithMetadata returns a pointer to the value of TagsWithMetadata from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetTracingSummary

GetTracingSummary returns a pointer to the value of TracingSummary from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetTransactionTrace

GetTransactionTrace returns a pointer to the value of TransactionTrace from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetTransactionTraces

GetTransactionTraces returns a pointer to the value of TransactionTraces from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetType

GetType returns a pointer to the value of Type from ApmAgentInstrumentedServiceEntity

func (ApmAgentInstrumentedServiceEntity) GetUiTemplates

GetUiTemplates returns a pointer to the value of UiTemplates from ApmAgentInstrumentedServiceEntity

func (*ApmAgentInstrumentedServiceEntity) ImplementsAlertableEntity

func (x *ApmAgentInstrumentedServiceEntity) ImplementsAlertableEntity()

func (*ApmAgentInstrumentedServiceEntity) ImplementsApmApplicationEntity

func (x *ApmAgentInstrumentedServiceEntity) ImplementsApmApplicationEntity()

func (*ApmAgentInstrumentedServiceEntity) ImplementsApmBrowserApplicationEntity

func (x *ApmAgentInstrumentedServiceEntity) ImplementsApmBrowserApplicationEntity()

func (*ApmAgentInstrumentedServiceEntity) ImplementsEntity

func (x *ApmAgentInstrumentedServiceEntity) ImplementsEntity()

func (*ApmAgentInstrumentedServiceEntity) ImplementsServiceEntity

func (x *ApmAgentInstrumentedServiceEntity) ImplementsServiceEntity()

type ApmAgentInstrumentedServiceEntityOutline

type ApmAgentInstrumentedServiceEntityOutline 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 alert status of the entity.
	AlertStatus EntityAlertStatus `json:"alertStatus,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 list of dashboard templates available for this entity.
	DashboardTemplates []EntityDashboardTemplatesDashboardTemplate `json:"dashboardTemplates"`
	// 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,omitempty"`
	// Existing API - to be replaced with V2 implementation.
	GoldenSignalValues []GoldenSignalSignalValues `json:"goldenSignalValues"`
	// The stored golden signal(s) for the given entity.
	GoldenSignalValuesV2 GoldenSignalValues `json:"goldenSignalValuesV2,omitempty"`
	// The list of golden tags for a specific entityType.
	GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags,omitempty"`
	// 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 recommended service levels for the entity.
	RecommendedServiceLevel ServiceLevelRecommendation `json:"recommendedServiceLevel,omitempty"`
	// Related dashboards results
	RelatedDashboards RelatedDashboardsRelatedDashboardResult `json:"relatedDashboards"`
	// 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 list of summary metrics.
	SummaryMetrics []EntitySummaryMetric `json:"summaryMetrics,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"`
	// List of templates availables for this entity.
	UiTemplates []EntityDashboardTemplatesUi `json:"uiTemplates"`
}

ApmAgentInstrumentedServiceEntityOutline - A service entity outline that is instrumented by an APM Agent.

func (ApmAgentInstrumentedServiceEntityOutline) GetAccount

GetAccount returns a pointer to the value of Account from ApmAgentInstrumentedServiceEntityOutline

func (ApmAgentInstrumentedServiceEntityOutline) GetAccountID

GetAccountID returns a pointer to the value of AccountID from ApmAgentInstrumentedServiceEntityOutline

func (ApmAgentInstrumentedServiceEntityOutline) GetAlertSeverity

GetAlertSeverity returns a pointer to the value of AlertSeverity from ApmAgentInstrumentedServiceEntityOutline

func (ApmAgentInstrumentedServiceEntityOutline) GetAlertStatus

GetAlertStatus returns a pointer to the value of AlertStatus from ApmAgentInstrumentedServiceEntityOutline

func (ApmAgentInstrumentedServiceEntityOutline) GetApmBrowserSummary

GetApmBrowserSummary returns a pointer to the value of ApmBrowserSummary from ApmAgentInstrumentedServiceEntityOutline

func (ApmAgentInstrumentedServiceEntityOutline) GetApmSummary

GetApmSummary returns a pointer to the value of ApmSummary from ApmAgentInstrumentedServiceEntityOutline

func (ApmAgentInstrumentedServiceEntityOutline) GetApplicationID

func (x ApmAgentInstrumentedServiceEntityOutline) GetApplicationID() int

GetApplicationID returns a pointer to the value of ApplicationID from ApmAgentInstrumentedServiceEntityOutline

func (ApmAgentInstrumentedServiceEntityOutline) GetDashboardTemplates

GetDashboardTemplates returns a pointer to the value of DashboardTemplates from ApmAgentInstrumentedServiceEntityOutline

func (ApmAgentInstrumentedServiceEntityOutline) GetDomain

GetDomain returns a pointer to the value of Domain from ApmAgentInstrumentedServiceEntityOutline

func (ApmAgentInstrumentedServiceEntityOutline) GetEntityType

GetEntityType returns a pointer to the value of EntityType from ApmAgentInstrumentedServiceEntityOutline

func (ApmAgentInstrumentedServiceEntityOutline) GetGUID

GetGUID returns a pointer to the value of GUID from ApmAgentInstrumentedServiceEntityOutline

func (ApmAgentInstrumentedServiceEntityOutline) GetGoldenMetrics

GetGoldenMetrics returns a pointer to the value of GoldenMetrics from ApmAgentInstrumentedServiceEntityOutline

func (ApmAgentInstrumentedServiceEntityOutline) GetGoldenSignalValues

GetGoldenSignalValues returns a pointer to the value of GoldenSignalValues from ApmAgentInstrumentedServiceEntityOutline

func (ApmAgentInstrumentedServiceEntityOutline) GetGoldenSignalValuesV2

GetGoldenSignalValuesV2 returns a pointer to the value of GoldenSignalValuesV2 from ApmAgentInstrumentedServiceEntityOutline

func (ApmAgentInstrumentedServiceEntityOutline) GetGoldenTags

GetGoldenTags returns a pointer to the value of GoldenTags from ApmAgentInstrumentedServiceEntityOutline

func (ApmAgentInstrumentedServiceEntityOutline) GetIndexedAt

GetIndexedAt returns a pointer to the value of IndexedAt from ApmAgentInstrumentedServiceEntityOutline

func (ApmAgentInstrumentedServiceEntityOutline) GetLanguage

GetLanguage returns a pointer to the value of Language from ApmAgentInstrumentedServiceEntityOutline

func (ApmAgentInstrumentedServiceEntityOutline) GetName

GetName returns a pointer to the value of Name from ApmAgentInstrumentedServiceEntityOutline

GetPermalink returns a pointer to the value of Permalink from ApmAgentInstrumentedServiceEntityOutline

func (ApmAgentInstrumentedServiceEntityOutline) GetRecommendedServiceLevel

GetRecommendedServiceLevel returns a pointer to the value of RecommendedServiceLevel from ApmAgentInstrumentedServiceEntityOutline

func (ApmAgentInstrumentedServiceEntityOutline) GetRelatedDashboards

GetRelatedDashboards returns a pointer to the value of RelatedDashboards from ApmAgentInstrumentedServiceEntityOutline

func (ApmAgentInstrumentedServiceEntityOutline) GetReporting

GetReporting returns a pointer to the value of Reporting from ApmAgentInstrumentedServiceEntityOutline

func (ApmAgentInstrumentedServiceEntityOutline) GetRunningAgentVersions

GetRunningAgentVersions returns a pointer to the value of RunningAgentVersions from ApmAgentInstrumentedServiceEntityOutline

func (ApmAgentInstrumentedServiceEntityOutline) GetServiceLevel

GetServiceLevel returns a pointer to the value of ServiceLevel from ApmAgentInstrumentedServiceEntityOutline

func (ApmAgentInstrumentedServiceEntityOutline) GetSettings

GetSettings returns a pointer to the value of Settings from ApmAgentInstrumentedServiceEntityOutline

func (ApmAgentInstrumentedServiceEntityOutline) GetSummaryMetrics

GetSummaryMetrics returns a pointer to the value of SummaryMetrics from ApmAgentInstrumentedServiceEntityOutline

func (ApmAgentInstrumentedServiceEntityOutline) GetTags

GetTags returns a pointer to the value of Tags from ApmAgentInstrumentedServiceEntityOutline

func (ApmAgentInstrumentedServiceEntityOutline) GetType

GetType returns a pointer to the value of Type from ApmAgentInstrumentedServiceEntityOutline

func (ApmAgentInstrumentedServiceEntityOutline) GetUiTemplates

GetUiTemplates returns a pointer to the value of UiTemplates from ApmAgentInstrumentedServiceEntityOutline

func (*ApmAgentInstrumentedServiceEntityOutline) ImplementsAlertableEntityOutline

func (x *ApmAgentInstrumentedServiceEntityOutline) ImplementsAlertableEntityOutline()

func (*ApmAgentInstrumentedServiceEntityOutline) ImplementsApmApplicationEntityOutline

func (x *ApmAgentInstrumentedServiceEntityOutline) ImplementsApmApplicationEntityOutline()

func (*ApmAgentInstrumentedServiceEntityOutline) ImplementsApmBrowserApplicationEntityOutline

func (x *ApmAgentInstrumentedServiceEntityOutline) ImplementsApmBrowserApplicationEntityOutline()

func (*ApmAgentInstrumentedServiceEntityOutline) ImplementsEntityOutline

func (x *ApmAgentInstrumentedServiceEntityOutline) ImplementsEntityOutline()

func (*ApmAgentInstrumentedServiceEntityOutline) ImplementsServiceEntityOutline

func (x *ApmAgentInstrumentedServiceEntityOutline) ImplementsServiceEntityOutline()

type ApmApplicationDeployment

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

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"`
	// The alert status of the entity.
	AlertStatus EntityAlertStatus `json:"alertStatus,omitempty"`
	// Violations on the entity that were open during the specified time window. This will return up to 500 violations - if there are more in the time window selected, you must narrow the timewindow or look at fewer entities.
	AlertViolations []EntityAlertViolation `json:"alertViolations,omitempty"`
	// Summary statistics about the Browser App injected by an APM Application.
	ApmBrowserSummary ApmBrowserApplicationSummaryData `json:"apmBrowserSummary,omitempty"`
	// Settings that are common across APM applications.
	ApmSettings AgentApplicationSettingsApmBase `json:"apmSettings,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"`
	// Query upstream and downstream dependencies for an entity
	Connections RelatedExternalsEntityResult `json:"connections,omitempty"`
	// The list of dashboard templates available for this entity.
	DashboardTemplates []EntityDashboardTemplatesDashboardTemplate `json:"dashboardTemplates"`
	// 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"`
	// Retrieve metadata on a specific error group.
	ErrorGroup ErrorTrackingErrorGroup `json:"errorGroup,omitempty"`
	// Fetch the number of error groups counted within a given time range (default 3 hours).
	ErrorGroupCount ErrorTrackingErrorGroupCount `json:"errorGroupCount,omitempty"`
	// Fetch a list of error groups.
	ErrorGroupListing []ErrorTrackingErrorGroup `json:"errorGroupListing"`
	// Retrieves an error trace given its ID.
	ErrorTrace AgentTracesErrorTrace `json:"errorTrace,omitempty"`
	// Retrieve a list of error traces that match the given search query.
	ErrorTraces []AgentTracesErrorTrace `json:"errorTraces,omitempty"`
	// An Exception that occurred in your Application.
	Exception StackTraceApmException `json:"exception,omitempty"`
	// Retrieves a flamegraph for the specific entity over the time period specified.
	Flamegraph JavaFlightRecorderFlamegraph `json:"flamegraph,omitempty"`
	// A unique entity identifier.
	GUID common.EntityGUID `json:"guid,omitempty"`
	// The list of golden metrics for a specific entity
	GoldenMetrics EntityGoldenContextScopedGoldenMetrics `json:"goldenMetrics,omitempty"`
	// Existing API - to be replaced with V2 implementation.
	GoldenSignalValues []GoldenSignalSignalValues `json:"goldenSignalValues"`
	// The stored golden signal(s) for the given entity.
	GoldenSignalValuesV2 GoldenSignalValues `json:"goldenSignalValuesV2,omitempty"`
	// The list of golden tags for a specific entityType.
	GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags,omitempty"`
	// 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"`
	NerdStoreCollection []NerdStoreCollectionMember `json:"nerdStoreCollection,omitempty"`
	NerdStoreDocument   NerdStoreDocument           `json:"nerdStoreDocument,omitempty"`
	// The url to the entity.
	Permalink string `json:"permalink,omitempty"`
	// Proactive Detection events
	ProactiveDetection AiOpsProactiveDetection `json:"proactiveDetection,omitempty"`
	// Recent agent activity for an APM Application.
	RecentAgentActivity []ApmApplicationRecentAgentActivity `json:"recentAgentActivity,omitempty"`
	// Recent violations on the entity.
	RecentAlertViolations []EntityAlertViolation `json:"recentAlertViolations,omitempty"`
	// The recommended service levels for the entity.
	RecommendedServiceLevel ServiceLevelRecommendation `json:"recommendedServiceLevel,omitempty"`
	// Related dashboards results
	RelatedDashboards RelatedDashboardsRelatedDashboardResult `json:"relatedDashboards"`
	// Related entities result with optional filtering.
	RelatedEntities EntityRelationshipRelatedEntitiesResult `json:"relatedEntities,omitempty"`
	// Query upstream and downstream transaction dependencies for an entity
	RelatedTransactions RelatedExternalsTransactionResult `json:"relatedTransactions,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"`
	// Retrieves a SQL trace given its ID.
	SqlTrace AgentTracesSqlTrace `json:"sqlTrace,omitempty"`
	// Retrieve a list of SQL traces that match the given search query.
	SqlTraces []AgentTracesSqlTrace `json:"sqlTraces,omitempty"`
	// The list of summary metrics.
	SummaryMetrics []EntitySummaryMetric `json:"summaryMetrics,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"`
	// Look up Distributed Tracing summary data for the selected `EntityGuid`
	TracingSummary DistributedTracingEntityTracingSummary `json:"tracingSummary,omitempty"`
	// Retrieves a transaction trace given its ID.
	TransactionTrace AgentTracesTransactionTrace `json:"transactionTrace,omitempty"`
	// Retrieve a list of transaction traces that match the given search query.
	TransactionTraces []AgentTracesTransactionTrace `json:"transactionTraces,omitempty"`
	// The entity's type
	Type string `json:"type,omitempty"`
	// List of templates availables for this entity.
	UiTemplates []EntityDashboardTemplatesUi `json:"uiTemplates"`
}

ApmApplicationEntity - An APM Application entity.

func (ApmApplicationEntity) GetAccount

GetAccount returns a pointer to the value of Account from ApmApplicationEntity

func (ApmApplicationEntity) GetAccountID

func (x ApmApplicationEntity) GetAccountID() int

GetAccountID returns a pointer to the value of AccountID from ApmApplicationEntity

func (ApmApplicationEntity) GetAlertSeverity

func (x ApmApplicationEntity) GetAlertSeverity() EntityAlertSeverity

GetAlertSeverity returns a pointer to the value of AlertSeverity from ApmApplicationEntity

func (ApmApplicationEntity) GetAlertStatus

func (x ApmApplicationEntity) GetAlertStatus() EntityAlertStatus

GetAlertStatus returns a pointer to the value of AlertStatus from ApmApplicationEntity

func (ApmApplicationEntity) GetAlertViolations

func (x ApmApplicationEntity) GetAlertViolations() []EntityAlertViolation

GetAlertViolations returns a pointer to the value of AlertViolations from ApmApplicationEntity

func (ApmApplicationEntity) GetApmBrowserSummary

func (x ApmApplicationEntity) GetApmBrowserSummary() ApmBrowserApplicationSummaryData

GetApmBrowserSummary returns a pointer to the value of ApmBrowserSummary from ApmApplicationEntity

func (ApmApplicationEntity) GetApmSettings

GetApmSettings returns a pointer to the value of ApmSettings from ApmApplicationEntity

func (ApmApplicationEntity) GetApmSummary

GetApmSummary returns a pointer to the value of ApmSummary from ApmApplicationEntity

func (ApmApplicationEntity) GetApplicationID

func (x ApmApplicationEntity) GetApplicationID() int

GetApplicationID returns a pointer to the value of ApplicationID from ApmApplicationEntity

func (ApmApplicationEntity) GetApplicationInstances

func (x ApmApplicationEntity) GetApplicationInstances() []AgentEnvironmentApplicationInstance

GetApplicationInstances returns a pointer to the value of ApplicationInstances from ApmApplicationEntity

func (ApmApplicationEntity) GetConnections

GetConnections returns a pointer to the value of Connections from ApmApplicationEntity

func (ApmApplicationEntity) GetDashboardTemplates

GetDashboardTemplates returns a pointer to the value of DashboardTemplates from ApmApplicationEntity

func (ApmApplicationEntity) GetDeployments

func (x ApmApplicationEntity) GetDeployments() []ApmApplicationDeployment

GetDeployments returns a pointer to the value of Deployments from ApmApplicationEntity

func (ApmApplicationEntity) GetDomain

func (x ApmApplicationEntity) GetDomain() string

GetDomain returns a pointer to the value of Domain from ApmApplicationEntity

func (ApmApplicationEntity) GetEntityType

func (x ApmApplicationEntity) GetEntityType() EntityType

GetEntityType returns a pointer to the value of EntityType from ApmApplicationEntity

func (ApmApplicationEntity) GetErrorGroup

GetErrorGroup returns a pointer to the value of ErrorGroup from ApmApplicationEntity

func (ApmApplicationEntity) GetErrorGroupCount

func (x ApmApplicationEntity) GetErrorGroupCount() ErrorTrackingErrorGroupCount

GetErrorGroupCount returns a pointer to the value of ErrorGroupCount from ApmApplicationEntity

func (ApmApplicationEntity) GetErrorGroupListing

func (x ApmApplicationEntity) GetErrorGroupListing() []ErrorTrackingErrorGroup

GetErrorGroupListing returns a pointer to the value of ErrorGroupListing from ApmApplicationEntity

func (ApmApplicationEntity) GetErrorTrace

func (x ApmApplicationEntity) GetErrorTrace() AgentTracesErrorTrace

GetErrorTrace returns a pointer to the value of ErrorTrace from ApmApplicationEntity

func (ApmApplicationEntity) GetErrorTraces

func (x ApmApplicationEntity) GetErrorTraces() []AgentTracesErrorTrace

GetErrorTraces returns a pointer to the value of ErrorTraces from ApmApplicationEntity

func (ApmApplicationEntity) GetException

GetException returns a pointer to the value of Exception from ApmApplicationEntity

func (ApmApplicationEntity) GetFlamegraph

GetFlamegraph returns a pointer to the value of Flamegraph from ApmApplicationEntity

func (ApmApplicationEntity) GetGUID

GetGUID returns a pointer to the value of GUID from ApmApplicationEntity

func (ApmApplicationEntity) GetGoldenMetrics

GetGoldenMetrics returns a pointer to the value of GoldenMetrics from ApmApplicationEntity

func (ApmApplicationEntity) GetGoldenSignalValues

func (x ApmApplicationEntity) GetGoldenSignalValues() []GoldenSignalSignalValues

GetGoldenSignalValues returns a pointer to the value of GoldenSignalValues from ApmApplicationEntity

func (ApmApplicationEntity) GetGoldenSignalValuesV2

func (x ApmApplicationEntity) GetGoldenSignalValuesV2() GoldenSignalValues

GetGoldenSignalValuesV2 returns a pointer to the value of GoldenSignalValuesV2 from ApmApplicationEntity

func (ApmApplicationEntity) GetGoldenTags

GetGoldenTags returns a pointer to the value of GoldenTags from ApmApplicationEntity

func (ApmApplicationEntity) GetIndexedAt

func (x ApmApplicationEntity) GetIndexedAt() *nrtime.EpochMilliseconds

GetIndexedAt returns a pointer to the value of IndexedAt from ApmApplicationEntity

func (ApmApplicationEntity) GetLanguage

func (x ApmApplicationEntity) GetLanguage() string

GetLanguage returns a pointer to the value of Language from ApmApplicationEntity

func (ApmApplicationEntity) GetMetricNormalizationRule

func (x ApmApplicationEntity) GetMetricNormalizationRule() MetricNormalizationRule

GetMetricNormalizationRule returns a pointer to the value of MetricNormalizationRule from ApmApplicationEntity

func (ApmApplicationEntity) GetMetricNormalizationRules

func (x ApmApplicationEntity) GetMetricNormalizationRules() []MetricNormalizationRule

GetMetricNormalizationRules returns a pointer to the value of MetricNormalizationRules from ApmApplicationEntity

func (ApmApplicationEntity) GetNRDBQuery

GetNRDBQuery returns a pointer to the value of NRDBQuery from ApmApplicationEntity

func (ApmApplicationEntity) GetName

func (x ApmApplicationEntity) GetName() string

GetName returns a pointer to the value of Name from ApmApplicationEntity

func (ApmApplicationEntity) GetNerdStorage

func (x ApmApplicationEntity) GetNerdStorage() NerdStorageEntityScope

GetNerdStorage returns a pointer to the value of NerdStorage from ApmApplicationEntity

func (ApmApplicationEntity) GetNerdStoreCollection

func (x ApmApplicationEntity) GetNerdStoreCollection() []NerdStoreCollectionMember

GetNerdStoreCollection returns a pointer to the value of NerdStoreCollection from ApmApplicationEntity

func (ApmApplicationEntity) GetNerdStoreDocument

func (x ApmApplicationEntity) GetNerdStoreDocument() NerdStoreDocument

GetNerdStoreDocument returns a pointer to the value of NerdStoreDocument from ApmApplicationEntity

func (x ApmApplicationEntity) GetPermalink() string

GetPermalink returns a pointer to the value of Permalink from ApmApplicationEntity

func (ApmApplicationEntity) GetProactiveDetection

func (x ApmApplicationEntity) GetProactiveDetection() AiOpsProactiveDetection

GetProactiveDetection returns a pointer to the value of ProactiveDetection from ApmApplicationEntity

func (ApmApplicationEntity) GetRecentAgentActivity

func (x ApmApplicationEntity) GetRecentAgentActivity() []ApmApplicationRecentAgentActivity

GetRecentAgentActivity returns a pointer to the value of RecentAgentActivity from ApmApplicationEntity

func (ApmApplicationEntity) GetRecentAlertViolations

func (x ApmApplicationEntity) GetRecentAlertViolations() []EntityAlertViolation

GetRecentAlertViolations returns a pointer to the value of RecentAlertViolations from ApmApplicationEntity

func (ApmApplicationEntity) GetRecommendedServiceLevel

func (x ApmApplicationEntity) GetRecommendedServiceLevel() ServiceLevelRecommendation

GetRecommendedServiceLevel returns a pointer to the value of RecommendedServiceLevel from ApmApplicationEntity

func (ApmApplicationEntity) GetRelatedDashboards

GetRelatedDashboards returns a pointer to the value of RelatedDashboards from ApmApplicationEntity

func (ApmApplicationEntity) GetRelatedEntities

GetRelatedEntities returns a pointer to the value of RelatedEntities from ApmApplicationEntity

func (ApmApplicationEntity) GetRelatedTransactions

func (x ApmApplicationEntity) GetRelatedTransactions() RelatedExternalsTransactionResult

GetRelatedTransactions returns a pointer to the value of RelatedTransactions from ApmApplicationEntity

func (ApmApplicationEntity) GetRelationships

func (x ApmApplicationEntity) GetRelationships() []EntityRelationship

GetRelationships returns a pointer to the value of Relationships from ApmApplicationEntity

func (ApmApplicationEntity) GetReporting

func (x ApmApplicationEntity) GetReporting() bool

GetReporting returns a pointer to the value of Reporting from ApmApplicationEntity

func (ApmApplicationEntity) GetRunningAgentVersions

func (x ApmApplicationEntity) GetRunningAgentVersions() ApmApplicationRunningAgentVersions

GetRunningAgentVersions returns a pointer to the value of RunningAgentVersions from ApmApplicationEntity

func (ApmApplicationEntity) GetServiceLevel

func (x ApmApplicationEntity) GetServiceLevel() ServiceLevelDefinition

GetServiceLevel returns a pointer to the value of ServiceLevel from ApmApplicationEntity

func (ApmApplicationEntity) GetSettings

GetSettings returns a pointer to the value of Settings from ApmApplicationEntity

func (ApmApplicationEntity) GetSqlTrace

func (x ApmApplicationEntity) GetSqlTrace() AgentTracesSqlTrace

GetSqlTrace returns a pointer to the value of SqlTrace from ApmApplicationEntity

func (ApmApplicationEntity) GetSqlTraces

func (x ApmApplicationEntity) GetSqlTraces() []AgentTracesSqlTrace

GetSqlTraces returns a pointer to the value of SqlTraces from ApmApplicationEntity

func (ApmApplicationEntity) GetSummaryMetrics

func (x ApmApplicationEntity) GetSummaryMetrics() []EntitySummaryMetric

GetSummaryMetrics returns a pointer to the value of SummaryMetrics from ApmApplicationEntity

func (ApmApplicationEntity) GetTags

func (x ApmApplicationEntity) GetTags() []EntityTag

GetTags returns a pointer to the value of Tags from ApmApplicationEntity

func (ApmApplicationEntity) GetTagsWithMetadata

func (x ApmApplicationEntity) GetTagsWithMetadata() []EntityTagWithMetadata

GetTagsWithMetadata returns a pointer to the value of TagsWithMetadata from ApmApplicationEntity

func (ApmApplicationEntity) GetTracingSummary

GetTracingSummary returns a pointer to the value of TracingSummary from ApmApplicationEntity

func (ApmApplicationEntity) GetTransactionTrace

func (x ApmApplicationEntity) GetTransactionTrace() AgentTracesTransactionTrace

GetTransactionTrace returns a pointer to the value of TransactionTrace from ApmApplicationEntity

func (ApmApplicationEntity) GetTransactionTraces

func (x ApmApplicationEntity) GetTransactionTraces() []AgentTracesTransactionTrace

GetTransactionTraces returns a pointer to the value of TransactionTraces from ApmApplicationEntity

func (ApmApplicationEntity) GetType

func (x ApmApplicationEntity) GetType() string

GetType returns a pointer to the value of Type from ApmApplicationEntity

func (ApmApplicationEntity) GetUiTemplates

func (x ApmApplicationEntity) GetUiTemplates() []EntityDashboardTemplatesUi

GetUiTemplates returns a pointer to the value of UiTemplates from ApmApplicationEntity

func (*ApmApplicationEntity) ImplementsAlertableEntity

func (x *ApmApplicationEntity) ImplementsAlertableEntity()

func (*ApmApplicationEntity) ImplementsApmApplicationEntity

func (x *ApmApplicationEntity) ImplementsApmApplicationEntity()

func (*ApmApplicationEntity) ImplementsApmBrowserApplicationEntity

func (x *ApmApplicationEntity) ImplementsApmBrowserApplicationEntity()

func (*ApmApplicationEntity) ImplementsEntity

func (x *ApmApplicationEntity) ImplementsEntity()

type ApmApplicationEntityInterface

type ApmApplicationEntityInterface interface {
	ImplementsApmApplicationEntity()
}

ApmApplicationEntity - An APM Application entity.

func UnmarshalApmApplicationEntityInterface

func UnmarshalApmApplicationEntityInterface(b []byte) (*ApmApplicationEntityInterface, error)

UnmarshalApmApplicationEntityInterface unmarshals the interface into the correct type based on __typename provided by GraphQL

type ApmApplicationEntityOutline

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"`
	// The alert status of the entity.
	AlertStatus EntityAlertStatus `json:"alertStatus,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 list of dashboard templates available for this entity.
	DashboardTemplates []EntityDashboardTemplatesDashboardTemplate `json:"dashboardTemplates"`
	// 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,omitempty"`
	// Existing API - to be replaced with V2 implementation.
	GoldenSignalValues []GoldenSignalSignalValues `json:"goldenSignalValues"`
	// The stored golden signal(s) for the given entity.
	GoldenSignalValuesV2 GoldenSignalValues `json:"goldenSignalValuesV2,omitempty"`
	// The list of golden tags for a specific entityType.
	GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags,omitempty"`
	// 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 recommended service levels for the entity.
	RecommendedServiceLevel ServiceLevelRecommendation `json:"recommendedServiceLevel,omitempty"`
	// Related dashboards results
	RelatedDashboards RelatedDashboardsRelatedDashboardResult `json:"relatedDashboards"`
	// 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 list of summary metrics.
	SummaryMetrics []EntitySummaryMetric `json:"summaryMetrics,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"`
	// List of templates availables for this entity.
	UiTemplates []EntityDashboardTemplatesUi `json:"uiTemplates"`
}

ApmApplicationEntityOutline - An APM Application entity outline.

func (ApmApplicationEntityOutline) GetAccount

GetAccount returns a pointer to the value of Account from ApmApplicationEntityOutline

func (ApmApplicationEntityOutline) GetAccountID

func (x ApmApplicationEntityOutline) GetAccountID() int

GetAccountID returns a pointer to the value of AccountID from ApmApplicationEntityOutline

func (ApmApplicationEntityOutline) GetAlertSeverity

func (x ApmApplicationEntityOutline) GetAlertSeverity() EntityAlertSeverity

GetAlertSeverity returns a pointer to the value of AlertSeverity from ApmApplicationEntityOutline

func (ApmApplicationEntityOutline) GetAlertStatus

GetAlertStatus returns a pointer to the value of AlertStatus from ApmApplicationEntityOutline

func (ApmApplicationEntityOutline) GetApmBrowserSummary

GetApmBrowserSummary returns a pointer to the value of ApmBrowserSummary from ApmApplicationEntityOutline

func (ApmApplicationEntityOutline) GetApmSummary

GetApmSummary returns a pointer to the value of ApmSummary from ApmApplicationEntityOutline

func (ApmApplicationEntityOutline) GetApplicationID

func (x ApmApplicationEntityOutline) GetApplicationID() int

GetApplicationID returns a pointer to the value of ApplicationID from ApmApplicationEntityOutline

func (ApmApplicationEntityOutline) GetDashboardTemplates

GetDashboardTemplates returns a pointer to the value of DashboardTemplates from ApmApplicationEntityOutline

func (ApmApplicationEntityOutline) GetDomain

func (x ApmApplicationEntityOutline) GetDomain() string

GetDomain returns a pointer to the value of Domain from ApmApplicationEntityOutline

func (ApmApplicationEntityOutline) GetEntityType

func (x ApmApplicationEntityOutline) GetEntityType() EntityType

GetEntityType returns a pointer to the value of EntityType from ApmApplicationEntityOutline

func (ApmApplicationEntityOutline) GetGUID

GetGUID returns a pointer to the value of GUID from ApmApplicationEntityOutline

func (ApmApplicationEntityOutline) GetGoldenMetrics

GetGoldenMetrics returns a pointer to the value of GoldenMetrics from ApmApplicationEntityOutline

func (ApmApplicationEntityOutline) GetGoldenSignalValues

func (x ApmApplicationEntityOutline) GetGoldenSignalValues() []GoldenSignalSignalValues

GetGoldenSignalValues returns a pointer to the value of GoldenSignalValues from ApmApplicationEntityOutline

func (ApmApplicationEntityOutline) GetGoldenSignalValuesV2

func (x ApmApplicationEntityOutline) GetGoldenSignalValuesV2() GoldenSignalValues

GetGoldenSignalValuesV2 returns a pointer to the value of GoldenSignalValuesV2 from ApmApplicationEntityOutline

func (ApmApplicationEntityOutline) GetGoldenTags

GetGoldenTags returns a pointer to the value of GoldenTags from ApmApplicationEntityOutline

func (ApmApplicationEntityOutline) GetIndexedAt

GetIndexedAt returns a pointer to the value of IndexedAt from ApmApplicationEntityOutline

func (ApmApplicationEntityOutline) GetLanguage

func (x ApmApplicationEntityOutline) GetLanguage() string

GetLanguage returns a pointer to the value of Language from ApmApplicationEntityOutline

func (ApmApplicationEntityOutline) GetName

func (x ApmApplicationEntityOutline) GetName() string

GetName returns a pointer to the value of Name from ApmApplicationEntityOutline

func (x ApmApplicationEntityOutline) GetPermalink() string

GetPermalink returns a pointer to the value of Permalink from ApmApplicationEntityOutline

func (ApmApplicationEntityOutline) GetRecommendedServiceLevel

func (x ApmApplicationEntityOutline) GetRecommendedServiceLevel() ServiceLevelRecommendation

GetRecommendedServiceLevel returns a pointer to the value of RecommendedServiceLevel from ApmApplicationEntityOutline

func (ApmApplicationEntityOutline) GetRelatedDashboards

GetRelatedDashboards returns a pointer to the value of RelatedDashboards from ApmApplicationEntityOutline

func (ApmApplicationEntityOutline) GetReporting

func (x ApmApplicationEntityOutline) GetReporting() bool

GetReporting returns a pointer to the value of Reporting from ApmApplicationEntityOutline

func (ApmApplicationEntityOutline) GetRunningAgentVersions

GetRunningAgentVersions returns a pointer to the value of RunningAgentVersions from ApmApplicationEntityOutline

func (ApmApplicationEntityOutline) GetServiceLevel

GetServiceLevel returns a pointer to the value of ServiceLevel from ApmApplicationEntityOutline

func (ApmApplicationEntityOutline) GetSettings

GetSettings returns a pointer to the value of Settings from ApmApplicationEntityOutline

func (ApmApplicationEntityOutline) GetSummaryMetrics

func (x ApmApplicationEntityOutline) GetSummaryMetrics() []EntitySummaryMetric

GetSummaryMetrics returns a pointer to the value of SummaryMetrics from ApmApplicationEntityOutline

func (ApmApplicationEntityOutline) GetTags

func (x ApmApplicationEntityOutline) GetTags() []EntityTag

GetTags returns a pointer to the value of Tags from ApmApplicationEntityOutline

func (ApmApplicationEntityOutline) GetType

func (x ApmApplicationEntityOutline) GetType() string

GetType returns a pointer to the value of Type from ApmApplicationEntityOutline

func (ApmApplicationEntityOutline) GetUiTemplates

GetUiTemplates returns a pointer to the value of UiTemplates from ApmApplicationEntityOutline

func (*ApmApplicationEntityOutline) ImplementsAlertableEntityOutline

func (x *ApmApplicationEntityOutline) ImplementsAlertableEntityOutline()

func (*ApmApplicationEntityOutline) ImplementsApmApplicationEntityOutline

func (x *ApmApplicationEntityOutline) ImplementsApmApplicationEntityOutline()

func (*ApmApplicationEntityOutline) ImplementsApmBrowserApplicationEntityOutline

func (x *ApmApplicationEntityOutline) ImplementsApmBrowserApplicationEntityOutline()

func (ApmApplicationEntityOutline) ImplementsEntity

func (x ApmApplicationEntityOutline) ImplementsEntity()

func (*ApmApplicationEntityOutline) ImplementsEntityOutline

func (x *ApmApplicationEntityOutline) ImplementsEntityOutline()

type ApmApplicationEntityOutlineInterface

type ApmApplicationEntityOutlineInterface interface {
	ImplementsApmApplicationEntityOutline()
}

ApmApplicationEntityOutline - An APM Application entity outline.

func UnmarshalApmApplicationEntityOutlineInterface

func UnmarshalApmApplicationEntityOutlineInterface(b []byte) (*ApmApplicationEntityOutlineInterface, error)

UnmarshalApmApplicationEntityOutlineInterface unmarshals the interface into the correct type based on __typename provided by GraphQL

type ApmApplicationRecentActivityType

type ApmApplicationRecentActivityType string

ApmApplicationRecentActivityType - Recent activity types for an APM application.

type ApmApplicationRecentAgentActivity

type ApmApplicationRecentAgentActivity struct {
	// The category of activity that occurred.
	ActivityType ApmApplicationRecentActivityType `json:"activityType,omitempty"`
	// Description of the recent acvitiy.
	Description string `json:"description,omitempty"`
	// A link to view the recent activity in the UI.
	Permalink string `json:"permalink,omitempty"`
	// The moment the recent activity occurred.
	Timestamp *nrtime.EpochMilliseconds `json:"timestamp,omitempty"`
}

ApmApplicationRecentAgentActivity - A recent agent acvitiy on an APM application.

type ApmApplicationRunningAgentVersions

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

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

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

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

GetApmBrowserSummary returns a pointer to the value of ApmBrowserSummary from ApmBrowserApplicationEntity

func (*ApmBrowserApplicationEntity) ImplementsApmBrowserApplicationEntity

func (x *ApmBrowserApplicationEntity) ImplementsApmBrowserApplicationEntity()

type ApmBrowserApplicationEntityInterface

type ApmBrowserApplicationEntityInterface interface {
	ImplementsApmBrowserApplicationEntity()
}

ApmBrowserApplicationEntity - The `ApmBrowserApplicationEntity` interface provides detailed information for the Browser App injected by an APM Application.

func UnmarshalApmBrowserApplicationEntityInterface

func UnmarshalApmBrowserApplicationEntityInterface(b []byte) (*ApmBrowserApplicationEntityInterface, error)

UnmarshalApmBrowserApplicationEntityInterface unmarshals the interface into the correct type based on __typename provided by GraphQL

type ApmBrowserApplicationEntityOutline

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

GetApmBrowserSummary returns a pointer to the value of ApmBrowserSummary from ApmBrowserApplicationEntityOutline

func (*ApmBrowserApplicationEntityOutline) ImplementsApmBrowserApplicationEntityOutline

func (x *ApmBrowserApplicationEntityOutline) ImplementsApmBrowserApplicationEntityOutline()

func (ApmBrowserApplicationEntityOutline) ImplementsEntity

func (x ApmBrowserApplicationEntityOutline) ImplementsEntity()

type ApmBrowserApplicationEntityOutlineInterface

type ApmBrowserApplicationEntityOutlineInterface interface {
	ImplementsApmBrowserApplicationEntityOutline()
}

ApmBrowserApplicationEntityOutline - The `ApmBrowserApplicationEntityOutline` interface provides detailed information for the Browser App injected by an APM Application.

func UnmarshalApmBrowserApplicationEntityOutlineInterface

func UnmarshalApmBrowserApplicationEntityOutlineInterface(b []byte) (*ApmBrowserApplicationEntityOutlineInterface, error)

UnmarshalApmBrowserApplicationEntityOutlineInterface unmarshals the interface into the correct type based on __typename provided by GraphQL

type ApmBrowserApplicationSummaryData

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

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"`
	// The alert status of the entity.
	AlertStatus EntityAlertStatus `json:"alertStatus,omitempty"`
	// Violations on the entity that were open during the specified time window. This will return up to 500 violations - if there are more in the time window selected, you must narrow the timewindow or look at fewer entities.
	AlertViolations []EntityAlertViolation `json:"alertViolations,omitempty"`
	// The list of dashboard templates available for this entity.
	DashboardTemplates []EntityDashboardTemplatesDashboardTemplate `json:"dashboardTemplates"`
	// 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,omitempty"`
	// Existing API - to be replaced with V2 implementation.
	GoldenSignalValues []GoldenSignalSignalValues `json:"goldenSignalValues"`
	// The stored golden signal(s) for the given entity.
	GoldenSignalValuesV2 GoldenSignalValues `json:"goldenSignalValuesV2,omitempty"`
	// The list of golden tags for a specific entityType.
	GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags,omitempty"`
	// 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"`
	NerdStoreCollection []NerdStoreCollectionMember `json:"nerdStoreCollection,omitempty"`
	NerdStoreDocument   NerdStoreDocument           `json:"nerdStoreDocument,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"`
	// The recommended service levels for the entity.
	RecommendedServiceLevel ServiceLevelRecommendation `json:"recommendedServiceLevel,omitempty"`
	// Related dashboards results
	RelatedDashboards RelatedDashboardsRelatedDashboardResult `json:"relatedDashboards"`
	// 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 list of summary metrics.
	SummaryMetrics []EntitySummaryMetric `json:"summaryMetrics,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"`
	// Look up Distributed Tracing summary data for the selected `EntityGuid`
	TracingSummary DistributedTracingEntityTracingSummary `json:"tracingSummary,omitempty"`
	// The entity's type
	Type string `json:"type,omitempty"`
	// List of templates availables for this entity.
	UiTemplates []EntityDashboardTemplatesUi `json:"uiTemplates"`
	// The type of database. ex: `Postgres` | `Redis`
	Vendor string `json:"vendor,omitempty"`
}

ApmDatabaseInstanceEntity - A database instance seen by an APM Application

func (ApmDatabaseInstanceEntity) GetAccount

GetAccount returns a pointer to the value of Account from ApmDatabaseInstanceEntity

func (ApmDatabaseInstanceEntity) GetAccountID

func (x ApmDatabaseInstanceEntity) GetAccountID() int

GetAccountID returns a pointer to the value of AccountID from ApmDatabaseInstanceEntity

func (ApmDatabaseInstanceEntity) GetAlertSeverity

func (x ApmDatabaseInstanceEntity) GetAlertSeverity() EntityAlertSeverity

GetAlertSeverity returns a pointer to the value of AlertSeverity from ApmDatabaseInstanceEntity

func (ApmDatabaseInstanceEntity) GetAlertStatus

func (x ApmDatabaseInstanceEntity) GetAlertStatus() EntityAlertStatus

GetAlertStatus returns a pointer to the value of AlertStatus from ApmDatabaseInstanceEntity

func (ApmDatabaseInstanceEntity) GetAlertViolations

func (x ApmDatabaseInstanceEntity) GetAlertViolations() []EntityAlertViolation

GetAlertViolations returns a pointer to the value of AlertViolations from ApmDatabaseInstanceEntity

func (ApmDatabaseInstanceEntity) GetDashboardTemplates

GetDashboardTemplates returns a pointer to the value of DashboardTemplates from ApmDatabaseInstanceEntity

func (ApmDatabaseInstanceEntity) GetDomain

func (x ApmDatabaseInstanceEntity) GetDomain() string

GetDomain returns a pointer to the value of Domain from ApmDatabaseInstanceEntity

func (ApmDatabaseInstanceEntity) GetEntityType

func (x ApmDatabaseInstanceEntity) GetEntityType() EntityType

GetEntityType returns a pointer to the value of EntityType from ApmDatabaseInstanceEntity

func (ApmDatabaseInstanceEntity) GetGUID

GetGUID returns a pointer to the value of GUID from ApmDatabaseInstanceEntity

func (ApmDatabaseInstanceEntity) GetGoldenMetrics

GetGoldenMetrics returns a pointer to the value of GoldenMetrics from ApmDatabaseInstanceEntity

func (ApmDatabaseInstanceEntity) GetGoldenSignalValues

func (x ApmDatabaseInstanceEntity) GetGoldenSignalValues() []GoldenSignalSignalValues

GetGoldenSignalValues returns a pointer to the value of GoldenSignalValues from ApmDatabaseInstanceEntity

func (ApmDatabaseInstanceEntity) GetGoldenSignalValuesV2

func (x ApmDatabaseInstanceEntity) GetGoldenSignalValuesV2() GoldenSignalValues

GetGoldenSignalValuesV2 returns a pointer to the value of GoldenSignalValuesV2 from ApmDatabaseInstanceEntity

func (ApmDatabaseInstanceEntity) GetGoldenTags

GetGoldenTags returns a pointer to the value of GoldenTags from ApmDatabaseInstanceEntity

func (ApmDatabaseInstanceEntity) GetHost

func (x ApmDatabaseInstanceEntity) GetHost() string

GetHost returns a pointer to the value of Host from ApmDatabaseInstanceEntity

func (ApmDatabaseInstanceEntity) GetIndexedAt

GetIndexedAt returns a pointer to the value of IndexedAt from ApmDatabaseInstanceEntity

func (ApmDatabaseInstanceEntity) GetNRDBQuery

GetNRDBQuery returns a pointer to the value of NRDBQuery from ApmDatabaseInstanceEntity

func (ApmDatabaseInstanceEntity) GetName

func (x ApmDatabaseInstanceEntity) GetName() string

GetName returns a pointer to the value of Name from ApmDatabaseInstanceEntity

func (ApmDatabaseInstanceEntity) GetNerdStorage

GetNerdStorage returns a pointer to the value of NerdStorage from ApmDatabaseInstanceEntity

func (ApmDatabaseInstanceEntity) GetNerdStoreCollection

func (x ApmDatabaseInstanceEntity) GetNerdStoreCollection() []NerdStoreCollectionMember

GetNerdStoreCollection returns a pointer to the value of NerdStoreCollection from ApmDatabaseInstanceEntity

func (ApmDatabaseInstanceEntity) GetNerdStoreDocument

func (x ApmDatabaseInstanceEntity) GetNerdStoreDocument() NerdStoreDocument

GetNerdStoreDocument returns a pointer to the value of NerdStoreDocument from ApmDatabaseInstanceEntity

func (x ApmDatabaseInstanceEntity) GetPermalink() string

GetPermalink returns a pointer to the value of Permalink from ApmDatabaseInstanceEntity

func (ApmDatabaseInstanceEntity) GetPortOrPath

func (x ApmDatabaseInstanceEntity) GetPortOrPath() string

GetPortOrPath returns a pointer to the value of PortOrPath from ApmDatabaseInstanceEntity

func (ApmDatabaseInstanceEntity) GetRecentAlertViolations

func (x ApmDatabaseInstanceEntity) GetRecentAlertViolations() []EntityAlertViolation

GetRecentAlertViolations returns a pointer to the value of RecentAlertViolations from ApmDatabaseInstanceEntity

func (ApmDatabaseInstanceEntity) GetRecommendedServiceLevel

func (x ApmDatabaseInstanceEntity) GetRecommendedServiceLevel() ServiceLevelRecommendation

GetRecommendedServiceLevel returns a pointer to the value of RecommendedServiceLevel from ApmDatabaseInstanceEntity

func (ApmDatabaseInstanceEntity) GetRelatedDashboards

GetRelatedDashboards returns a pointer to the value of RelatedDashboards from ApmDatabaseInstanceEntity

func (ApmDatabaseInstanceEntity) GetRelatedEntities

GetRelatedEntities returns a pointer to the value of RelatedEntities from ApmDatabaseInstanceEntity

func (ApmDatabaseInstanceEntity) GetRelationships

func (x ApmDatabaseInstanceEntity) GetRelationships() []EntityRelationship

GetRelationships returns a pointer to the value of Relationships from ApmDatabaseInstanceEntity

func (ApmDatabaseInstanceEntity) GetReporting

func (x ApmDatabaseInstanceEntity) GetReporting() bool

GetReporting returns a pointer to the value of Reporting from ApmDatabaseInstanceEntity

func (ApmDatabaseInstanceEntity) GetServiceLevel

GetServiceLevel returns a pointer to the value of ServiceLevel from ApmDatabaseInstanceEntity

func (ApmDatabaseInstanceEntity) GetSummaryMetrics

func (x ApmDatabaseInstanceEntity) GetSummaryMetrics() []EntitySummaryMetric

GetSummaryMetrics returns a pointer to the value of SummaryMetrics from ApmDatabaseInstanceEntity

func (ApmDatabaseInstanceEntity) GetTags

func (x ApmDatabaseInstanceEntity) GetTags() []EntityTag

GetTags returns a pointer to the value of Tags from ApmDatabaseInstanceEntity

func (ApmDatabaseInstanceEntity) GetTagsWithMetadata

func (x ApmDatabaseInstanceEntity) GetTagsWithMetadata() []EntityTagWithMetadata

GetTagsWithMetadata returns a pointer to the value of TagsWithMetadata from ApmDatabaseInstanceEntity

func (ApmDatabaseInstanceEntity) GetTracingSummary

GetTracingSummary returns a pointer to the value of TracingSummary from ApmDatabaseInstanceEntity

func (ApmDatabaseInstanceEntity) GetType

func (x ApmDatabaseInstanceEntity) GetType() string

GetType returns a pointer to the value of Type from ApmDatabaseInstanceEntity

func (ApmDatabaseInstanceEntity) GetUiTemplates

GetUiTemplates returns a pointer to the value of UiTemplates from ApmDatabaseInstanceEntity

func (ApmDatabaseInstanceEntity) GetVendor

func (x ApmDatabaseInstanceEntity) GetVendor() string

GetVendor returns a pointer to the value of Vendor from ApmDatabaseInstanceEntity

func (*ApmDatabaseInstanceEntity) ImplementsAlertableEntity

func (x *ApmDatabaseInstanceEntity) ImplementsAlertableEntity()

func (*ApmDatabaseInstanceEntity) ImplementsEntity

func (x *ApmDatabaseInstanceEntity) ImplementsEntity()

type ApmDatabaseInstanceEntityOutline

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 alert status of the entity.
	AlertStatus EntityAlertStatus `json:"alertStatus,omitempty"`
	// The list of dashboard templates available for this entity.
	DashboardTemplates []EntityDashboardTemplatesDashboardTemplate `json:"dashboardTemplates"`
	// 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,omitempty"`
	// Existing API - to be replaced with V2 implementation.
	GoldenSignalValues []GoldenSignalSignalValues `json:"goldenSignalValues"`
	// The stored golden signal(s) for the given entity.
	GoldenSignalValuesV2 GoldenSignalValues `json:"goldenSignalValuesV2,omitempty"`
	// The list of golden tags for a specific entityType.
	GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags,omitempty"`
	// 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 recommended service levels for the entity.
	RecommendedServiceLevel ServiceLevelRecommendation `json:"recommendedServiceLevel,omitempty"`
	// Related dashboards results
	RelatedDashboards RelatedDashboardsRelatedDashboardResult `json:"relatedDashboards"`
	// 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 list of summary metrics.
	SummaryMetrics []EntitySummaryMetric `json:"summaryMetrics,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"`
	// List of templates availables for this entity.
	UiTemplates []EntityDashboardTemplatesUi `json:"uiTemplates"`
	// The type of database. ex: `Postgres` | `Redis`
	Vendor string `json:"vendor,omitempty"`
}

ApmDatabaseInstanceEntityOutline - A database instance seen by an APM Application

func (ApmDatabaseInstanceEntityOutline) GetAccount

GetAccount returns a pointer to the value of Account from ApmDatabaseInstanceEntityOutline

func (ApmDatabaseInstanceEntityOutline) GetAccountID

func (x ApmDatabaseInstanceEntityOutline) GetAccountID() int

GetAccountID returns a pointer to the value of AccountID from ApmDatabaseInstanceEntityOutline

func (ApmDatabaseInstanceEntityOutline) GetAlertSeverity

GetAlertSeverity returns a pointer to the value of AlertSeverity from ApmDatabaseInstanceEntityOutline

func (ApmDatabaseInstanceEntityOutline) GetAlertStatus

GetAlertStatus returns a pointer to the value of AlertStatus from ApmDatabaseInstanceEntityOutline

func (ApmDatabaseInstanceEntityOutline) GetDashboardTemplates

GetDashboardTemplates returns a pointer to the value of DashboardTemplates from ApmDatabaseInstanceEntityOutline

func (ApmDatabaseInstanceEntityOutline) GetDomain

GetDomain returns a pointer to the value of Domain from ApmDatabaseInstanceEntityOutline

func (ApmDatabaseInstanceEntityOutline) GetEntityType

func (x ApmDatabaseInstanceEntityOutline) GetEntityType() EntityType

GetEntityType returns a pointer to the value of EntityType from ApmDatabaseInstanceEntityOutline

func (ApmDatabaseInstanceEntityOutline) GetGUID

GetGUID returns a pointer to the value of GUID from ApmDatabaseInstanceEntityOutline

func (ApmDatabaseInstanceEntityOutline) GetGoldenMetrics

GetGoldenMetrics returns a pointer to the value of GoldenMetrics from ApmDatabaseInstanceEntityOutline

func (ApmDatabaseInstanceEntityOutline) GetGoldenSignalValues

func (x ApmDatabaseInstanceEntityOutline) GetGoldenSignalValues() []GoldenSignalSignalValues

GetGoldenSignalValues returns a pointer to the value of GoldenSignalValues from ApmDatabaseInstanceEntityOutline

func (ApmDatabaseInstanceEntityOutline) GetGoldenSignalValuesV2

func (x ApmDatabaseInstanceEntityOutline) GetGoldenSignalValuesV2() GoldenSignalValues

GetGoldenSignalValuesV2 returns a pointer to the value of GoldenSignalValuesV2 from ApmDatabaseInstanceEntityOutline

func (ApmDatabaseInstanceEntityOutline) GetGoldenTags

GetGoldenTags returns a pointer to the value of GoldenTags from ApmDatabaseInstanceEntityOutline

func (ApmDatabaseInstanceEntityOutline) GetHost

GetHost returns a pointer to the value of Host from ApmDatabaseInstanceEntityOutline

func (ApmDatabaseInstanceEntityOutline) GetIndexedAt

GetIndexedAt returns a pointer to the value of IndexedAt from ApmDatabaseInstanceEntityOutline

func (ApmDatabaseInstanceEntityOutline) GetName

GetName returns a pointer to the value of Name from ApmDatabaseInstanceEntityOutline

func (x ApmDatabaseInstanceEntityOutline) GetPermalink() string

GetPermalink returns a pointer to the value of Permalink from ApmDatabaseInstanceEntityOutline

func (ApmDatabaseInstanceEntityOutline) GetPortOrPath

func (x ApmDatabaseInstanceEntityOutline) GetPortOrPath() string

GetPortOrPath returns a pointer to the value of PortOrPath from ApmDatabaseInstanceEntityOutline

func (ApmDatabaseInstanceEntityOutline) GetRecommendedServiceLevel

func (x ApmDatabaseInstanceEntityOutline) GetRecommendedServiceLevel() ServiceLevelRecommendation

GetRecommendedServiceLevel returns a pointer to the value of RecommendedServiceLevel from ApmDatabaseInstanceEntityOutline

func (ApmDatabaseInstanceEntityOutline) GetRelatedDashboards

GetRelatedDashboards returns a pointer to the value of RelatedDashboards from ApmDatabaseInstanceEntityOutline

func (ApmDatabaseInstanceEntityOutline) GetReporting

func (x ApmDatabaseInstanceEntityOutline) GetReporting() bool

GetReporting returns a pointer to the value of Reporting from ApmDatabaseInstanceEntityOutline

func (ApmDatabaseInstanceEntityOutline) GetServiceLevel

GetServiceLevel returns a pointer to the value of ServiceLevel from ApmDatabaseInstanceEntityOutline

func (ApmDatabaseInstanceEntityOutline) GetSummaryMetrics

func (x ApmDatabaseInstanceEntityOutline) GetSummaryMetrics() []EntitySummaryMetric

GetSummaryMetrics returns a pointer to the value of SummaryMetrics from ApmDatabaseInstanceEntityOutline

func (ApmDatabaseInstanceEntityOutline) GetTags

GetTags returns a pointer to the value of Tags from ApmDatabaseInstanceEntityOutline

func (ApmDatabaseInstanceEntityOutline) GetType

GetType returns a pointer to the value of Type from ApmDatabaseInstanceEntityOutline

func (ApmDatabaseInstanceEntityOutline) GetUiTemplates

GetUiTemplates returns a pointer to the value of UiTemplates from ApmDatabaseInstanceEntityOutline

func (ApmDatabaseInstanceEntityOutline) GetVendor

GetVendor returns a pointer to the value of Vendor from ApmDatabaseInstanceEntityOutline

func (*ApmDatabaseInstanceEntityOutline) ImplementsAlertableEntityOutline

func (x *ApmDatabaseInstanceEntityOutline) ImplementsAlertableEntityOutline()

func (ApmDatabaseInstanceEntityOutline) ImplementsEntity

func (x ApmDatabaseInstanceEntityOutline) ImplementsEntity()

func (*ApmDatabaseInstanceEntityOutline) ImplementsEntityOutline

func (x *ApmDatabaseInstanceEntityOutline) ImplementsEntityOutline()

type ApmExternalServiceEntity

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"`
	// The alert status of the entity.
	AlertStatus EntityAlertStatus `json:"alertStatus,omitempty"`
	// Violations on the entity that were open during the specified time window. This will return up to 500 violations - if there are more in the time window selected, you must narrow the timewindow or look at fewer entities.
	AlertViolations []EntityAlertViolation `json:"alertViolations,omitempty"`
	// The list of dashboard templates available for this entity.
	DashboardTemplates []EntityDashboardTemplatesDashboardTemplate `json:"dashboardTemplates"`
	// 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,omitempty"`
	// Existing API - to be replaced with V2 implementation.
	GoldenSignalValues []GoldenSignalSignalValues `json:"goldenSignalValues"`
	// The stored golden signal(s) for the given entity.
	GoldenSignalValuesV2 GoldenSignalValues `json:"goldenSignalValuesV2,omitempty"`
	// The list of golden tags for a specific entityType.
	GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags,omitempty"`
	// 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"`
	NerdStoreCollection []NerdStoreCollectionMember `json:"nerdStoreCollection,omitempty"`
	NerdStoreDocument   NerdStoreDocument           `json:"nerdStoreDocument,omitempty"`
	// The url to the entity.
	Permalink string `json:"permalink,omitempty"`
	// Recent violations on the entity.
	RecentAlertViolations []EntityAlertViolation `json:"recentAlertViolations,omitempty"`
	// The recommended service levels for the entity.
	RecommendedServiceLevel ServiceLevelRecommendation `json:"recommendedServiceLevel,omitempty"`
	// Related dashboards results
	RelatedDashboards RelatedDashboardsRelatedDashboardResult `json:"relatedDashboards"`
	// 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 list of summary metrics.
	SummaryMetrics []EntitySummaryMetric `json:"summaryMetrics,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"`
	// Look up Distributed Tracing summary data for the selected `EntityGuid`
	TracingSummary DistributedTracingEntityTracingSummary `json:"tracingSummary,omitempty"`
	// The entity's type
	Type string `json:"type,omitempty"`
	// List of templates availables for this entity.
	UiTemplates []EntityDashboardTemplatesUi `json:"uiTemplates"`
}

ApmExternalServiceEntity - An external service seen by an APM Application.

func (ApmExternalServiceEntity) GetAccount

GetAccount returns a pointer to the value of Account from ApmExternalServiceEntity

func (ApmExternalServiceEntity) GetAccountID

func (x ApmExternalServiceEntity) GetAccountID() int

GetAccountID returns a pointer to the value of AccountID from ApmExternalServiceEntity

func (ApmExternalServiceEntity) GetAlertSeverity

func (x ApmExternalServiceEntity) GetAlertSeverity() EntityAlertSeverity

GetAlertSeverity returns a pointer to the value of AlertSeverity from ApmExternalServiceEntity

func (ApmExternalServiceEntity) GetAlertStatus

func (x ApmExternalServiceEntity) GetAlertStatus() EntityAlertStatus

GetAlertStatus returns a pointer to the value of AlertStatus from ApmExternalServiceEntity

func (ApmExternalServiceEntity) GetAlertViolations

func (x ApmExternalServiceEntity) GetAlertViolations() []EntityAlertViolation

GetAlertViolations returns a pointer to the value of AlertViolations from ApmExternalServiceEntity

func (ApmExternalServiceEntity) GetDashboardTemplates

GetDashboardTemplates returns a pointer to the value of DashboardTemplates from ApmExternalServiceEntity

func (ApmExternalServiceEntity) GetDomain

func (x ApmExternalServiceEntity) GetDomain() string

GetDomain returns a pointer to the value of Domain from ApmExternalServiceEntity

func (ApmExternalServiceEntity) GetEntityType

func (x ApmExternalServiceEntity) GetEntityType() EntityType

GetEntityType returns a pointer to the value of EntityType from ApmExternalServiceEntity

func (ApmExternalServiceEntity) GetExternalSummary

GetExternalSummary returns a pointer to the value of ExternalSummary from ApmExternalServiceEntity

func (ApmExternalServiceEntity) GetGUID

GetGUID returns a pointer to the value of GUID from ApmExternalServiceEntity

func (ApmExternalServiceEntity) GetGoldenMetrics

GetGoldenMetrics returns a pointer to the value of GoldenMetrics from ApmExternalServiceEntity

func (ApmExternalServiceEntity) GetGoldenSignalValues

func (x ApmExternalServiceEntity) GetGoldenSignalValues() []GoldenSignalSignalValues

GetGoldenSignalValues returns a pointer to the value of GoldenSignalValues from ApmExternalServiceEntity

func (ApmExternalServiceEntity) GetGoldenSignalValuesV2

func (x ApmExternalServiceEntity) GetGoldenSignalValuesV2() GoldenSignalValues

GetGoldenSignalValuesV2 returns a pointer to the value of GoldenSignalValuesV2 from ApmExternalServiceEntity

func (ApmExternalServiceEntity) GetGoldenTags

GetGoldenTags returns a pointer to the value of GoldenTags from ApmExternalServiceEntity

func (ApmExternalServiceEntity) GetHost

func (x ApmExternalServiceEntity) GetHost() string

GetHost returns a pointer to the value of Host from ApmExternalServiceEntity

func (ApmExternalServiceEntity) GetIndexedAt

GetIndexedAt returns a pointer to the value of IndexedAt from ApmExternalServiceEntity

func (ApmExternalServiceEntity) GetNRDBQuery

GetNRDBQuery returns a pointer to the value of NRDBQuery from ApmExternalServiceEntity

func (ApmExternalServiceEntity) GetName

func (x ApmExternalServiceEntity) GetName() string

GetName returns a pointer to the value of Name from ApmExternalServiceEntity

func (ApmExternalServiceEntity) GetNerdStorage

GetNerdStorage returns a pointer to the value of NerdStorage from ApmExternalServiceEntity

func (ApmExternalServiceEntity) GetNerdStoreCollection

func (x ApmExternalServiceEntity) GetNerdStoreCollection() []NerdStoreCollectionMember

GetNerdStoreCollection returns a pointer to the value of NerdStoreCollection from ApmExternalServiceEntity

func (ApmExternalServiceEntity) GetNerdStoreDocument

func (x ApmExternalServiceEntity) GetNerdStoreDocument() NerdStoreDocument

GetNerdStoreDocument returns a pointer to the value of NerdStoreDocument from ApmExternalServiceEntity

func (x ApmExternalServiceEntity) GetPermalink() string

GetPermalink returns a pointer to the value of Permalink from ApmExternalServiceEntity

func (ApmExternalServiceEntity) GetRecentAlertViolations

func (x ApmExternalServiceEntity) GetRecentAlertViolations() []EntityAlertViolation

GetRecentAlertViolations returns a pointer to the value of RecentAlertViolations from ApmExternalServiceEntity

func (ApmExternalServiceEntity) GetRecommendedServiceLevel

func (x ApmExternalServiceEntity) GetRecommendedServiceLevel() ServiceLevelRecommendation

GetRecommendedServiceLevel returns a pointer to the value of RecommendedServiceLevel from ApmExternalServiceEntity

func (ApmExternalServiceEntity) GetRelatedDashboards

GetRelatedDashboards returns a pointer to the value of RelatedDashboards from ApmExternalServiceEntity

func (ApmExternalServiceEntity) GetRelatedEntities

GetRelatedEntities returns a pointer to the value of RelatedEntities from ApmExternalServiceEntity

func (ApmExternalServiceEntity) GetRelationships

func (x ApmExternalServiceEntity) GetRelationships() []EntityRelationship

GetRelationships returns a pointer to the value of Relationships from ApmExternalServiceEntity

func (ApmExternalServiceEntity) GetReporting

func (x ApmExternalServiceEntity) GetReporting() bool

GetReporting returns a pointer to the value of Reporting from ApmExternalServiceEntity

func (ApmExternalServiceEntity) GetServiceLevel

GetServiceLevel returns a pointer to the value of ServiceLevel from ApmExternalServiceEntity

func (ApmExternalServiceEntity) GetSummaryMetrics

func (x ApmExternalServiceEntity) GetSummaryMetrics() []EntitySummaryMetric

GetSummaryMetrics returns a pointer to the value of SummaryMetrics from ApmExternalServiceEntity

func (ApmExternalServiceEntity) GetTags

func (x ApmExternalServiceEntity) GetTags() []EntityTag

GetTags returns a pointer to the value of Tags from ApmExternalServiceEntity

func (ApmExternalServiceEntity) GetTagsWithMetadata

func (x ApmExternalServiceEntity) GetTagsWithMetadata() []EntityTagWithMetadata

GetTagsWithMetadata returns a pointer to the value of TagsWithMetadata from ApmExternalServiceEntity

func (ApmExternalServiceEntity) GetTracingSummary

GetTracingSummary returns a pointer to the value of TracingSummary from ApmExternalServiceEntity

func (ApmExternalServiceEntity) GetType

func (x ApmExternalServiceEntity) GetType() string

GetType returns a pointer to the value of Type from ApmExternalServiceEntity

func (ApmExternalServiceEntity) GetUiTemplates

GetUiTemplates returns a pointer to the value of UiTemplates from ApmExternalServiceEntity

func (*ApmExternalServiceEntity) ImplementsAlertableEntity

func (x *ApmExternalServiceEntity) ImplementsAlertableEntity()

func (*ApmExternalServiceEntity) ImplementsEntity

func (x *ApmExternalServiceEntity) ImplementsEntity()

type ApmExternalServiceEntityOutline

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 alert status of the entity.
	AlertStatus EntityAlertStatus `json:"alertStatus,omitempty"`
	// The list of dashboard templates available for this entity.
	DashboardTemplates []EntityDashboardTemplatesDashboardTemplate `json:"dashboardTemplates"`
	// 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,omitempty"`
	// Existing API - to be replaced with V2 implementation.
	GoldenSignalValues []GoldenSignalSignalValues `json:"goldenSignalValues"`
	// The stored golden signal(s) for the given entity.
	GoldenSignalValuesV2 GoldenSignalValues `json:"goldenSignalValuesV2,omitempty"`
	// The list of golden tags for a specific entityType.
	GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags,omitempty"`
	// 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 recommended service levels for the entity.
	RecommendedServiceLevel ServiceLevelRecommendation `json:"recommendedServiceLevel,omitempty"`
	// Related dashboards results
	RelatedDashboards RelatedDashboardsRelatedDashboardResult `json:"relatedDashboards"`
	// 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 list of summary metrics.
	SummaryMetrics []EntitySummaryMetric `json:"summaryMetrics,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"`
	// List of templates availables for this entity.
	UiTemplates []EntityDashboardTemplatesUi `json:"uiTemplates"`
}

ApmExternalServiceEntityOutline - An external service seen by an APM Application.

func (ApmExternalServiceEntityOutline) GetAccount

GetAccount returns a pointer to the value of Account from ApmExternalServiceEntityOutline

func (ApmExternalServiceEntityOutline) GetAccountID

func (x ApmExternalServiceEntityOutline) GetAccountID() int

GetAccountID returns a pointer to the value of AccountID from ApmExternalServiceEntityOutline

func (ApmExternalServiceEntityOutline) GetAlertSeverity

GetAlertSeverity returns a pointer to the value of AlertSeverity from ApmExternalServiceEntityOutline

func (ApmExternalServiceEntityOutline) GetAlertStatus

GetAlertStatus returns a pointer to the value of AlertStatus from ApmExternalServiceEntityOutline

func (ApmExternalServiceEntityOutline) GetDashboardTemplates

GetDashboardTemplates returns a pointer to the value of DashboardTemplates from ApmExternalServiceEntityOutline

func (ApmExternalServiceEntityOutline) GetDomain

GetDomain returns a pointer to the value of Domain from ApmExternalServiceEntityOutline

func (ApmExternalServiceEntityOutline) GetEntityType

func (x ApmExternalServiceEntityOutline) GetEntityType() EntityType

GetEntityType returns a pointer to the value of EntityType from ApmExternalServiceEntityOutline

func (ApmExternalServiceEntityOutline) GetExternalSummary

GetExternalSummary returns a pointer to the value of ExternalSummary from ApmExternalServiceEntityOutline

func (ApmExternalServiceEntityOutline) GetGUID

GetGUID returns a pointer to the value of GUID from ApmExternalServiceEntityOutline

func (ApmExternalServiceEntityOutline) GetGoldenMetrics

GetGoldenMetrics returns a pointer to the value of GoldenMetrics from ApmExternalServiceEntityOutline

func (ApmExternalServiceEntityOutline) GetGoldenSignalValues

func (x ApmExternalServiceEntityOutline) GetGoldenSignalValues() []GoldenSignalSignalValues

GetGoldenSignalValues returns a pointer to the value of GoldenSignalValues from ApmExternalServiceEntityOutline

func (ApmExternalServiceEntityOutline) GetGoldenSignalValuesV2

func (x ApmExternalServiceEntityOutline) GetGoldenSignalValuesV2() GoldenSignalValues

GetGoldenSignalValuesV2 returns a pointer to the value of GoldenSignalValuesV2 from ApmExternalServiceEntityOutline

func (ApmExternalServiceEntityOutline) GetGoldenTags

GetGoldenTags returns a pointer to the value of GoldenTags from ApmExternalServiceEntityOutline

func (ApmExternalServiceEntityOutline) GetHost

GetHost returns a pointer to the value of Host from ApmExternalServiceEntityOutline

func (ApmExternalServiceEntityOutline) GetIndexedAt

GetIndexedAt returns a pointer to the value of IndexedAt from ApmExternalServiceEntityOutline

func (ApmExternalServiceEntityOutline) GetName

GetName returns a pointer to the value of Name from ApmExternalServiceEntityOutline

func (x ApmExternalServiceEntityOutline) GetPermalink() string

GetPermalink returns a pointer to the value of Permalink from ApmExternalServiceEntityOutline

func (ApmExternalServiceEntityOutline) GetRecommendedServiceLevel

func (x ApmExternalServiceEntityOutline) GetRecommendedServiceLevel() ServiceLevelRecommendation

GetRecommendedServiceLevel returns a pointer to the value of RecommendedServiceLevel from ApmExternalServiceEntityOutline

func (ApmExternalServiceEntityOutline) GetRelatedDashboards

GetRelatedDashboards returns a pointer to the value of RelatedDashboards from ApmExternalServiceEntityOutline

func (ApmExternalServiceEntityOutline) GetReporting

func (x ApmExternalServiceEntityOutline) GetReporting() bool

GetReporting returns a pointer to the value of Reporting from ApmExternalServiceEntityOutline

func (ApmExternalServiceEntityOutline) GetServiceLevel

GetServiceLevel returns a pointer to the value of ServiceLevel from ApmExternalServiceEntityOutline

func (ApmExternalServiceEntityOutline) GetSummaryMetrics

func (x ApmExternalServiceEntityOutline) GetSummaryMetrics() []EntitySummaryMetric

GetSummaryMetrics returns a pointer to the value of SummaryMetrics from ApmExternalServiceEntityOutline

func (ApmExternalServiceEntityOutline) GetTags

GetTags returns a pointer to the value of Tags from ApmExternalServiceEntityOutline

func (ApmExternalServiceEntityOutline) GetType

GetType returns a pointer to the value of Type from ApmExternalServiceEntityOutline

func (ApmExternalServiceEntityOutline) GetUiTemplates

GetUiTemplates returns a pointer to the value of UiTemplates from ApmExternalServiceEntityOutline

func (*ApmExternalServiceEntityOutline) ImplementsAlertableEntityOutline

func (x *ApmExternalServiceEntityOutline) ImplementsAlertableEntityOutline()

func (ApmExternalServiceEntityOutline) ImplementsEntity

func (x ApmExternalServiceEntityOutline) ImplementsEntity()

func (*ApmExternalServiceEntityOutline) ImplementsEntityOutline

func (x *ApmExternalServiceEntityOutline) ImplementsEntityOutline()

type ApmExternalServiceSummaryData

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

type AttributeMap map[string]interface{}

AttributeMap - This scalar represents a map of attributes in the form of key-value pairs.

type BrowserAgentInstallType

type BrowserAgentInstallType string

BrowserAgentInstallType - Browser agent install types.

type BrowserApplicationEntity

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"`
	// The alert status of the entity.
	AlertStatus EntityAlertStatus `json:"alertStatus,omitempty"`
	// Violations on the entity that were open during the specified time window. This will return up to 500 violations - if there are more in the time window selected, you must narrow the timewindow or look at fewer entities.
	AlertViolations []EntityAlertViolation `json:"alertViolations,omitempty"`
	// The ID of the Browser App.
	ApplicationID int `json:"applicationId,omitempty"`
	// Access general properties for the application.
	BrowserProperties AgentApplicationSettingsBrowserProperties `json:"browserProperties,omitempty"`
	// Settings that are common across browser applications.
	BrowserSettings AgentApplicationSettingsBrowserBase `json:"browserSettings,omitempty"`
	// Summary statistics about the Browser App.
	BrowserSummary BrowserApplicationSummaryData `json:"browserSummary,omitempty"`
	// Query upstream and downstream dependencies for an entity
	Connections RelatedExternalsEntityResult `json:"connections,omitempty"`
	// The list of dashboard templates available for this entity.
	DashboardTemplates []EntityDashboardTemplatesDashboardTemplate `json:"dashboardTemplates"`
	// 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"`
	// An Exception that occurred in your Browser Application.
	Exception StackTraceBrowserException `json:"exception,omitempty"`
	// A unique entity identifier.
	GUID common.EntityGUID `json:"guid,omitempty"`
	// The list of golden metrics for a specific entity
	GoldenMetrics EntityGoldenContextScopedGoldenMetrics `json:"goldenMetrics,omitempty"`
	// Existing API - to be replaced with V2 implementation.
	GoldenSignalValues []GoldenSignalSignalValues `json:"goldenSignalValues"`
	// The stored golden signal(s) for the given entity.
	GoldenSignalValuesV2 GoldenSignalValues `json:"goldenSignalValuesV2,omitempty"`
	// The list of golden tags for a specific entityType.
	GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags,omitempty"`
	// 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"`
	NerdStoreCollection []NerdStoreCollectionMember `json:"nerdStoreCollection,omitempty"`
	NerdStoreDocument   NerdStoreDocument           `json:"nerdStoreDocument,omitempty"`
	// The url to the entity.
	Permalink string `json:"permalink,omitempty"`
	// Recent violations on the entity.
	RecentAlertViolations []EntityAlertViolation `json:"recentAlertViolations,omitempty"`
	// The recommended service levels for the entity.
	RecommendedServiceLevel ServiceLevelRecommendation `json:"recommendedServiceLevel,omitempty"`
	// Related dashboards results
	RelatedDashboards RelatedDashboardsRelatedDashboardResult `json:"relatedDashboards"`
	// Related entities result with optional filtering.
	RelatedEntities EntityRelationshipRelatedEntitiesResult `json:"relatedEntities,omitempty"`
	// Query upstream and downstream transaction dependencies for an entity
	RelatedTransactions RelatedExternalsTransactionResult `json:"relatedTransactions,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 list of summary metrics.
	SummaryMetrics []EntitySummaryMetric `json:"summaryMetrics,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"`
	// Look up Distributed Tracing summary data for the selected `EntityGuid`
	TracingSummary DistributedTracingEntityTracingSummary `json:"tracingSummary,omitempty"`
	// The entity's type
	Type string `json:"type,omitempty"`
	// List of templates availables for this entity.
	UiTemplates []EntityDashboardTemplatesUi `json:"uiTemplates"`
}

BrowserApplicationEntity - A Browser Application entity.

func (BrowserApplicationEntity) GetAccount

GetAccount returns a pointer to the value of Account from BrowserApplicationEntity

func (BrowserApplicationEntity) GetAccountID

func (x BrowserApplicationEntity) GetAccountID() int

GetAccountID returns a pointer to the value of AccountID from BrowserApplicationEntity

func (BrowserApplicationEntity) GetAgentInstallType

func (x BrowserApplicationEntity) GetAgentInstallType() BrowserAgentInstallType

GetAgentInstallType returns a pointer to the value of AgentInstallType from BrowserApplicationEntity

func (BrowserApplicationEntity) GetAlertSeverity

func (x BrowserApplicationEntity) GetAlertSeverity() EntityAlertSeverity

GetAlertSeverity returns a pointer to the value of AlertSeverity from BrowserApplicationEntity

func (BrowserApplicationEntity) GetAlertStatus

func (x BrowserApplicationEntity) GetAlertStatus() EntityAlertStatus

GetAlertStatus returns a pointer to the value of AlertStatus from BrowserApplicationEntity

func (BrowserApplicationEntity) GetAlertViolations

func (x BrowserApplicationEntity) GetAlertViolations() []EntityAlertViolation

GetAlertViolations returns a pointer to the value of AlertViolations from BrowserApplicationEntity

func (BrowserApplicationEntity) GetApplicationID

func (x BrowserApplicationEntity) GetApplicationID() int

GetApplicationID returns a pointer to the value of ApplicationID from BrowserApplicationEntity

func (BrowserApplicationEntity) GetBrowserProperties added in v2.21.2

GetBrowserProperties returns a pointer to the value of BrowserProperties from BrowserApplicationEntity

func (BrowserApplicationEntity) GetBrowserSettings

GetBrowserSettings returns a pointer to the value of BrowserSettings from BrowserApplicationEntity

func (BrowserApplicationEntity) GetBrowserSummary

GetBrowserSummary returns a pointer to the value of BrowserSummary from BrowserApplicationEntity

func (BrowserApplicationEntity) GetConnections

GetConnections returns a pointer to the value of Connections from BrowserApplicationEntity

func (BrowserApplicationEntity) GetDashboardTemplates

GetDashboardTemplates returns a pointer to the value of DashboardTemplates from BrowserApplicationEntity

func (BrowserApplicationEntity) GetDomain

func (x BrowserApplicationEntity) GetDomain() string

GetDomain returns a pointer to the value of Domain from BrowserApplicationEntity

func (BrowserApplicationEntity) GetEntityType

func (x BrowserApplicationEntity) GetEntityType() EntityType

GetEntityType returns a pointer to the value of EntityType from BrowserApplicationEntity

func (BrowserApplicationEntity) GetException

GetException returns a pointer to the value of Exception from BrowserApplicationEntity

func (BrowserApplicationEntity) GetGUID

GetGUID returns a pointer to the value of GUID from BrowserApplicationEntity

func (BrowserApplicationEntity) GetGoldenMetrics

GetGoldenMetrics returns a pointer to the value of GoldenMetrics from BrowserApplicationEntity

func (BrowserApplicationEntity) GetGoldenSignalValues

func (x BrowserApplicationEntity) GetGoldenSignalValues() []GoldenSignalSignalValues

GetGoldenSignalValues returns a pointer to the value of GoldenSignalValues from BrowserApplicationEntity

func (BrowserApplicationEntity) GetGoldenSignalValuesV2

func (x BrowserApplicationEntity) GetGoldenSignalValuesV2() GoldenSignalValues

GetGoldenSignalValuesV2 returns a pointer to the value of GoldenSignalValuesV2 from BrowserApplicationEntity

func (BrowserApplicationEntity) GetGoldenTags

GetGoldenTags returns a pointer to the value of GoldenTags from BrowserApplicationEntity

func (BrowserApplicationEntity) GetIndexedAt

GetIndexedAt returns a pointer to the value of IndexedAt from BrowserApplicationEntity

func (BrowserApplicationEntity) GetMetricNormalizationRule

func (x BrowserApplicationEntity) GetMetricNormalizationRule() MetricNormalizationRule

GetMetricNormalizationRule returns a pointer to the value of MetricNormalizationRule from BrowserApplicationEntity

func (BrowserApplicationEntity) GetMetricNormalizationRules

func (x BrowserApplicationEntity) GetMetricNormalizationRules() []MetricNormalizationRule

GetMetricNormalizationRules returns a pointer to the value of MetricNormalizationRules from BrowserApplicationEntity

func (BrowserApplicationEntity) GetNRDBQuery

GetNRDBQuery returns a pointer to the value of NRDBQuery from BrowserApplicationEntity

func (BrowserApplicationEntity) GetName

func (x BrowserApplicationEntity) GetName() string

GetName returns a pointer to the value of Name from BrowserApplicationEntity

func (BrowserApplicationEntity) GetNerdStorage

GetNerdStorage returns a pointer to the value of NerdStorage from BrowserApplicationEntity

func (BrowserApplicationEntity) GetNerdStoreCollection

func (x BrowserApplicationEntity) GetNerdStoreCollection() []NerdStoreCollectionMember

GetNerdStoreCollection returns a pointer to the value of NerdStoreCollection from BrowserApplicationEntity

func (BrowserApplicationEntity) GetNerdStoreDocument

func (x BrowserApplicationEntity) GetNerdStoreDocument() NerdStoreDocument

GetNerdStoreDocument returns a pointer to the value of NerdStoreDocument from BrowserApplicationEntity

func (x BrowserApplicationEntity) GetPermalink() string

GetPermalink returns a pointer to the value of Permalink from BrowserApplicationEntity

func (BrowserApplicationEntity) GetRecentAlertViolations

func (x BrowserApplicationEntity) GetRecentAlertViolations() []EntityAlertViolation

GetRecentAlertViolations returns a pointer to the value of RecentAlertViolations from BrowserApplicationEntity

func (BrowserApplicationEntity) GetRecommendedServiceLevel

func (x BrowserApplicationEntity) GetRecommendedServiceLevel() ServiceLevelRecommendation

GetRecommendedServiceLevel returns a pointer to the value of RecommendedServiceLevel from BrowserApplicationEntity

func (BrowserApplicationEntity) GetRelatedDashboards

GetRelatedDashboards returns a pointer to the value of RelatedDashboards from BrowserApplicationEntity

func (BrowserApplicationEntity) GetRelatedEntities

GetRelatedEntities returns a pointer to the value of RelatedEntities from BrowserApplicationEntity

func (BrowserApplicationEntity) GetRelatedTransactions

GetRelatedTransactions returns a pointer to the value of RelatedTransactions from BrowserApplicationEntity

func (BrowserApplicationEntity) GetRelationships

func (x BrowserApplicationEntity) GetRelationships() []EntityRelationship

GetRelationships returns a pointer to the value of Relationships from BrowserApplicationEntity

func (BrowserApplicationEntity) GetReporting

func (x BrowserApplicationEntity) GetReporting() bool

GetReporting returns a pointer to the value of Reporting from BrowserApplicationEntity

func (BrowserApplicationEntity) GetRunningAgentVersions

GetRunningAgentVersions returns a pointer to the value of RunningAgentVersions from BrowserApplicationEntity

func (BrowserApplicationEntity) GetServiceLevel

GetServiceLevel returns a pointer to the value of ServiceLevel from BrowserApplicationEntity

func (BrowserApplicationEntity) GetServingApmApplicationID

func (x BrowserApplicationEntity) GetServingApmApplicationID() int

GetServingApmApplicationID returns a pointer to the value of ServingApmApplicationID from BrowserApplicationEntity

func (BrowserApplicationEntity) GetSettings

GetSettings returns a pointer to the value of Settings from BrowserApplicationEntity

func (BrowserApplicationEntity) GetSummaryMetrics

func (x BrowserApplicationEntity) GetSummaryMetrics() []EntitySummaryMetric

GetSummaryMetrics returns a pointer to the value of SummaryMetrics from BrowserApplicationEntity

func (BrowserApplicationEntity) GetTags

func (x BrowserApplicationEntity) GetTags() []EntityTag

GetTags returns a pointer to the value of Tags from BrowserApplicationEntity

func (BrowserApplicationEntity) GetTagsWithMetadata

func (x BrowserApplicationEntity) GetTagsWithMetadata() []EntityTagWithMetadata

GetTagsWithMetadata returns a pointer to the value of TagsWithMetadata from BrowserApplicationEntity

func (BrowserApplicationEntity) GetTracingSummary

GetTracingSummary returns a pointer to the value of TracingSummary from BrowserApplicationEntity

func (BrowserApplicationEntity) GetType

func (x BrowserApplicationEntity) GetType() string

GetType returns a pointer to the value of Type from BrowserApplicationEntity

func (BrowserApplicationEntity) GetUiTemplates

GetUiTemplates returns a pointer to the value of UiTemplates from BrowserApplicationEntity

func (*BrowserApplicationEntity) ImplementsAlertableEntity

func (x *BrowserApplicationEntity) ImplementsAlertableEntity()

func (*BrowserApplicationEntity) ImplementsEntity

func (x *BrowserApplicationEntity) ImplementsEntity()

type BrowserApplicationEntityOutline

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 alert status of the entity.
	AlertStatus EntityAlertStatus `json:"alertStatus,omitempty"`
	// The ID of the Browser App.
	ApplicationID int `json:"applicationId,omitempty"`
	// Summary statistics about the Browser App.
	BrowserSummary BrowserApplicationSummaryData `json:"browserSummary,omitempty"`
	// The list of dashboard templates available for this entity.
	DashboardTemplates []EntityDashboardTemplatesDashboardTemplate `json:"dashboardTemplates"`
	// 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,omitempty"`
	// Existing API - to be replaced with V2 implementation.
	GoldenSignalValues []GoldenSignalSignalValues `json:"goldenSignalValues"`
	// The stored golden signal(s) for the given entity.
	GoldenSignalValuesV2 GoldenSignalValues `json:"goldenSignalValuesV2,omitempty"`
	// The list of golden tags for a specific entityType.
	GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags,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 recommended service levels for the entity.
	RecommendedServiceLevel ServiceLevelRecommendation `json:"recommendedServiceLevel,omitempty"`
	// Related dashboards results
	RelatedDashboards RelatedDashboardsRelatedDashboardResult `json:"relatedDashboards"`
	// 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 list of summary metrics.
	SummaryMetrics []EntitySummaryMetric `json:"summaryMetrics,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"`
	// List of templates availables for this entity.
	UiTemplates []EntityDashboardTemplatesUi `json:"uiTemplates"`
}

BrowserApplicationEntityOutline - A Browser Application entity outline.

func (BrowserApplicationEntityOutline) GetAccount

GetAccount returns a pointer to the value of Account from BrowserApplicationEntityOutline

func (BrowserApplicationEntityOutline) GetAccountID

func (x BrowserApplicationEntityOutline) GetAccountID() int

GetAccountID returns a pointer to the value of AccountID from BrowserApplicationEntityOutline

func (BrowserApplicationEntityOutline) GetAgentInstallType

GetAgentInstallType returns a pointer to the value of AgentInstallType from BrowserApplicationEntityOutline

func (BrowserApplicationEntityOutline) GetAlertSeverity

GetAlertSeverity returns a pointer to the value of AlertSeverity from BrowserApplicationEntityOutline

func (BrowserApplicationEntityOutline) GetAlertStatus

GetAlertStatus returns a pointer to the value of AlertStatus from BrowserApplicationEntityOutline

func (BrowserApplicationEntityOutline) GetApplicationID

func (x BrowserApplicationEntityOutline) GetApplicationID() int

GetApplicationID returns a pointer to the value of ApplicationID from BrowserApplicationEntityOutline

func (BrowserApplicationEntityOutline) GetBrowserSummary

GetBrowserSummary returns a pointer to the value of BrowserSummary from BrowserApplicationEntityOutline

func (BrowserApplicationEntityOutline) GetDashboardTemplates

GetDashboardTemplates returns a pointer to the value of DashboardTemplates from BrowserApplicationEntityOutline

func (BrowserApplicationEntityOutline) GetDomain

GetDomain returns a pointer to the value of Domain from BrowserApplicationEntityOutline

func (BrowserApplicationEntityOutline) GetEntityType

func (x BrowserApplicationEntityOutline) GetEntityType() EntityType

GetEntityType returns a pointer to the value of EntityType from BrowserApplicationEntityOutline

func (BrowserApplicationEntityOutline) GetGUID

GetGUID returns a pointer to the value of GUID from BrowserApplicationEntityOutline

func (BrowserApplicationEntityOutline) GetGoldenMetrics

GetGoldenMetrics returns a pointer to the value of GoldenMetrics from BrowserApplicationEntityOutline

func (BrowserApplicationEntityOutline) GetGoldenSignalValues

func (x BrowserApplicationEntityOutline) GetGoldenSignalValues() []GoldenSignalSignalValues

GetGoldenSignalValues returns a pointer to the value of GoldenSignalValues from BrowserApplicationEntityOutline

func (BrowserApplicationEntityOutline) GetGoldenSignalValuesV2

func (x BrowserApplicationEntityOutline) GetGoldenSignalValuesV2() GoldenSignalValues

GetGoldenSignalValuesV2 returns a pointer to the value of GoldenSignalValuesV2 from BrowserApplicationEntityOutline

func (BrowserApplicationEntityOutline) GetGoldenTags

GetGoldenTags returns a pointer to the value of GoldenTags from BrowserApplicationEntityOutline

func (BrowserApplicationEntityOutline) GetIndexedAt

GetIndexedAt returns a pointer to the value of IndexedAt from BrowserApplicationEntityOutline

func (BrowserApplicationEntityOutline) GetName

GetName returns a pointer to the value of Name from BrowserApplicationEntityOutline

func (x BrowserApplicationEntityOutline) GetPermalink() string

GetPermalink returns a pointer to the value of Permalink from BrowserApplicationEntityOutline

func (BrowserApplicationEntityOutline) GetRecommendedServiceLevel

func (x BrowserApplicationEntityOutline) GetRecommendedServiceLevel() ServiceLevelRecommendation

GetRecommendedServiceLevel returns a pointer to the value of RecommendedServiceLevel from BrowserApplicationEntityOutline

func (BrowserApplicationEntityOutline) GetRelatedDashboards

GetRelatedDashboards returns a pointer to the value of RelatedDashboards from BrowserApplicationEntityOutline

func (BrowserApplicationEntityOutline) GetReporting

func (x BrowserApplicationEntityOutline) GetReporting() bool

GetReporting returns a pointer to the value of Reporting from BrowserApplicationEntityOutline

func (BrowserApplicationEntityOutline) GetRunningAgentVersions

GetRunningAgentVersions returns a pointer to the value of RunningAgentVersions from BrowserApplicationEntityOutline

func (BrowserApplicationEntityOutline) GetServiceLevel

GetServiceLevel returns a pointer to the value of ServiceLevel from BrowserApplicationEntityOutline

func (BrowserApplicationEntityOutline) GetServingApmApplicationID

func (x BrowserApplicationEntityOutline) GetServingApmApplicationID() int

GetServingApmApplicationID returns a pointer to the value of ServingApmApplicationID from BrowserApplicationEntityOutline

func (BrowserApplicationEntityOutline) GetSettings

GetSettings returns a pointer to the value of Settings from BrowserApplicationEntityOutline

func (BrowserApplicationEntityOutline) GetSummaryMetrics

func (x BrowserApplicationEntityOutline) GetSummaryMetrics() []EntitySummaryMetric

GetSummaryMetrics returns a pointer to the value of SummaryMetrics from BrowserApplicationEntityOutline

func (BrowserApplicationEntityOutline) GetTags

GetTags returns a pointer to the value of Tags from BrowserApplicationEntityOutline

func (BrowserApplicationEntityOutline) GetType

GetType returns a pointer to the value of Type from BrowserApplicationEntityOutline

func (BrowserApplicationEntityOutline) GetUiTemplates

GetUiTemplates returns a pointer to the value of UiTemplates from BrowserApplicationEntityOutline

func (*BrowserApplicationEntityOutline) ImplementsAlertableEntityOutline

func (x *BrowserApplicationEntityOutline) ImplementsAlertableEntityOutline()

func (BrowserApplicationEntityOutline) ImplementsEntity

func (x BrowserApplicationEntityOutline) ImplementsEntity()

func (*BrowserApplicationEntityOutline) ImplementsEntityOutline

func (x *BrowserApplicationEntityOutline) ImplementsEntityOutline()

type BrowserApplicationRunningAgentVersions

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

type BrowserApplicationSettings struct {
	// The current Apdex target setting
	ApdexTarget float64 `json:"apdexTarget,omitempty"`
}

BrowserApplicationSettings - Configuration settings for the Browser App

type BrowserApplicationSummaryData

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 Capability

type Capability struct {
	Name string `json:"name,omitempty"`
}

type ChangeTrackingDeployment added in v2.29.0

type ChangeTrackingDeployment struct {
	// A URL to the changelog or, if not linkable, a list of changes.
	Changelog string `json:"changelog,omitempty"`
	// The commit identifier, for example, a Git commit SHA.
	Commit string `json:"commit,omitempty"`
	// A link to the system that generated the deployment.
	DeepLink string `json:"deepLink,omitempty"`
	// A unique deployment identifier.
	DeploymentId string `json:"deploymentId,omitempty"`
	// The type of deployment, for example, ‘Blue green’ or ‘Rolling’.
	DeploymentType ChangeTrackingDeploymentType `json:"deploymentType,omitempty"`
	// A description of the deployment.
	Description string `json:"description,omitempty"`
	// The NR entity that was deployed.
	EntityGUID common.EntityGUID `json:"entityGuid"`
	// An identifier used to correlate two or more events.
	GroupId string `json:"groupId,omitempty"`
	// The start time of the deployment as the number of milliseconds since the Unix epoch.
	Timestamp *nrtime.EpochMilliseconds `json:"timestamp"`
	// The username of the deployer or bot.
	User string `json:"user,omitempty"`
	// The version of the deployed software, for example, something like v1.1.
	Version string `json:"version"`
}

ChangeTrackingDeployment - A deployment.

type ChangeTrackingDeploymentSearchResult added in v2.29.0

type ChangeTrackingDeploymentSearchResult struct {
	// The list of deployment events in the given time window.
	Results []ChangeTrackingDeployment `json:"results,omitempty"`
}

ChangeTrackingDeploymentSearchResult - The result of the deployment search query.

type ChangeTrackingDeploymentType added in v2.29.0

type ChangeTrackingDeploymentType string

ChangeTrackingDeploymentType - Type of deployment.

type CollectionEntity

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

func (x CollectionEntity) GetCollection() EntityCollection

GetCollection returns a pointer to the value of Collection from CollectionEntity

func (CollectionEntity) GetGUID

func (x CollectionEntity) GetGUID() common.EntityGUID

GetGUID returns a pointer to the value of GUID from CollectionEntity

func (*CollectionEntity) ImplementsCollectionEntity

func (x *CollectionEntity) ImplementsCollectionEntity()

type CollectionEntityInterface

type CollectionEntityInterface interface {
	ImplementsCollectionEntity()
}

CollectionEntity - A group of entities defined by entity search queries and specific GUIDs

func UnmarshalCollectionEntityInterface

func UnmarshalCollectionEntityInterface(b []byte) (*CollectionEntityInterface, error)

UnmarshalCollectionEntityInterface unmarshals the interface into the correct type based on __typename provided by GraphQL

type DashboardAlertSeverity

type DashboardAlertSeverity string

DashboardAlertSeverity - Alert severity.

type DashboardAreaWidgetConfiguration

type DashboardAreaWidgetConfiguration struct {
	// nrql queries
	NRQLQueries []DashboardWidgetNRQLQuery `json:"nrqlQueries,omitempty"`
}

DashboardAreaWidgetConfiguration - Configuration for visualization type 'viz.area'

type DashboardBarWidgetConfiguration

type DashboardBarWidgetConfiguration struct {
	// nrql queries
	NRQLQueries []DashboardWidgetNRQLQuery `json:"nrqlQueries,omitempty"`
}

DashboardBarWidgetConfiguration - Configuration for visualization type 'viz.bar'

type DashboardBillboardWidgetConfiguration

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

type DashboardBillboardWidgetThreshold struct {
	// Alert severity.
	AlertSeverity DashboardAlertSeverity `json:"alertSeverity,omitempty"`
	// Alert value.
	Value float64 `json:"value,omitempty"`
}

DashboardBillboardWidgetThreshold - Billboard widget threshold.

type DashboardEditable

type DashboardEditable string

DashboardEditable - Editable.

type DashboardEncodedInfraFilterSet

type DashboardEncodedInfraFilterSet string

DashboardEncodedInfraFilterSet - Encoded infra filter set

type DashboardEntity

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"`
	// The alert status of the entity.
	AlertStatus EntityAlertStatus `json:"alertStatus,omitempty"`
	// Violations on the entity that were open during the specified time window. This will return up to 500 violations - if there are more in the time window selected, you must narrow the timewindow or look at fewer entities.
	AlertViolations []EntityAlertViolation `json:"alertViolations,omitempty"`
	// Dashboard creation timestamp.
	CreatedAt nrtime.DateTime `json:"createdAt,omitempty"`
	// Dashboard creation timestamp.
	CreatedAtInternal string `json:"createdAtInternal,omitempty"`
	// The parent entity `guid` of the dashboard.
	DashboardParentGUID common.EntityGUID `json:"dashboardParentGuid,omitempty"`
	// The list of dashboard templates available for this entity.
	DashboardTemplates []EntityDashboardTemplatesDashboardTemplate `json:"dashboardTemplates"`
	// Dashboard description.
	Description string `json:"description,omitempty"`
	// Dashboard description.
	DescriptionInternal string `json:"descriptionInternal,omitempty"`
	// The entity's domain
	Domain string `json:"domain,omitempty"`
	// Dashboard editable configuration.
	EditableInternal DashboardEditable `json:"editableInternal,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,omitempty"`
	// Existing API - to be replaced with V2 implementation.
	GoldenSignalValues []GoldenSignalSignalValues `json:"goldenSignalValues"`
	// The stored golden signal(s) for the given entity.
	GoldenSignalValuesV2 GoldenSignalValues `json:"goldenSignalValuesV2,omitempty"`
	// The list of golden tags for a specific entityType.
	GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags,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"`
	NerdStoreCollection []NerdStoreCollectionMember `json:"nerdStoreCollection,omitempty"`
	NerdStoreDocument   NerdStoreDocument           `json:"nerdStoreDocument,omitempty"`
	// Dashboard owner.
	Owner DashboardOwnerInfo `json:"owner,omitempty"`
	// Dashboard owner's email.
	OwnerEmailInternal string `json:"ownerEmailInternal,omitempty"`
	// Dashboard pages.
	Pages []DashboardPage `json:"pages,omitempty"`
	// Dashboard pages.
	PagesInternal []DashboardPageInternal `json:"pagesInternal,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"`
	// The recommended service levels for the entity.
	RecommendedServiceLevel ServiceLevelRecommendation `json:"recommendedServiceLevel,omitempty"`
	// Related dashboards results
	RelatedDashboards RelatedDashboardsRelatedDashboardResult `json:"relatedDashboards"`
	// 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 list of summary metrics.
	SummaryMetrics []EntitySummaryMetric `json:"summaryMetrics,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"`
	// Look up Distributed Tracing summary data for the selected `EntityGuid`
	TracingSummary DistributedTracingEntityTracingSummary `json:"tracingSummary,omitempty"`
	// The entity's type
	Type string `json:"type,omitempty"`
	// List of templates availables for this entity.
	UiTemplates []EntityDashboardTemplatesUi `json:"uiTemplates"`
	// Dashboard update timestamp.
	UpdatedAt nrtime.DateTime `json:"updatedAt,omitempty"`
	// Dashboard update timestamp.
	UpdatedAtInternal string `json:"updatedAtInternal,omitempty"`
	// Dashboard visibility configuration.
	VisibilityInternal DashboardVisibility `json:"visibilityInternal,omitempty"`
	// Dashboard-local variable definitions.
	Variables []DashboardVariable `json:"variables,omitempty"`
}

DashboardEntity - A Dashboard entity.

func (DashboardEntity) GetAccount

func (x DashboardEntity) GetAccount() accounts.AccountOutline

GetAccount returns a pointer to the value of Account from DashboardEntity

func (DashboardEntity) GetAccountID

func (x DashboardEntity) GetAccountID() int

GetAccountID returns a pointer to the value of AccountID from DashboardEntity

func (DashboardEntity) GetAlertSeverity

func (x DashboardEntity) GetAlertSeverity() EntityAlertSeverity

GetAlertSeverity returns a pointer to the value of AlertSeverity from DashboardEntity

func (DashboardEntity) GetAlertStatus

func (x DashboardEntity) GetAlertStatus() EntityAlertStatus

GetAlertStatus returns a pointer to the value of AlertStatus from DashboardEntity

func (DashboardEntity) GetAlertViolations

func (x DashboardEntity) GetAlertViolations() []EntityAlertViolation

GetAlertViolations returns a pointer to the value of AlertViolations from DashboardEntity

func (DashboardEntity) GetCreatedAt

func (x DashboardEntity) GetCreatedAt() nrtime.DateTime

GetCreatedAt returns a pointer to the value of CreatedAt from DashboardEntity

func (DashboardEntity) GetCreatedAtInternal

func (x DashboardEntity) GetCreatedAtInternal() string

GetCreatedAtInternal returns a pointer to the value of CreatedAtInternal from DashboardEntity

func (DashboardEntity) GetDashboardParentGUID

func (x DashboardEntity) GetDashboardParentGUID() common.EntityGUID

GetDashboardParentGUID returns a pointer to the value of DashboardParentGUID from DashboardEntity

func (DashboardEntity) GetDashboardTemplates

func (x DashboardEntity) GetDashboardTemplates() []EntityDashboardTemplatesDashboardTemplate

GetDashboardTemplates returns a pointer to the value of DashboardTemplates from DashboardEntity

func (DashboardEntity) GetDescription

func (x DashboardEntity) GetDescription() string

GetDescription returns a pointer to the value of Description from DashboardEntity

func (DashboardEntity) GetDescriptionInternal

func (x DashboardEntity) GetDescriptionInternal() string

GetDescriptionInternal returns a pointer to the value of DescriptionInternal from DashboardEntity

func (DashboardEntity) GetDomain

func (x DashboardEntity) GetDomain() string

GetDomain returns a pointer to the value of Domain from DashboardEntity

func (DashboardEntity) GetEditableInternal

func (x DashboardEntity) GetEditableInternal() DashboardEditable

GetEditableInternal returns a pointer to the value of EditableInternal from DashboardEntity

func (DashboardEntity) GetEntityType

func (x DashboardEntity) GetEntityType() EntityType

GetEntityType returns a pointer to the value of EntityType from DashboardEntity

func (DashboardEntity) GetGUID

func (x DashboardEntity) GetGUID() common.EntityGUID

GetGUID returns a pointer to the value of GUID from DashboardEntity

func (DashboardEntity) GetGoldenMetrics

GetGoldenMetrics returns a pointer to the value of GoldenMetrics from DashboardEntity

func (DashboardEntity) GetGoldenSignalValues

func (x DashboardEntity) GetGoldenSignalValues() []GoldenSignalSignalValues

GetGoldenSignalValues returns a pointer to the value of GoldenSignalValues from DashboardEntity

func (DashboardEntity) GetGoldenSignalValuesV2

func (x DashboardEntity) GetGoldenSignalValuesV2() GoldenSignalValues

GetGoldenSignalValuesV2 returns a pointer to the value of GoldenSignalValuesV2 from DashboardEntity

func (DashboardEntity) GetGoldenTags

GetGoldenTags returns a pointer to the value of GoldenTags from DashboardEntity

func (DashboardEntity) GetIndexedAt

func (x DashboardEntity) GetIndexedAt() *nrtime.EpochMilliseconds

GetIndexedAt returns a pointer to the value of IndexedAt from DashboardEntity

func (DashboardEntity) GetNRDBQuery

func (x DashboardEntity) GetNRDBQuery() nrdb.NRDBResultContainer

GetNRDBQuery returns a pointer to the value of NRDBQuery from DashboardEntity

func (DashboardEntity) GetName

func (x DashboardEntity) GetName() string

GetName returns a pointer to the value of Name from DashboardEntity

func (DashboardEntity) GetNerdStorage

func (x DashboardEntity) GetNerdStorage() NerdStorageEntityScope

GetNerdStorage returns a pointer to the value of NerdStorage from DashboardEntity

func (DashboardEntity) GetNerdStoreCollection

func (x DashboardEntity) GetNerdStoreCollection() []NerdStoreCollectionMember

GetNerdStoreCollection returns a pointer to the value of NerdStoreCollection from DashboardEntity

func (DashboardEntity) GetNerdStoreDocument

func (x DashboardEntity) GetNerdStoreDocument() NerdStoreDocument

GetNerdStoreDocument returns a pointer to the value of NerdStoreDocument from DashboardEntity

func (DashboardEntity) GetOwner

func (x DashboardEntity) GetOwner() DashboardOwnerInfo

GetOwner returns a pointer to the value of Owner from DashboardEntity

func (DashboardEntity) GetOwnerEmailInternal

func (x DashboardEntity) GetOwnerEmailInternal() string

GetOwnerEmailInternal returns a pointer to the value of OwnerEmailInternal from DashboardEntity

func (DashboardEntity) GetPages

func (x DashboardEntity) GetPages() []DashboardPage

GetPages returns a pointer to the value of Pages from DashboardEntity

func (DashboardEntity) GetPagesInternal

func (x DashboardEntity) GetPagesInternal() []DashboardPageInternal

GetPagesInternal returns a pointer to the value of PagesInternal from DashboardEntity

func (x DashboardEntity) GetPermalink() string

GetPermalink returns a pointer to the value of Permalink from DashboardEntity

func (DashboardEntity) GetPermissions

func (x DashboardEntity) GetPermissions() DashboardPermissions

GetPermissions returns a pointer to the value of Permissions from DashboardEntity

func (DashboardEntity) GetRecentAlertViolations

func (x DashboardEntity) GetRecentAlertViolations() []EntityAlertViolation

GetRecentAlertViolations returns a pointer to the value of RecentAlertViolations from DashboardEntity

func (DashboardEntity) GetRecommendedServiceLevel

func (x DashboardEntity) GetRecommendedServiceLevel() ServiceLevelRecommendation

GetRecommendedServiceLevel returns a pointer to the value of RecommendedServiceLevel from DashboardEntity

func (DashboardEntity) GetRelatedDashboards

GetRelatedDashboards returns a pointer to the value of RelatedDashboards from DashboardEntity

func (DashboardEntity) GetRelatedEntities

GetRelatedEntities returns a pointer to the value of RelatedEntities from DashboardEntity

func (DashboardEntity) GetRelationships

func (x DashboardEntity) GetRelationships() []EntityRelationship

GetRelationships returns a pointer to the value of Relationships from DashboardEntity

func (DashboardEntity) GetReporting

func (x DashboardEntity) GetReporting() bool

GetReporting returns a pointer to the value of Reporting from DashboardEntity

func (DashboardEntity) GetServiceLevel

func (x DashboardEntity) GetServiceLevel() ServiceLevelDefinition

GetServiceLevel returns a pointer to the value of ServiceLevel from DashboardEntity

func (DashboardEntity) GetSummaryMetrics

func (x DashboardEntity) GetSummaryMetrics() []EntitySummaryMetric

GetSummaryMetrics returns a pointer to the value of SummaryMetrics from DashboardEntity

func (DashboardEntity) GetTags

func (x DashboardEntity) GetTags() []EntityTag

GetTags returns a pointer to the value of Tags from DashboardEntity

func (DashboardEntity) GetTagsWithMetadata

func (x DashboardEntity) GetTagsWithMetadata() []EntityTagWithMetadata

GetTagsWithMetadata returns a pointer to the value of TagsWithMetadata from DashboardEntity

func (DashboardEntity) GetTracingSummary

GetTracingSummary returns a pointer to the value of TracingSummary from DashboardEntity

func (DashboardEntity) GetType

func (x DashboardEntity) GetType() string

GetType returns a pointer to the value of Type from DashboardEntity

func (DashboardEntity) GetUiTemplates

func (x DashboardEntity) GetUiTemplates() []EntityDashboardTemplatesUi

GetUiTemplates returns a pointer to the value of UiTemplates from DashboardEntity

func (DashboardEntity) GetUpdatedAt

func (x DashboardEntity) GetUpdatedAt() nrtime.DateTime

GetUpdatedAt returns a pointer to the value of UpdatedAt from DashboardEntity

func (DashboardEntity) GetUpdatedAtInternal

func (x DashboardEntity) GetUpdatedAtInternal() string

GetUpdatedAtInternal returns a pointer to the value of UpdatedAtInternal from DashboardEntity

func (DashboardEntity) GetVariables added in v2.6.0

func (x DashboardEntity) GetVariables() []DashboardVariable

GetVariables returns a pointer to the value of Variables from DashboardEntity

func (DashboardEntity) GetVisibilityInternal

func (x DashboardEntity) GetVisibilityInternal() DashboardVisibility

GetVisibilityInternal returns a pointer to the value of VisibilityInternal from DashboardEntity

func (*DashboardEntity) ImplementsAlertableEntity

func (x *DashboardEntity) ImplementsAlertableEntity()

func (*DashboardEntity) ImplementsEntity

func (x *DashboardEntity) ImplementsEntity()

type DashboardEntityAlertStatus

type DashboardEntityAlertStatus string

DashboardEntityAlertStatus - Entity alert status.

type DashboardEntityOutline

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 alert status of the entity.
	AlertStatus EntityAlertStatus `json:"alertStatus,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 list of dashboard templates available for this entity.
	DashboardTemplates []EntityDashboardTemplatesDashboardTemplate `json:"dashboardTemplates"`
	// 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,omitempty"`
	// Existing API - to be replaced with V2 implementation.
	GoldenSignalValues []GoldenSignalSignalValues `json:"goldenSignalValues"`
	// The stored golden signal(s) for the given entity.
	GoldenSignalValuesV2 GoldenSignalValues `json:"goldenSignalValuesV2,omitempty"`
	// The list of golden tags for a specific entityType.
	GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags,omitempty"`
	// 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 recommended service levels for the entity.
	RecommendedServiceLevel ServiceLevelRecommendation `json:"recommendedServiceLevel,omitempty"`
	// Related dashboards results
	RelatedDashboards RelatedDashboardsRelatedDashboardResult `json:"relatedDashboards"`
	// 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 list of summary metrics.
	SummaryMetrics []EntitySummaryMetric `json:"summaryMetrics,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"`
	// List of templates availables for this entity.
	UiTemplates []EntityDashboardTemplatesUi `json:"uiTemplates"`
	// The date and time the dashboard was updated
	UpdatedAt nrtime.DateTime `json:"updatedAt,omitempty"`
}

DashboardEntityOutline - A Dashboard entity outline.

func (DashboardEntityOutline) GetAccount

GetAccount returns a pointer to the value of Account from DashboardEntityOutline

func (DashboardEntityOutline) GetAccountID

func (x DashboardEntityOutline) GetAccountID() int

GetAccountID returns a pointer to the value of AccountID from DashboardEntityOutline

func (DashboardEntityOutline) GetAlertSeverity

func (x DashboardEntityOutline) GetAlertSeverity() EntityAlertSeverity

GetAlertSeverity returns a pointer to the value of AlertSeverity from DashboardEntityOutline

func (DashboardEntityOutline) GetAlertStatus

func (x DashboardEntityOutline) GetAlertStatus() EntityAlertStatus

GetAlertStatus returns a pointer to the value of AlertStatus from DashboardEntityOutline

func (DashboardEntityOutline) GetCreatedAt

func (x DashboardEntityOutline) GetCreatedAt() nrtime.DateTime

GetCreatedAt returns a pointer to the value of CreatedAt from DashboardEntityOutline

func (DashboardEntityOutline) GetDashboardParentGUID

func (x DashboardEntityOutline) GetDashboardParentGUID() common.EntityGUID

GetDashboardParentGUID returns a pointer to the value of DashboardParentGUID from DashboardEntityOutline

func (DashboardEntityOutline) GetDashboardTemplates

GetDashboardTemplates returns a pointer to the value of DashboardTemplates from DashboardEntityOutline

func (DashboardEntityOutline) GetDomain

func (x DashboardEntityOutline) GetDomain() string

GetDomain returns a pointer to the value of Domain from DashboardEntityOutline

func (DashboardEntityOutline) GetEntityType

func (x DashboardEntityOutline) GetEntityType() EntityType

GetEntityType returns a pointer to the value of EntityType from DashboardEntityOutline

func (DashboardEntityOutline) GetGUID

GetGUID returns a pointer to the value of GUID from DashboardEntityOutline

func (DashboardEntityOutline) GetGoldenMetrics

GetGoldenMetrics returns a pointer to the value of GoldenMetrics from DashboardEntityOutline

func (DashboardEntityOutline) GetGoldenSignalValues

func (x DashboardEntityOutline) GetGoldenSignalValues() []GoldenSignalSignalValues

GetGoldenSignalValues returns a pointer to the value of GoldenSignalValues from DashboardEntityOutline

func (DashboardEntityOutline) GetGoldenSignalValuesV2

func (x DashboardEntityOutline) GetGoldenSignalValuesV2() GoldenSignalValues

GetGoldenSignalValuesV2 returns a pointer to the value of GoldenSignalValuesV2 from DashboardEntityOutline

func (DashboardEntityOutline) GetGoldenTags

GetGoldenTags returns a pointer to the value of GoldenTags from DashboardEntityOutline

func (DashboardEntityOutline) GetIndexedAt

GetIndexedAt returns a pointer to the value of IndexedAt from DashboardEntityOutline

func (DashboardEntityOutline) GetName

func (x DashboardEntityOutline) GetName() string

GetName returns a pointer to the value of Name from DashboardEntityOutline

func (DashboardEntityOutline) GetOwner

GetOwner returns a pointer to the value of Owner from DashboardEntityOutline

func (x DashboardEntityOutline) GetPermalink() string

GetPermalink returns a pointer to the value of Permalink from DashboardEntityOutline

func (DashboardEntityOutline) GetPermissions

GetPermissions returns a pointer to the value of Permissions from DashboardEntityOutline

func (DashboardEntityOutline) GetRecommendedServiceLevel

func (x DashboardEntityOutline) GetRecommendedServiceLevel() ServiceLevelRecommendation

GetRecommendedServiceLevel returns a pointer to the value of RecommendedServiceLevel from DashboardEntityOutline

func (DashboardEntityOutline) GetRelatedDashboards

GetRelatedDashboards returns a pointer to the value of RelatedDashboards from DashboardEntityOutline

func (DashboardEntityOutline) GetReporting

func (x DashboardEntityOutline) GetReporting() bool

GetReporting returns a pointer to the value of Reporting from DashboardEntityOutline

func (DashboardEntityOutline) GetServiceLevel

func (x DashboardEntityOutline) GetServiceLevel() ServiceLevelDefinition

GetServiceLevel returns a pointer to the value of ServiceLevel from DashboardEntityOutline

func (DashboardEntityOutline) GetSummaryMetrics

func (x DashboardEntityOutline) GetSummaryMetrics() []EntitySummaryMetric

GetSummaryMetrics returns a pointer to the value of SummaryMetrics from DashboardEntityOutline

func (DashboardEntityOutline) GetTags

func (x DashboardEntityOutline) GetTags() []EntityTag

GetTags returns a pointer to the value of Tags from DashboardEntityOutline

func (DashboardEntityOutline) GetType

func (x DashboardEntityOutline) GetType() string

GetType returns a pointer to the value of Type from DashboardEntityOutline

func (DashboardEntityOutline) GetUiTemplates

GetUiTemplates returns a pointer to the value of UiTemplates from DashboardEntityOutline

func (DashboardEntityOutline) GetUpdatedAt

func (x DashboardEntityOutline) GetUpdatedAt() nrtime.DateTime

GetUpdatedAt returns a pointer to the value of UpdatedAt from DashboardEntityOutline

func (*DashboardEntityOutline) ImplementsAlertableEntityOutline

func (x *DashboardEntityOutline) ImplementsAlertableEntityOutline()

func (DashboardEntityOutline) ImplementsEntity

func (x DashboardEntityOutline) ImplementsEntity()

func (*DashboardEntityOutline) ImplementsEntityOutline

func (x *DashboardEntityOutline) ImplementsEntityOutline()

type DashboardEntityOwnerInfo

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

type DashboardEntityPermissions string

DashboardEntityPermissions - Permissions that represent visibility & editability

type DashboardEntityType

type DashboardEntityType string

DashboardEntityType - Entity type.

type DashboardFacetChartWidget

type DashboardFacetChartWidget struct {
	// accountId.
	AccountID int `json:"accountId,omitempty"`
	// data.
	Data []DashboardNRQLWidgetData `json:"data"`
	// layout.
	Layout DashboardWidgetLayoutInternal `json:"layout,omitempty"`
	// presentation.
	Presentation DashboardFacetChartWidgetPresentation `json:"presentation"`
	// visualization.
	Visualization DashboardFacetChartWidgetVisualizationType `json:"visualization"`
	// widgetId.
	WidgetId int `json:"widgetId,omitempty"`
}

DashboardFacetChartWidget - Facet chart widget.

func (*DashboardFacetChartWidget) ImplementsDashboardWidgetCommons

func (x *DashboardFacetChartWidget) ImplementsDashboardWidgetCommons()

type DashboardFacetChartWidgetPresentation

type DashboardFacetChartWidgetPresentation struct {
	// drilldownDashboardId.
	DrilldownDashboardId int `json:"drilldownDashboardId,omitempty"`
	// notes.
	Notes string `json:"notes,omitempty"`
	// title.
	Title string `json:"title,omitempty"`
}

DashboardFacetChartWidgetPresentation - Facet chart widget presentation.

type DashboardFacetChartWidgetVisualizationType

type DashboardFacetChartWidgetVisualizationType string

DashboardFacetChartWidgetVisualizationType - Facet chart widget visualization type.

type DashboardInaccessibleWidget

type DashboardInaccessibleWidget struct {
	// layout.
	Layout DashboardWidgetLayoutInternal `json:"layout,omitempty"`
	// visualization.
	Visualization DashboardInaccessibleWidgetVisualizationType `json:"visualization,omitempty"`
	// widgetId.
	WidgetId int `json:"widgetId,omitempty"`
}

DashboardInaccessibleWidget - Inaccessible widget.

func (*DashboardInaccessibleWidget) ImplementsDashboardWidgetCommons

func (x *DashboardInaccessibleWidget) ImplementsDashboardWidgetCommons()

type DashboardInaccessibleWidgetVisualizationType

type DashboardInaccessibleWidgetVisualizationType string

DashboardInaccessibleWidgetVisualizationType - Inaccessible widget visualization type.

type DashboardInventoryWidget

type DashboardInventoryWidget struct {
	// accountId.
	AccountID int `json:"accountId,omitempty"`
	// data.
	Data []DashboardInventoryWidgetData `json:"data,omitempty"`
	// layout.
	Layout DashboardWidgetLayoutInternal `json:"layout,omitempty"`
	// presentation.
	Presentation DashboardWidgetPresentation `json:"presentation,omitempty"`
	// visualization.
	Visualization DashboardInventoryWidgetVisualizationType `json:"visualization"`
	// widgetId.
	WidgetId int `json:"widgetId,omitempty"`
}

DashboardInventoryWidget - Inventory widget.

func (*DashboardInventoryWidget) ImplementsDashboardWidgetCommons

func (x *DashboardInventoryWidget) ImplementsDashboardWidgetCommons()

type DashboardInventoryWidgetData

type DashboardInventoryWidgetData struct {
	// filters.
	Filters DashboardEncodedInfraFilterSet `json:"filters,omitempty"`
	// sources.
	Sources []string `json:"sources,omitempty"`
}

DashboardInventoryWidgetData - Inventory widget data.

type DashboardInventoryWidgetVisualizationType

type DashboardInventoryWidgetVisualizationType string

DashboardInventoryWidgetVisualizationType - Inventory widget visualization type.

type DashboardLineWidgetConfiguration

type DashboardLineWidgetConfiguration struct {
	// nrql queries
	NRQLQueries []DashboardWidgetNRQLQuery `json:"nrqlQueries,omitempty"`
}

DashboardLineWidgetConfiguration - Configuration for visualization type 'viz.line'

type DashboardMarkdownWidget

type DashboardMarkdownWidget struct {
	// accountId.
	AccountID int `json:"accountId,omitempty"`
	// data.
	Data []DashboardMarkdownWidgetData `json:"data,omitempty"`
	// layout.
	Layout DashboardWidgetLayoutInternal `json:"layout,omitempty"`
	// presentation.
	Presentation DashboardWidgetPresentation `json:"presentation,omitempty"`
	// visualization.
	Visualization DashboardMarkdownWidgetVisualizationType `json:"visualization"`
	// widgetId.
	WidgetId int `json:"widgetId,omitempty"`
}

DashboardMarkdownWidget - Markdown widget.

func (*DashboardMarkdownWidget) ImplementsDashboardWidgetCommons

func (x *DashboardMarkdownWidget) ImplementsDashboardWidgetCommons()

type DashboardMarkdownWidgetConfiguration

type DashboardMarkdownWidgetConfiguration struct {
	// Markdown content of the widget
	Text string `json:"text"`
}

DashboardMarkdownWidgetConfiguration - Configuration for visualization type 'viz.markdown'

type DashboardMarkdownWidgetData

type DashboardMarkdownWidgetData struct {
	// source.
	Source string `json:"source,omitempty"`
}

DashboardMarkdownWidgetData - Markdown widget data.

type DashboardMarkdownWidgetVisualizationType

type DashboardMarkdownWidgetVisualizationType string

DashboardMarkdownWidgetVisualizationType - Markdown widget visualization type.

type DashboardMetricLineChartWidget

type DashboardMetricLineChartWidget struct {
	// accountId.
	AccountID int `json:"accountId,omitempty"`
	// data.
	Data []DashboardMetricLineChartWidgetData `json:"data,omitempty"`
	// layout.
	Layout DashboardWidgetLayoutInternal `json:"layout,omitempty"`
	// presentation.
	Presentation DashboardWidgetPresentation `json:"presentation,omitempty"`
	// visualization.
	Visualization DashboardMetricLineChartWidgetVisualizationType `json:"visualization"`
	// widgetId.
	WidgetId int `json:"widgetId,omitempty"`
}

DashboardMetricLineChartWidget - Metric line chart widget.

func (*DashboardMetricLineChartWidget) ImplementsDashboardWidgetCommons

func (x *DashboardMetricLineChartWidget) ImplementsDashboardWidgetCommons()

type DashboardMetricLineChartWidgetData

type DashboardMetricLineChartWidgetData struct {
	// compareWith.
	CompareWith []DashboardMetricWidgetCompareWith `json:"compareWith,omitempty"`
	// Period of time of the requested data in milliseconds.
	Duration Milliseconds `json:"duration"`
	// endTime.
	EndTime *nrtime.EpochMilliseconds `json:"endTime,omitempty"`
	// entityIds.
	EntityIds []int `json:"entityIds"`
	// facet.
	Facet string `json:"facet,omitempty"`
	// limit.
	Limit int `json:"limit,omitempty"`
	// metrics.
	Metrics []DashboardWidgetDataMetric `json:"metrics"`
	// orderBy.
	OrderBy string `json:"orderBy,omitempty"`
	// rawMetricName.
	RawMetricName string `json:"rawMetricName,omitempty"`
}

DashboardMetricLineChartWidgetData - Metric line chart widget data.

type DashboardMetricLineChartWidgetVisualizationType

type DashboardMetricLineChartWidgetVisualizationType string

DashboardMetricLineChartWidgetVisualizationType - Metric line chart widget visualization type.

type DashboardMetricWidgetCompareWith

type DashboardMetricWidgetCompareWith struct {
	// offsetDuration.
	OffsetDuration string `json:"offsetDuration,omitempty"`
	// presentation.
	Presentation DashboardMetricWidgetCompareWithPresentation `json:"presentation,omitempty"`
}

DashboardMetricWidgetCompareWith - Metric widget compare with.

type DashboardMetricWidgetCompareWithPresentation

type DashboardMetricWidgetCompareWithPresentation struct {
	// color.
	Color string `json:"color,omitempty"`
	// name.
	Name string `json:"name,omitempty"`
}

DashboardMetricWidgetCompareWithPresentation - Metric widget compare with presentation.

type DashboardNRQLWidgetData

type DashboardNRQLWidgetData struct {
	// Unique identifier for the account.
	AccountID int `json:"accountId,omitempty"`
	// nrql.
	NRQL string `json:"nrql,omitempty"`
}

DashboardNRQLWidgetData - Nrql widget data.

type DashboardOwnerInfo

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

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 DashboardPageInternal

type DashboardPageInternal struct {
	// Page creation timestamp.
	CreatedAt string `json:"createdAt,omitempty"`
	// Page description.
	Description string `json:"description,omitempty"`
	// Page editable configuration.
	Editable DashboardEditable `json:"editable,omitempty"`
	// Unique entity identifier.
	GUID common.EntityGUID `json:"guid,omitempty"`
	// Number of columns configured in the Page grid.
	GridColumnCount int `json:"gridColumnCount,omitempty"`
	// Page name.
	Name string `json:"name,omitempty"`
	// Page owner's email.
	OwnerEmail string `json:"ownerEmail,omitempty"`
	// Page update timestamp.
	UpdatedAt string `json:"updatedAt,omitempty"`
	// Page visibility configuration.
	Visibility DashboardVisibility `json:"visibility,omitempty"`
	// Page widgets.
	Widgets DashboardWidgetsInternal `json:"widgets,omitempty"`
}

DashboardPageInternal - Page in a `DashboardEntity`.

type DashboardPermissions

type DashboardPermissions string

DashboardPermissions - Permissions that represent visibility & editability

type DashboardPieWidgetConfiguration

type DashboardPieWidgetConfiguration struct {
	// nrql queries
	NRQLQueries []DashboardWidgetNRQLQuery `json:"nrqlQueries,omitempty"`
}

DashboardPieWidgetConfiguration - Configuration for visualization type 'viz.pie'

type DashboardPredefinedMetricChartWidget

type DashboardPredefinedMetricChartWidget struct {
	// accountId.
	AccountID int `json:"accountId,omitempty"`
	// data.
	Data []DashboardPredefinedMetricChartWidgetData `json:"data,omitempty"`
	// layout.
	Layout DashboardWidgetLayoutInternal `json:"layout,omitempty"`
	// presentation.
	Presentation DashboardWidgetPresentation `json:"presentation,omitempty"`
	// visualization.
	Visualization DashboardPredefinedMetricChartWidgetVisualizationType `json:"visualization"`
	// widgetId.
	WidgetId int `json:"widgetId,omitempty"`
}

DashboardPredefinedMetricChartWidget - Predefined metric chart widget.

func (*DashboardPredefinedMetricChartWidget) ImplementsDashboardWidgetCommons

func (x *DashboardPredefinedMetricChartWidget) ImplementsDashboardWidgetCommons()

type DashboardPredefinedMetricChartWidgetData

type DashboardPredefinedMetricChartWidgetData struct {
	// Period of time of the requested data in milliseconds.
	Duration Milliseconds `json:"duration,omitempty"`
	// endTime.
	EndTime *nrtime.EpochMilliseconds `json:"endTime,omitempty"`
	// entityIds.
	EntityIds []int `json:"entityIds,omitempty"`
	// metrics.
	Metrics []DashboardWidgetDataMetric `json:"metrics,omitempty"`
}

DashboardPredefinedMetricChartWidgetData - Predefined metric chart widget data.

type DashboardPredefinedMetricChartWidgetVisualizationType

type DashboardPredefinedMetricChartWidgetVisualizationType string

DashboardPredefinedMetricChartWidgetVisualizationType - Predefined metric chart widget visualization type.

type DashboardServiceMapWidget

type DashboardServiceMapWidget struct {
	// accountId.
	AccountID int `json:"accountId,omitempty"`
	// data.
	Data []DashboardServiceMapWidgetData `json:"data,omitempty"`
	// layout.
	Layout DashboardWidgetLayoutInternal `json:"layout,omitempty"`
	// presentation.
	Presentation DashboardWidgetPresentation `json:"presentation,omitempty"`
	// visualization.
	Visualization DashboardServiceMapWidgetVisualizationType `json:"visualization"`
	// widgetId.
	WidgetId int `json:"widgetId,omitempty"`
}

DashboardServiceMapWidget - Service map widget.

func (*DashboardServiceMapWidget) ImplementsDashboardWidgetCommons

func (x *DashboardServiceMapWidget) ImplementsDashboardWidgetCommons()

type DashboardServiceMapWidgetAdditionalEntityData

type DashboardServiceMapWidgetAdditionalEntityData struct {
	// guid.
	GUID common.EntityGUID `json:"guid,omitempty"`
	// sourceGuid.
	SourceGUID common.EntityGUID `json:"sourceGuid,omitempty"`
	// targetGuid.
	TargetGUID common.EntityGUID `json:"targetGuid,omitempty"`
}

DashboardServiceMapWidgetAdditionalEntityData - Service map widget additional entity data.

type DashboardServiceMapWidgetData

type DashboardServiceMapWidgetData struct {
	// additionalEntities.
	AdditionalEntities []DashboardServiceMapWidgetAdditionalEntityData `json:"additionalEntities,omitempty"`
	// deemphasizedConditions.
	DeemphasizedConditions DashboardServiceMapWidgetDeemphasizedData `json:"deemphasizedConditions,omitempty"`
	// entitySearchQuery.
	EntitySearchQuery string `json:"entitySearchQuery,omitempty"`
	// hiddenEntities.
	HiddenEntities []DashboardServiceMapWidgetHiddenEntityData `json:"hiddenEntities,omitempty"`
	// primaryEntities.
	PrimaryEntities []DashboardServiceMapWidgetEntityData `json:"primaryEntities,omitempty"`
}

DashboardServiceMapWidgetData - Service map widget data.

type DashboardServiceMapWidgetDeemphasizedData

type DashboardServiceMapWidgetDeemphasizedData struct {
	// alertStatus.
	AlertStatus []DashboardEntityAlertStatus `json:"alertStatus,omitempty"`
	// entityType.
	EntityType []DashboardEntityType `json:"entityType,omitempty"`
}

DashboardServiceMapWidgetDeemphasizedData - Service map widget deemphasized data.

type DashboardServiceMapWidgetEntityData

type DashboardServiceMapWidgetEntityData struct {
	// guid.
	GUID common.EntityGUID `json:"guid,omitempty"`
}

DashboardServiceMapWidgetEntityData - Service map widget entity data.

type DashboardServiceMapWidgetHiddenEntityData

type DashboardServiceMapWidgetHiddenEntityData struct {
	// guid.
	GUID common.EntityGUID `json:"guid,omitempty"`
	// sourceGuid.
	SourceGUID common.EntityGUID `json:"sourceGuid,omitempty"`
	// targetGuid.
	TargetGUID common.EntityGUID `json:"targetGuid,omitempty"`
}

DashboardServiceMapWidgetHiddenEntityData - Service map widget hidden entity data.

type DashboardServiceMapWidgetVisualizationType

type DashboardServiceMapWidgetVisualizationType string

DashboardServiceMapWidgetVisualizationType - Service map widget visualization type.

type DashboardSimpleEventWidget

type DashboardSimpleEventWidget struct {
	// accountId.
	AccountID int `json:"accountId,omitempty"`
	// data.
	Data []DashboardNRQLWidgetData `json:"data,omitempty"`
	// layout.
	Layout DashboardWidgetLayoutInternal `json:"layout,omitempty"`
	// presentation.
	Presentation DashboardWidgetPresentation `json:"presentation,omitempty"`
	// visualization.
	Visualization DashboardSimpleEventWidgetVisualizationType `json:"visualization"`
	// widgetId.
	WidgetId int `json:"widgetId,omitempty"`
}

DashboardSimpleEventWidget - Simple event widget.

func (*DashboardSimpleEventWidget) ImplementsDashboardWidgetCommons

func (x *DashboardSimpleEventWidget) ImplementsDashboardWidgetCommons()

type DashboardSimpleEventWidgetVisualizationType

type DashboardSimpleEventWidgetVisualizationType string

DashboardSimpleEventWidgetVisualizationType - Simple event widget visualization type.

type DashboardTableWidgetConfiguration

type DashboardTableWidgetConfiguration struct {
	// nrql queries
	NRQLQueries []DashboardWidgetNRQLQuery `json:"nrqlQueries,omitempty"`
}

DashboardTableWidgetConfiguration - Configuration for visualization type 'viz.table'

type DashboardThresholdEventWidget

type DashboardThresholdEventWidget struct {
	// accountId.
	AccountID int `json:"accountId,omitempty"`
	// data.
	Data []DashboardNRQLWidgetData `json:"data,omitempty"`
	// layout.
	Layout DashboardWidgetLayoutInternal `json:"layout,omitempty"`
	// presentation.
	Presentation DashboardThresholdEventWidgetPresentation `json:"presentation,omitempty"`
	// visualization.
	Visualization DashboardThresholdEventWidgetVisualizationType `json:"visualization"`
	// widgetId.
	WidgetId int `json:"widgetId,omitempty"`
}

DashboardThresholdEventWidget - Threshold event widget.

func (*DashboardThresholdEventWidget) ImplementsDashboardWidgetCommons

func (x *DashboardThresholdEventWidget) ImplementsDashboardWidgetCommons()

type DashboardThresholdEventWidgetPresentation

type DashboardThresholdEventWidgetPresentation struct {
	// notes.
	Notes string `json:"notes,omitempty"`
	// threshold.
	Threshold DashboardThresholdEventWidgetPresentationThreshold `json:"threshold,omitempty"`
	// title.
	Title string `json:"title,omitempty"`
}

DashboardThresholdEventWidgetPresentation - Threshold event widget presentation.

type DashboardThresholdEventWidgetPresentationThreshold

type DashboardThresholdEventWidgetPresentationThreshold struct {
	// green.
	Green float64 `json:"green,omitempty"`
	// red.
	Red float64 `json:"red,omitempty"`
	// yellow.
	Yellow float64 `json:"yellow,omitempty"`
}

DashboardThresholdEventWidgetPresentationThreshold - Threshold event widget presentation threshold.

type DashboardThresholdEventWidgetVisualizationType

type DashboardThresholdEventWidgetVisualizationType string

DashboardThresholdEventWidgetVisualizationType - Threshold event widget visualization type.

type DashboardVariable added in v2.6.0

type DashboardVariable struct {
	// [DEPRECATED] Default value for this variable. The actual value to be used will depend on the type.
	DefaultValue *DashboardVariableDefaultValue `json:"defaultValue,omitempty"`
	// Default values for this variable. The actual value to be used will depend on the type.
	DefaultValues *[]DashboardVariableDefaultItem `json:"defaultValues,omitempty"`
	// Indicates whether this variable supports multiple selection or not. Only applies to variables of type NRQL or ENUM.
	IsMultiSelection bool `json:"isMultiSelection,omitempty"`
	// List of possible values for variables of type ENUM.
	Items []DashboardVariableEnumItem `json:"items,omitempty"`
	// Configuration for variables of type NRQL.
	NRQLQuery *DashboardVariableNRQLQuery `json:"nrqlQuery,omitempty"`
	// Variable identifier.
	Name string `json:"name,omitempty"`
	// Options applied to the variable
	Options *DashboardVariableOptions `json:"options,omitempty"`
	// Indicates the strategy to apply when replacing a variable in a NRQL query.
	ReplacementStrategy DashboardVariableReplacementStrategy `json:"replacementStrategy,omitempty"`
	// Human-friendly display string for this variable.
	Title string `json:"title,omitempty"`
	// Specifies the data type of the variable and where its possible values may come from.
	Type DashboardVariableType `json:"type,omitempty"`
}

DashboardVariable - Definition of a variable that is local to this dashboard. Variables are placeholders for dynamic values in widget NRQLs.

type DashboardVariableDefaultItem added in v2.6.0

type DashboardVariableDefaultItem struct {
	// The value of this default item.
	Value DashboardVariableDefaultValue `json:"value,omitempty"`
}

DashboardVariableDefaultItem - Represents a possible default value item.

type DashboardVariableDefaultValue added in v2.6.0

type DashboardVariableDefaultValue struct {
	// Default string value.
	String string `json:"string,omitempty"`
}

DashboardVariableDefaultValue - Specifies a default value for variables.

type DashboardVariableEnumItem added in v2.6.0

type DashboardVariableEnumItem struct {
	// A human-friendly display string for this value.
	Title string `json:"title,omitempty"`
	// A possible variable value.
	Value string `json:"value,omitempty"`
}

DashboardVariableEnumItem - Represents a possible value for a variable of type ENUM.

type DashboardVariableNRQLQuery added in v2.6.0

type DashboardVariableNRQLQuery struct {
	// New Relic account ID(s) to issue the query against.
	AccountIDs []int `json:"accountIds,omitempty"`
	// NRQL formatted query.
	Query nrdb.NRQL `json:"query"`
}

DashboardVariableNRQLQuery - Configuration for variables of type NRQL.

type DashboardVariableOptions added in v2.27.0

type DashboardVariableOptions struct {
	// Only applies to variables of type NRQL. With this turned on, the time range for the NRQL query will override the time picker on dashboards and other pages. Turn this off to use the time picker as normal.
	IgnoreTimeRange bool `json:"ignoreTimeRange,omitempty"`
}

DashboardVariableOptions - Options applied to the variable

type DashboardVariableReplacementStrategy added in v2.6.0

type DashboardVariableReplacementStrategy string

DashboardVariableReplacementStrategy - Possible strategies when replacing variables in a NRQL query.

type DashboardVariableType added in v2.6.0

type DashboardVariableType string

DashboardVariableType - Indicates where a variable's possible values may come from.

type DashboardVisibility

type DashboardVisibility string

DashboardVisibility - Visibility.

type DashboardWidget

type DashboardWidget struct {
	// Typed configuration
	Configuration DashboardWidgetConfiguration `json:"configuration,omitempty"`
	// id
	ID string `json:"id"`
	// layout
	Layout DashboardWidgetLayout `json:"layout,omitempty"`
	// Entities related to the widget. Currently only supports one Dashboard entity guid, 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

func (x *DashboardWidget) UnmarshalJSON(b []byte) error

special

type DashboardWidgetCommons

type DashboardWidgetCommons struct {
	// layout.
	Layout DashboardWidgetLayoutInternal `json:"layout,omitempty"`
	// widgetId.
	WidgetId int `json:"widgetId,omitempty"`
}

DashboardWidgetCommons - Common interface for all widgets.

func (*DashboardWidgetCommons) ImplementsDashboardWidgetCommons

func (x *DashboardWidgetCommons) ImplementsDashboardWidgetCommons()

type DashboardWidgetCommonsInterface

type DashboardWidgetCommonsInterface interface {
	ImplementsDashboardWidgetCommons()
}

DashboardWidgetCommons - Common interface for all widgets.

func UnmarshalDashboardWidgetCommonsInterface

func UnmarshalDashboardWidgetCommonsInterface(b []byte) (*DashboardWidgetCommonsInterface, error)

UnmarshalDashboardWidgetCommonsInterface unmarshals the interface into the correct type based on __typename provided by GraphQL

type DashboardWidgetConfiguration

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 DashboardWidgetDataMetric

type DashboardWidgetDataMetric struct {
	// name.
	Name string `json:"name,omitempty"`
	// scope.
	Scope string `json:"scope,omitempty"`
	// units.
	Units string `json:"units,omitempty"`
	// values.
	Values []string `json:"values,omitempty"`
}

DashboardWidgetDataMetric - Widget data metric.

type DashboardWidgetLayout

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 DashboardWidgetLayoutInternal

type DashboardWidgetLayoutInternal struct {
	// Indicates the column within the Page grid where the widget will be placed.
	Column int `json:"column,omitempty"`
	// Indicates the number of columns within the Page grid that the widget will occupy vertically.
	Height int `json:"height,omitempty"`
	// Indicates the row within the Page grid system where the widget will be placed.
	Row int `json:"row,omitempty"`
	// Indicates the number of rows within the Page grid that the widget will occupy horizontally.
	//  The maximum width is 12. When the input width is greater than the maximum is set to the maximum by default.
	Width int `json:"width,omitempty"`
}

DashboardWidgetLayoutInternal - Widget layout.

type DashboardWidgetNRQLQuery

type DashboardWidgetNRQLQuery struct {
	// accountId
	AccountID int `json:"accountId"`
	// NRQL formatted query
	Query nrdb.NRQL `json:"query"`
}

DashboardWidgetNRQLQuery - Single NRQL query for a widget.

type DashboardWidgetPresentation

type DashboardWidgetPresentation struct {
	// notes.
	Notes string `json:"notes,omitempty"`
	// title.
	Title string `json:"title,omitempty"`
}

DashboardWidgetPresentation - Widget presentation.

type DashboardWidgetRawConfiguration

type DashboardWidgetRawConfiguration []byte

DashboardWidgetRawConfiguration - Raw JSON payload with full configuration of a widget.

func (DashboardWidgetRawConfiguration) MarshalJSON

func (d DashboardWidgetRawConfiguration) MarshalJSON() ([]byte, error)

MarshalJSON returns the JSON encoded version of DashboardWidgetRawConfiguration (which is already JSON)

func (*DashboardWidgetRawConfiguration) UnmarshalJSON

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

type DashboardWidgetVisualization struct {
	// Nerdpack artifact ID
	ID string `json:"id,omitempty"`
}

DashboardWidgetVisualization - Visualization configuration

type DashboardWidgetsInternal

type DashboardWidgetsInternal struct {
	// Facet chart widgets.
	FacetChart []DashboardFacetChartWidget `json:"facetChart,omitempty"`
	// Inaccessible widgets.
	Inaccessible []DashboardInaccessibleWidget `json:"inaccessible,omitempty"`
	// Inventory widgets.
	Inventory []DashboardInventoryWidget `json:"inventory,omitempty"`
	// Markdown widgets.
	Markdown []DashboardMarkdownWidget `json:"markdown,omitempty"`
	// Metric line chart widgets.
	MetricLineChart []DashboardMetricLineChartWidget `json:"metricLineChart,omitempty"`
	// Predefined metric chart widgets.
	PredefinedMetricChart []DashboardPredefinedMetricChartWidget `json:"predefinedMetricChart,omitempty"`
	// Service map widgets.
	ServiceMap []DashboardServiceMapWidget `json:"serviceMap,omitempty"`
	// Simple event widgets.
	SimpleEvent []DashboardSimpleEventWidget `json:"simpleEvent,omitempty"`
	// Threshold event widgets.
	ThresholdEvent []DashboardThresholdEventWidget `json:"thresholdEvent,omitempty"`
}

DashboardWidgetsInternal - Widgets in a `DashboardPage`.

type DistributedTracingEntityTracingSummary

type DistributedTracingEntityTracingSummary struct {
	// The number of traces where this entity produced an error
	ErrorTraceCount int `json:"errorTraceCount,omitempty"`
	// The percentage of error traces produced by this entity compared to all error traces in the system
	PercentOfAllErrorTraces float64 `json:"percentOfAllErrorTraces,omitempty"`
}

DistributedTracingEntityTracingSummary - Details tracing summary data for the provided `EntityGuid` that occurred during the provided `startTime` and `endTime`

type DomainType

type DomainType 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"`
}

DomainType - Details about an entity type

type DomainTypeInput

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 New

func New(config config.Config) Entities

New returns a new client for interacting with New Relic One entities.

func (*Entities) AddTags deprecated

func (e *Entities) AddTags(guid common.EntityGUID, tags []Tag) error

AddTags writes tags to the entity specified by the provided entity GUID.

Deprecated: Use TaggingAddTagsToEntity instead.

func (*Entities) AddTagsWithContext deprecated

func (e *Entities) AddTagsWithContext(ctx context.Context, guid common.EntityGUID, tags []Tag) error

AddTagsWithContext writes tags to the entity specified by the provided entity GUID.

Deprecated: Use TaggingAddTagsToEntityWithContext instead.

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

func (e *Entities) DeleteTagValuesWithContext(ctx context.Context, guid common.EntityGUID, tagValues []TagValue) error

DeleteTagValuesWithContext deletes specific tag key and value pairs from the entity.

Deprecated: Use TaggingDeleteTagValuesFromEntityWithContext instead.

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

func (e *Entities) DeleteTagsWithContext(ctx context.Context, guid common.EntityGUID, tagKeys []string) error

DeleteTagsWithContext deletes specific tag keys from the entity.

Deprecated: Use TaggingDeleteTagFromEntityWithContext instead.

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

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

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) GetEntitySearchByQuery

func (a *Entities) GetEntitySearchByQuery(
	options EntitySearchOptions,
	query string,
	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) GetEntitySearchByQueryWithContext

func (a *Entities) GetEntitySearchByQueryWithContext(
	ctx context.Context,
	options EntitySearchOptions,
	query string,
	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

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

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

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

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

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

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

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

func (e *Entities) ListAllTagsWithContext(ctx context.Context, guid common.EntityGUID) ([]*Tag, error)

ListAllTagsWithContext returns a collection of all tags (mutable and not) for a given entity by entity GUID.

Deprecated: Use GetTagsForEntityWithContext instead.

func (*Entities) ListTags deprecated

func (e *Entities) ListTags(guid common.EntityGUID) ([]*Tag, error)

ListTags returns a collection of mutable tags for a given entity by entity GUID.

Deprecated: Use GetTagsForEntity instead.

func (*Entities) ListTagsWithContext deprecated

func (e *Entities) ListTagsWithContext(ctx context.Context, guid common.EntityGUID) ([]*Tag, error)

ListTagsWithContext returns a collection of mutable tags for a given entity by entity GUID.

Deprecated: Use GetTagsForEntityWithContext instead.

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

func (e *Entities) ReplaceTagsWithContext(ctx context.Context, guid common.EntityGUID, tags []Tag) error

ReplaceTagsWithContext replaces the entity's entire set of tags with the provided tag set.

Deprecated: Use TaggingReplaceTagsOnEntityWithContext instead.

func (*Entities) TaggingAddTagsToEntity

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

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

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

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

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

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

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

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"`
	// The alert status of the entity.
	AlertStatus EntityAlertStatus `json:"alertStatus,omitempty"`
	// Violations on the entity that were open during the specified time window. This will return up to 500 violations - if there are more in the time window selected, you must narrow the timewindow or look at fewer entities.
	AlertViolations []EntityAlertViolation `json:"alertViolations,omitempty"`
	// The list of dashboard templates available for this entity.
	DashboardTemplates []EntityDashboardTemplatesDashboardTemplate `json:"dashboardTemplates"`
	// 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,omitempty"`
	// Existing API - to be replaced with V2 implementation.
	GoldenSignalValues []GoldenSignalSignalValues `json:"goldenSignalValues"`
	// The stored golden signal(s) for the given entity.
	GoldenSignalValuesV2 GoldenSignalValues `json:"goldenSignalValuesV2,omitempty"`
	// The list of golden tags for a specific entityType.
	GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags,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"`
	NerdStoreCollection []NerdStoreCollectionMember `json:"nerdStoreCollection,omitempty"`
	NerdStoreDocument   NerdStoreDocument           `json:"nerdStoreDocument,omitempty"`
	// The url to the entity.
	Permalink string `json:"permalink,omitempty"`
	// Recent violations on the entity.
	RecentAlertViolations []EntityAlertViolation `json:"recentAlertViolations,omitempty"`
	// The recommended service levels for the entity.
	RecommendedServiceLevel ServiceLevelRecommendation `json:"recommendedServiceLevel,omitempty"`
	// Related dashboards results
	RelatedDashboards RelatedDashboardsRelatedDashboardResult `json:"relatedDashboards"`
	// 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 list of summary metrics.
	SummaryMetrics []EntitySummaryMetric `json:"summaryMetrics,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"`
	// Look up Distributed Tracing summary data for the selected `EntityGuid`
	TracingSummary DistributedTracingEntityTracingSummary `json:"tracingSummary,omitempty"`
	// The entity's type
	Type string `json:"type,omitempty"`
	// List of templates availables for this entity.
	UiTemplates []EntityDashboardTemplatesUi `json:"uiTemplates"`
}

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

func (x *Entity) ImplementsAlertableEntity()

func (*Entity) ImplementsEntity

func (x *Entity) ImplementsEntity()

type EntityAlertSeverity

type EntityAlertSeverity string

EntityAlertSeverity - The alert severity of the entity.

type EntityAlertStatus

type EntityAlertStatus string

type EntityAlertViolation

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"`
	// The current alert status of the violation.
	AlertStatus EntityAlertStatus `json:"alertStatus,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"`
}

type EntityCollection

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

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

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

type EntityCollectionType string

EntityCollectionType - Indicates where this collection is used

type EntityDashboardTemplatesDashboardTemplate

type EntityDashboardTemplatesDashboardTemplate struct {
	// Dashboard template in Mosaic format, obtained from a dashboard template located in the Entity Synthesis Definitions repository.
	MosaicTemplate EntityDashboardTemplatesRawMosaicTemplate `json:"mosaicTemplate"`
}

EntityDashboardTemplatesDashboardTemplate - Object that contains a dashboard templates

type EntityDashboardTemplatesRawMosaicTemplate

type EntityDashboardTemplatesRawMosaicTemplate string

EntityDashboardTemplatesRawMosaicTemplate - Dashboard template in Mosaic format, obtained from a dashboard template located in the Entity Synthesis Definitions repository.

type EntityDashboardTemplatesUi

type EntityDashboardTemplatesUi struct {
	// The template to feed mosaic with in order to build an interface.
	Template EntityDashboardTemplatesRawMosaicTemplate `json:"template,omitempty"`
}

EntityDashboardTemplatesUi - A type that encapsulates the templates configuration for the UI.

type EntityGUIDSegments

type EntityGUIDSegments struct {
	AccountID int               `json:"accountId,omitempty"`
	Domain    string            `json:"domain,omitempty"`
	DomainId  string            `json:"domainId,omitempty"`
	GUID      common.EntityGUID `json:"guid,omitempty"`
	Type      string            `json:"type,omitempty"`
}

type EntityGoldenAggregatedMetrics

type EntityGoldenAggregatedMetrics struct {
	// The kind of the golden metric. i.e: counter, average,..
	Kind string `json:"kind"`
	// The synthesised metric name. i.e: mewrelic.goldenmetrics.apm.application.throughput
	MetricName string `json:"metricName"`
	// The name of the golden metric.
	Name string `json:"name"`
	// queries aggregated by accountID
	Queries []EntityGoldenAggregatedQueries `json:"queries,omitempty"`
	// The title of the golden metric.
	Title string `json:"title"`
	// The unit used to represent the golden metric.
	Unit EntityGoldenMetricUnit `json:"unit"`
}

EntityGoldenAggregatedMetrics - metrics aggregated by title and name.

type EntityGoldenAggregatedQueries

type EntityGoldenAggregatedQueries struct {
	// accountID that the golden metrics belong to
	AccountID int `json:"accountId"`
	// The definition of the golden metric.
	Definition EntityGoldenMetricDefinition `json:"definition"`
	// The golden metric NRQL query.
	Query string `json:"query"`
}

EntityGoldenAggregatedQueries - queries aggregated by accountId. for multiple guids under same account and domainType will be concatenated in IN CLAUSE of query

type EntityGoldenContext

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

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

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

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

type EntityGoldenEventObjectId string

EntityGoldenEventObjectId - Types of references for the default WHERE clause.

type EntityGoldenGroupedGoldenMetrics

type EntityGoldenGroupedGoldenMetrics struct {
	// entity domain and entity type which the grouped golden metrics belong to
	DomainType DomainType `json:"domainType"`
	// golden metrics grouped by account
	Metrics []EntityGoldenAggregatedMetrics `json:"metrics"`
}

EntityGoldenGroupedGoldenMetrics - golden metrics grouped by domainType and account

type EntityGoldenMetric

type EntityGoldenMetric struct {
	// The definition of the golden metric.
	Definition EntityGoldenMetricDefinition `json:"definition"`
	// The kind of the golden metric. i.e: counter, average,..
	Kind string `json:"kind"`
	// The synthesised metric name. i.e: mewrelic.goldenmetrics.apm.application.throughput
	MetricName string `json:"metricName"`
	// 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"`
	// The unit used to represent the golden metric.
	Unit EntityGoldenMetricUnit `json:"unit"`
}

EntityGoldenMetric - An object that represents a golden metric.

type EntityGoldenMetricDefinition

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 EntityGoldenMetricUnit

type EntityGoldenMetricUnit string

EntityGoldenMetricUnit - The different units that can be used to express golden metrics.

type EntityGoldenNRQLTimeWindowInput

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

type EntityGoldenTag struct {
	// The golden tag key.
	Key string `json:"key"`
}

EntityGoldenTag - An object that represents a golden tag.

type EntityGraphAttribute

type EntityGraphAttribute struct {
	// The attribute key
	Key string `json:"key"`
	// The attribute values
	Values []string `json:"values"`
}

EntityGraphAttribute - A key and a list of values

type EntityGraphEntityFlags

type EntityGraphEntityFlags string

EntityGraphEntityFlags - Flags used to indicate special information about an entity

type EntityGraphVertex

type EntityGraphVertex struct {
	// The alert status
	AlertSeverity EntityAlertSeverity `json:"alertSeverity"`
	// A list of user defined tag values
	Attributes []EntityGraphAttribute `json:"attributes,omitempty"`
	// A boolean representing if the entity is currently deleted.
	Deleted bool `json:"deleted"`
	// The entity domain type.
	EntityDomainType DomainType `json:"entityDomainType"`
	// Flags used to indicate special information about an entity
	EntityFlags []EntityGraphEntityFlags `json:"entityFlags"`
	// The entity guid.
	EntityGUID common.EntityGUID `json:"entityGuid"`
	// The entity name.
	Name string `json:"name"`
}

EntityGraphVertex - A single vertex that represents an Entity.

type EntityInfrastructureIntegrationType

type EntityInfrastructureIntegrationType string

EntityInfrastructureIntegrationType - The type of Infrastructure Integration

type EntityInterface

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

func UnmarshalEntityInterface(b []byte) (*EntityInterface, error)

UnmarshalEntityInterface unmarshals the interface into the correct type based on __typename provided by GraphQL

type EntityOutline

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 alert status of the entity.
	AlertStatus EntityAlertStatus `json:"alertStatus,omitempty"`
	// The list of dashboard templates available for this entity.
	DashboardTemplates []EntityDashboardTemplatesDashboardTemplate `json:"dashboardTemplates"`
	// 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,omitempty"`
	// Existing API - to be replaced with V2 implementation.
	GoldenSignalValues []GoldenSignalSignalValues `json:"goldenSignalValues"`
	// The stored golden signal(s) for the given entity.
	GoldenSignalValuesV2 GoldenSignalValues `json:"goldenSignalValuesV2,omitempty"`
	// The list of golden tags for a specific entityType.
	GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags,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 recommended service levels for the entity.
	RecommendedServiceLevel ServiceLevelRecommendation `json:"recommendedServiceLevel,omitempty"`
	// Related dashboards results
	RelatedDashboards RelatedDashboardsRelatedDashboardResult `json:"relatedDashboards"`
	// 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 list of summary metrics.
	SummaryMetrics []EntitySummaryMetric `json:"summaryMetrics,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"`
	// List of templates availables for this entity.
	UiTemplates []EntityDashboardTemplatesUi `json:"uiTemplates"`
}

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

func (x *EntityOutline) ImplementsAlertableEntityOutline()

func (EntityOutline) ImplementsEntity

func (x EntityOutline) ImplementsEntity()

func (*EntityOutline) ImplementsEntityOutline

func (x *EntityOutline) ImplementsEntityOutline()

type EntityOutlineInterface

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

func UnmarshalEntityOutlineInterface(b []byte) (*EntityOutlineInterface, error)

UnmarshalEntityOutlineInterface unmarshals the interface into the correct type based on __typename provided by GraphQL

type EntityRelationship

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

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

func (x *EntityRelationshipDetectedEdge) ImplementsEntityRelationshipEdge()

type EntityRelationshipEdge

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

func (x *EntityRelationshipEdge) ImplementsEntityRelationshipEdge()

type EntityRelationshipEdgeDirection

type EntityRelationshipEdgeDirection string

EntityRelationshipEdgeDirection - Values for relationship direction filter.

type EntityRelationshipEdgeFilter

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

type EntityRelationshipEdgeInterface interface {
	ImplementsEntityRelationshipEdge()
}

EntityRelationshipEdge - An entity relationship.

func UnmarshalEntityRelationshipEdgeInterface

func UnmarshalEntityRelationshipEdgeInterface(b []byte) (*EntityRelationshipEdgeInterface, error)

UnmarshalEntityRelationshipEdgeInterface unmarshals the interface into the correct type based on __typename provided by GraphQL

type EntityRelationshipEdgeType

type EntityRelationshipEdgeType string

EntityRelationshipEdgeType - The type of the relationship.

type EntityRelationshipEdgeTypeFilter

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

type EntityRelationshipEntityDomainTypeFilter struct {
	// Filter based on the isAlertable field in the entity domain type definition. If true, will exclude all non alertable entities from the result. If false, will exclude the alertable entities.
	Alertable bool `json:"alertable,omitempty"`
	// 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

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

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

func (x *EntityRelationshipNode) UnmarshalJSON(b []byte) error

special

type EntityRelationshipRelatedEntitiesResult

type EntityRelationshipRelatedEntitiesResult struct {
	// The total number of related entities.
	Count int `json:"count"`
	// 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

func (x *EntityRelationshipRelatedEntitiesResult) UnmarshalJSON(b []byte) error

special

type EntityRelationshipType

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

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

func (x *EntityRelationshipUserDefinedEdge) ImplementsEntityRelationshipEdge()

type EntityRelationshipVertex

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

func (x *EntityRelationshipVertex) UnmarshalJSON(b []byte) error

special

type EntitySearch

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"`
	// 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.
	FacetedCounts EntitySearchFacetedCountsResult `json:"facetedCounts,omitempty"`
	// Results of the entity search grouped by the supplied criteria.
	GroupedResults []EntitySearchGroupedResult `json:"groupedResults,omitempty"`
	// The entity search query string that was generated by the `query` argument or the `queryBuilder` argument.
	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

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

type EntitySearchCountsFacet string

EntitySearchCountsFacet - Possible entity search count facets.

type EntitySearchCountsFacetInput

type EntitySearchCountsFacetInput struct {
	// A criterion on which to facet entity search counts.
	FacetCriterion FacetCriterion `json:"facetCriterion,omitempty"`
	// The ordering that will be applied to the entity search facet.
	OrderBy SortBy `json:"orderBy,omitempty"`
}

EntitySearchCountsFacetInput - An object representing facets to count by.

type EntitySearchFacetedCountsResult

type EntitySearchFacetedCountsResult struct {
	// The groupings and counts of entities returned for the specified criteria.
	Counts []EntitySearchCounts `json:"counts,omitempty"`
	// The list of facets for which the search results exceeded the limit.
	FacetLimits []string `json:"facetLimits,omitempty"`
}

EntitySearchFacetedCountsResult - The result of a faceted entity search counts query.

type EntitySearchGroupedResult

type EntitySearchGroupedResult struct {
	// The total number of entities in this group
	Count int `json:"count,omitempty"`
	// The entities contained in this group.
	//
	// 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 group value for this collection of entities
	Group AttributeMap `json:"group,omitempty"`
}

EntitySearchGroupedResult - Entity search results that have been grouped by criteria

func (*EntitySearchGroupedResult) UnmarshalJSON

func (x *EntitySearchGroupedResult) UnmarshalJSON(b []byte) error

special

type EntitySearchGroupedResultsOptions

type EntitySearchGroupedResultsOptions struct {
	// A limit on the number of result groups returned.
	GroupLimit int `json:"groupLimit,omitempty"`
	// A list of group values to filter grouped results by. For example, if you group search results by account ID, and add a `groupValueFilter` of `["1", "2"]`, the only groups returned will be groups for accounts 1 and 2 (if entities belonging to those accounts are returned by the search).
	//
	// Note this should always be a list of strings, even when the value is normally an int (ex: account ID).
	GroupValuesFilter []string `json:"groupValuesFilter"`
}

EntitySearchGroupedResultsOptions - Additional entity search result grouping options.

type EntitySearchGroupingAttribute

type EntitySearchGroupingAttribute string

EntitySearchGroupingAttribute - Entity attributes to group by.

type EntitySearchGroupingCriterion

type EntitySearchGroupingCriterion struct {
	// An entity attribute to group results by.
	Attribute EntitySearchGroupingAttribute `json:"attribute,omitempty"`
	// An entity tag key to group by. Do not use a `tags.` prefix.
	// Examples: "environment", "team".
	Tag string `json:"tag,omitempty"`
}

EntitySearchGroupingCriterion - A single value to group entity results by. You may supply either an entity `attribute` or `tag` value, but not both.

type EntitySearchOptions

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 EntitySearchParams added in v2.28.0

type EntitySearchParams struct {
	Name            string
	Domain          string
	Type            string
	AlertSeverity   string
	IsReporting     *bool
	IsCaseSensitive bool
	Tags            []map[string]string
}

type EntitySearchQueryBuilder

type EntitySearchQueryBuilder struct {
	// The alerting severity of the entity.
	AlertSeverity EntityAlertSeverity `json:"alertSeverity,omitempty"`
	// The alertable status of the entity
	Alertable bool `json:"alertable,omitempty"`
	// The entity domain.
	Domain EntitySearchQueryBuilderDomain `json:"domain,omitempty"`
	// **WARNING! This argument is deprecated and will not be updated with new infrastructure integration types.** If you want to query for a type not in this list, use the `query` argument instead of `queryBuilder`. To see the query string that is generated by your `queryBuilder` search, ask for the `query` field in the result object. You can then use this to build a query supplied to the `query` argument and remove your `queryBuilder`.
	//
	// 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

type EntitySearchQueryBuilderDomain string

EntitySearchQueryBuilderDomain - The domain to search

type EntitySearchQueryBuilderTag

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

type EntitySearchQueryBuilderType string

EntitySearchQueryBuilderType - The type of entity

type EntitySearchResult

type EntitySearchResult struct {
	// The accounts that hold the entities contained in this section entity search results.
	Accounts []AccountAccessInfo `json:"accounts,omitempty"`
	// 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"`
	// Contains information about the different entity types returned in the entity search results.
	EntityTypes []EntityTypeResults `json:"entityTypes,omitempty"`
	// golden metrics grouped by domainAndEntityType-accountId-entityGuid
	GroupedGoldenMetrics []EntityGoldenGroupedGoldenMetrics `json:"groupedGoldenMetrics,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

func (x *EntitySearchResult) UnmarshalJSON(b []byte) error

special

type EntitySearchSortCriteria

type EntitySearchSortCriteria string

EntitySearchSortCriteria - Possible entity sorting criteria.

type EntitySearchTypes

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 EntitySummaryMetric

type EntitySummaryMetric struct {
	// The name of the summary metric.
	Name string `json:"name,omitempty"`
	// The human-readable title of the summary metric.
	Title string `json:"title,omitempty"`
	// The value of the summary metric.
	Value EntitySummaryMetricValueInterface `json:"value,omitempty"`
}

EntitySummaryMetric - A single summary metric object.

func (*EntitySummaryMetric) UnmarshalJSON

func (x *EntitySummaryMetric) UnmarshalJSON(b []byte) error

special

type EntitySummaryMetricDefinition

type EntitySummaryMetricDefinition struct {
	// The name of the summary metric.
	Name string `json:"name"`
	// The human-readable title of the summary metric.
	Title string `json:"title"`
	// The unit of the summary metric.
	Unit EntitySummaryMetricUnit `json:"unit"`
}

EntitySummaryMetricDefinition - An object which provides the definition of a single entity summary metric.

type EntitySummaryMetricUnit

type EntitySummaryMetricUnit string

EntitySummaryMetricUnit - The different units that can be used to express summary metrics.

type EntitySummaryMetricValue

type EntitySummaryMetricValue struct {
	// The unit of the summary metric.
	Unit EntitySummaryMetricUnit `json:"unit,omitempty"`
}

EntitySummaryMetricValue - The interface representing the summary metric value.

func (*EntitySummaryMetricValue) ImplementsEntitySummaryMetricValue

func (x *EntitySummaryMetricValue) ImplementsEntitySummaryMetricValue()

type EntitySummaryMetricValueInterface

type EntitySummaryMetricValueInterface interface {
	ImplementsEntitySummaryMetricValue()
}

EntitySummaryMetricValue - The interface representing the summary metric value.

func UnmarshalEntitySummaryMetricValueInterface

func UnmarshalEntitySummaryMetricValueInterface(b []byte) (*EntitySummaryMetricValueInterface, error)

UnmarshalEntitySummaryMetricValueInterface unmarshals the interface into the correct type based on __typename provided by GraphQL

type EntitySummaryNumericMetricValue

type EntitySummaryNumericMetricValue struct {
	// The numeric value of a summary metric.
	NumericValue float64 `json:"numericValue,omitempty"`
	// The unit of the summary metric.
	Unit EntitySummaryMetricUnit `json:"unit,omitempty"`
}

EntitySummaryNumericMetricValue - A numeric summary metric value.

func (*EntitySummaryNumericMetricValue) ImplementsEntitySummaryMetricValue

func (x *EntitySummaryNumericMetricValue) ImplementsEntitySummaryMetricValue()

type EntitySummaryStringMetricValue

type EntitySummaryStringMetricValue struct {
	// The string value of a summary metric.
	StringValue string `json:"stringValue,omitempty"`
	// The unit of the summary metric.
	Unit EntitySummaryMetricUnit `json:"unit,omitempty"`
}

EntitySummaryStringMetricValue - A string summary metric value.

func (*EntitySummaryStringMetricValue) ImplementsEntitySummaryMetricValue

func (x *EntitySummaryStringMetricValue) ImplementsEntitySummaryMetricValue()

type EntityTag

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

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

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 EntityType

type EntityType string

EntityType - The specific type of entity

type EntityTypeResults

type EntityTypeResults struct {
	// The list of dashboard templates available for a specific entity and type.
	DashboardTemplates []EntityDashboardTemplatesDashboardTemplate `json:"dashboardTemplates"`
	// The domain of the entity type
	Domain string `json:"domain,omitempty"`
	// The list of golden metrics for a specific entityType. This query will contain a template query with a WHERE filtering by GUID or domainId. You will need to replace the 'DOMAIN_IDS' or 'ENTITY_GUIDS' strings with the list of ids you want to display
	GoldenMetrics EntityGoldenContextScopedGoldenMetrics `json:"goldenMetrics,omitempty"`
	// The list of golden tags for a specific entityType.
	GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags,omitempty"`
	// The list of metric definitions.
	SummaryMetricDefinitions []EntitySummaryMetricDefinition `json:"summaryMetricDefinitions"`
	// The type of the entity type
	Type string `json:"type,omitempty"`
	// Entity type UI definitions for this domain and type
	UiDefinitions EntityTypeUiDefinitionsResult `json:"uiDefinitions,omitempty"`
}

EntityTypeResults - Detailed information about entity types.

type EntityTypeUiDefinitionsContext

type EntityTypeUiDefinitionsContext struct {
	// Only entities of the following domain types are able to use this entity type.
	EntityTypesDomainType []DomainType `json:"entityTypesDomainType,omitempty"`
	// Only the following entity guids are able to use this entity type.
	EntityTypesGUID []string `json:"entityTypesGuid,omitempty"`
	// Only launchers in the following list are able to use this entity type.
	Launchers []string `json:"launchers,omitempty"`
	// Only nerdlets in the following list are able to use this entity type.
	Nerdlets []string `json:"nerdlets,omitempty"`
}

EntityTypeUiDefinitionsContext - Represents an entity type context.

type EntityTypeUiDefinitionsNerdletSection

type EntityTypeUiDefinitionsNerdletSection struct {
	// Name of the section.
	Name string `json:"name"`
	// Nerdlets that belong to the section.
	Nerdlets []string `json:"nerdlets"`
}

EntityTypeUiDefinitionsNerdletSection - Represents a nerdlet section.

type EntityTypeUiDefinitionsResult

type EntityTypeUiDefinitionsResult struct {
	// The category of the entity type. This is used in the New Relic One platform to group entity types.
	Category string `json:"category"`
	// Context for this entity type.
	Context EntityTypeUiDefinitionsContext `json:"context,omitempty"`
	// Entity type's description.
	Description string `json:"description"`
	// Entity type's display name.
	DisplayName string `json:"displayName"`
	// Entity type's plural display name. When present, it should override the default pluralization.
	DisplayNamePlural string `json:"displayNamePlural,omitempty"`
	// Domain of an entity.
	Domain string `json:"domain"`
	// The Legacy product name this entity type is replacing.
	DomainName string `json:"domainName,omitempty"`
	// The icon to be used for this Entity Type. It has to be the name of any of the icons in NR-UI.
	Icon string `json:"icon"`
	// Indicates if this entity type is a collection that can contain one or more other entity types i.e. 'FAVORITE' (Watching) or 'ALERT' (Alerting).
	IsCollection bool `json:"isCollection,omitempty"`
	// The nerdlet sections to be shown in the entity detail view.
	NerdletSections []EntityTypeUiDefinitionsNerdletSection `json:"nerdletSections,omitempty"`
	// The id of the Nerdlet to be rendered as the overview for this type of entity in the Explorer.
	OverviewNerdletId string `json:"overviewNerdletId,omitempty"`
	// Type of an entity within the given domain.
	Type string `json:"type"`
}

EntityTypeUiDefinitionsResult - An object that an entity type UI definition.

type ErrorTrackingErrorGroup

type ErrorTrackingErrorGroup struct {
	// User assigned to the error group
	AssignedUser users.UserReference `json:"assignedUser,omitempty"`
	// Notifications channels associated with the error group
	Channels []ErrorTrackingNotificationChannel `json:"channels"`
	// User comments
	Comments ErrorTrackingErrorGroupCommentsResponse `json:"comments,omitempty"`
	// A unique identifier for the error group
	ID string `json:"id"`
	// Notification sessions generated from this error group
	NotificationSessions ErrorTrackingErrorGroupNotificationSessionsResponse `json:"notificationSessions,omitempty"`
	// Value to indicate the current state of the group.
	State ErrorTrackingErrorGroupState `json:"state,omitempty"`
}

ErrorTrackingErrorGroup - A grouping of similar error events.

type ErrorTrackingErrorGroupComment

type ErrorTrackingErrorGroupComment struct {
	// User that authored the comment.
	Author users.UserReference `json:"author"`
	// Comment deletion status
	Deleted bool `json:"deleted"`
	// Timestamp of last update.
	EditedAt *nrtime.EpochMilliseconds `json:"editedAt,omitempty"`
	// Text body of the comment.
	Text string `json:"text"`
	// Comment creation time.
	Timestamp *nrtime.EpochMilliseconds `json:"timestamp"`
}

ErrorTrackingErrorGroupComment - A comment associated with an error group.

type ErrorTrackingErrorGroupCommentsResponse

type ErrorTrackingErrorGroupCommentsResponse struct {
	// Cursor to get the next page of results.
	NextCursor string `json:"nextCursor,omitempty"`
	// List of comments.
	Results []ErrorTrackingErrorGroupComment `json:"results"`
	// Total comments matching query
	TotalCount int `json:"totalCount,omitempty"`
}

ErrorTrackingErrorGroupCommentsResponse - Response for error group comments.

type ErrorTrackingErrorGroupCount

type ErrorTrackingErrorGroupCount struct {
	// Numeric count of the events
	Count int `json:"count"`
}

ErrorTrackingErrorGroupCount - Number of error group events.

type ErrorTrackingErrorGroupNotificationSessionsResponse

type ErrorTrackingErrorGroupNotificationSessionsResponse struct {
	// Cursor to get the next page of results.
	NextCursor string `json:"nextCursor,omitempty"`
	// List of sessions.
	Results []ErrorTrackingNotificationSession `json:"results"`
	// Total sessions matching query
	TotalCount int `json:"totalCount,omitempty"`
}

ErrorTrackingErrorGroupNotificationSessionsResponse - Response for error group sessions.

type ErrorTrackingErrorGroupState

type ErrorTrackingErrorGroupState string

ErrorTrackingErrorGroupState - Current state of the error group.

type ErrorTrackingNotificationChannel

type ErrorTrackingNotificationChannel struct {
	// The destination of the notification
	Destination ErrorTrackingNotificationDestination `json:"destination,omitempty"`
	// The unique identifier of the notifications service channel used for delivery
	ID string `json:"id"`
}

ErrorTrackingNotificationChannel - Channel configured in the notifications gateway

type ErrorTrackingNotificationDestination

type ErrorTrackingNotificationDestination string

ErrorTrackingNotificationDestination - Notification Destination type

type ErrorTrackingNotificationEvent

type ErrorTrackingNotificationEvent struct {
	// Time of event
	CreatedAt *nrtime.EpochMilliseconds `json:"createdAt"`
	// Notification event response
	Evidence string `json:"evidence,omitempty"`
	// Event status
	Status ErrorTrackingNotificationEventStatus `json:"status,omitempty"`
}

ErrorTrackingNotificationEvent - A notification sent from a channel.

type ErrorTrackingNotificationEventStatus

type ErrorTrackingNotificationEventStatus string

ErrorTrackingNotificationEventStatus - Notification Event Status type

type ErrorTrackingNotificationPolicy

type ErrorTrackingNotificationPolicy struct {
	// List of possible routes for delivery, first match will be used
	Channels []ErrorTrackingNotificationChannel `json:"channels"`
	// Unique identifier of the policy.
	ID string `json:"id"`
	// Name of the policy.
	Name string `json:"name"`
	// Unique identifier of the workload the policy is associated with.
	WorkloadGUID common.EntityGUID `json:"workloadGuid"`
}

ErrorTrackingNotificationPolicy - Policy associated with a workload and grouping rule for notifications.

type ErrorTrackingNotificationSession

type ErrorTrackingNotificationSession struct {
	// Notification channel used to generate the session
	Channel ErrorTrackingNotificationChannel `json:"channel"`
	// Notification events related to the session
	Events []ErrorTrackingNotificationEvent `json:"events"`
	// Unique identifier of the session
	ID string `json:"id"`
	// Timestamp when session was initiated
	InitiatedAt *nrtime.EpochMilliseconds `json:"initiatedAt"`
}

ErrorTrackingNotificationSession - A unique session initiated via notification channel.

type ExternalEntity

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"`
	// The alert status of the entity.
	AlertStatus EntityAlertStatus `json:"alertStatus,omitempty"`
	// Violations on the entity that were open during the specified time window. This will return up to 500 violations - if there are more in the time window selected, you must narrow the timewindow or look at fewer entities.
	AlertViolations []EntityAlertViolation `json:"alertViolations,omitempty"`
	// The list of dashboard templates available for this entity.
	DashboardTemplates []EntityDashboardTemplatesDashboardTemplate `json:"dashboardTemplates"`
	// 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,omitempty"`
	// Existing API - to be replaced with V2 implementation.
	GoldenSignalValues []GoldenSignalSignalValues `json:"goldenSignalValues"`
	// The stored golden signal(s) for the given entity.
	GoldenSignalValuesV2 GoldenSignalValues `json:"goldenSignalValuesV2,omitempty"`
	// The list of golden tags for a specific entityType.
	GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags,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"`
	NerdStoreCollection []NerdStoreCollectionMember `json:"nerdStoreCollection,omitempty"`
	NerdStoreDocument   NerdStoreDocument           `json:"nerdStoreDocument,omitempty"`
	// The url to the entity.
	Permalink string `json:"permalink,omitempty"`
	// Recent violations on the entity.
	RecentAlertViolations []EntityAlertViolation `json:"recentAlertViolations,omitempty"`
	// The recommended service levels for the entity.
	RecommendedServiceLevel ServiceLevelRecommendation `json:"recommendedServiceLevel,omitempty"`
	// Related dashboards results
	RelatedDashboards RelatedDashboardsRelatedDashboardResult `json:"relatedDashboards"`
	// 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 list of summary metrics.
	SummaryMetrics []EntitySummaryMetric `json:"summaryMetrics,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"`
	// Look up Distributed Tracing summary data for the selected `EntityGuid`
	TracingSummary DistributedTracingEntityTracingSummary `json:"tracingSummary,omitempty"`
	// The entity's type
	Type string `json:"type,omitempty"`
	// List of templates availables for this entity.
	UiTemplates []EntityDashboardTemplatesUi `json:"uiTemplates"`
}

ExternalEntity - An External entity.

func (ExternalEntity) GetAccount

func (x ExternalEntity) GetAccount() accounts.AccountOutline

GetAccount returns a pointer to the value of Account from ExternalEntity

func (ExternalEntity) GetAccountID

func (x ExternalEntity) GetAccountID() int

GetAccountID returns a pointer to the value of AccountID from ExternalEntity

func (ExternalEntity) GetAlertSeverity

func (x ExternalEntity) GetAlertSeverity() EntityAlertSeverity

GetAlertSeverity returns a pointer to the value of AlertSeverity from ExternalEntity

func (ExternalEntity) GetAlertStatus

func (x ExternalEntity) GetAlertStatus() EntityAlertStatus

GetAlertStatus returns a pointer to the value of AlertStatus from ExternalEntity

func (ExternalEntity) GetAlertViolations

func (x ExternalEntity) GetAlertViolations() []EntityAlertViolation

GetAlertViolations returns a pointer to the value of AlertViolations from ExternalEntity

func (ExternalEntity) GetDashboardTemplates

func (x ExternalEntity) GetDashboardTemplates() []EntityDashboardTemplatesDashboardTemplate

GetDashboardTemplates returns a pointer to the value of DashboardTemplates from ExternalEntity

func (ExternalEntity) GetDomain

func (x ExternalEntity) GetDomain() string

GetDomain returns a pointer to the value of Domain from ExternalEntity

func (ExternalEntity) GetEntityType

func (x ExternalEntity) GetEntityType() EntityType

GetEntityType returns a pointer to the value of EntityType from ExternalEntity

func (ExternalEntity) GetGUID

func (x ExternalEntity) GetGUID() common.EntityGUID

GetGUID returns a pointer to the value of GUID from ExternalEntity

func (ExternalEntity) GetGoldenMetrics

GetGoldenMetrics returns a pointer to the value of GoldenMetrics from ExternalEntity

func (ExternalEntity) GetGoldenSignalValues

func (x ExternalEntity) GetGoldenSignalValues() []GoldenSignalSignalValues

GetGoldenSignalValues returns a pointer to the value of GoldenSignalValues from ExternalEntity

func (ExternalEntity) GetGoldenSignalValuesV2

func (x ExternalEntity) GetGoldenSignalValuesV2() GoldenSignalValues

GetGoldenSignalValuesV2 returns a pointer to the value of GoldenSignalValuesV2 from ExternalEntity

func (ExternalEntity) GetGoldenTags

GetGoldenTags returns a pointer to the value of GoldenTags from ExternalEntity

func (ExternalEntity) GetIndexedAt

func (x ExternalEntity) GetIndexedAt() *nrtime.EpochMilliseconds

GetIndexedAt returns a pointer to the value of IndexedAt from ExternalEntity

func (ExternalEntity) GetNRDBQuery

func (x ExternalEntity) GetNRDBQuery() nrdb.NRDBResultContainer

GetNRDBQuery returns a pointer to the value of NRDBQuery from ExternalEntity

func (ExternalEntity) GetName

func (x ExternalEntity) GetName() string

GetName returns a pointer to the value of Name from ExternalEntity

func (ExternalEntity) GetNerdStorage

func (x ExternalEntity) GetNerdStorage() NerdStorageEntityScope

GetNerdStorage returns a pointer to the value of NerdStorage from ExternalEntity

func (ExternalEntity) GetNerdStoreCollection

func (x ExternalEntity) GetNerdStoreCollection() []NerdStoreCollectionMember

GetNerdStoreCollection returns a pointer to the value of NerdStoreCollection from ExternalEntity

func (ExternalEntity) GetNerdStoreDocument

func (x ExternalEntity) GetNerdStoreDocument() NerdStoreDocument

GetNerdStoreDocument returns a pointer to the value of NerdStoreDocument from ExternalEntity

func (x ExternalEntity) GetPermalink() string

GetPermalink returns a pointer to the value of Permalink from ExternalEntity

func (ExternalEntity) GetRecentAlertViolations

func (x ExternalEntity) GetRecentAlertViolations() []EntityAlertViolation

GetRecentAlertViolations returns a pointer to the value of RecentAlertViolations from ExternalEntity

func (ExternalEntity) GetRecommendedServiceLevel

func (x ExternalEntity) GetRecommendedServiceLevel() ServiceLevelRecommendation

GetRecommendedServiceLevel returns a pointer to the value of RecommendedServiceLevel from ExternalEntity

func (ExternalEntity) GetRelatedDashboards

GetRelatedDashboards returns a pointer to the value of RelatedDashboards from ExternalEntity

func (ExternalEntity) GetRelatedEntities

GetRelatedEntities returns a pointer to the value of RelatedEntities from ExternalEntity

func (ExternalEntity) GetRelationships

func (x ExternalEntity) GetRelationships() []EntityRelationship

GetRelationships returns a pointer to the value of Relationships from ExternalEntity

func (ExternalEntity) GetReporting

func (x ExternalEntity) GetReporting() bool

GetReporting returns a pointer to the value of Reporting from ExternalEntity

func (ExternalEntity) GetServiceLevel

func (x ExternalEntity) GetServiceLevel() ServiceLevelDefinition

GetServiceLevel returns a pointer to the value of ServiceLevel from ExternalEntity

func (ExternalEntity) GetSummaryMetrics

func (x ExternalEntity) GetSummaryMetrics() []EntitySummaryMetric

GetSummaryMetrics returns a pointer to the value of SummaryMetrics from ExternalEntity

func (ExternalEntity) GetTags

func (x ExternalEntity) GetTags() []EntityTag

GetTags returns a pointer to the value of Tags from ExternalEntity

func (ExternalEntity) GetTagsWithMetadata

func (x ExternalEntity) GetTagsWithMetadata() []EntityTagWithMetadata

GetTagsWithMetadata returns a pointer to the value of TagsWithMetadata from ExternalEntity

func (ExternalEntity) GetTracingSummary

GetTracingSummary returns a pointer to the value of TracingSummary from ExternalEntity

func (ExternalEntity) GetType

func (x ExternalEntity) GetType() string

GetType returns a pointer to the value of Type from ExternalEntity

func (ExternalEntity) GetUiTemplates

func (x ExternalEntity) GetUiTemplates() []EntityDashboardTemplatesUi

GetUiTemplates returns a pointer to the value of UiTemplates from ExternalEntity

func (*ExternalEntity) ImplementsAlertableEntity

func (x *ExternalEntity) ImplementsAlertableEntity()

func (*ExternalEntity) ImplementsEntity

func (x *ExternalEntity) ImplementsEntity()

type ExternalEntityOutline

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 alert status of the entity.
	AlertStatus EntityAlertStatus `json:"alertStatus,omitempty"`
	// The list of dashboard templates available for this entity.
	DashboardTemplates []EntityDashboardTemplatesDashboardTemplate `json:"dashboardTemplates"`
	// 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,omitempty"`
	// Existing API - to be replaced with V2 implementation.
	GoldenSignalValues []GoldenSignalSignalValues `json:"goldenSignalValues"`
	// The stored golden signal(s) for the given entity.
	GoldenSignalValuesV2 GoldenSignalValues `json:"goldenSignalValuesV2,omitempty"`
	// The list of golden tags for a specific entityType.
	GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags,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 recommended service levels for the entity.
	RecommendedServiceLevel ServiceLevelRecommendation `json:"recommendedServiceLevel,omitempty"`
	// Related dashboards results
	RelatedDashboards RelatedDashboardsRelatedDashboardResult `json:"relatedDashboards"`
	// 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 list of summary metrics.
	SummaryMetrics []EntitySummaryMetric `json:"summaryMetrics,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"`
	// List of templates availables for this entity.
	UiTemplates []EntityDashboardTemplatesUi `json:"uiTemplates"`
}

ExternalEntityOutline - An External entity outline.

func (ExternalEntityOutline) GetAccount

GetAccount returns a pointer to the value of Account from ExternalEntityOutline

func (ExternalEntityOutline) GetAccountID

func (x ExternalEntityOutline) GetAccountID() int

GetAccountID returns a pointer to the value of AccountID from ExternalEntityOutline

func (ExternalEntityOutline) GetAlertSeverity

func (x ExternalEntityOutline) GetAlertSeverity() EntityAlertSeverity

GetAlertSeverity returns a pointer to the value of AlertSeverity from ExternalEntityOutline

func (ExternalEntityOutline) GetAlertStatus

func (x ExternalEntityOutline) GetAlertStatus() EntityAlertStatus

GetAlertStatus returns a pointer to the value of AlertStatus from ExternalEntityOutline

func (ExternalEntityOutline) GetDashboardTemplates

GetDashboardTemplates returns a pointer to the value of DashboardTemplates from ExternalEntityOutline

func (ExternalEntityOutline) GetDomain

func (x ExternalEntityOutline) GetDomain() string

GetDomain returns a pointer to the value of Domain from ExternalEntityOutline

func (ExternalEntityOutline) GetEntityType

func (x ExternalEntityOutline) GetEntityType() EntityType

GetEntityType returns a pointer to the value of EntityType from ExternalEntityOutline

func (ExternalEntityOutline) GetGUID

GetGUID returns a pointer to the value of GUID from ExternalEntityOutline

func (ExternalEntityOutline) GetGoldenMetrics

GetGoldenMetrics returns a pointer to the value of GoldenMetrics from ExternalEntityOutline

func (ExternalEntityOutline) GetGoldenSignalValues

func (x ExternalEntityOutline) GetGoldenSignalValues() []GoldenSignalSignalValues

GetGoldenSignalValues returns a pointer to the value of GoldenSignalValues from ExternalEntityOutline

func (ExternalEntityOutline) GetGoldenSignalValuesV2

func (x ExternalEntityOutline) GetGoldenSignalValuesV2() GoldenSignalValues

GetGoldenSignalValuesV2 returns a pointer to the value of GoldenSignalValuesV2 from ExternalEntityOutline

func (ExternalEntityOutline) GetGoldenTags

GetGoldenTags returns a pointer to the value of GoldenTags from ExternalEntityOutline

func (ExternalEntityOutline) GetIndexedAt

GetIndexedAt returns a pointer to the value of IndexedAt from ExternalEntityOutline

func (ExternalEntityOutline) GetName

func (x ExternalEntityOutline) GetName() string

GetName returns a pointer to the value of Name from ExternalEntityOutline

func (x ExternalEntityOutline) GetPermalink() string

GetPermalink returns a pointer to the value of Permalink from ExternalEntityOutline

func (ExternalEntityOutline) GetRecommendedServiceLevel

func (x ExternalEntityOutline) GetRecommendedServiceLevel() ServiceLevelRecommendation

GetRecommendedServiceLevel returns a pointer to the value of RecommendedServiceLevel from ExternalEntityOutline

func (ExternalEntityOutline) GetRelatedDashboards

GetRelatedDashboards returns a pointer to the value of RelatedDashboards from ExternalEntityOutline

func (ExternalEntityOutline) GetReporting

func (x ExternalEntityOutline) GetReporting() bool

GetReporting returns a pointer to the value of Reporting from ExternalEntityOutline

func (ExternalEntityOutline) GetServiceLevel

func (x ExternalEntityOutline) GetServiceLevel() ServiceLevelDefinition

GetServiceLevel returns a pointer to the value of ServiceLevel from ExternalEntityOutline

func (ExternalEntityOutline) GetSummaryMetrics

func (x ExternalEntityOutline) GetSummaryMetrics() []EntitySummaryMetric

GetSummaryMetrics returns a pointer to the value of SummaryMetrics from ExternalEntityOutline

func (ExternalEntityOutline) GetTags

func (x ExternalEntityOutline) GetTags() []EntityTag

GetTags returns a pointer to the value of Tags from ExternalEntityOutline

func (ExternalEntityOutline) GetType

func (x ExternalEntityOutline) GetType() string

GetType returns a pointer to the value of Type from ExternalEntityOutline

func (ExternalEntityOutline) GetUiTemplates

GetUiTemplates returns a pointer to the value of UiTemplates from ExternalEntityOutline

func (*ExternalEntityOutline) ImplementsAlertableEntityOutline

func (x *ExternalEntityOutline) ImplementsAlertableEntityOutline()

func (*ExternalEntityOutline) ImplementsEntityOutline

func (x *ExternalEntityOutline) ImplementsEntityOutline()

type FacetCriterion

type FacetCriterion struct {
	// One of a list of possible entity search facets.
	Facet EntitySearchCountsFacet `json:"facet,omitempty"`
	// An entity tag key on which to facet entity search results.
	Tag string `json:"tag,omitempty"`
}

FacetCriterion - A single faceting criterion. You may supply either a `facet` or a `tag` value, but not both.

type FeatureFlag

type FeatureFlag struct {
	Context []FeatureFlagContext `json:"context,omitempty"`
	Name    string               `json:"name,omitempty"`
	Value   bool                 `json:"value,omitempty"`
}

FeatureFlag - Feature Flags will be evaluated against existing flags only. Querying a flag that does not exist will not create the flag.

To create a flag, please visit the Feature Flag UI

type FeatureFlagContext

type FeatureFlagContext string

type Float

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

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"`
	// The alert status of the entity.
	AlertStatus EntityAlertStatus `json:"alertStatus,omitempty"`
	// Violations on the entity that were open during the specified time window. This will return up to 500 violations - if there are more in the time window selected, you must narrow the timewindow or look at fewer entities.
	AlertViolations []EntityAlertViolation `json:"alertViolations,omitempty"`
	// The list of dashboard templates available for this entity.
	DashboardTemplates []EntityDashboardTemplatesDashboardTemplate `json:"dashboardTemplates"`
	// 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,omitempty"`
	// Existing API - to be replaced with V2 implementation.
	GoldenSignalValues []GoldenSignalSignalValues `json:"goldenSignalValues"`
	// The stored golden signal(s) for the given entity.
	GoldenSignalValuesV2 GoldenSignalValues `json:"goldenSignalValuesV2,omitempty"`
	// The list of golden tags for a specific entityType.
	GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags,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"`
	NerdStoreCollection []NerdStoreCollectionMember `json:"nerdStoreCollection,omitempty"`
	NerdStoreDocument   NerdStoreDocument           `json:"nerdStoreDocument,omitempty"`
	// The url to the entity.
	Permalink string `json:"permalink,omitempty"`
	// Recent violations on the entity.
	RecentAlertViolations []EntityAlertViolation `json:"recentAlertViolations,omitempty"`
	// The recommended service levels for the entity.
	RecommendedServiceLevel ServiceLevelRecommendation `json:"recommendedServiceLevel,omitempty"`
	// Related dashboards results
	RelatedDashboards RelatedDashboardsRelatedDashboardResult `json:"relatedDashboards"`
	// 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 list of summary metrics.
	SummaryMetrics []EntitySummaryMetric `json:"summaryMetrics,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"`
	// Look up Distributed Tracing summary data for the selected `EntityGuid`
	TracingSummary DistributedTracingEntityTracingSummary `json:"tracingSummary,omitempty"`
	// The entity's type
	Type string `json:"type,omitempty"`
	// List of templates availables for this entity.
	UiTemplates []EntityDashboardTemplatesUi `json:"uiTemplates"`
}

GenericEntity - A generic entity.

func (GenericEntity) GetAccount

func (x GenericEntity) GetAccount() accounts.AccountOutline

GetAccount returns a pointer to the value of Account from GenericEntity

func (GenericEntity) GetAccountID

func (x GenericEntity) GetAccountID() int

GetAccountID returns a pointer to the value of AccountID from GenericEntity

func (GenericEntity) GetAlertSeverity

func (x GenericEntity) GetAlertSeverity() EntityAlertSeverity

GetAlertSeverity returns a pointer to the value of AlertSeverity from GenericEntity

func (GenericEntity) GetAlertStatus

func (x GenericEntity) GetAlertStatus() EntityAlertStatus

GetAlertStatus returns a pointer to the value of AlertStatus from GenericEntity

func (GenericEntity) GetAlertViolations

func (x GenericEntity) GetAlertViolations() []EntityAlertViolation

GetAlertViolations returns a pointer to the value of AlertViolations from GenericEntity

func (GenericEntity) GetDashboardTemplates

func (x GenericEntity) GetDashboardTemplates() []EntityDashboardTemplatesDashboardTemplate

GetDashboardTemplates returns a pointer to the value of DashboardTemplates from GenericEntity

func (GenericEntity) GetDomain

func (x GenericEntity) GetDomain() string

GetDomain returns a pointer to the value of Domain from GenericEntity

func (GenericEntity) GetEntityType

func (x GenericEntity) GetEntityType() EntityType

GetEntityType returns a pointer to the value of EntityType from GenericEntity

func (GenericEntity) GetGUID

func (x GenericEntity) GetGUID() common.EntityGUID

GetGUID returns a pointer to the value of GUID from GenericEntity

func (GenericEntity) GetGoldenMetrics

GetGoldenMetrics returns a pointer to the value of GoldenMetrics from GenericEntity

func (GenericEntity) GetGoldenSignalValues

func (x GenericEntity) GetGoldenSignalValues() []GoldenSignalSignalValues

GetGoldenSignalValues returns a pointer to the value of GoldenSignalValues from GenericEntity

func (GenericEntity) GetGoldenSignalValuesV2

func (x GenericEntity) GetGoldenSignalValuesV2() GoldenSignalValues

GetGoldenSignalValuesV2 returns a pointer to the value of GoldenSignalValuesV2 from GenericEntity

func (GenericEntity) GetGoldenTags

GetGoldenTags returns a pointer to the value of GoldenTags from GenericEntity

func (GenericEntity) GetIndexedAt

func (x GenericEntity) GetIndexedAt() *nrtime.EpochMilliseconds

GetIndexedAt returns a pointer to the value of IndexedAt from GenericEntity

func (GenericEntity) GetNRDBQuery

func (x GenericEntity) GetNRDBQuery() nrdb.NRDBResultContainer

GetNRDBQuery returns a pointer to the value of NRDBQuery from GenericEntity

func (GenericEntity) GetName

func (x GenericEntity) GetName() string

GetName returns a pointer to the value of Name from GenericEntity

func (GenericEntity) GetNerdStorage

func (x GenericEntity) GetNerdStorage() NerdStorageEntityScope

GetNerdStorage returns a pointer to the value of NerdStorage from GenericEntity

func (GenericEntity) GetNerdStoreCollection

func (x GenericEntity) GetNerdStoreCollection() []NerdStoreCollectionMember

GetNerdStoreCollection returns a pointer to the value of NerdStoreCollection from GenericEntity

func (GenericEntity) GetNerdStoreDocument

func (x GenericEntity) GetNerdStoreDocument() NerdStoreDocument

GetNerdStoreDocument returns a pointer to the value of NerdStoreDocument from GenericEntity

func (x GenericEntity) GetPermalink() string

GetPermalink returns a pointer to the value of Permalink from GenericEntity

func (GenericEntity) GetRecentAlertViolations

func (x GenericEntity) GetRecentAlertViolations() []EntityAlertViolation

GetRecentAlertViolations returns a pointer to the value of RecentAlertViolations from GenericEntity

func (GenericEntity) GetRecommendedServiceLevel

func (x GenericEntity) GetRecommendedServiceLevel() ServiceLevelRecommendation

GetRecommendedServiceLevel returns a pointer to the value of RecommendedServiceLevel from GenericEntity

func (GenericEntity) GetRelatedDashboards

func (x GenericEntity) GetRelatedDashboards() RelatedDashboardsRelatedDashboardResult

GetRelatedDashboards returns a pointer to the value of RelatedDashboards from GenericEntity

func (GenericEntity) GetRelatedEntities

GetRelatedEntities returns a pointer to the value of RelatedEntities from GenericEntity

func (GenericEntity) GetRelationships

func (x GenericEntity) GetRelationships() []EntityRelationship

GetRelationships returns a pointer to the value of Relationships from GenericEntity

func (GenericEntity) GetReporting

func (x GenericEntity) GetReporting() bool

GetReporting returns a pointer to the value of Reporting from GenericEntity

func (GenericEntity) GetServiceLevel

func (x GenericEntity) GetServiceLevel() ServiceLevelDefinition

GetServiceLevel returns a pointer to the value of ServiceLevel from GenericEntity

func (GenericEntity) GetSummaryMetrics

func (x GenericEntity) GetSummaryMetrics() []EntitySummaryMetric

GetSummaryMetrics returns a pointer to the value of SummaryMetrics from GenericEntity

func (GenericEntity) GetTags

func (x GenericEntity) GetTags() []EntityTag

GetTags returns a pointer to the value of Tags from GenericEntity

func (GenericEntity) GetTagsWithMetadata

func (x GenericEntity) GetTagsWithMetadata() []EntityTagWithMetadata

GetTagsWithMetadata returns a pointer to the value of TagsWithMetadata from GenericEntity

func (GenericEntity) GetTracingSummary

GetTracingSummary returns a pointer to the value of TracingSummary from GenericEntity

func (GenericEntity) GetType

func (x GenericEntity) GetType() string

GetType returns a pointer to the value of Type from GenericEntity

func (GenericEntity) GetUiTemplates

func (x GenericEntity) GetUiTemplates() []EntityDashboardTemplatesUi

GetUiTemplates returns a pointer to the value of UiTemplates from GenericEntity

func (*GenericEntity) ImplementsAlertableEntity

func (x *GenericEntity) ImplementsAlertableEntity()

func (*GenericEntity) ImplementsEntity

func (x *GenericEntity) ImplementsEntity()

type GenericEntityOutline

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 alert status of the entity.
	AlertStatus EntityAlertStatus `json:"alertStatus,omitempty"`
	// The list of dashboard templates available for this entity.
	DashboardTemplates []EntityDashboardTemplatesDashboardTemplate `json:"dashboardTemplates"`
	// 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,omitempty"`
	// Existing API - to be replaced with V2 implementation.
	GoldenSignalValues []GoldenSignalSignalValues `json:"goldenSignalValues"`
	// The stored golden signal(s) for the given entity.
	GoldenSignalValuesV2 GoldenSignalValues `json:"goldenSignalValuesV2,omitempty"`
	// The list of golden tags for a specific entityType.
	GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags,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 recommended service levels for the entity.
	RecommendedServiceLevel ServiceLevelRecommendation `json:"recommendedServiceLevel,omitempty"`
	// Related dashboards results
	RelatedDashboards RelatedDashboardsRelatedDashboardResult `json:"relatedDashboards"`
	// 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 list of summary metrics.
	SummaryMetrics []EntitySummaryMetric `json:"summaryMetrics,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"`
	// List of templates availables for this entity.
	UiTemplates []EntityDashboardTemplatesUi `json:"uiTemplates"`
}

GenericEntityOutline - A generic entity outline.

func (GenericEntityOutline) GetAccount

GetAccount returns a pointer to the value of Account from GenericEntityOutline

func (GenericEntityOutline) GetAccountID

func (x GenericEntityOutline) GetAccountID() int

GetAccountID returns a pointer to the value of AccountID from GenericEntityOutline

func (GenericEntityOutline) GetAlertSeverity

func (x GenericEntityOutline) GetAlertSeverity() EntityAlertSeverity

GetAlertSeverity returns a pointer to the value of AlertSeverity from GenericEntityOutline

func (GenericEntityOutline) GetAlertStatus

func (x GenericEntityOutline) GetAlertStatus() EntityAlertStatus

GetAlertStatus returns a pointer to the value of AlertStatus from GenericEntityOutline

func (GenericEntityOutline) GetDashboardTemplates

GetDashboardTemplates returns a pointer to the value of DashboardTemplates from GenericEntityOutline

func (GenericEntityOutline) GetDomain

func (x GenericEntityOutline) GetDomain() string

GetDomain returns a pointer to the value of Domain from GenericEntityOutline

func (GenericEntityOutline) GetEntityType

func (x GenericEntityOutline) GetEntityType() EntityType

GetEntityType returns a pointer to the value of EntityType from GenericEntityOutline

func (GenericEntityOutline) GetGUID

GetGUID returns a pointer to the value of GUID from GenericEntityOutline

func (GenericEntityOutline) GetGoldenMetrics

GetGoldenMetrics returns a pointer to the value of GoldenMetrics from GenericEntityOutline

func (GenericEntityOutline) GetGoldenSignalValues

func (x GenericEntityOutline) GetGoldenSignalValues() []GoldenSignalSignalValues

GetGoldenSignalValues returns a pointer to the value of GoldenSignalValues from GenericEntityOutline

func (GenericEntityOutline) GetGoldenSignalValuesV2

func (x GenericEntityOutline) GetGoldenSignalValuesV2() GoldenSignalValues

GetGoldenSignalValuesV2 returns a pointer to the value of GoldenSignalValuesV2 from GenericEntityOutline

func (GenericEntityOutline) GetGoldenTags

GetGoldenTags returns a pointer to the value of GoldenTags from GenericEntityOutline

func (GenericEntityOutline) GetIndexedAt

func (x GenericEntityOutline) GetIndexedAt() *nrtime.EpochMilliseconds

GetIndexedAt returns a pointer to the value of IndexedAt from GenericEntityOutline

func (GenericEntityOutline) GetName

func (x GenericEntityOutline) GetName() string

GetName returns a pointer to the value of Name from GenericEntityOutline

func (x GenericEntityOutline) GetPermalink() string

GetPermalink returns a pointer to the value of Permalink from GenericEntityOutline

func (GenericEntityOutline) GetRecommendedServiceLevel

func (x GenericEntityOutline) GetRecommendedServiceLevel() ServiceLevelRecommendation

GetRecommendedServiceLevel returns a pointer to the value of RecommendedServiceLevel from GenericEntityOutline

func (GenericEntityOutline) GetRelatedDashboards

GetRelatedDashboards returns a pointer to the value of RelatedDashboards from GenericEntityOutline

func (GenericEntityOutline) GetReporting

func (x GenericEntityOutline) GetReporting() bool

GetReporting returns a pointer to the value of Reporting from GenericEntityOutline

func (GenericEntityOutline) GetServiceLevel

func (x GenericEntityOutline) GetServiceLevel() ServiceLevelDefinition

GetServiceLevel returns a pointer to the value of ServiceLevel from GenericEntityOutline

func (GenericEntityOutline) GetSummaryMetrics

func (x GenericEntityOutline) GetSummaryMetrics() []EntitySummaryMetric

GetSummaryMetrics returns a pointer to the value of SummaryMetrics from GenericEntityOutline

func (GenericEntityOutline) GetTags

func (x GenericEntityOutline) GetTags() []EntityTag

GetTags returns a pointer to the value of Tags from GenericEntityOutline

func (GenericEntityOutline) GetType

func (x GenericEntityOutline) GetType() string

GetType returns a pointer to the value of Type from GenericEntityOutline

func (GenericEntityOutline) GetUiTemplates

func (x GenericEntityOutline) GetUiTemplates() []EntityDashboardTemplatesUi

GetUiTemplates returns a pointer to the value of UiTemplates from GenericEntityOutline

func (*GenericEntityOutline) ImplementsAlertableEntityOutline

func (x *GenericEntityOutline) ImplementsAlertableEntityOutline()

func (GenericEntityOutline) ImplementsEntity

func (x GenericEntityOutline) ImplementsEntity()

func (*GenericEntityOutline) ImplementsEntityOutline

func (x *GenericEntityOutline) ImplementsEntityOutline()

type GenericInfrastructureEntity

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"`
	// The alert status of the entity.
	AlertStatus EntityAlertStatus `json:"alertStatus,omitempty"`
	// Violations on the entity that were open during the specified time window. This will return up to 500 violations - if there are more in the time window selected, you must narrow the timewindow or look at fewer entities.
	AlertViolations []EntityAlertViolation `json:"alertViolations,omitempty"`
	// The list of dashboard templates available for this entity.
	DashboardTemplates []EntityDashboardTemplatesDashboardTemplate `json:"dashboardTemplates"`
	// 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,omitempty"`
	// Existing API - to be replaced with V2 implementation.
	GoldenSignalValues []GoldenSignalSignalValues `json:"goldenSignalValues"`
	// The stored golden signal(s) for the given entity.
	GoldenSignalValuesV2 GoldenSignalValues `json:"goldenSignalValuesV2,omitempty"`
	// The list of golden tags for a specific entityType.
	GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags,omitempty"`
	// 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"`
	NerdStoreCollection []NerdStoreCollectionMember `json:"nerdStoreCollection,omitempty"`
	NerdStoreDocument   NerdStoreDocument           `json:"nerdStoreDocument,omitempty"`
	// The url to the entity.
	Permalink string `json:"permalink,omitempty"`
	// Recent violations on the entity.
	RecentAlertViolations []EntityAlertViolation `json:"recentAlertViolations,omitempty"`
	// The recommended service levels for the entity.
	RecommendedServiceLevel ServiceLevelRecommendation `json:"recommendedServiceLevel,omitempty"`
	// Related dashboards results
	RelatedDashboards RelatedDashboardsRelatedDashboardResult `json:"relatedDashboards"`
	// 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 list of summary metrics.
	SummaryMetrics []EntitySummaryMetric `json:"summaryMetrics,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"`
	// Look up Distributed Tracing summary data for the selected `EntityGuid`
	TracingSummary DistributedTracingEntityTracingSummary `json:"tracingSummary,omitempty"`
	// The entity's type
	Type string `json:"type,omitempty"`
	// List of templates availables for this entity.
	UiTemplates []EntityDashboardTemplatesUi `json:"uiTemplates"`
}

GenericInfrastructureEntity - An Infrastructure entity.

func (GenericInfrastructureEntity) GetAccount

GetAccount returns a pointer to the value of Account from GenericInfrastructureEntity

func (GenericInfrastructureEntity) GetAccountID

func (x GenericInfrastructureEntity) GetAccountID() int

GetAccountID returns a pointer to the value of AccountID from GenericInfrastructureEntity

func (GenericInfrastructureEntity) GetAlertSeverity

func (x GenericInfrastructureEntity) GetAlertSeverity() EntityAlertSeverity

GetAlertSeverity returns a pointer to the value of AlertSeverity from GenericInfrastructureEntity

func (GenericInfrastructureEntity) GetAlertStatus

GetAlertStatus returns a pointer to the value of AlertStatus from GenericInfrastructureEntity

func (GenericInfrastructureEntity) GetAlertViolations

func (x GenericInfrastructureEntity) GetAlertViolations() []EntityAlertViolation

GetAlertViolations returns a pointer to the value of AlertViolations from GenericInfrastructureEntity

func (GenericInfrastructureEntity) GetDashboardTemplates

GetDashboardTemplates returns a pointer to the value of DashboardTemplates from GenericInfrastructureEntity

func (GenericInfrastructureEntity) GetDomain

func (x GenericInfrastructureEntity) GetDomain() string

GetDomain returns a pointer to the value of Domain from GenericInfrastructureEntity

func (GenericInfrastructureEntity) GetEntityType

func (x GenericInfrastructureEntity) GetEntityType() EntityType

GetEntityType returns a pointer to the value of EntityType from GenericInfrastructureEntity

func (GenericInfrastructureEntity) GetGUID

GetGUID returns a pointer to the value of GUID from GenericInfrastructureEntity

func (GenericInfrastructureEntity) GetGoldenMetrics

GetGoldenMetrics returns a pointer to the value of GoldenMetrics from GenericInfrastructureEntity

func (GenericInfrastructureEntity) GetGoldenSignalValues

func (x GenericInfrastructureEntity) GetGoldenSignalValues() []GoldenSignalSignalValues

GetGoldenSignalValues returns a pointer to the value of GoldenSignalValues from GenericInfrastructureEntity

func (GenericInfrastructureEntity) GetGoldenSignalValuesV2

func (x GenericInfrastructureEntity) GetGoldenSignalValuesV2() GoldenSignalValues

GetGoldenSignalValuesV2 returns a pointer to the value of GoldenSignalValuesV2 from GenericInfrastructureEntity

func (GenericInfrastructureEntity) GetGoldenTags

GetGoldenTags returns a pointer to the value of GoldenTags from GenericInfrastructureEntity

func (GenericInfrastructureEntity) GetIndexedAt

GetIndexedAt returns a pointer to the value of IndexedAt from GenericInfrastructureEntity

func (GenericInfrastructureEntity) GetIntegrationTypeCode

func (x GenericInfrastructureEntity) GetIntegrationTypeCode() string

GetIntegrationTypeCode returns a pointer to the value of IntegrationTypeCode from GenericInfrastructureEntity

func (GenericInfrastructureEntity) GetNRDBQuery

GetNRDBQuery returns a pointer to the value of NRDBQuery from GenericInfrastructureEntity

func (GenericInfrastructureEntity) GetName

func (x GenericInfrastructureEntity) GetName() string

GetName returns a pointer to the value of Name from GenericInfrastructureEntity

func (GenericInfrastructureEntity) GetNerdStorage

GetNerdStorage returns a pointer to the value of NerdStorage from GenericInfrastructureEntity

func (GenericInfrastructureEntity) GetNerdStoreCollection

func (x GenericInfrastructureEntity) GetNerdStoreCollection() []NerdStoreCollectionMember

GetNerdStoreCollection returns a pointer to the value of NerdStoreCollection from GenericInfrastructureEntity

func (GenericInfrastructureEntity) GetNerdStoreDocument

func (x GenericInfrastructureEntity) GetNerdStoreDocument() NerdStoreDocument

GetNerdStoreDocument returns a pointer to the value of NerdStoreDocument from GenericInfrastructureEntity

func (x GenericInfrastructureEntity) GetPermalink() string

GetPermalink returns a pointer to the value of Permalink from GenericInfrastructureEntity

func (GenericInfrastructureEntity) GetRecentAlertViolations

func (x GenericInfrastructureEntity) GetRecentAlertViolations() []EntityAlertViolation

GetRecentAlertViolations returns a pointer to the value of RecentAlertViolations from GenericInfrastructureEntity

func (GenericInfrastructureEntity) GetRecommendedServiceLevel

func (x GenericInfrastructureEntity) GetRecommendedServiceLevel() ServiceLevelRecommendation

GetRecommendedServiceLevel returns a pointer to the value of RecommendedServiceLevel from GenericInfrastructureEntity

func (GenericInfrastructureEntity) GetRelatedDashboards

GetRelatedDashboards returns a pointer to the value of RelatedDashboards from GenericInfrastructureEntity

func (GenericInfrastructureEntity) GetRelatedEntities

GetRelatedEntities returns a pointer to the value of RelatedEntities from GenericInfrastructureEntity

func (GenericInfrastructureEntity) GetRelationships

func (x GenericInfrastructureEntity) GetRelationships() []EntityRelationship

GetRelationships returns a pointer to the value of Relationships from GenericInfrastructureEntity

func (GenericInfrastructureEntity) GetReporting

func (x GenericInfrastructureEntity) GetReporting() bool

GetReporting returns a pointer to the value of Reporting from GenericInfrastructureEntity

func (GenericInfrastructureEntity) GetServiceLevel

GetServiceLevel returns a pointer to the value of ServiceLevel from GenericInfrastructureEntity

func (GenericInfrastructureEntity) GetSummaryMetrics

func (x GenericInfrastructureEntity) GetSummaryMetrics() []EntitySummaryMetric

GetSummaryMetrics returns a pointer to the value of SummaryMetrics from GenericInfrastructureEntity

func (GenericInfrastructureEntity) GetTags

func (x GenericInfrastructureEntity) GetTags() []EntityTag

GetTags returns a pointer to the value of Tags from GenericInfrastructureEntity

func (GenericInfrastructureEntity) GetTagsWithMetadata

func (x GenericInfrastructureEntity) GetTagsWithMetadata() []EntityTagWithMetadata

GetTagsWithMetadata returns a pointer to the value of TagsWithMetadata from GenericInfrastructureEntity

func (GenericInfrastructureEntity) GetTracingSummary

GetTracingSummary returns a pointer to the value of TracingSummary from GenericInfrastructureEntity

func (GenericInfrastructureEntity) GetType

func (x GenericInfrastructureEntity) GetType() string

GetType returns a pointer to the value of Type from GenericInfrastructureEntity

func (GenericInfrastructureEntity) GetUiTemplates

GetUiTemplates returns a pointer to the value of UiTemplates from GenericInfrastructureEntity

func (*GenericInfrastructureEntity) ImplementsAlertableEntity

func (x *GenericInfrastructureEntity) ImplementsAlertableEntity()

func (*GenericInfrastructureEntity) ImplementsEntity

func (x *GenericInfrastructureEntity) ImplementsEntity()

func (*GenericInfrastructureEntity) ImplementsInfrastructureIntegrationEntity

func (x *GenericInfrastructureEntity) ImplementsInfrastructureIntegrationEntity()

type GenericInfrastructureEntityOutline

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 alert status of the entity.
	AlertStatus EntityAlertStatus `json:"alertStatus,omitempty"`
	// The list of dashboard templates available for this entity.
	DashboardTemplates []EntityDashboardTemplatesDashboardTemplate `json:"dashboardTemplates"`
	// 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,omitempty"`
	// Existing API - to be replaced with V2 implementation.
	GoldenSignalValues []GoldenSignalSignalValues `json:"goldenSignalValues"`
	// The stored golden signal(s) for the given entity.
	GoldenSignalValuesV2 GoldenSignalValues `json:"goldenSignalValuesV2,omitempty"`
	// The list of golden tags for a specific entityType.
	GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags,omitempty"`
	// 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 recommended service levels for the entity.
	RecommendedServiceLevel ServiceLevelRecommendation `json:"recommendedServiceLevel,omitempty"`
	// Related dashboards results
	RelatedDashboards RelatedDashboardsRelatedDashboardResult `json:"relatedDashboards"`
	// 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 list of summary metrics.
	SummaryMetrics []EntitySummaryMetric `json:"summaryMetrics,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"`
	// List of templates availables for this entity.
	UiTemplates []EntityDashboardTemplatesUi `json:"uiTemplates"`
}

GenericInfrastructureEntityOutline - An Infrastructure entity outline.

func (GenericInfrastructureEntityOutline) GetAccount

GetAccount returns a pointer to the value of Account from GenericInfrastructureEntityOutline

func (GenericInfrastructureEntityOutline) GetAccountID

func (x GenericInfrastructureEntityOutline) GetAccountID() int

GetAccountID returns a pointer to the value of AccountID from GenericInfrastructureEntityOutline

func (GenericInfrastructureEntityOutline) GetAlertSeverity

GetAlertSeverity returns a pointer to the value of AlertSeverity from GenericInfrastructureEntityOutline

func (GenericInfrastructureEntityOutline) GetAlertStatus

GetAlertStatus returns a pointer to the value of AlertStatus from GenericInfrastructureEntityOutline

func (GenericInfrastructureEntityOutline) GetDashboardTemplates

GetDashboardTemplates returns a pointer to the value of DashboardTemplates from GenericInfrastructureEntityOutline

func (GenericInfrastructureEntityOutline) GetDomain

GetDomain returns a pointer to the value of Domain from GenericInfrastructureEntityOutline

func (GenericInfrastructureEntityOutline) GetEntityType

GetEntityType returns a pointer to the value of EntityType from GenericInfrastructureEntityOutline

func (GenericInfrastructureEntityOutline) GetGUID

GetGUID returns a pointer to the value of GUID from GenericInfrastructureEntityOutline

func (GenericInfrastructureEntityOutline) GetGoldenMetrics

GetGoldenMetrics returns a pointer to the value of GoldenMetrics from GenericInfrastructureEntityOutline

func (GenericInfrastructureEntityOutline) GetGoldenSignalValues

GetGoldenSignalValues returns a pointer to the value of GoldenSignalValues from GenericInfrastructureEntityOutline

func (GenericInfrastructureEntityOutline) GetGoldenSignalValuesV2

func (x GenericInfrastructureEntityOutline) GetGoldenSignalValuesV2() GoldenSignalValues

GetGoldenSignalValuesV2 returns a pointer to the value of GoldenSignalValuesV2 from GenericInfrastructureEntityOutline

func (GenericInfrastructureEntityOutline) GetGoldenTags

GetGoldenTags returns a pointer to the value of GoldenTags from GenericInfrastructureEntityOutline

func (GenericInfrastructureEntityOutline) GetIndexedAt

GetIndexedAt returns a pointer to the value of IndexedAt from GenericInfrastructureEntityOutline

func (GenericInfrastructureEntityOutline) GetIntegrationTypeCode

func (x GenericInfrastructureEntityOutline) GetIntegrationTypeCode() string

GetIntegrationTypeCode returns a pointer to the value of IntegrationTypeCode from GenericInfrastructureEntityOutline

func (GenericInfrastructureEntityOutline) GetName

GetName returns a pointer to the value of Name from GenericInfrastructureEntityOutline

func (x GenericInfrastructureEntityOutline) GetPermalink() string

GetPermalink returns a pointer to the value of Permalink from GenericInfrastructureEntityOutline

func (GenericInfrastructureEntityOutline) GetRecommendedServiceLevel

func (x GenericInfrastructureEntityOutline) GetRecommendedServiceLevel() ServiceLevelRecommendation

GetRecommendedServiceLevel returns a pointer to the value of RecommendedServiceLevel from GenericInfrastructureEntityOutline

func (GenericInfrastructureEntityOutline) GetRelatedDashboards

GetRelatedDashboards returns a pointer to the value of RelatedDashboards from GenericInfrastructureEntityOutline

func (GenericInfrastructureEntityOutline) GetReporting

func (x GenericInfrastructureEntityOutline) GetReporting() bool

GetReporting returns a pointer to the value of Reporting from GenericInfrastructureEntityOutline

func (GenericInfrastructureEntityOutline) GetServiceLevel

GetServiceLevel returns a pointer to the value of ServiceLevel from GenericInfrastructureEntityOutline

func (GenericInfrastructureEntityOutline) GetSummaryMetrics

GetSummaryMetrics returns a pointer to the value of SummaryMetrics from GenericInfrastructureEntityOutline

func (GenericInfrastructureEntityOutline) GetTags

GetTags returns a pointer to the value of Tags from GenericInfrastructureEntityOutline

func (GenericInfrastructureEntityOutline) GetType

GetType returns a pointer to the value of Type from GenericInfrastructureEntityOutline

func (GenericInfrastructureEntityOutline) GetUiTemplates

GetUiTemplates returns a pointer to the value of UiTemplates from GenericInfrastructureEntityOutline

func (*GenericInfrastructureEntityOutline) ImplementsAlertableEntityOutline

func (x *GenericInfrastructureEntityOutline) ImplementsAlertableEntityOutline()

func (GenericInfrastructureEntityOutline) ImplementsEntity

func (x GenericInfrastructureEntityOutline) ImplementsEntity()

func (*GenericInfrastructureEntityOutline) ImplementsEntityOutline

func (x *GenericInfrastructureEntityOutline) ImplementsEntityOutline()

func (*GenericInfrastructureEntityOutline) ImplementsInfrastructureIntegrationEntityOutline

func (x *GenericInfrastructureEntityOutline) ImplementsInfrastructureIntegrationEntityOutline()

type GenericServiceEntity

type GenericServiceEntity 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 alert status of the entity.
	AlertStatus EntityAlertStatus `json:"alertStatus,omitempty"`
	// Violations on the entity that were open during the specified time window. This will return up to 500 violations - if there are more in the time window selected, you must narrow the timewindow or look at fewer entities.
	AlertViolations []EntityAlertViolation `json:"alertViolations,omitempty"`
	// Query upstream and downstream dependencies for an entity
	Connections RelatedExternalsEntityResult `json:"connections,omitempty"`
	// The list of dashboard templates available for this entity.
	DashboardTemplates []EntityDashboardTemplatesDashboardTemplate `json:"dashboardTemplates"`
	// 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,omitempty"`
	// Existing API - to be replaced with V2 implementation.
	GoldenSignalValues []GoldenSignalSignalValues `json:"goldenSignalValues"`
	// The stored golden signal(s) for the given entity.
	GoldenSignalValuesV2 GoldenSignalValues `json:"goldenSignalValuesV2,omitempty"`
	// The list of golden tags for a specific entityType.
	GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags,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"`
	NerdStoreCollection []NerdStoreCollectionMember `json:"nerdStoreCollection,omitempty"`
	NerdStoreDocument   NerdStoreDocument           `json:"nerdStoreDocument,omitempty"`
	// The url to the entity.
	Permalink string `json:"permalink,omitempty"`
	// Recent violations on the entity.
	RecentAlertViolations []EntityAlertViolation `json:"recentAlertViolations,omitempty"`
	// The recommended service levels for the entity.
	RecommendedServiceLevel ServiceLevelRecommendation `json:"recommendedServiceLevel,omitempty"`
	// Related dashboards results
	RelatedDashboards RelatedDashboardsRelatedDashboardResult `json:"relatedDashboards"`
	// Related entities result with optional filtering.
	RelatedEntities EntityRelationshipRelatedEntitiesResult `json:"relatedEntities,omitempty"`
	// Query upstream and downstream transaction dependencies for an entity
	RelatedTransactions RelatedExternalsTransactionResult `json:"relatedTransactions,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 list of summary metrics.
	SummaryMetrics []EntitySummaryMetric `json:"summaryMetrics,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"`
	// Look up Distributed Tracing summary data for the selected `EntityGuid`
	TracingSummary DistributedTracingEntityTracingSummary `json:"tracingSummary,omitempty"`
	// The entity's type
	Type string `json:"type,omitempty"`
	// List of templates availables for this entity.
	UiTemplates []EntityDashboardTemplatesUi `json:"uiTemplates"`
}

GenericServiceEntity - A generic service entity. Details about a service entity that is instrumented by something other than, or in addition to an APM Agent.

func (GenericServiceEntity) GetAccount

GetAccount returns a pointer to the value of Account from GenericServiceEntity

func (GenericServiceEntity) GetAccountID

func (x GenericServiceEntity) GetAccountID() int

GetAccountID returns a pointer to the value of AccountID from GenericServiceEntity

func (GenericServiceEntity) GetAlertSeverity

func (x GenericServiceEntity) GetAlertSeverity() EntityAlertSeverity

GetAlertSeverity returns a pointer to the value of AlertSeverity from GenericServiceEntity

func (GenericServiceEntity) GetAlertStatus

func (x GenericServiceEntity) GetAlertStatus() EntityAlertStatus

GetAlertStatus returns a pointer to the value of AlertStatus from GenericServiceEntity

func (GenericServiceEntity) GetAlertViolations

func (x GenericServiceEntity) GetAlertViolations() []EntityAlertViolation

GetAlertViolations returns a pointer to the value of AlertViolations from GenericServiceEntity

func (GenericServiceEntity) GetConnections

GetConnections returns a pointer to the value of Connections from GenericServiceEntity

func (GenericServiceEntity) GetDashboardTemplates

GetDashboardTemplates returns a pointer to the value of DashboardTemplates from GenericServiceEntity

func (GenericServiceEntity) GetDomain

func (x GenericServiceEntity) GetDomain() string

GetDomain returns a pointer to the value of Domain from GenericServiceEntity

func (GenericServiceEntity) GetEntityType

func (x GenericServiceEntity) GetEntityType() EntityType

GetEntityType returns a pointer to the value of EntityType from GenericServiceEntity

func (GenericServiceEntity) GetGUID

GetGUID returns a pointer to the value of GUID from GenericServiceEntity

func (GenericServiceEntity) GetGoldenMetrics

GetGoldenMetrics returns a pointer to the value of GoldenMetrics from GenericServiceEntity

func (GenericServiceEntity) GetGoldenSignalValues

func (x GenericServiceEntity) GetGoldenSignalValues() []GoldenSignalSignalValues

GetGoldenSignalValues returns a pointer to the value of GoldenSignalValues from GenericServiceEntity

func (GenericServiceEntity) GetGoldenSignalValuesV2

func (x GenericServiceEntity) GetGoldenSignalValuesV2() GoldenSignalValues

GetGoldenSignalValuesV2 returns a pointer to the value of GoldenSignalValuesV2 from GenericServiceEntity

func (GenericServiceEntity) GetGoldenTags

GetGoldenTags returns a pointer to the value of GoldenTags from GenericServiceEntity

func (GenericServiceEntity) GetIndexedAt

func (x GenericServiceEntity) GetIndexedAt() *nrtime.EpochMilliseconds

GetIndexedAt returns a pointer to the value of IndexedAt from GenericServiceEntity

func (GenericServiceEntity) GetNRDBQuery

GetNRDBQuery returns a pointer to the value of NRDBQuery from GenericServiceEntity

func (GenericServiceEntity) GetName

func (x GenericServiceEntity) GetName() string

GetName returns a pointer to the value of Name from GenericServiceEntity

func (GenericServiceEntity) GetNerdStorage

func (x GenericServiceEntity) GetNerdStorage() NerdStorageEntityScope

GetNerdStorage returns a pointer to the value of NerdStorage from GenericServiceEntity

func (GenericServiceEntity) GetNerdStoreCollection

func (x GenericServiceEntity) GetNerdStoreCollection() []NerdStoreCollectionMember

GetNerdStoreCollection returns a pointer to the value of NerdStoreCollection from GenericServiceEntity

func (GenericServiceEntity) GetNerdStoreDocument

func (x GenericServiceEntity) GetNerdStoreDocument() NerdStoreDocument

GetNerdStoreDocument returns a pointer to the value of NerdStoreDocument from GenericServiceEntity

func (x GenericServiceEntity) GetPermalink() string

GetPermalink returns a pointer to the value of Permalink from GenericServiceEntity

func (GenericServiceEntity) GetRecentAlertViolations

func (x GenericServiceEntity) GetRecentAlertViolations() []EntityAlertViolation

GetRecentAlertViolations returns a pointer to the value of RecentAlertViolations from GenericServiceEntity

func (GenericServiceEntity) GetRecommendedServiceLevel

func (x GenericServiceEntity) GetRecommendedServiceLevel() ServiceLevelRecommendation

GetRecommendedServiceLevel returns a pointer to the value of RecommendedServiceLevel from GenericServiceEntity

func (GenericServiceEntity) GetRelatedDashboards

GetRelatedDashboards returns a pointer to the value of RelatedDashboards from GenericServiceEntity

func (GenericServiceEntity) GetRelatedEntities

GetRelatedEntities returns a pointer to the value of RelatedEntities from GenericServiceEntity

func (GenericServiceEntity) GetRelatedTransactions

func (x GenericServiceEntity) GetRelatedTransactions() RelatedExternalsTransactionResult

GetRelatedTransactions returns a pointer to the value of RelatedTransactions from GenericServiceEntity

func (GenericServiceEntity) GetRelationships

func (x GenericServiceEntity) GetRelationships() []EntityRelationship

GetRelationships returns a pointer to the value of Relationships from GenericServiceEntity

func (GenericServiceEntity) GetReporting

func (x GenericServiceEntity) GetReporting() bool

GetReporting returns a pointer to the value of Reporting from GenericServiceEntity

func (GenericServiceEntity) GetServiceLevel

func (x GenericServiceEntity) GetServiceLevel() ServiceLevelDefinition

GetServiceLevel returns a pointer to the value of ServiceLevel from GenericServiceEntity

func (GenericServiceEntity) GetSummaryMetrics

func (x GenericServiceEntity) GetSummaryMetrics() []EntitySummaryMetric

GetSummaryMetrics returns a pointer to the value of SummaryMetrics from GenericServiceEntity

func (GenericServiceEntity) GetTags

func (x GenericServiceEntity) GetTags() []EntityTag

GetTags returns a pointer to the value of Tags from GenericServiceEntity

func (GenericServiceEntity) GetTagsWithMetadata

func (x GenericServiceEntity) GetTagsWithMetadata() []EntityTagWithMetadata

GetTagsWithMetadata returns a pointer to the value of TagsWithMetadata from GenericServiceEntity

func (GenericServiceEntity) GetTracingSummary

GetTracingSummary returns a pointer to the value of TracingSummary from GenericServiceEntity

func (GenericServiceEntity) GetType

func (x GenericServiceEntity) GetType() string

GetType returns a pointer to the value of Type from GenericServiceEntity

func (GenericServiceEntity) GetUiTemplates

func (x GenericServiceEntity) GetUiTemplates() []EntityDashboardTemplatesUi

GetUiTemplates returns a pointer to the value of UiTemplates from GenericServiceEntity

func (*GenericServiceEntity) ImplementsAlertableEntity

func (x *GenericServiceEntity) ImplementsAlertableEntity()

func (*GenericServiceEntity) ImplementsEntity

func (x *GenericServiceEntity) ImplementsEntity()

func (*GenericServiceEntity) ImplementsServiceEntity

func (x *GenericServiceEntity) ImplementsServiceEntity()

func (*GenericServiceEntity) ImplementsThirdPartyServiceEntity

func (x *GenericServiceEntity) ImplementsThirdPartyServiceEntity()

type GenericServiceEntityOutline

type GenericServiceEntityOutline 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 alert status of the entity.
	AlertStatus EntityAlertStatus `json:"alertStatus,omitempty"`
	// The list of dashboard templates available for this entity.
	DashboardTemplates []EntityDashboardTemplatesDashboardTemplate `json:"dashboardTemplates"`
	// 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,omitempty"`
	// Existing API - to be replaced with V2 implementation.
	GoldenSignalValues []GoldenSignalSignalValues `json:"goldenSignalValues"`
	// The stored golden signal(s) for the given entity.
	GoldenSignalValuesV2 GoldenSignalValues `json:"goldenSignalValuesV2,omitempty"`
	// The list of golden tags for a specific entityType.
	GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags,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 recommended service levels for the entity.
	RecommendedServiceLevel ServiceLevelRecommendation `json:"recommendedServiceLevel,omitempty"`
	// Related dashboards results
	RelatedDashboards RelatedDashboardsRelatedDashboardResult `json:"relatedDashboards"`
	// 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 list of summary metrics.
	SummaryMetrics []EntitySummaryMetric `json:"summaryMetrics,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"`
	// List of templates availables for this entity.
	UiTemplates []EntityDashboardTemplatesUi `json:"uiTemplates"`
}

GenericServiceEntityOutline - A generic service entity outline. Details about a service entity that is instrumented by something other than, or in addition to an APM Agent.

func (GenericServiceEntityOutline) GetAccount

GetAccount returns a pointer to the value of Account from GenericServiceEntityOutline

func (GenericServiceEntityOutline) GetAccountID

func (x GenericServiceEntityOutline) GetAccountID() int

GetAccountID returns a pointer to the value of AccountID from GenericServiceEntityOutline

func (GenericServiceEntityOutline) GetAlertSeverity

func (x GenericServiceEntityOutline) GetAlertSeverity() EntityAlertSeverity

GetAlertSeverity returns a pointer to the value of AlertSeverity from GenericServiceEntityOutline

func (GenericServiceEntityOutline) GetAlertStatus

GetAlertStatus returns a pointer to the value of AlertStatus from GenericServiceEntityOutline

func (GenericServiceEntityOutline) GetDashboardTemplates

GetDashboardTemplates returns a pointer to the value of DashboardTemplates from GenericServiceEntityOutline

func (GenericServiceEntityOutline) GetDomain

func (x GenericServiceEntityOutline) GetDomain() string

GetDomain returns a pointer to the value of Domain from GenericServiceEntityOutline

func (GenericServiceEntityOutline) GetEntityType

func (x GenericServiceEntityOutline) GetEntityType() EntityType

GetEntityType returns a pointer to the value of EntityType from GenericServiceEntityOutline

func (GenericServiceEntityOutline) GetGUID

GetGUID returns a pointer to the value of GUID from GenericServiceEntityOutline

func (GenericServiceEntityOutline) GetGoldenMetrics

GetGoldenMetrics returns a pointer to the value of GoldenMetrics from GenericServiceEntityOutline

func (GenericServiceEntityOutline) GetGoldenSignalValues

func (x GenericServiceEntityOutline) GetGoldenSignalValues() []GoldenSignalSignalValues

GetGoldenSignalValues returns a pointer to the value of GoldenSignalValues from GenericServiceEntityOutline

func (GenericServiceEntityOutline) GetGoldenSignalValuesV2

func (x GenericServiceEntityOutline) GetGoldenSignalValuesV2() GoldenSignalValues

GetGoldenSignalValuesV2 returns a pointer to the value of GoldenSignalValuesV2 from GenericServiceEntityOutline

func (GenericServiceEntityOutline) GetGoldenTags

GetGoldenTags returns a pointer to the value of GoldenTags from GenericServiceEntityOutline

func (GenericServiceEntityOutline) GetIndexedAt

GetIndexedAt returns a pointer to the value of IndexedAt from GenericServiceEntityOutline

func (GenericServiceEntityOutline) GetName

func (x GenericServiceEntityOutline) GetName() string

GetName returns a pointer to the value of Name from GenericServiceEntityOutline

func (x GenericServiceEntityOutline) GetPermalink() string

GetPermalink returns a pointer to the value of Permalink from GenericServiceEntityOutline

func (GenericServiceEntityOutline) GetRecommendedServiceLevel

func (x GenericServiceEntityOutline) GetRecommendedServiceLevel() ServiceLevelRecommendation

GetRecommendedServiceLevel returns a pointer to the value of RecommendedServiceLevel from GenericServiceEntityOutline

func (GenericServiceEntityOutline) GetRelatedDashboards

GetRelatedDashboards returns a pointer to the value of RelatedDashboards from GenericServiceEntityOutline

func (GenericServiceEntityOutline) GetReporting

func (x GenericServiceEntityOutline) GetReporting() bool

GetReporting returns a pointer to the value of Reporting from GenericServiceEntityOutline

func (GenericServiceEntityOutline) GetServiceLevel

GetServiceLevel returns a pointer to the value of ServiceLevel from GenericServiceEntityOutline

func (GenericServiceEntityOutline) GetSummaryMetrics

func (x GenericServiceEntityOutline) GetSummaryMetrics() []EntitySummaryMetric

GetSummaryMetrics returns a pointer to the value of SummaryMetrics from GenericServiceEntityOutline

func (GenericServiceEntityOutline) GetTags

func (x GenericServiceEntityOutline) GetTags() []EntityTag

GetTags returns a pointer to the value of Tags from GenericServiceEntityOutline

func (GenericServiceEntityOutline) GetType

func (x GenericServiceEntityOutline) GetType() string

GetType returns a pointer to the value of Type from GenericServiceEntityOutline

func (GenericServiceEntityOutline) GetUiTemplates

GetUiTemplates returns a pointer to the value of UiTemplates from GenericServiceEntityOutline

func (*GenericServiceEntityOutline) ImplementsAlertableEntityOutline

func (x *GenericServiceEntityOutline) ImplementsAlertableEntityOutline()

func (*GenericServiceEntityOutline) ImplementsEntityOutline

func (x *GenericServiceEntityOutline) ImplementsEntityOutline()

func (*GenericServiceEntityOutline) ImplementsServiceEntityOutline

func (x *GenericServiceEntityOutline) ImplementsServiceEntityOutline()

func (*GenericServiceEntityOutline) ImplementsThirdPartyServiceEntityOutline

func (x *GenericServiceEntityOutline) ImplementsThirdPartyServiceEntityOutline()

type GoldenSignalSignalValues

type GoldenSignalSignalValues struct {
	// The fully qualified signal name.
	FullyQualifiedSignalName string `json:"fullyQualifiedSignalName,omitempty"`
	// The name of the golden signal.
	Name string `json:"name,omitempty"`
	// The aggregate value of the Golden Signal over the entire requested time window.
	SummaryValue float64 `json:"summaryValue,omitempty"`
	// Units of the values.
	Units string `json:"units,omitempty"`
	// The signal timeseries values. They correspond to the timeIndex.
	Values []float64 `json:"values,omitempty"`
}

GoldenSignalSignalValues - Individual signal data. Contains a timeseries, summary over the query, and metadata.

type GoldenSignalValues

type GoldenSignalValues struct {
	// The list of signals which have data for the requested entity.
	SignalValues []GoldenSignalSignalValues `json:"signalValues"`
	// The list of timestamps corresponding to all signal timeseries values.
	TimeIndex []*nrtime.EpochMilliseconds `json:"timeIndex"`
}

GoldenSignalValues - Response type for Golden Signal Service (buffer) data.

type InfrastructureAgentInstrumentationStrategy

type InfrastructureAgentInstrumentationStrategy string

InfrastructureAgentInstrumentationStrategy - The strategy for how we can instrument this service

type InfrastructureAgentServiceDetails

type InfrastructureAgentServiceDetails struct {
	// How the process should be displayed to the user
	DisplayName string `json:"displayName"`
	// The GUID of the infra agent that is (or could) manage this service
	GUID common.EntityGUID `json:"guid"`
	// The process ID
	ProcessId string `json:"processId"`
	// Status of the service
	Status InfrastructureAgentServiceStatus `json:"status"`
	// Instrumentation strategy for this service
	Strategy InfrastructureAgentInstrumentationStrategy `json:"strategy"`
}

InfrastructureAgentServiceDetails - A service that can be instrumented on a host

type InfrastructureAgentServiceStatus

type InfrastructureAgentServiceStatus string

InfrastructureAgentServiceStatus - The status of an individual service

type InfrastructureAwsLambdaFunctionEntity

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"`
	// The alert status of the entity.
	AlertStatus EntityAlertStatus `json:"alertStatus,omitempty"`
	// Violations on the entity that were open during the specified time window. This will return up to 500 violations - if there are more in the time window selected, you must narrow the timewindow or look at fewer entities.
	AlertViolations []EntityAlertViolation `json:"alertViolations,omitempty"`
	// Query upstream and downstream dependencies for an entity
	Connections RelatedExternalsEntityResult `json:"connections,omitempty"`
	// The list of dashboard templates available for this entity.
	DashboardTemplates []EntityDashboardTemplatesDashboardTemplate `json:"dashboardTemplates"`
	// 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,omitempty"`
	// Existing API - to be replaced with V2 implementation.
	GoldenSignalValues []GoldenSignalSignalValues `json:"goldenSignalValues"`
	// The stored golden signal(s) for the given entity.
	GoldenSignalValuesV2 GoldenSignalValues `json:"goldenSignalValuesV2,omitempty"`
	// The list of golden tags for a specific entityType.
	GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags,omitempty"`
	// 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"`
	NerdStoreCollection []NerdStoreCollectionMember `json:"nerdStoreCollection,omitempty"`
	NerdStoreDocument   NerdStoreDocument           `json:"nerdStoreDocument,omitempty"`
	// The url to the entity.
	Permalink string `json:"permalink,omitempty"`
	// Recent violations on the entity.
	RecentAlertViolations []EntityAlertViolation `json:"recentAlertViolations,omitempty"`
	// The recommended service levels for the entity.
	RecommendedServiceLevel ServiceLevelRecommendation `json:"recommendedServiceLevel,omitempty"`
	// Related dashboards results
	RelatedDashboards RelatedDashboardsRelatedDashboardResult `json:"relatedDashboards"`
	// Related entities result with optional filtering.
	RelatedEntities EntityRelationshipRelatedEntitiesResult `json:"relatedEntities,omitempty"`
	// Query upstream and downstream transaction dependencies for an entity
	RelatedTransactions RelatedExternalsTransactionResult `json:"relatedTransactions,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 list of summary metrics.
	SummaryMetrics []EntitySummaryMetric `json:"summaryMetrics,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"`
	// Look up Distributed Tracing summary data for the selected `EntityGuid`
	TracingSummary DistributedTracingEntityTracingSummary `json:"tracingSummary,omitempty"`
	// The entity's type
	Type string `json:"type,omitempty"`
	// List of templates availables for this entity.
	UiTemplates []EntityDashboardTemplatesUi `json:"uiTemplates"`
}

InfrastructureAwsLambdaFunctionEntity - An AWS Lambda Function entity.

func (InfrastructureAwsLambdaFunctionEntity) GetAccount

GetAccount returns a pointer to the value of Account from InfrastructureAwsLambdaFunctionEntity

func (InfrastructureAwsLambdaFunctionEntity) GetAccountID

func (x InfrastructureAwsLambdaFunctionEntity) GetAccountID() int

GetAccountID returns a pointer to the value of AccountID from InfrastructureAwsLambdaFunctionEntity

func (InfrastructureAwsLambdaFunctionEntity) GetAlertSeverity

GetAlertSeverity returns a pointer to the value of AlertSeverity from InfrastructureAwsLambdaFunctionEntity

func (InfrastructureAwsLambdaFunctionEntity) GetAlertStatus

GetAlertStatus returns a pointer to the value of AlertStatus from InfrastructureAwsLambdaFunctionEntity

func (InfrastructureAwsLambdaFunctionEntity) GetAlertViolations

GetAlertViolations returns a pointer to the value of AlertViolations from InfrastructureAwsLambdaFunctionEntity

func (InfrastructureAwsLambdaFunctionEntity) GetConnections

GetConnections returns a pointer to the value of Connections from InfrastructureAwsLambdaFunctionEntity

func (InfrastructureAwsLambdaFunctionEntity) GetDashboardTemplates

GetDashboardTemplates returns a pointer to the value of DashboardTemplates from InfrastructureAwsLambdaFunctionEntity

func (InfrastructureAwsLambdaFunctionEntity) GetDomain

GetDomain returns a pointer to the value of Domain from InfrastructureAwsLambdaFunctionEntity

func (InfrastructureAwsLambdaFunctionEntity) GetEntityType

GetEntityType returns a pointer to the value of EntityType from InfrastructureAwsLambdaFunctionEntity

func (InfrastructureAwsLambdaFunctionEntity) GetGUID

GetGUID returns a pointer to the value of GUID from InfrastructureAwsLambdaFunctionEntity

func (InfrastructureAwsLambdaFunctionEntity) GetGoldenMetrics

GetGoldenMetrics returns a pointer to the value of GoldenMetrics from InfrastructureAwsLambdaFunctionEntity

func (InfrastructureAwsLambdaFunctionEntity) GetGoldenSignalValues

GetGoldenSignalValues returns a pointer to the value of GoldenSignalValues from InfrastructureAwsLambdaFunctionEntity

func (InfrastructureAwsLambdaFunctionEntity) GetGoldenSignalValuesV2

func (x InfrastructureAwsLambdaFunctionEntity) GetGoldenSignalValuesV2() GoldenSignalValues

GetGoldenSignalValuesV2 returns a pointer to the value of GoldenSignalValuesV2 from InfrastructureAwsLambdaFunctionEntity

func (InfrastructureAwsLambdaFunctionEntity) GetGoldenTags

GetGoldenTags returns a pointer to the value of GoldenTags from InfrastructureAwsLambdaFunctionEntity

func (InfrastructureAwsLambdaFunctionEntity) GetIndexedAt

GetIndexedAt returns a pointer to the value of IndexedAt from InfrastructureAwsLambdaFunctionEntity

func (InfrastructureAwsLambdaFunctionEntity) GetIntegrationTypeCode

func (x InfrastructureAwsLambdaFunctionEntity) GetIntegrationTypeCode() string

GetIntegrationTypeCode returns a pointer to the value of IntegrationTypeCode from InfrastructureAwsLambdaFunctionEntity

func (InfrastructureAwsLambdaFunctionEntity) GetNRDBQuery

GetNRDBQuery returns a pointer to the value of NRDBQuery from InfrastructureAwsLambdaFunctionEntity

func (InfrastructureAwsLambdaFunctionEntity) GetName

GetName returns a pointer to the value of Name from InfrastructureAwsLambdaFunctionEntity

func (InfrastructureAwsLambdaFunctionEntity) GetNerdStorage

GetNerdStorage returns a pointer to the value of NerdStorage from InfrastructureAwsLambdaFunctionEntity

func (InfrastructureAwsLambdaFunctionEntity) GetNerdStoreCollection

GetNerdStoreCollection returns a pointer to the value of NerdStoreCollection from InfrastructureAwsLambdaFunctionEntity

func (InfrastructureAwsLambdaFunctionEntity) GetNerdStoreDocument

GetNerdStoreDocument returns a pointer to the value of NerdStoreDocument from InfrastructureAwsLambdaFunctionEntity

GetPermalink returns a pointer to the value of Permalink from InfrastructureAwsLambdaFunctionEntity

func (InfrastructureAwsLambdaFunctionEntity) GetRecentAlertViolations

func (x InfrastructureAwsLambdaFunctionEntity) GetRecentAlertViolations() []EntityAlertViolation

GetRecentAlertViolations returns a pointer to the value of RecentAlertViolations from InfrastructureAwsLambdaFunctionEntity

func (InfrastructureAwsLambdaFunctionEntity) GetRecommendedServiceLevel

GetRecommendedServiceLevel returns a pointer to the value of RecommendedServiceLevel from InfrastructureAwsLambdaFunctionEntity

func (InfrastructureAwsLambdaFunctionEntity) GetRelatedDashboards

GetRelatedDashboards returns a pointer to the value of RelatedDashboards from InfrastructureAwsLambdaFunctionEntity

func (InfrastructureAwsLambdaFunctionEntity) GetRelatedEntities

GetRelatedEntities returns a pointer to the value of RelatedEntities from InfrastructureAwsLambdaFunctionEntity

func (InfrastructureAwsLambdaFunctionEntity) GetRelatedTransactions

GetRelatedTransactions returns a pointer to the value of RelatedTransactions from InfrastructureAwsLambdaFunctionEntity

func (InfrastructureAwsLambdaFunctionEntity) GetRelationships

GetRelationships returns a pointer to the value of Relationships from InfrastructureAwsLambdaFunctionEntity

func (InfrastructureAwsLambdaFunctionEntity) GetReporting

GetReporting returns a pointer to the value of Reporting from InfrastructureAwsLambdaFunctionEntity

func (InfrastructureAwsLambdaFunctionEntity) GetRuntime

GetRuntime returns a pointer to the value of Runtime from InfrastructureAwsLambdaFunctionEntity

func (InfrastructureAwsLambdaFunctionEntity) GetServiceLevel

GetServiceLevel returns a pointer to the value of ServiceLevel from InfrastructureAwsLambdaFunctionEntity

func (InfrastructureAwsLambdaFunctionEntity) GetSummaryMetrics

GetSummaryMetrics returns a pointer to the value of SummaryMetrics from InfrastructureAwsLambdaFunctionEntity

func (InfrastructureAwsLambdaFunctionEntity) GetTags

GetTags returns a pointer to the value of Tags from InfrastructureAwsLambdaFunctionEntity

func (InfrastructureAwsLambdaFunctionEntity) GetTagsWithMetadata

GetTagsWithMetadata returns a pointer to the value of TagsWithMetadata from InfrastructureAwsLambdaFunctionEntity

func (InfrastructureAwsLambdaFunctionEntity) GetTracingSummary

GetTracingSummary returns a pointer to the value of TracingSummary from InfrastructureAwsLambdaFunctionEntity

func (InfrastructureAwsLambdaFunctionEntity) GetType

GetType returns a pointer to the value of Type from InfrastructureAwsLambdaFunctionEntity

func (InfrastructureAwsLambdaFunctionEntity) GetUiTemplates

GetUiTemplates returns a pointer to the value of UiTemplates from InfrastructureAwsLambdaFunctionEntity

func (*InfrastructureAwsLambdaFunctionEntity) ImplementsAlertableEntity

func (x *InfrastructureAwsLambdaFunctionEntity) ImplementsAlertableEntity()

func (*InfrastructureAwsLambdaFunctionEntity) ImplementsEntity

func (x *InfrastructureAwsLambdaFunctionEntity) ImplementsEntity()

func (*InfrastructureAwsLambdaFunctionEntity) ImplementsInfrastructureIntegrationEntity

func (x *InfrastructureAwsLambdaFunctionEntity) ImplementsInfrastructureIntegrationEntity()

type InfrastructureAwsLambdaFunctionEntityOutline

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 alert status of the entity.
	AlertStatus EntityAlertStatus `json:"alertStatus,omitempty"`
	// The list of dashboard templates available for this entity.
	DashboardTemplates []EntityDashboardTemplatesDashboardTemplate `json:"dashboardTemplates"`
	// 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,omitempty"`
	// Existing API - to be replaced with V2 implementation.
	GoldenSignalValues []GoldenSignalSignalValues `json:"goldenSignalValues"`
	// The stored golden signal(s) for the given entity.
	GoldenSignalValuesV2 GoldenSignalValues `json:"goldenSignalValuesV2,omitempty"`
	// The list of golden tags for a specific entityType.
	GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags,omitempty"`
	// 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 recommended service levels for the entity.
	RecommendedServiceLevel ServiceLevelRecommendation `json:"recommendedServiceLevel,omitempty"`
	// Related dashboards results
	RelatedDashboards RelatedDashboardsRelatedDashboardResult `json:"relatedDashboards"`
	// 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 list of summary metrics.
	SummaryMetrics []EntitySummaryMetric `json:"summaryMetrics,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"`
	// List of templates availables for this entity.
	UiTemplates []EntityDashboardTemplatesUi `json:"uiTemplates"`
}

InfrastructureAwsLambdaFunctionEntityOutline - An AWS Lambda Function entity outline.

func (InfrastructureAwsLambdaFunctionEntityOutline) GetAccount

GetAccount returns a pointer to the value of Account from InfrastructureAwsLambdaFunctionEntityOutline

func (InfrastructureAwsLambdaFunctionEntityOutline) GetAccountID

GetAccountID returns a pointer to the value of AccountID from InfrastructureAwsLambdaFunctionEntityOutline

func (InfrastructureAwsLambdaFunctionEntityOutline) GetAlertSeverity

GetAlertSeverity returns a pointer to the value of AlertSeverity from InfrastructureAwsLambdaFunctionEntityOutline

func (InfrastructureAwsLambdaFunctionEntityOutline) GetAlertStatus

GetAlertStatus returns a pointer to the value of AlertStatus from InfrastructureAwsLambdaFunctionEntityOutline

func (InfrastructureAwsLambdaFunctionEntityOutline) GetDashboardTemplates

GetDashboardTemplates returns a pointer to the value of DashboardTemplates from InfrastructureAwsLambdaFunctionEntityOutline

func (InfrastructureAwsLambdaFunctionEntityOutline) GetDomain

GetDomain returns a pointer to the value of Domain from InfrastructureAwsLambdaFunctionEntityOutline

func (InfrastructureAwsLambdaFunctionEntityOutline) GetEntityType

GetEntityType returns a pointer to the value of EntityType from InfrastructureAwsLambdaFunctionEntityOutline

func (InfrastructureAwsLambdaFunctionEntityOutline) GetGUID

GetGUID returns a pointer to the value of GUID from InfrastructureAwsLambdaFunctionEntityOutline

func (InfrastructureAwsLambdaFunctionEntityOutline) GetGoldenMetrics

GetGoldenMetrics returns a pointer to the value of GoldenMetrics from InfrastructureAwsLambdaFunctionEntityOutline

func (InfrastructureAwsLambdaFunctionEntityOutline) GetGoldenSignalValues

GetGoldenSignalValues returns a pointer to the value of GoldenSignalValues from InfrastructureAwsLambdaFunctionEntityOutline

func (InfrastructureAwsLambdaFunctionEntityOutline) GetGoldenSignalValuesV2

GetGoldenSignalValuesV2 returns a pointer to the value of GoldenSignalValuesV2 from InfrastructureAwsLambdaFunctionEntityOutline

func (InfrastructureAwsLambdaFunctionEntityOutline) GetGoldenTags

GetGoldenTags returns a pointer to the value of GoldenTags from InfrastructureAwsLambdaFunctionEntityOutline

func (InfrastructureAwsLambdaFunctionEntityOutline) GetIndexedAt

GetIndexedAt returns a pointer to the value of IndexedAt from InfrastructureAwsLambdaFunctionEntityOutline

func (InfrastructureAwsLambdaFunctionEntityOutline) GetIntegrationTypeCode

func (x InfrastructureAwsLambdaFunctionEntityOutline) GetIntegrationTypeCode() string

GetIntegrationTypeCode returns a pointer to the value of IntegrationTypeCode from InfrastructureAwsLambdaFunctionEntityOutline

func (InfrastructureAwsLambdaFunctionEntityOutline) GetName

GetName returns a pointer to the value of Name from InfrastructureAwsLambdaFunctionEntityOutline

GetPermalink returns a pointer to the value of Permalink from InfrastructureAwsLambdaFunctionEntityOutline

func (InfrastructureAwsLambdaFunctionEntityOutline) GetRecommendedServiceLevel

GetRecommendedServiceLevel returns a pointer to the value of RecommendedServiceLevel from InfrastructureAwsLambdaFunctionEntityOutline

func (InfrastructureAwsLambdaFunctionEntityOutline) GetRelatedDashboards

GetRelatedDashboards returns a pointer to the value of RelatedDashboards from InfrastructureAwsLambdaFunctionEntityOutline

func (InfrastructureAwsLambdaFunctionEntityOutline) GetReporting

GetReporting returns a pointer to the value of Reporting from InfrastructureAwsLambdaFunctionEntityOutline

func (InfrastructureAwsLambdaFunctionEntityOutline) GetRuntime

GetRuntime returns a pointer to the value of Runtime from InfrastructureAwsLambdaFunctionEntityOutline

func (InfrastructureAwsLambdaFunctionEntityOutline) GetServiceLevel

GetServiceLevel returns a pointer to the value of ServiceLevel from InfrastructureAwsLambdaFunctionEntityOutline

func (InfrastructureAwsLambdaFunctionEntityOutline) GetSummaryMetrics

GetSummaryMetrics returns a pointer to the value of SummaryMetrics from InfrastructureAwsLambdaFunctionEntityOutline

func (InfrastructureAwsLambdaFunctionEntityOutline) GetTags

GetTags returns a pointer to the value of Tags from InfrastructureAwsLambdaFunctionEntityOutline

func (InfrastructureAwsLambdaFunctionEntityOutline) GetType

GetType returns a pointer to the value of Type from InfrastructureAwsLambdaFunctionEntityOutline

func (InfrastructureAwsLambdaFunctionEntityOutline) GetUiTemplates

GetUiTemplates returns a pointer to the value of UiTemplates from InfrastructureAwsLambdaFunctionEntityOutline

func (*InfrastructureAwsLambdaFunctionEntityOutline) ImplementsAlertableEntityOutline

func (x *InfrastructureAwsLambdaFunctionEntityOutline) ImplementsAlertableEntityOutline()

func (InfrastructureAwsLambdaFunctionEntityOutline) ImplementsEntity

func (x InfrastructureAwsLambdaFunctionEntityOutline) ImplementsEntity()

func (*InfrastructureAwsLambdaFunctionEntityOutline) ImplementsEntityOutline

func (x *InfrastructureAwsLambdaFunctionEntityOutline) ImplementsEntityOutline()

func (*InfrastructureAwsLambdaFunctionEntityOutline) ImplementsInfrastructureIntegrationEntityOutline

func (x *InfrastructureAwsLambdaFunctionEntityOutline) ImplementsInfrastructureIntegrationEntityOutline()

type InfrastructureHostEntity

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"`
	// The alert status of the entity.
	AlertStatus EntityAlertStatus `json:"alertStatus,omitempty"`
	// Violations on the entity that were open during the specified time window. This will return up to 500 violations - if there are more in the time window selected, you must narrow the timewindow or look at fewer entities.
	AlertViolations []EntityAlertViolation `json:"alertViolations,omitempty"`
	// Retrieves deployed instrumentation given a host GUID.
	AvailableServices []InfrastructureAgentServiceDetails `json:"availableServices,omitempty"`
	// The list of dashboard templates available for this entity.
	DashboardTemplates []EntityDashboardTemplatesDashboardTemplate `json:"dashboardTemplates"`
	// 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,omitempty"`
	// Existing API - to be replaced with V2 implementation.
	GoldenSignalValues []GoldenSignalSignalValues `json:"goldenSignalValues"`
	// The stored golden signal(s) for the given entity.
	GoldenSignalValuesV2 GoldenSignalValues `json:"goldenSignalValuesV2,omitempty"`
	// The list of golden tags for a specific entityType.
	GoldenTags  EntityGoldenContextScopedGoldenTags `json:"goldenTags,omitempty"`
	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"`
	NerdStoreCollection []NerdStoreCollectionMember `json:"nerdStoreCollection,omitempty"`
	NerdStoreDocument   NerdStoreDocument           `json:"nerdStoreDocument,omitempty"`
	// The url to the entity.
	Permalink string `json:"permalink,omitempty"`
	// Recent violations on the entity.
	RecentAlertViolations []EntityAlertViolation `json:"recentAlertViolations,omitempty"`
	// The recommended service levels for the entity.
	RecommendedServiceLevel ServiceLevelRecommendation `json:"recommendedServiceLevel,omitempty"`
	// Related dashboards results
	RelatedDashboards RelatedDashboardsRelatedDashboardResult `json:"relatedDashboards"`
	// 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 list of summary metrics.
	SummaryMetrics []EntitySummaryMetric `json:"summaryMetrics,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"`
	// Look up Distributed Tracing summary data for the selected `EntityGuid`
	TracingSummary DistributedTracingEntityTracingSummary `json:"tracingSummary,omitempty"`
	// The entity's type
	Type string `json:"type,omitempty"`
	// List of templates availables for this entity.
	UiTemplates []EntityDashboardTemplatesUi `json:"uiTemplates"`
}

InfrastructureHostEntity - An Infrastructure Host entity.

func (InfrastructureHostEntity) GetAccount

GetAccount returns a pointer to the value of Account from InfrastructureHostEntity

func (InfrastructureHostEntity) GetAccountID

func (x InfrastructureHostEntity) GetAccountID() int

GetAccountID returns a pointer to the value of AccountID from InfrastructureHostEntity

func (InfrastructureHostEntity) GetAlertSeverity

func (x InfrastructureHostEntity) GetAlertSeverity() EntityAlertSeverity

GetAlertSeverity returns a pointer to the value of AlertSeverity from InfrastructureHostEntity

func (InfrastructureHostEntity) GetAlertStatus

func (x InfrastructureHostEntity) GetAlertStatus() EntityAlertStatus

GetAlertStatus returns a pointer to the value of AlertStatus from InfrastructureHostEntity

func (InfrastructureHostEntity) GetAlertViolations

func (x InfrastructureHostEntity) GetAlertViolations() []EntityAlertViolation

GetAlertViolations returns a pointer to the value of AlertViolations from InfrastructureHostEntity

func (InfrastructureHostEntity) GetAvailableServices

GetAvailableServices returns a pointer to the value of AvailableServices from InfrastructureHostEntity

func (InfrastructureHostEntity) GetDashboardTemplates

GetDashboardTemplates returns a pointer to the value of DashboardTemplates from InfrastructureHostEntity

func (InfrastructureHostEntity) GetDomain

func (x InfrastructureHostEntity) GetDomain() string

GetDomain returns a pointer to the value of Domain from InfrastructureHostEntity

func (InfrastructureHostEntity) GetEntityType

func (x InfrastructureHostEntity) GetEntityType() EntityType

GetEntityType returns a pointer to the value of EntityType from InfrastructureHostEntity

func (InfrastructureHostEntity) GetGUID

GetGUID returns a pointer to the value of GUID from InfrastructureHostEntity

func (InfrastructureHostEntity) GetGoldenMetrics

GetGoldenMetrics returns a pointer to the value of GoldenMetrics from InfrastructureHostEntity

func (InfrastructureHostEntity) GetGoldenSignalValues

func (x InfrastructureHostEntity) GetGoldenSignalValues() []GoldenSignalSignalValues

GetGoldenSignalValues returns a pointer to the value of GoldenSignalValues from InfrastructureHostEntity

func (InfrastructureHostEntity) GetGoldenSignalValuesV2

func (x InfrastructureHostEntity) GetGoldenSignalValuesV2() GoldenSignalValues

GetGoldenSignalValuesV2 returns a pointer to the value of GoldenSignalValuesV2 from InfrastructureHostEntity

func (InfrastructureHostEntity) GetGoldenTags

GetGoldenTags returns a pointer to the value of GoldenTags from InfrastructureHostEntity

func (InfrastructureHostEntity) GetHostSummary

GetHostSummary returns a pointer to the value of HostSummary from InfrastructureHostEntity

func (InfrastructureHostEntity) GetIndexedAt

GetIndexedAt returns a pointer to the value of IndexedAt from InfrastructureHostEntity

func (InfrastructureHostEntity) GetNRDBQuery

GetNRDBQuery returns a pointer to the value of NRDBQuery from InfrastructureHostEntity

func (InfrastructureHostEntity) GetName

func (x InfrastructureHostEntity) GetName() string

GetName returns a pointer to the value of Name from InfrastructureHostEntity

func (InfrastructureHostEntity) GetNerdStorage

GetNerdStorage returns a pointer to the value of NerdStorage from InfrastructureHostEntity

func (InfrastructureHostEntity) GetNerdStoreCollection

func (x InfrastructureHostEntity) GetNerdStoreCollection() []NerdStoreCollectionMember

GetNerdStoreCollection returns a pointer to the value of NerdStoreCollection from InfrastructureHostEntity

func (InfrastructureHostEntity) GetNerdStoreDocument

func (x InfrastructureHostEntity) GetNerdStoreDocument() NerdStoreDocument

GetNerdStoreDocument returns a pointer to the value of NerdStoreDocument from InfrastructureHostEntity

func (x InfrastructureHostEntity) GetPermalink() string

GetPermalink returns a pointer to the value of Permalink from InfrastructureHostEntity

func (InfrastructureHostEntity) GetRecentAlertViolations

func (x InfrastructureHostEntity) GetRecentAlertViolations() []EntityAlertViolation

GetRecentAlertViolations returns a pointer to the value of RecentAlertViolations from InfrastructureHostEntity

func (InfrastructureHostEntity) GetRecommendedServiceLevel

func (x InfrastructureHostEntity) GetRecommendedServiceLevel() ServiceLevelRecommendation

GetRecommendedServiceLevel returns a pointer to the value of RecommendedServiceLevel from InfrastructureHostEntity

func (InfrastructureHostEntity) GetRelatedDashboards

GetRelatedDashboards returns a pointer to the value of RelatedDashboards from InfrastructureHostEntity

func (InfrastructureHostEntity) GetRelatedEntities

GetRelatedEntities returns a pointer to the value of RelatedEntities from InfrastructureHostEntity

func (InfrastructureHostEntity) GetRelationships

func (x InfrastructureHostEntity) GetRelationships() []EntityRelationship

GetRelationships returns a pointer to the value of Relationships from InfrastructureHostEntity

func (InfrastructureHostEntity) GetReporting

func (x InfrastructureHostEntity) GetReporting() bool

GetReporting returns a pointer to the value of Reporting from InfrastructureHostEntity

func (InfrastructureHostEntity) GetServiceLevel

GetServiceLevel returns a pointer to the value of ServiceLevel from InfrastructureHostEntity

func (InfrastructureHostEntity) GetSummaryMetrics

func (x InfrastructureHostEntity) GetSummaryMetrics() []EntitySummaryMetric

GetSummaryMetrics returns a pointer to the value of SummaryMetrics from InfrastructureHostEntity

func (InfrastructureHostEntity) GetTags

func (x InfrastructureHostEntity) GetTags() []EntityTag

GetTags returns a pointer to the value of Tags from InfrastructureHostEntity

func (InfrastructureHostEntity) GetTagsWithMetadata

func (x InfrastructureHostEntity) GetTagsWithMetadata() []EntityTagWithMetadata

GetTagsWithMetadata returns a pointer to the value of TagsWithMetadata from InfrastructureHostEntity

func (InfrastructureHostEntity) GetTracingSummary

GetTracingSummary returns a pointer to the value of TracingSummary from InfrastructureHostEntity

func (InfrastructureHostEntity) GetType

func (x InfrastructureHostEntity) GetType() string

GetType returns a pointer to the value of Type from InfrastructureHostEntity

func (InfrastructureHostEntity) GetUiTemplates

GetUiTemplates returns a pointer to the value of UiTemplates from InfrastructureHostEntity

func (*InfrastructureHostEntity) ImplementsAlertableEntity

func (x *InfrastructureHostEntity) ImplementsAlertableEntity()

func (*InfrastructureHostEntity) ImplementsEntity

func (x *InfrastructureHostEntity) ImplementsEntity()

type InfrastructureHostEntityOutline

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 alert status of the entity.
	AlertStatus EntityAlertStatus `json:"alertStatus,omitempty"`
	// The list of dashboard templates available for this entity.
	DashboardTemplates []EntityDashboardTemplatesDashboardTemplate `json:"dashboardTemplates"`
	// 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,omitempty"`
	// Existing API - to be replaced with V2 implementation.
	GoldenSignalValues []GoldenSignalSignalValues `json:"goldenSignalValues"`
	// The stored golden signal(s) for the given entity.
	GoldenSignalValuesV2 GoldenSignalValues `json:"goldenSignalValuesV2,omitempty"`
	// The list of golden tags for a specific entityType.
	GoldenTags  EntityGoldenContextScopedGoldenTags `json:"goldenTags,omitempty"`
	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 recommended service levels for the entity.
	RecommendedServiceLevel ServiceLevelRecommendation `json:"recommendedServiceLevel,omitempty"`
	// Related dashboards results
	RelatedDashboards RelatedDashboardsRelatedDashboardResult `json:"relatedDashboards"`
	// 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 list of summary metrics.
	SummaryMetrics []EntitySummaryMetric `json:"summaryMetrics,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"`
	// List of templates availables for this entity.
	UiTemplates []EntityDashboardTemplatesUi `json:"uiTemplates"`
}

InfrastructureHostEntityOutline - An Infrastructure Host entity outline.

func (InfrastructureHostEntityOutline) GetAccount

GetAccount returns a pointer to the value of Account from InfrastructureHostEntityOutline

func (InfrastructureHostEntityOutline) GetAccountID

func (x InfrastructureHostEntityOutline) GetAccountID() int

GetAccountID returns a pointer to the value of AccountID from InfrastructureHostEntityOutline

func (InfrastructureHostEntityOutline) GetAlertSeverity

GetAlertSeverity returns a pointer to the value of AlertSeverity from InfrastructureHostEntityOutline

func (InfrastructureHostEntityOutline) GetAlertStatus

GetAlertStatus returns a pointer to the value of AlertStatus from InfrastructureHostEntityOutline

func (InfrastructureHostEntityOutline) GetDashboardTemplates

GetDashboardTemplates returns a pointer to the value of DashboardTemplates from InfrastructureHostEntityOutline

func (InfrastructureHostEntityOutline) GetDomain

GetDomain returns a pointer to the value of Domain from InfrastructureHostEntityOutline

func (InfrastructureHostEntityOutline) GetEntityType

func (x InfrastructureHostEntityOutline) GetEntityType() EntityType

GetEntityType returns a pointer to the value of EntityType from InfrastructureHostEntityOutline

func (InfrastructureHostEntityOutline) GetGUID

GetGUID returns a pointer to the value of GUID from InfrastructureHostEntityOutline

func (InfrastructureHostEntityOutline) GetGoldenMetrics

GetGoldenMetrics returns a pointer to the value of GoldenMetrics from InfrastructureHostEntityOutline

func (InfrastructureHostEntityOutline) GetGoldenSignalValues

func (x InfrastructureHostEntityOutline) GetGoldenSignalValues() []GoldenSignalSignalValues

GetGoldenSignalValues returns a pointer to the value of GoldenSignalValues from InfrastructureHostEntityOutline

func (InfrastructureHostEntityOutline) GetGoldenSignalValuesV2

func (x InfrastructureHostEntityOutline) GetGoldenSignalValuesV2() GoldenSignalValues

GetGoldenSignalValuesV2 returns a pointer to the value of GoldenSignalValuesV2 from InfrastructureHostEntityOutline

func (InfrastructureHostEntityOutline) GetGoldenTags

GetGoldenTags returns a pointer to the value of GoldenTags from InfrastructureHostEntityOutline

func (InfrastructureHostEntityOutline) GetHostSummary

GetHostSummary returns a pointer to the value of HostSummary from InfrastructureHostEntityOutline

func (InfrastructureHostEntityOutline) GetIndexedAt

GetIndexedAt returns a pointer to the value of IndexedAt from InfrastructureHostEntityOutline

func (InfrastructureHostEntityOutline) GetName

GetName returns a pointer to the value of Name from InfrastructureHostEntityOutline

func (x InfrastructureHostEntityOutline) GetPermalink() string

GetPermalink returns a pointer to the value of Permalink from InfrastructureHostEntityOutline

func (InfrastructureHostEntityOutline) GetRecommendedServiceLevel

func (x InfrastructureHostEntityOutline) GetRecommendedServiceLevel() ServiceLevelRecommendation

GetRecommendedServiceLevel returns a pointer to the value of RecommendedServiceLevel from InfrastructureHostEntityOutline

func (InfrastructureHostEntityOutline) GetRelatedDashboards

GetRelatedDashboards returns a pointer to the value of RelatedDashboards from InfrastructureHostEntityOutline

func (InfrastructureHostEntityOutline) GetReporting

func (x InfrastructureHostEntityOutline) GetReporting() bool

GetReporting returns a pointer to the value of Reporting from InfrastructureHostEntityOutline

func (InfrastructureHostEntityOutline) GetServiceLevel

GetServiceLevel returns a pointer to the value of ServiceLevel from InfrastructureHostEntityOutline

func (InfrastructureHostEntityOutline) GetSummaryMetrics

func (x InfrastructureHostEntityOutline) GetSummaryMetrics() []EntitySummaryMetric

GetSummaryMetrics returns a pointer to the value of SummaryMetrics from InfrastructureHostEntityOutline

func (InfrastructureHostEntityOutline) GetTags

GetTags returns a pointer to the value of Tags from InfrastructureHostEntityOutline

func (InfrastructureHostEntityOutline) GetType

GetType returns a pointer to the value of Type from InfrastructureHostEntityOutline

func (InfrastructureHostEntityOutline) GetUiTemplates

GetUiTemplates returns a pointer to the value of UiTemplates from InfrastructureHostEntityOutline

func (*InfrastructureHostEntityOutline) ImplementsAlertableEntityOutline

func (x *InfrastructureHostEntityOutline) ImplementsAlertableEntityOutline()

func (InfrastructureHostEntityOutline) ImplementsEntity

func (x InfrastructureHostEntityOutline) ImplementsEntity()

func (*InfrastructureHostEntityOutline) ImplementsEntityOutline

func (x *InfrastructureHostEntityOutline) ImplementsEntityOutline()

type InfrastructureHostSummaryData

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

type InfrastructureIntegrationEntity struct {
	IntegrationTypeCode string `json:"integrationTypeCode,omitempty"`
}

func (InfrastructureIntegrationEntity) GetIntegrationTypeCode

func (x InfrastructureIntegrationEntity) GetIntegrationTypeCode() string

GetIntegrationTypeCode returns a pointer to the value of IntegrationTypeCode from InfrastructureIntegrationEntity

func (*InfrastructureIntegrationEntity) ImplementsInfrastructureIntegrationEntity

func (x *InfrastructureIntegrationEntity) ImplementsInfrastructureIntegrationEntity()

type InfrastructureIntegrationEntityInterface

type InfrastructureIntegrationEntityInterface interface {
	ImplementsInfrastructureIntegrationEntity()
}

func UnmarshalInfrastructureIntegrationEntityInterface

func UnmarshalInfrastructureIntegrationEntityInterface(b []byte) (*InfrastructureIntegrationEntityInterface, error)

UnmarshalInfrastructureIntegrationEntityInterface unmarshals the interface into the correct type based on __typename provided by GraphQL

type InfrastructureIntegrationEntityOutline

type InfrastructureIntegrationEntityOutline struct {
	IntegrationTypeCode string `json:"integrationTypeCode,omitempty"`
}

func (InfrastructureIntegrationEntityOutline) GetIntegrationTypeCode

func (x InfrastructureIntegrationEntityOutline) GetIntegrationTypeCode() string

GetIntegrationTypeCode returns a pointer to the value of IntegrationTypeCode from InfrastructureIntegrationEntityOutline

func (InfrastructureIntegrationEntityOutline) ImplementsEntity

func (x InfrastructureIntegrationEntityOutline) ImplementsEntity()

func (*InfrastructureIntegrationEntityOutline) ImplementsInfrastructureIntegrationEntityOutline

func (x *InfrastructureIntegrationEntityOutline) ImplementsInfrastructureIntegrationEntityOutline()

type InfrastructureIntegrationEntityOutlineInterface

type InfrastructureIntegrationEntityOutlineInterface interface {
	ImplementsInfrastructureIntegrationEntityOutline()
}

func UnmarshalInfrastructureIntegrationEntityOutlineInterface

func UnmarshalInfrastructureIntegrationEntityOutlineInterface(b []byte) (*InfrastructureIntegrationEntityOutlineInterface, error)

UnmarshalInfrastructureIntegrationEntityOutlineInterface unmarshals the interface into the correct type based on __typename provided by GraphQL

type JavaFlightRecorderFlamegraph

type JavaFlightRecorderFlamegraph struct {
	// List of stack frames for the flamegraph
	AllFrames []JavaFlightRecorderStackFrame `json:"allFrames"`
}

JavaFlightRecorderFlamegraph - The flamegraph built from the strack trace samples

type JavaFlightRecorderStackFrame

type JavaFlightRecorderStackFrame struct {
	// The number of stack traces that this frame is in
	Count int `json:"count"`
	// This stackframe's id
	ID string `json:"id"`
	// The stackframe's class and method name
	Name string `json:"name"`
	// This stackframe's parent id
	ParentId string `json:"parentId,omitempty"`
}

JavaFlightRecorderStackFrame - A method within the flamegraph

type KeyTransactionApplication added in v2.29.0

type KeyTransactionApplication struct {
	// The application outline.
	Entity EntityOutlineInterface `json:"entity,omitempty"`
	// The guid of the application.
	GUID common.EntityGUID `json:"guid"`
}

KeyTransactionApplication - The application wrapper.

func (*KeyTransactionApplication) UnmarshalJSON added in v2.29.0

func (x *KeyTransactionApplication) UnmarshalJSON(b []byte) error

special

type KeyTransactionEntity added in v2.29.0

type KeyTransactionEntity 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. This will return up to 500 violations - if there are more in the time window selected, you must narrow the time window or look at fewer entities.
	AlertViolations []EntityAlertViolation `json:"alertViolations,omitempty"`
	// The acceptable amount of time spent in the backend before customers get frustrated (Apdex target).
	ApdexTarget float64 `json:"apdexTarget"`
	// The application associated with this key transaction
	Application KeyTransactionApplication `json:"application"`
	// The acceptable amount of time for rendering a page in a browser before customers get frustrated (browser Apdex target).
	BrowserApdexTarget float64 `json:"browserApdexTarget,omitempty"`
	// Retrieve the deployment event(s). Ordered by timestamp DESC.
	DeploymentSearch ChangeTrackingDeploymentSearchResult `json:"deploymentSearch,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"`
	// The date of last time the entity has updated any of its fields.
	FirstIndexedAt *nrtime.EpochMilliseconds `json:"firstIndexedAt,omitempty"`
	// A unique entity identifier.
	GUID common.EntityGUID `json:"guid,omitempty"`
	// The list of golden metrics for a specific entity
	GoldenMetrics EntityGoldenContextScopedGoldenMetrics `json:"goldenMetrics,omitempty"`
	// The list of golden tags for a specific entityType.
	GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags,omitempty"`
	// The time the entity was indexed.
	IndexedAt *nrtime.EpochMilliseconds `json:"indexedAt,omitempty"`
	// The last time the entity's reporting status changed.
	LastReportingChangeAt *nrtime.EpochMilliseconds `json:"lastReportingChangeAt,omitempty"`
	// The name of the metric underlying this key transaction.
	MetricName string `json:"metricName"`
	// 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"`
	// Poll for the results of a previously-executed asychronous NRDB query.
	//
	// The `queryId` is available in the `queryProgress` data returned by the original asynchronous query.
	//
	// See [this page](https://docs.newrelic.com/docs/apis/nerdgraph/examples/async-queries-nrql-tutorial) for additional asynchronous query documentation.
	NRDBQueryProgress nrdb.NRDBResultContainer `json:"nrdbQueryProgress,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"`
	// Look up Distributed Tracing summary data for the selected `EntityGuid`
	TracingSummary DistributedTracingEntityTracingSummary `json:"tracingSummary,omitempty"`
	// The entity's type
	Type string `json:"type,omitempty"`
}

KeyTransactionEntity - A Key Transaction entity.

func (KeyTransactionEntity) GetAccount added in v2.29.0

GetAccount returns a pointer to the value of Account from KeyTransactionEntity

func (KeyTransactionEntity) GetAccountID added in v2.29.0

func (x KeyTransactionEntity) GetAccountID() int

GetAccountID returns a pointer to the value of AccountID from KeyTransactionEntity

func (KeyTransactionEntity) GetAlertSeverity added in v2.29.0

func (x KeyTransactionEntity) GetAlertSeverity() EntityAlertSeverity

GetAlertSeverity returns a pointer to the value of AlertSeverity from KeyTransactionEntity

func (KeyTransactionEntity) GetAlertViolations added in v2.29.0

func (x KeyTransactionEntity) GetAlertViolations() []EntityAlertViolation

GetAlertViolations returns a pointer to the value of AlertViolations from KeyTransactionEntity

func (KeyTransactionEntity) GetApdexTarget added in v2.29.0

func (x KeyTransactionEntity) GetApdexTarget() float64

GetApdexTarget returns a pointer to the value of ApdexTarget from KeyTransactionEntity

func (KeyTransactionEntity) GetApplication added in v2.29.0

GetApplication returns a pointer to the value of Application from KeyTransactionEntity

func (KeyTransactionEntity) GetBrowserApdexTarget added in v2.29.0

func (x KeyTransactionEntity) GetBrowserApdexTarget() float64

GetBrowserApdexTarget returns a pointer to the value of BrowserApdexTarget from KeyTransactionEntity

func (KeyTransactionEntity) GetDeploymentSearch added in v2.29.0

GetDeploymentSearch returns a pointer to the value of DeploymentSearch from KeyTransactionEntity

func (KeyTransactionEntity) GetDomain added in v2.29.0

func (x KeyTransactionEntity) GetDomain() string

GetDomain returns a pointer to the value of Domain from KeyTransactionEntity

func (KeyTransactionEntity) GetEntityType added in v2.29.0

func (x KeyTransactionEntity) GetEntityType() EntityType

GetEntityType returns a pointer to the value of EntityType from KeyTransactionEntity

func (KeyTransactionEntity) GetFirstIndexedAt added in v2.29.0

func (x KeyTransactionEntity) GetFirstIndexedAt() *nrtime.EpochMilliseconds

GetFirstIndexedAt returns a pointer to the value of FirstIndexedAt from KeyTransactionEntity

func (KeyTransactionEntity) GetGUID added in v2.29.0

GetGUID returns a pointer to the value of GUID from KeyTransactionEntity

func (KeyTransactionEntity) GetGoldenMetrics added in v2.29.0

GetGoldenMetrics returns a pointer to the value of GoldenMetrics from KeyTransactionEntity

func (KeyTransactionEntity) GetGoldenTags added in v2.29.0

GetGoldenTags returns a pointer to the value of GoldenTags from KeyTransactionEntity

func (KeyTransactionEntity) GetIndexedAt added in v2.29.0

func (x KeyTransactionEntity) GetIndexedAt() *nrtime.EpochMilliseconds

GetIndexedAt returns a pointer to the value of IndexedAt from KeyTransactionEntity

func (KeyTransactionEntity) GetLastReportingChangeAt added in v2.29.0

func (x KeyTransactionEntity) GetLastReportingChangeAt() *nrtime.EpochMilliseconds

GetLastReportingChangeAt returns a pointer to the value of LastReportingChangeAt from KeyTransactionEntity

func (KeyTransactionEntity) GetMetricName added in v2.29.0

func (x KeyTransactionEntity) GetMetricName() string

GetMetricName returns a pointer to the value of MetricName from KeyTransactionEntity

func (KeyTransactionEntity) GetNRDBQuery added in v2.29.0

GetNRDBQuery returns a pointer to the value of NRDBQuery from KeyTransactionEntity

func (KeyTransactionEntity) GetNRDBQueryProgress added in v2.29.0

func (x KeyTransactionEntity) GetNRDBQueryProgress() nrdb.NRDBResultContainer

GetNRDBQueryProgress returns a pointer to the value of NRDBQueryProgress from KeyTransactionEntity

func (KeyTransactionEntity) GetName added in v2.29.0

func (x KeyTransactionEntity) GetName() string

GetName returns a pointer to the value of Name from KeyTransactionEntity

func (KeyTransactionEntity) GetNerdStorage added in v2.29.0

func (x KeyTransactionEntity) GetNerdStorage() NerdStorageEntityScope

GetNerdStorage returns a pointer to the value of NerdStorage from KeyTransactionEntity

func (x KeyTransactionEntity) GetPermalink() string

GetPermalink returns a pointer to the value of Permalink from KeyTransactionEntity

func (KeyTransactionEntity) GetRecentAlertViolations added in v2.29.0

func (x KeyTransactionEntity) GetRecentAlertViolations() []EntityAlertViolation

GetRecentAlertViolations returns a pointer to the value of RecentAlertViolations from KeyTransactionEntity

func (KeyTransactionEntity) GetRelatedEntities added in v2.29.0

GetRelatedEntities returns a pointer to the value of RelatedEntities from KeyTransactionEntity

func (KeyTransactionEntity) GetRelationships added in v2.29.0

func (x KeyTransactionEntity) GetRelationships() []EntityRelationship

GetRelationships returns a pointer to the value of Relationships from KeyTransactionEntity

func (KeyTransactionEntity) GetReporting added in v2.29.0

func (x KeyTransactionEntity) GetReporting() bool

GetReporting returns a pointer to the value of Reporting from KeyTransactionEntity

func (KeyTransactionEntity) GetServiceLevel added in v2.29.0

func (x KeyTransactionEntity) GetServiceLevel() ServiceLevelDefinition

GetServiceLevel returns a pointer to the value of ServiceLevel from KeyTransactionEntity

func (KeyTransactionEntity) GetTags added in v2.29.0

func (x KeyTransactionEntity) GetTags() []EntityTag

GetTags returns a pointer to the value of Tags from KeyTransactionEntity

func (KeyTransactionEntity) GetTagsWithMetadata added in v2.29.0

func (x KeyTransactionEntity) GetTagsWithMetadata() []EntityTagWithMetadata

GetTagsWithMetadata returns a pointer to the value of TagsWithMetadata from KeyTransactionEntity

func (KeyTransactionEntity) GetTracingSummary added in v2.29.0

GetTracingSummary returns a pointer to the value of TracingSummary from KeyTransactionEntity

func (KeyTransactionEntity) GetType added in v2.29.0

func (x KeyTransactionEntity) GetType() string

GetType returns a pointer to the value of Type from KeyTransactionEntity

func (*KeyTransactionEntity) ImplementsAlertableEntity added in v2.29.0

func (x *KeyTransactionEntity) ImplementsAlertableEntity()

func (*KeyTransactionEntity) ImplementsEntity added in v2.29.0

func (x *KeyTransactionEntity) ImplementsEntity()

type KeyTransactionEntityOutline added in v2.29.0

type KeyTransactionEntityOutline 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"`
	// The date of last time the entity has updated any of its fields.
	FirstIndexedAt *nrtime.EpochMilliseconds `json:"firstIndexedAt,omitempty"`
	// A unique entity identifier.
	GUID common.EntityGUID `json:"guid,omitempty"`
	// The list of golden metrics for a specific entity
	GoldenMetrics EntityGoldenContextScopedGoldenMetrics `json:"goldenMetrics,omitempty"`
	// The list of golden tags for a specific entityType.
	GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags,omitempty"`
	// The time the entity was indexed.
	IndexedAt *nrtime.EpochMilliseconds `json:"indexedAt,omitempty"`
	// The last time the entity's reporting status changed.
	LastReportingChangeAt *nrtime.EpochMilliseconds `json:"lastReportingChangeAt,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"`
}

KeyTransactionEntityOutline - A Key Transaction entity outline.

func (KeyTransactionEntityOutline) GetAccount added in v2.29.0

GetAccount returns a pointer to the value of Account from KeyTransactionEntityOutline

func (KeyTransactionEntityOutline) GetAccountID added in v2.29.0

func (x KeyTransactionEntityOutline) GetAccountID() int

GetAccountID returns a pointer to the value of AccountID from KeyTransactionEntityOutline

func (KeyTransactionEntityOutline) GetAlertSeverity added in v2.29.0

func (x KeyTransactionEntityOutline) GetAlertSeverity() EntityAlertSeverity

GetAlertSeverity returns a pointer to the value of AlertSeverity from KeyTransactionEntityOutline

func (KeyTransactionEntityOutline) GetDomain added in v2.29.0

func (x KeyTransactionEntityOutline) GetDomain() string

GetDomain returns a pointer to the value of Domain from KeyTransactionEntityOutline

func (KeyTransactionEntityOutline) GetEntityType added in v2.29.0

func (x KeyTransactionEntityOutline) GetEntityType() EntityType

GetEntityType returns a pointer to the value of EntityType from KeyTransactionEntityOutline

func (KeyTransactionEntityOutline) GetFirstIndexedAt added in v2.29.0

func (x KeyTransactionEntityOutline) GetFirstIndexedAt() *nrtime.EpochMilliseconds

GetFirstIndexedAt returns a pointer to the value of FirstIndexedAt from KeyTransactionEntityOutline

func (KeyTransactionEntityOutline) GetGUID added in v2.29.0

GetGUID returns a pointer to the value of GUID from KeyTransactionEntityOutline

func (KeyTransactionEntityOutline) GetGoldenMetrics added in v2.29.0

GetGoldenMetrics returns a pointer to the value of GoldenMetrics from KeyTransactionEntityOutline

func (KeyTransactionEntityOutline) GetGoldenTags added in v2.29.0

GetGoldenTags returns a pointer to the value of GoldenTags from KeyTransactionEntityOutline

func (KeyTransactionEntityOutline) GetIndexedAt added in v2.29.0

GetIndexedAt returns a pointer to the value of IndexedAt from KeyTransactionEntityOutline

func (KeyTransactionEntityOutline) GetLastReportingChangeAt added in v2.29.0

func (x KeyTransactionEntityOutline) GetLastReportingChangeAt() *nrtime.EpochMilliseconds

GetLastReportingChangeAt returns a pointer to the value of LastReportingChangeAt from KeyTransactionEntityOutline

func (KeyTransactionEntityOutline) GetName added in v2.29.0

func (x KeyTransactionEntityOutline) GetName() string

GetName returns a pointer to the value of Name from KeyTransactionEntityOutline

func (x KeyTransactionEntityOutline) GetPermalink() string

GetPermalink returns a pointer to the value of Permalink from KeyTransactionEntityOutline

func (KeyTransactionEntityOutline) GetReporting added in v2.29.0

func (x KeyTransactionEntityOutline) GetReporting() bool

GetReporting returns a pointer to the value of Reporting from KeyTransactionEntityOutline

func (KeyTransactionEntityOutline) GetServiceLevel added in v2.29.0

GetServiceLevel returns a pointer to the value of ServiceLevel from KeyTransactionEntityOutline

func (KeyTransactionEntityOutline) GetTags added in v2.29.0

func (x KeyTransactionEntityOutline) GetTags() []EntityTag

GetTags returns a pointer to the value of Tags from KeyTransactionEntityOutline

func (KeyTransactionEntityOutline) GetType added in v2.29.0

func (x KeyTransactionEntityOutline) GetType() string

GetType returns a pointer to the value of Type from KeyTransactionEntityOutline

func (*KeyTransactionEntityOutline) ImplementsAlertableEntityOutline added in v2.29.0

func (x *KeyTransactionEntityOutline) ImplementsAlertableEntityOutline()

func (*KeyTransactionEntityOutline) ImplementsEntityOutline added in v2.29.0

func (x *KeyTransactionEntityOutline) ImplementsEntityOutline()

type MetricNormalizationRule

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 evaluation order
	EvalOrder int `json:"evalOrder,omitempty"`
	// 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"`
	// Whether it terminates the evaluation chain or not
	TerminateChain bool `json:"terminateChain,omitempty"`
}

MetricNormalizationRule - An object that represents a metric rename rule.

type MetricNormalizationRuleAction

type MetricNormalizationRuleAction string

MetricNormalizationRuleAction - The different rule actions.

type Milliseconds

type Milliseconds string

Milliseconds - The `Milliseconds` scalar represents a duration in milliseconds

type MobileAppSummaryData

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

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"`
	// The alert status of the entity.
	AlertStatus EntityAlertStatus `json:"alertStatus,omitempty"`
	// Violations on the entity that were open during the specified time window. This will return up to 500 violations - if there are more in the time window selected, you must narrow the timewindow or look at fewer entities.
	AlertViolations []EntityAlertViolation `json:"alertViolations,omitempty"`
	// The ID of the Mobile App.
	ApplicationID int `json:"applicationId,omitempty"`
	// Query upstream and downstream dependencies for an entity
	Connections RelatedExternalsEntityResult `json:"connections,omitempty"`
	// A Crash that occurred in your Mobile Application.
	Crash StackTraceMobileCrash `json:"crash,omitempty"`
	// The list of dashboard templates available for this entity.
	DashboardTemplates []EntityDashboardTemplatesDashboardTemplate `json:"dashboardTemplates"`
	// 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 Handled Exception that occurred in your Mobile Application.
	Exception StackTraceMobileException `json:"exception,omitempty"`
	// A unique entity identifier.
	GUID common.EntityGUID `json:"guid,omitempty"`
	// The list of golden metrics for a specific entity
	GoldenMetrics EntityGoldenContextScopedGoldenMetrics `json:"goldenMetrics,omitempty"`
	// Existing API - to be replaced with V2 implementation.
	GoldenSignalValues []GoldenSignalSignalValues `json:"goldenSignalValues"`
	// The stored golden signal(s) for the given entity.
	GoldenSignalValuesV2 GoldenSignalValues `json:"goldenSignalValuesV2,omitempty"`
	// The list of golden tags for a specific entityType.
	GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags,omitempty"`
	// 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"`
	NerdStoreCollection []NerdStoreCollectionMember `json:"nerdStoreCollection,omitempty"`
	NerdStoreDocument   NerdStoreDocument           `json:"nerdStoreDocument,omitempty"`
	// The url to the entity.
	Permalink string `json:"permalink,omitempty"`
	// Recent violations on the entity.
	RecentAlertViolations []EntityAlertViolation `json:"recentAlertViolations,omitempty"`
	// The recommended service levels for the entity.
	RecommendedServiceLevel ServiceLevelRecommendation `json:"recommendedServiceLevel,omitempty"`
	// Related dashboards results
	RelatedDashboards RelatedDashboardsRelatedDashboardResult `json:"relatedDashboards"`
	// Related entities result with optional filtering.
	RelatedEntities EntityRelationshipRelatedEntitiesResult `json:"relatedEntities,omitempty"`
	// Query upstream and downstream transaction dependencies for an entity
	RelatedTransactions RelatedExternalsTransactionResult `json:"relatedTransactions,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 list of summary metrics.
	SummaryMetrics []EntitySummaryMetric `json:"summaryMetrics,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"`
	// Look up Distributed Tracing summary data for the selected `EntityGuid`
	TracingSummary DistributedTracingEntityTracingSummary `json:"tracingSummary,omitempty"`
	// The entity's type
	Type string `json:"type,omitempty"`
	// List of templates availables for this entity.
	UiTemplates []EntityDashboardTemplatesUi `json:"uiTemplates"`
}

MobileApplicationEntity - A Mobile Application entity.

func (MobileApplicationEntity) GetAccount

GetAccount returns a pointer to the value of Account from MobileApplicationEntity

func (MobileApplicationEntity) GetAccountID

func (x MobileApplicationEntity) GetAccountID() int

GetAccountID returns a pointer to the value of AccountID from MobileApplicationEntity

func (MobileApplicationEntity) GetAlertSeverity

func (x MobileApplicationEntity) GetAlertSeverity() EntityAlertSeverity

GetAlertSeverity returns a pointer to the value of AlertSeverity from MobileApplicationEntity

func (MobileApplicationEntity) GetAlertStatus

func (x MobileApplicationEntity) GetAlertStatus() EntityAlertStatus

GetAlertStatus returns a pointer to the value of AlertStatus from MobileApplicationEntity

func (MobileApplicationEntity) GetAlertViolations

func (x MobileApplicationEntity) GetAlertViolations() []EntityAlertViolation

GetAlertViolations returns a pointer to the value of AlertViolations from MobileApplicationEntity

func (MobileApplicationEntity) GetApplicationID

func (x MobileApplicationEntity) GetApplicationID() int

GetApplicationID returns a pointer to the value of ApplicationID from MobileApplicationEntity

func (MobileApplicationEntity) GetConnections

GetConnections returns a pointer to the value of Connections from MobileApplicationEntity

func (MobileApplicationEntity) GetCrash

GetCrash returns a pointer to the value of Crash from MobileApplicationEntity

func (MobileApplicationEntity) GetDashboardTemplates

GetDashboardTemplates returns a pointer to the value of DashboardTemplates from MobileApplicationEntity

func (MobileApplicationEntity) GetDomain

func (x MobileApplicationEntity) GetDomain() string

GetDomain returns a pointer to the value of Domain from MobileApplicationEntity

func (MobileApplicationEntity) GetEntityType

func (x MobileApplicationEntity) GetEntityType() EntityType

GetEntityType returns a pointer to the value of EntityType from MobileApplicationEntity

func (MobileApplicationEntity) GetException

GetException returns a pointer to the value of Exception from MobileApplicationEntity

func (MobileApplicationEntity) GetGUID

GetGUID returns a pointer to the value of GUID from MobileApplicationEntity

func (MobileApplicationEntity) GetGoldenMetrics

GetGoldenMetrics returns a pointer to the value of GoldenMetrics from MobileApplicationEntity

func (MobileApplicationEntity) GetGoldenSignalValues

func (x MobileApplicationEntity) GetGoldenSignalValues() []GoldenSignalSignalValues

GetGoldenSignalValues returns a pointer to the value of GoldenSignalValues from MobileApplicationEntity

func (MobileApplicationEntity) GetGoldenSignalValuesV2

func (x MobileApplicationEntity) GetGoldenSignalValuesV2() GoldenSignalValues

GetGoldenSignalValuesV2 returns a pointer to the value of GoldenSignalValuesV2 from MobileApplicationEntity

func (MobileApplicationEntity) GetGoldenTags

GetGoldenTags returns a pointer to the value of GoldenTags from MobileApplicationEntity

func (MobileApplicationEntity) GetIndexedAt

GetIndexedAt returns a pointer to the value of IndexedAt from MobileApplicationEntity

func (MobileApplicationEntity) GetMetricNormalizationRule

func (x MobileApplicationEntity) GetMetricNormalizationRule() MetricNormalizationRule

GetMetricNormalizationRule returns a pointer to the value of MetricNormalizationRule from MobileApplicationEntity

func (MobileApplicationEntity) GetMetricNormalizationRules

func (x MobileApplicationEntity) GetMetricNormalizationRules() []MetricNormalizationRule

GetMetricNormalizationRules returns a pointer to the value of MetricNormalizationRules from MobileApplicationEntity

func (MobileApplicationEntity) GetMobileSummary

func (x MobileApplicationEntity) GetMobileSummary() MobileAppSummaryData

GetMobileSummary returns a pointer to the value of MobileSummary from MobileApplicationEntity

func (MobileApplicationEntity) GetNRDBQuery

GetNRDBQuery returns a pointer to the value of NRDBQuery from MobileApplicationEntity

func (MobileApplicationEntity) GetName

func (x MobileApplicationEntity) GetName() string

GetName returns a pointer to the value of Name from MobileApplicationEntity

func (MobileApplicationEntity) GetNerdStorage

GetNerdStorage returns a pointer to the value of NerdStorage from MobileApplicationEntity

func (MobileApplicationEntity) GetNerdStoreCollection

func (x MobileApplicationEntity) GetNerdStoreCollection() []NerdStoreCollectionMember

GetNerdStoreCollection returns a pointer to the value of NerdStoreCollection from MobileApplicationEntity

func (MobileApplicationEntity) GetNerdStoreDocument

func (x MobileApplicationEntity) GetNerdStoreDocument() NerdStoreDocument

GetNerdStoreDocument returns a pointer to the value of NerdStoreDocument from MobileApplicationEntity

func (x MobileApplicationEntity) GetPermalink() string

GetPermalink returns a pointer to the value of Permalink from MobileApplicationEntity

func (MobileApplicationEntity) GetRecentAlertViolations

func (x MobileApplicationEntity) GetRecentAlertViolations() []EntityAlertViolation

GetRecentAlertViolations returns a pointer to the value of RecentAlertViolations from MobileApplicationEntity

func (MobileApplicationEntity) GetRecommendedServiceLevel

func (x MobileApplicationEntity) GetRecommendedServiceLevel() ServiceLevelRecommendation

GetRecommendedServiceLevel returns a pointer to the value of RecommendedServiceLevel from MobileApplicationEntity

func (MobileApplicationEntity) GetRelatedDashboards

GetRelatedDashboards returns a pointer to the value of RelatedDashboards from MobileApplicationEntity

func (MobileApplicationEntity) GetRelatedEntities

GetRelatedEntities returns a pointer to the value of RelatedEntities from MobileApplicationEntity

func (MobileApplicationEntity) GetRelatedTransactions

GetRelatedTransactions returns a pointer to the value of RelatedTransactions from MobileApplicationEntity

func (MobileApplicationEntity) GetRelationships

func (x MobileApplicationEntity) GetRelationships() []EntityRelationship

GetRelationships returns a pointer to the value of Relationships from MobileApplicationEntity

func (MobileApplicationEntity) GetReporting

func (x MobileApplicationEntity) GetReporting() bool

GetReporting returns a pointer to the value of Reporting from MobileApplicationEntity

func (MobileApplicationEntity) GetServiceLevel

func (x MobileApplicationEntity) GetServiceLevel() ServiceLevelDefinition

GetServiceLevel returns a pointer to the value of ServiceLevel from MobileApplicationEntity

func (MobileApplicationEntity) GetSummaryMetrics

func (x MobileApplicationEntity) GetSummaryMetrics() []EntitySummaryMetric

GetSummaryMetrics returns a pointer to the value of SummaryMetrics from MobileApplicationEntity

func (MobileApplicationEntity) GetTags

func (x MobileApplicationEntity) GetTags() []EntityTag

GetTags returns a pointer to the value of Tags from MobileApplicationEntity

func (MobileApplicationEntity) GetTagsWithMetadata

func (x MobileApplicationEntity) GetTagsWithMetadata() []EntityTagWithMetadata

GetTagsWithMetadata returns a pointer to the value of TagsWithMetadata from MobileApplicationEntity

func (MobileApplicationEntity) GetTracingSummary

GetTracingSummary returns a pointer to the value of TracingSummary from MobileApplicationEntity

func (MobileApplicationEntity) GetType

func (x MobileApplicationEntity) GetType() string

GetType returns a pointer to the value of Type from MobileApplicationEntity

func (MobileApplicationEntity) GetUiTemplates

GetUiTemplates returns a pointer to the value of UiTemplates from MobileApplicationEntity

func (*MobileApplicationEntity) ImplementsAlertableEntity

func (x *MobileApplicationEntity) ImplementsAlertableEntity()

func (*MobileApplicationEntity) ImplementsEntity

func (x *MobileApplicationEntity) ImplementsEntity()

type MobileApplicationEntityOutline

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 alert status of the entity.
	AlertStatus EntityAlertStatus `json:"alertStatus,omitempty"`
	// The ID of the Mobile App.
	ApplicationID int `json:"applicationId,omitempty"`
	// The list of dashboard templates available for this entity.
	DashboardTemplates []EntityDashboardTemplatesDashboardTemplate `json:"dashboardTemplates"`
	// 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,omitempty"`
	// Existing API - to be replaced with V2 implementation.
	GoldenSignalValues []GoldenSignalSignalValues `json:"goldenSignalValues"`
	// The stored golden signal(s) for the given entity.
	GoldenSignalValuesV2 GoldenSignalValues `json:"goldenSignalValuesV2,omitempty"`
	// The list of golden tags for a specific entityType.
	GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags,omitempty"`
	// 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 recommended service levels for the entity.
	RecommendedServiceLevel ServiceLevelRecommendation `json:"recommendedServiceLevel,omitempty"`
	// Related dashboards results
	RelatedDashboards RelatedDashboardsRelatedDashboardResult `json:"relatedDashboards"`
	// 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 list of summary metrics.
	SummaryMetrics []EntitySummaryMetric `json:"summaryMetrics,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"`
	// List of templates availables for this entity.
	UiTemplates []EntityDashboardTemplatesUi `json:"uiTemplates"`
}

MobileApplicationEntityOutline - A Mobile Application entity outline.

func (MobileApplicationEntityOutline) GetAccount

GetAccount returns a pointer to the value of Account from MobileApplicationEntityOutline

func (MobileApplicationEntityOutline) GetAccountID

func (x MobileApplicationEntityOutline) GetAccountID() int

GetAccountID returns a pointer to the value of AccountID from MobileApplicationEntityOutline

func (MobileApplicationEntityOutline) GetAlertSeverity

GetAlertSeverity returns a pointer to the value of AlertSeverity from MobileApplicationEntityOutline

func (MobileApplicationEntityOutline) GetAlertStatus

GetAlertStatus returns a pointer to the value of AlertStatus from MobileApplicationEntityOutline

func (MobileApplicationEntityOutline) GetApplicationID

func (x MobileApplicationEntityOutline) GetApplicationID() int

GetApplicationID returns a pointer to the value of ApplicationID from MobileApplicationEntityOutline

func (MobileApplicationEntityOutline) GetDashboardTemplates

GetDashboardTemplates returns a pointer to the value of DashboardTemplates from MobileApplicationEntityOutline

func (MobileApplicationEntityOutline) GetDomain

func (x MobileApplicationEntityOutline) GetDomain() string

GetDomain returns a pointer to the value of Domain from MobileApplicationEntityOutline

func (MobileApplicationEntityOutline) GetEntityType

func (x MobileApplicationEntityOutline) GetEntityType() EntityType

GetEntityType returns a pointer to the value of EntityType from MobileApplicationEntityOutline

func (MobileApplicationEntityOutline) GetGUID

GetGUID returns a pointer to the value of GUID from MobileApplicationEntityOutline

func (MobileApplicationEntityOutline) GetGoldenMetrics

GetGoldenMetrics returns a pointer to the value of GoldenMetrics from MobileApplicationEntityOutline

func (MobileApplicationEntityOutline) GetGoldenSignalValues

func (x MobileApplicationEntityOutline) GetGoldenSignalValues() []GoldenSignalSignalValues

GetGoldenSignalValues returns a pointer to the value of GoldenSignalValues from MobileApplicationEntityOutline

func (MobileApplicationEntityOutline) GetGoldenSignalValuesV2

func (x MobileApplicationEntityOutline) GetGoldenSignalValuesV2() GoldenSignalValues

GetGoldenSignalValuesV2 returns a pointer to the value of GoldenSignalValuesV2 from MobileApplicationEntityOutline

func (MobileApplicationEntityOutline) GetGoldenTags

GetGoldenTags returns a pointer to the value of GoldenTags from MobileApplicationEntityOutline

func (MobileApplicationEntityOutline) GetIndexedAt

GetIndexedAt returns a pointer to the value of IndexedAt from MobileApplicationEntityOutline

func (MobileApplicationEntityOutline) GetMobileSummary

GetMobileSummary returns a pointer to the value of MobileSummary from MobileApplicationEntityOutline

func (MobileApplicationEntityOutline) GetName

GetName returns a pointer to the value of Name from MobileApplicationEntityOutline

func (x MobileApplicationEntityOutline) GetPermalink() string

GetPermalink returns a pointer to the value of Permalink from MobileApplicationEntityOutline

func (MobileApplicationEntityOutline) GetRecommendedServiceLevel

func (x MobileApplicationEntityOutline) GetRecommendedServiceLevel() ServiceLevelRecommendation

GetRecommendedServiceLevel returns a pointer to the value of RecommendedServiceLevel from MobileApplicationEntityOutline

func (MobileApplicationEntityOutline) GetRelatedDashboards

GetRelatedDashboards returns a pointer to the value of RelatedDashboards from MobileApplicationEntityOutline

func (MobileApplicationEntityOutline) GetReporting

func (x MobileApplicationEntityOutline) GetReporting() bool

GetReporting returns a pointer to the value of Reporting from MobileApplicationEntityOutline

func (MobileApplicationEntityOutline) GetServiceLevel

GetServiceLevel returns a pointer to the value of ServiceLevel from MobileApplicationEntityOutline

func (MobileApplicationEntityOutline) GetSummaryMetrics

func (x MobileApplicationEntityOutline) GetSummaryMetrics() []EntitySummaryMetric

GetSummaryMetrics returns a pointer to the value of SummaryMetrics from MobileApplicationEntityOutline

func (MobileApplicationEntityOutline) GetTags

GetTags returns a pointer to the value of Tags from MobileApplicationEntityOutline

func (MobileApplicationEntityOutline) GetType

GetType returns a pointer to the value of Type from MobileApplicationEntityOutline

func (MobileApplicationEntityOutline) GetUiTemplates

GetUiTemplates returns a pointer to the value of UiTemplates from MobileApplicationEntityOutline

func (*MobileApplicationEntityOutline) ImplementsAlertableEntityOutline

func (x *MobileApplicationEntityOutline) ImplementsAlertableEntityOutline()

func (MobileApplicationEntityOutline) ImplementsEntity

func (x MobileApplicationEntityOutline) ImplementsEntity()

func (*MobileApplicationEntityOutline) ImplementsEntityOutline

func (x *MobileApplicationEntityOutline) ImplementsEntityOutline()

type NRQLQueryOptions

type NRQLQueryOptions struct {
	// Limit the NRQL query to return results from the chosen Event Namespaces.
	//
	// You must supply at least 1 valid event namespace when using this option.
	// Invalid event namespaces will be filtered out.
	//
	// If omitted, the default list will be `["Default"]`
	//
	// For more details about Event Namespaces, visit our [docs](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

type NerdStorageCollectionMember struct {
	// The NerdStorage document.
	Document NerdStorageDocument `json:"document,omitempty"`
	// The documentId.
	ID string `json:"id,omitempty"`
}

type NerdStorageDocument

type NerdStorageDocument string

NerdStorageDocument - This scalar represents a NerdStorage document.

type NerdStorageEntityScope

type NerdStorageEntityScope struct {
	Collection []NerdStorageCollectionMember `json:"collection,omitempty"`
	Document   NerdStorageDocument           `json:"document,omitempty"`
}

type NerdStoreCollectionMember

type NerdStoreCollectionMember struct {
	Document NerdStoreDocument `json:"document,omitempty"`
	ID       string            `json:"id,omitempty"`
}

type NerdStoreDocument

type NerdStoreDocument string

NerdStoreDocument - This scalar represents a NerdStore document.

type ParentAccountInfo

type ParentAccountInfo struct {
	CreatedAt int           `json:"createdAt,omitempty"`
	ID        int           `json:"id,omitempty"`
	Name      string        `json:"name,omitempty"`
	Region    Region        `json:"region,omitempty"`
	Status    AccountStatus `json:"status,omitempty"`
}

type Region

type Region struct {
	Code string `json:"code,omitempty"`
	ID   int    `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
}

type RelatedDashboardsRelatedDashboardResult

type RelatedDashboardsRelatedDashboardResult struct {
	// GUIDs of dashboards related to the given entity; empty if none found
	DashboardGUIDs []common.EntityGUID `json:"dashboardGuids"`
	// EntityOutlines of dashboards related to the given entity; empty if none found
	Dashboards []EntityOutlineInterface `json:"dashboards"`
}

RelatedDashboardsRelatedDashboardResult - Related dashboards found for an entity GUID

func (*RelatedDashboardsRelatedDashboardResult) UnmarshalJSON

func (x *RelatedDashboardsRelatedDashboardResult) UnmarshalJSON(b []byte) error

special

type RelatedExternalsDirection

type RelatedExternalsDirection string

RelatedExternalsDirection - The direction of a connected entity.

type RelatedExternalsEntityEdge

type RelatedExternalsEntityEdge struct {
	// Performance data for an edge in the entity connections result graph.
	Performance []RelatedExternalsPerformance `json:"performance"`
	// The entity of the source (upstream) vertex in the entity connections result graph.
	SourceEntity EntityOutlineInterface `json:"sourceEntity"`
	// The entity guid of the source (upstream) vertex in the entity connections result graph.
	SourceEntityGUID common.EntityGUID `json:"sourceEntityGuid"`
	// The ID of the source (upstream) vertex in the entity connections result graph.
	SourceId string `json:"sourceId"`
	// The entity of the target (downstream) vertex in the entity result graph.
	TargetEntity EntityOutlineInterface `json:"targetEntity"`
	// The entity guid of the target (downstream) vertex in the entity connections result graph.
	TargetEntityGUID common.EntityGUID `json:"targetEntityGuid"`
	// The ID of the target (downstream) vertex in the entity transaction connections result graph.
	TargetId string `json:"targetId"`
}

RelatedExternalsEntityEdge - A connection between two entities in the entity connections result graph.

func (*RelatedExternalsEntityEdge) UnmarshalJSON

func (x *RelatedExternalsEntityEdge) UnmarshalJSON(b []byte) error

special

type RelatedExternalsEntityResult

type RelatedExternalsEntityResult struct {
	// Dependencies between entities in the entity connections result graph.
	Edges []RelatedExternalsEntityEdge `json:"edges"`
	// Entities in the entity connections result graph.
	Vertices []RelatedExternalsEntityVertex `json:"vertices"`
}

RelatedExternalsEntityResult - Lists upstream and downstream dependencies for the specified entity, including performance data during the given time window.

type RelatedExternalsEntityVertex

type RelatedExternalsEntityVertex struct {
	// The direction of the vertex
	Direction RelatedExternalsDirection `json:"direction"`
	// The entity for a vertex in the entity connections result graph.
	Entity EntityOutlineInterface `json:"entity"`
	// The entity guid for a vertex in the entity connections result graph.
	EntityGUID common.EntityGUID `json:"entityGuid"`
	// The ID for a vertex in the entity transaction connections result graph.
	ID string `json:"id"`
	// Performance data for a vertex in the entity connections result graph.
	Performance []RelatedExternalsPerformance `json:"performance"`
}

RelatedExternalsEntityVertex - An entity in the entity connections result graph.

func (*RelatedExternalsEntityVertex) UnmarshalJSON

func (x *RelatedExternalsEntityVertex) UnmarshalJSON(b []byte) error

special

type RelatedExternalsPerformance

type RelatedExternalsPerformance struct {
	// The average value for the signal over the queried time window.
	AverageValue float64 `json:"averageValue"`
	// The name of the performance signal.
	Name string `json:"name"`
	// Time series performance data for the performance signal.
	Timeseries []RelatedExternalsPerformanceValue `json:"timeseries"`
	// The unit for the performance signal.
	Unit string `json:"unit"`
}

RelatedExternalsPerformance - Entity connection performance values

type RelatedExternalsPerformanceValue

type RelatedExternalsPerformanceValue struct {
	// The average value of the signal at the given time.
	AverageValue float64 `json:"averageValue"`
	// The start time in epoch milliseconds for this value.
	Timestamp *nrtime.EpochMilliseconds `json:"timestamp"`
}

RelatedExternalsPerformanceValue - A time series value for an entity connection performance signal.

type RelatedExternalsSearch

type RelatedExternalsSearch struct {
	// Specify the direction of the connected entity: (UPSTREAM or DOWNSTREAM).
	Direction RelatedExternalsDirection `json:"direction"`
	// Filter to a specific connected entity.
	EntityGUID common.EntityGUID `json:"entityGuid"`
}

RelatedExternalsSearch - Specifies an entity, either upstream or downstream of the queried entity, to filter results to.

type RelatedExternalsTransactionEdge

type RelatedExternalsTransactionEdge struct {
	// Performance data for an edge in the entity transaction connections result graph.
	Performance []RelatedExternalsPerformance `json:"performance"`
	// The ID of the source (upstream) vertex in the entity transaction connections result graph.
	SourceId string `json:"sourceId"`
	// The ID of the target (downstream) vertex in the entity transaction connections result graph.
	TargetId string `json:"targetId"`
}

RelatedExternalsTransactionEdge - A connection between two entity transactions on two entities in the entity transaction connections result graph.

type RelatedExternalsTransactionResult

type RelatedExternalsTransactionResult struct {
	// Dependencies between transactions on two specified entities.
	Edges []RelatedExternalsTransactionEdge `json:"edges"`
	// Transactions for each entity in the entity transaction connections result graph.
	Vertices []RelatedExternalsTransactionVertex `json:"vertices"`
}

RelatedExternalsTransactionResult - Lists transaction dependencies between the two specified entities, including performance data during the given time window.

type RelatedExternalsTransactionVertex

type RelatedExternalsTransactionVertex struct {
	// The direction of the vertex
	Direction RelatedExternalsDirection `json:"direction"`
	// The entity for a vertex in the entity transaction connections result graph.
	Entity EntityOutlineInterface `json:"entity"`
	// The entity guid for a vertex in the entity transaction connections result graph.
	EntityGUID common.EntityGUID `json:"entityGuid"`
	// The ID for a vertex in the entity transaction connections result graph.
	ID string `json:"id"`
	// Performance data for a vertex in the entity transaction connections result graph.
	Performance []RelatedExternalsPerformance `json:"performance"`
	// The transaction for a vertex in the entity transaction connections result graph.
	TransactionName string `json:"transactionName,omitempty"`
}

RelatedExternalsTransactionVertex - An entity transaction in the entity transaction connections result graph.

func (*RelatedExternalsTransactionVertex) UnmarshalJSON

func (x *RelatedExternalsTransactionVertex) UnmarshalJSON(b []byte) error

special

type SecureCredentialEntity

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"`
	// The alert status of the entity.
	AlertStatus EntityAlertStatus `json:"alertStatus,omitempty"`
	// Violations on the entity that were open during the specified time window. This will return up to 500 violations - if there are more in the time window selected, you must narrow the timewindow or look at fewer entities.
	AlertViolations []EntityAlertViolation `json:"alertViolations,omitempty"`
	// The list of dashboard templates available for this entity.
	DashboardTemplates []EntityDashboardTemplatesDashboardTemplate `json:"dashboardTemplates"`
	// 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,omitempty"`
	// Existing API - to be replaced with V2 implementation.
	GoldenSignalValues []GoldenSignalSignalValues `json:"goldenSignalValues"`
	// The stored golden signal(s) for the given entity.
	GoldenSignalValuesV2 GoldenSignalValues `json:"goldenSignalValuesV2,omitempty"`
	// The list of golden tags for a specific entityType.
	GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags,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"`
	NerdStoreCollection []NerdStoreCollectionMember `json:"nerdStoreCollection,omitempty"`
	NerdStoreDocument   NerdStoreDocument           `json:"nerdStoreDocument,omitempty"`
	// The url to the entity.
	Permalink string `json:"permalink,omitempty"`
	// Recent violations on the entity.
	RecentAlertViolations []EntityAlertViolation `json:"recentAlertViolations,omitempty"`
	// The recommended service levels for the entity.
	RecommendedServiceLevel ServiceLevelRecommendation `json:"recommendedServiceLevel,omitempty"`
	// Related dashboards results
	RelatedDashboards RelatedDashboardsRelatedDashboardResult `json:"relatedDashboards"`
	// 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 list of summary metrics.
	SummaryMetrics []EntitySummaryMetric `json:"summaryMetrics,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"`
	// Look up Distributed Tracing summary data for the selected `EntityGuid`
	TracingSummary DistributedTracingEntityTracingSummary `json:"tracingSummary,omitempty"`
	// The entity's type
	Type string `json:"type,omitempty"`
	// List of templates availables for this entity.
	UiTemplates []EntityDashboardTemplatesUi `json:"uiTemplates"`
	// The time at which the entity was last updated.
	UpdatedAt *nrtime.EpochMilliseconds `json:"updatedAt,omitempty"`
}

SecureCredentialEntity - A secure credential entity.

func (SecureCredentialEntity) GetAccount

GetAccount returns a pointer to the value of Account from SecureCredentialEntity

func (SecureCredentialEntity) GetAccountID

func (x SecureCredentialEntity) GetAccountID() int

GetAccountID returns a pointer to the value of AccountID from SecureCredentialEntity

func (SecureCredentialEntity) GetAlertSeverity

func (x SecureCredentialEntity) GetAlertSeverity() EntityAlertSeverity

GetAlertSeverity returns a pointer to the value of AlertSeverity from SecureCredentialEntity

func (SecureCredentialEntity) GetAlertStatus

func (x SecureCredentialEntity) GetAlertStatus() EntityAlertStatus

GetAlertStatus returns a pointer to the value of AlertStatus from SecureCredentialEntity

func (SecureCredentialEntity) GetAlertViolations

func (x SecureCredentialEntity) GetAlertViolations() []EntityAlertViolation

GetAlertViolations returns a pointer to the value of AlertViolations from SecureCredentialEntity

func (SecureCredentialEntity) GetDashboardTemplates

GetDashboardTemplates returns a pointer to the value of DashboardTemplates from SecureCredentialEntity

func (SecureCredentialEntity) GetDescription

func (x SecureCredentialEntity) GetDescription() string

GetDescription returns a pointer to the value of Description from SecureCredentialEntity

func (SecureCredentialEntity) GetDomain

func (x SecureCredentialEntity) GetDomain() string

GetDomain returns a pointer to the value of Domain from SecureCredentialEntity

func (SecureCredentialEntity) GetEntityType

func (x SecureCredentialEntity) GetEntityType() EntityType

GetEntityType returns a pointer to the value of EntityType from SecureCredentialEntity

func (SecureCredentialEntity) GetGUID

GetGUID returns a pointer to the value of GUID from SecureCredentialEntity

func (SecureCredentialEntity) GetGoldenMetrics

GetGoldenMetrics returns a pointer to the value of GoldenMetrics from SecureCredentialEntity

func (SecureCredentialEntity) GetGoldenSignalValues

func (x SecureCredentialEntity) GetGoldenSignalValues() []GoldenSignalSignalValues

GetGoldenSignalValues returns a pointer to the value of GoldenSignalValues from SecureCredentialEntity

func (SecureCredentialEntity) GetGoldenSignalValuesV2

func (x SecureCredentialEntity) GetGoldenSignalValuesV2() GoldenSignalValues

GetGoldenSignalValuesV2 returns a pointer to the value of GoldenSignalValuesV2 from SecureCredentialEntity

func (SecureCredentialEntity) GetGoldenTags

GetGoldenTags returns a pointer to the value of GoldenTags from SecureCredentialEntity

func (SecureCredentialEntity) GetIndexedAt

GetIndexedAt returns a pointer to the value of IndexedAt from SecureCredentialEntity

func (SecureCredentialEntity) GetNRDBQuery

GetNRDBQuery returns a pointer to the value of NRDBQuery from SecureCredentialEntity

func (SecureCredentialEntity) GetName

func (x SecureCredentialEntity) GetName() string

GetName returns a pointer to the value of Name from SecureCredentialEntity

func (SecureCredentialEntity) GetNerdStorage

GetNerdStorage returns a pointer to the value of NerdStorage from SecureCredentialEntity

func (SecureCredentialEntity) GetNerdStoreCollection

func (x SecureCredentialEntity) GetNerdStoreCollection() []NerdStoreCollectionMember

GetNerdStoreCollection returns a pointer to the value of NerdStoreCollection from SecureCredentialEntity

func (SecureCredentialEntity) GetNerdStoreDocument

func (x SecureCredentialEntity) GetNerdStoreDocument() NerdStoreDocument

GetNerdStoreDocument returns a pointer to the value of NerdStoreDocument from SecureCredentialEntity

func (x SecureCredentialEntity) GetPermalink() string

GetPermalink returns a pointer to the value of Permalink from SecureCredentialEntity

func (SecureCredentialEntity) GetRecentAlertViolations

func (x SecureCredentialEntity) GetRecentAlertViolations() []EntityAlertViolation

GetRecentAlertViolations returns a pointer to the value of RecentAlertViolations from SecureCredentialEntity

func (SecureCredentialEntity) GetRecommendedServiceLevel

func (x SecureCredentialEntity) GetRecommendedServiceLevel() ServiceLevelRecommendation

GetRecommendedServiceLevel returns a pointer to the value of RecommendedServiceLevel from SecureCredentialEntity

func (SecureCredentialEntity) GetRelatedDashboards

GetRelatedDashboards returns a pointer to the value of RelatedDashboards from SecureCredentialEntity

func (SecureCredentialEntity) GetRelatedEntities

GetRelatedEntities returns a pointer to the value of RelatedEntities from SecureCredentialEntity

func (SecureCredentialEntity) GetRelationships

func (x SecureCredentialEntity) GetRelationships() []EntityRelationship

GetRelationships returns a pointer to the value of Relationships from SecureCredentialEntity

func (SecureCredentialEntity) GetReporting

func (x SecureCredentialEntity) GetReporting() bool

GetReporting returns a pointer to the value of Reporting from SecureCredentialEntity

func (SecureCredentialEntity) GetSecureCredentialId

func (x SecureCredentialEntity) GetSecureCredentialId() string

GetSecureCredentialId returns a pointer to the value of SecureCredentialId from SecureCredentialEntity

func (SecureCredentialEntity) GetSecureCredentialSummary

func (x SecureCredentialEntity) GetSecureCredentialSummary() SecureCredentialSummaryData

GetSecureCredentialSummary returns a pointer to the value of SecureCredentialSummary from SecureCredentialEntity

func (SecureCredentialEntity) GetServiceLevel

func (x SecureCredentialEntity) GetServiceLevel() ServiceLevelDefinition

GetServiceLevel returns a pointer to the value of ServiceLevel from SecureCredentialEntity

func (SecureCredentialEntity) GetSummaryMetrics

func (x SecureCredentialEntity) GetSummaryMetrics() []EntitySummaryMetric

GetSummaryMetrics returns a pointer to the value of SummaryMetrics from SecureCredentialEntity

func (SecureCredentialEntity) GetTags

func (x SecureCredentialEntity) GetTags() []EntityTag

GetTags returns a pointer to the value of Tags from SecureCredentialEntity

func (SecureCredentialEntity) GetTagsWithMetadata

func (x SecureCredentialEntity) GetTagsWithMetadata() []EntityTagWithMetadata

GetTagsWithMetadata returns a pointer to the value of TagsWithMetadata from SecureCredentialEntity

func (SecureCredentialEntity) GetTracingSummary

GetTracingSummary returns a pointer to the value of TracingSummary from SecureCredentialEntity

func (SecureCredentialEntity) GetType

func (x SecureCredentialEntity) GetType() string

GetType returns a pointer to the value of Type from SecureCredentialEntity

func (SecureCredentialEntity) GetUiTemplates

GetUiTemplates returns a pointer to the value of UiTemplates from SecureCredentialEntity

func (SecureCredentialEntity) GetUpdatedAt

GetUpdatedAt returns a pointer to the value of UpdatedAt from SecureCredentialEntity

func (*SecureCredentialEntity) ImplementsAlertableEntity

func (x *SecureCredentialEntity) ImplementsAlertableEntity()

func (*SecureCredentialEntity) ImplementsEntity

func (x *SecureCredentialEntity) ImplementsEntity()

type SecureCredentialEntityOutline

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 alert status of the entity.
	AlertStatus EntityAlertStatus `json:"alertStatus,omitempty"`
	// The list of dashboard templates available for this entity.
	DashboardTemplates []EntityDashboardTemplatesDashboardTemplate `json:"dashboardTemplates"`
	// 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,omitempty"`
	// Existing API - to be replaced with V2 implementation.
	GoldenSignalValues []GoldenSignalSignalValues `json:"goldenSignalValues"`
	// The stored golden signal(s) for the given entity.
	GoldenSignalValuesV2 GoldenSignalValues `json:"goldenSignalValuesV2,omitempty"`
	// The list of golden tags for a specific entityType.
	GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags,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 recommended service levels for the entity.
	RecommendedServiceLevel ServiceLevelRecommendation `json:"recommendedServiceLevel,omitempty"`
	// Related dashboards results
	RelatedDashboards RelatedDashboardsRelatedDashboardResult `json:"relatedDashboards"`
	// 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 list of summary metrics.
	SummaryMetrics []EntitySummaryMetric `json:"summaryMetrics,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"`
	// List of templates availables for this entity.
	UiTemplates []EntityDashboardTemplatesUi `json:"uiTemplates"`
	// The time at which the entity was last updated.
	UpdatedAt *nrtime.EpochMilliseconds `json:"updatedAt,omitempty"`
}

SecureCredentialEntityOutline - A secure credential entity outline.

func (SecureCredentialEntityOutline) GetAccount

GetAccount returns a pointer to the value of Account from SecureCredentialEntityOutline

func (SecureCredentialEntityOutline) GetAccountID

func (x SecureCredentialEntityOutline) GetAccountID() int

GetAccountID returns a pointer to the value of AccountID from SecureCredentialEntityOutline

func (SecureCredentialEntityOutline) GetAlertSeverity

GetAlertSeverity returns a pointer to the value of AlertSeverity from SecureCredentialEntityOutline

func (SecureCredentialEntityOutline) GetAlertStatus

GetAlertStatus returns a pointer to the value of AlertStatus from SecureCredentialEntityOutline

func (SecureCredentialEntityOutline) GetDashboardTemplates

GetDashboardTemplates returns a pointer to the value of DashboardTemplates from SecureCredentialEntityOutline

func (SecureCredentialEntityOutline) GetDescription

func (x SecureCredentialEntityOutline) GetDescription() string

GetDescription returns a pointer to the value of Description from SecureCredentialEntityOutline

func (SecureCredentialEntityOutline) GetDomain

func (x SecureCredentialEntityOutline) GetDomain() string

GetDomain returns a pointer to the value of Domain from SecureCredentialEntityOutline

func (SecureCredentialEntityOutline) GetEntityType

func (x SecureCredentialEntityOutline) GetEntityType() EntityType

GetEntityType returns a pointer to the value of EntityType from SecureCredentialEntityOutline

func (SecureCredentialEntityOutline) GetGUID

GetGUID returns a pointer to the value of GUID from SecureCredentialEntityOutline

func (SecureCredentialEntityOutline) GetGoldenMetrics

GetGoldenMetrics returns a pointer to the value of GoldenMetrics from SecureCredentialEntityOutline

func (SecureCredentialEntityOutline) GetGoldenSignalValues

func (x SecureCredentialEntityOutline) GetGoldenSignalValues() []GoldenSignalSignalValues

GetGoldenSignalValues returns a pointer to the value of GoldenSignalValues from SecureCredentialEntityOutline

func (SecureCredentialEntityOutline) GetGoldenSignalValuesV2

func (x SecureCredentialEntityOutline) GetGoldenSignalValuesV2() GoldenSignalValues

GetGoldenSignalValuesV2 returns a pointer to the value of GoldenSignalValuesV2 from SecureCredentialEntityOutline

func (SecureCredentialEntityOutline) GetGoldenTags

GetGoldenTags returns a pointer to the value of GoldenTags from SecureCredentialEntityOutline

func (SecureCredentialEntityOutline) GetIndexedAt

GetIndexedAt returns a pointer to the value of IndexedAt from SecureCredentialEntityOutline

func (SecureCredentialEntityOutline) GetName

GetName returns a pointer to the value of Name from SecureCredentialEntityOutline

func (x SecureCredentialEntityOutline) GetPermalink() string

GetPermalink returns a pointer to the value of Permalink from SecureCredentialEntityOutline

func (SecureCredentialEntityOutline) GetRecommendedServiceLevel

func (x SecureCredentialEntityOutline) GetRecommendedServiceLevel() ServiceLevelRecommendation

GetRecommendedServiceLevel returns a pointer to the value of RecommendedServiceLevel from SecureCredentialEntityOutline

func (SecureCredentialEntityOutline) GetRelatedDashboards

GetRelatedDashboards returns a pointer to the value of RelatedDashboards from SecureCredentialEntityOutline

func (SecureCredentialEntityOutline) GetReporting

func (x SecureCredentialEntityOutline) GetReporting() bool

GetReporting returns a pointer to the value of Reporting from SecureCredentialEntityOutline

func (SecureCredentialEntityOutline) GetSecureCredentialId

func (x SecureCredentialEntityOutline) GetSecureCredentialId() string

GetSecureCredentialId returns a pointer to the value of SecureCredentialId from SecureCredentialEntityOutline

func (SecureCredentialEntityOutline) GetSecureCredentialSummary

func (x SecureCredentialEntityOutline) GetSecureCredentialSummary() SecureCredentialSummaryData

GetSecureCredentialSummary returns a pointer to the value of SecureCredentialSummary from SecureCredentialEntityOutline

func (SecureCredentialEntityOutline) GetServiceLevel

GetServiceLevel returns a pointer to the value of ServiceLevel from SecureCredentialEntityOutline

func (SecureCredentialEntityOutline) GetSummaryMetrics

func (x SecureCredentialEntityOutline) GetSummaryMetrics() []EntitySummaryMetric

GetSummaryMetrics returns a pointer to the value of SummaryMetrics from SecureCredentialEntityOutline

func (SecureCredentialEntityOutline) GetTags

GetTags returns a pointer to the value of Tags from SecureCredentialEntityOutline

func (SecureCredentialEntityOutline) GetType

GetType returns a pointer to the value of Type from SecureCredentialEntityOutline

func (SecureCredentialEntityOutline) GetUiTemplates

GetUiTemplates returns a pointer to the value of UiTemplates from SecureCredentialEntityOutline

func (SecureCredentialEntityOutline) GetUpdatedAt

GetUpdatedAt returns a pointer to the value of UpdatedAt from SecureCredentialEntityOutline

func (*SecureCredentialEntityOutline) ImplementsAlertableEntityOutline

func (x *SecureCredentialEntityOutline) ImplementsAlertableEntityOutline()

func (SecureCredentialEntityOutline) ImplementsEntity

func (x SecureCredentialEntityOutline) ImplementsEntity()

func (*SecureCredentialEntityOutline) ImplementsEntityOutline

func (x *SecureCredentialEntityOutline) ImplementsEntityOutline()

type SecureCredentialSummaryData

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 ServiceEntity

type ServiceEntity 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 alert status of the entity.
	AlertStatus EntityAlertStatus `json:"alertStatus,omitempty"`
	// Violations on the entity that were open during the specified time window. This will return up to 500 violations - if there are more in the time window selected, you must narrow the timewindow or look at fewer entities.
	AlertViolations []EntityAlertViolation `json:"alertViolations,omitempty"`
	// The list of dashboard templates available for this entity.
	DashboardTemplates []EntityDashboardTemplatesDashboardTemplate `json:"dashboardTemplates"`
	// 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,omitempty"`
	// Existing API - to be replaced with V2 implementation.
	GoldenSignalValues []GoldenSignalSignalValues `json:"goldenSignalValues"`
	// The stored golden signal(s) for the given entity.
	GoldenSignalValuesV2 GoldenSignalValues `json:"goldenSignalValuesV2,omitempty"`
	// The list of golden tags for a specific entityType.
	GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags,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"`
	NerdStoreCollection []NerdStoreCollectionMember `json:"nerdStoreCollection,omitempty"`
	NerdStoreDocument   NerdStoreDocument           `json:"nerdStoreDocument,omitempty"`
	// The url to the entity.
	Permalink string `json:"permalink,omitempty"`
	// Recent violations on the entity.
	RecentAlertViolations []EntityAlertViolation `json:"recentAlertViolations,omitempty"`
	// The recommended service levels for the entity.
	RecommendedServiceLevel ServiceLevelRecommendation `json:"recommendedServiceLevel,omitempty"`
	// Related dashboards results
	RelatedDashboards RelatedDashboardsRelatedDashboardResult `json:"relatedDashboards"`
	// 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 list of summary metrics.
	SummaryMetrics []EntitySummaryMetric `json:"summaryMetrics,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"`
	// Look up Distributed Tracing summary data for the selected `EntityGuid`
	TracingSummary DistributedTracingEntityTracingSummary `json:"tracingSummary,omitempty"`
	// The entity's type
	Type string `json:"type,omitempty"`
	// List of templates availables for this entity.
	UiTemplates []EntityDashboardTemplatesUi `json:"uiTemplates"`
}

ServiceEntity - A service entity.

func (ServiceEntity) GetAccount

func (x ServiceEntity) GetAccount() accounts.AccountOutline

GetAccount returns a pointer to the value of Account from ServiceEntity

func (ServiceEntity) GetAccountID

func (x ServiceEntity) GetAccountID() int

GetAccountID returns a pointer to the value of AccountID from ServiceEntity

func (ServiceEntity) GetAlertSeverity

func (x ServiceEntity) GetAlertSeverity() EntityAlertSeverity

GetAlertSeverity returns a pointer to the value of AlertSeverity from ServiceEntity

func (ServiceEntity) GetAlertStatus

func (x ServiceEntity) GetAlertStatus() EntityAlertStatus

GetAlertStatus returns a pointer to the value of AlertStatus from ServiceEntity

func (ServiceEntity) GetAlertViolations

func (x ServiceEntity) GetAlertViolations() []EntityAlertViolation

GetAlertViolations returns a pointer to the value of AlertViolations from ServiceEntity

func (ServiceEntity) GetDashboardTemplates

func (x ServiceEntity) GetDashboardTemplates() []EntityDashboardTemplatesDashboardTemplate

GetDashboardTemplates returns a pointer to the value of DashboardTemplates from ServiceEntity

func (ServiceEntity) GetDomain

func (x ServiceEntity) GetDomain() string

GetDomain returns a pointer to the value of Domain from ServiceEntity

func (ServiceEntity) GetEntityType

func (x ServiceEntity) GetEntityType() EntityType

GetEntityType returns a pointer to the value of EntityType from ServiceEntity

func (ServiceEntity) GetGUID

func (x ServiceEntity) GetGUID() common.EntityGUID

GetGUID returns a pointer to the value of GUID from ServiceEntity

func (ServiceEntity) GetGoldenMetrics

GetGoldenMetrics returns a pointer to the value of GoldenMetrics from ServiceEntity

func (ServiceEntity) GetGoldenSignalValues

func (x ServiceEntity) GetGoldenSignalValues() []GoldenSignalSignalValues

GetGoldenSignalValues returns a pointer to the value of GoldenSignalValues from ServiceEntity

func (ServiceEntity) GetGoldenSignalValuesV2

func (x ServiceEntity) GetGoldenSignalValuesV2() GoldenSignalValues

GetGoldenSignalValuesV2 returns a pointer to the value of GoldenSignalValuesV2 from ServiceEntity

func (ServiceEntity) GetGoldenTags

GetGoldenTags returns a pointer to the value of GoldenTags from ServiceEntity

func (ServiceEntity) GetIndexedAt

func (x ServiceEntity) GetIndexedAt() *nrtime.EpochMilliseconds

GetIndexedAt returns a pointer to the value of IndexedAt from ServiceEntity

func (ServiceEntity) GetNRDBQuery

func (x ServiceEntity) GetNRDBQuery() nrdb.NRDBResultContainer

GetNRDBQuery returns a pointer to the value of NRDBQuery from ServiceEntity

func (ServiceEntity) GetName

func (x ServiceEntity) GetName() string

GetName returns a pointer to the value of Name from ServiceEntity

func (ServiceEntity) GetNerdStorage

func (x ServiceEntity) GetNerdStorage() NerdStorageEntityScope

GetNerdStorage returns a pointer to the value of NerdStorage from ServiceEntity

func (ServiceEntity) GetNerdStoreCollection

func (x ServiceEntity) GetNerdStoreCollection() []NerdStoreCollectionMember

GetNerdStoreCollection returns a pointer to the value of NerdStoreCollection from ServiceEntity

func (ServiceEntity) GetNerdStoreDocument

func (x ServiceEntity) GetNerdStoreDocument() NerdStoreDocument

GetNerdStoreDocument returns a pointer to the value of NerdStoreDocument from ServiceEntity

func (x ServiceEntity) GetPermalink() string

GetPermalink returns a pointer to the value of Permalink from ServiceEntity

func (ServiceEntity) GetRecentAlertViolations

func (x ServiceEntity) GetRecentAlertViolations() []EntityAlertViolation

GetRecentAlertViolations returns a pointer to the value of RecentAlertViolations from ServiceEntity

func (ServiceEntity) GetRecommendedServiceLevel

func (x ServiceEntity) GetRecommendedServiceLevel() ServiceLevelRecommendation

GetRecommendedServiceLevel returns a pointer to the value of RecommendedServiceLevel from ServiceEntity

func (ServiceEntity) GetRelatedDashboards

func (x ServiceEntity) GetRelatedDashboards() RelatedDashboardsRelatedDashboardResult

GetRelatedDashboards returns a pointer to the value of RelatedDashboards from ServiceEntity

func (ServiceEntity) GetRelatedEntities

GetRelatedEntities returns a pointer to the value of RelatedEntities from ServiceEntity

func (ServiceEntity) GetRelationships

func (x ServiceEntity) GetRelationships() []EntityRelationship

GetRelationships returns a pointer to the value of Relationships from ServiceEntity

func (ServiceEntity) GetReporting

func (x ServiceEntity) GetReporting() bool

GetReporting returns a pointer to the value of Reporting from ServiceEntity

func (ServiceEntity) GetServiceLevel

func (x ServiceEntity) GetServiceLevel() ServiceLevelDefinition

GetServiceLevel returns a pointer to the value of ServiceLevel from ServiceEntity

func (ServiceEntity) GetSummaryMetrics

func (x ServiceEntity) GetSummaryMetrics() []EntitySummaryMetric

GetSummaryMetrics returns a pointer to the value of SummaryMetrics from ServiceEntity

func (ServiceEntity) GetTags

func (x ServiceEntity) GetTags() []EntityTag

GetTags returns a pointer to the value of Tags from ServiceEntity

func (ServiceEntity) GetTagsWithMetadata

func (x ServiceEntity) GetTagsWithMetadata() []EntityTagWithMetadata

GetTagsWithMetadata returns a pointer to the value of TagsWithMetadata from ServiceEntity

func (ServiceEntity) GetTracingSummary

GetTracingSummary returns a pointer to the value of TracingSummary from ServiceEntity

func (ServiceEntity) GetType

func (x ServiceEntity) GetType() string

GetType returns a pointer to the value of Type from ServiceEntity

func (ServiceEntity) GetUiTemplates

func (x ServiceEntity) GetUiTemplates() []EntityDashboardTemplatesUi

GetUiTemplates returns a pointer to the value of UiTemplates from ServiceEntity

func (*ServiceEntity) ImplementsAlertableEntity

func (x *ServiceEntity) ImplementsAlertableEntity()

func (*ServiceEntity) ImplementsEntity

func (x *ServiceEntity) ImplementsEntity()

func (*ServiceEntity) ImplementsServiceEntity

func (x *ServiceEntity) ImplementsServiceEntity()

type ServiceEntityInterface

type ServiceEntityInterface interface {
	ImplementsServiceEntity()
}

ServiceEntity - A service entity.

func UnmarshalServiceEntityInterface

func UnmarshalServiceEntityInterface(b []byte) (*ServiceEntityInterface, error)

UnmarshalServiceEntityInterface unmarshals the interface into the correct type based on __typename provided by GraphQL

type ServiceEntityOutline

type ServiceEntityOutline 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 alert status of the entity.
	AlertStatus EntityAlertStatus `json:"alertStatus,omitempty"`
	// The list of dashboard templates available for this entity.
	DashboardTemplates []EntityDashboardTemplatesDashboardTemplate `json:"dashboardTemplates"`
	// 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,omitempty"`
	// Existing API - to be replaced with V2 implementation.
	GoldenSignalValues []GoldenSignalSignalValues `json:"goldenSignalValues"`
	// The stored golden signal(s) for the given entity.
	GoldenSignalValuesV2 GoldenSignalValues `json:"goldenSignalValuesV2,omitempty"`
	// The list of golden tags for a specific entityType.
	GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags,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 recommended service levels for the entity.
	RecommendedServiceLevel ServiceLevelRecommendation `json:"recommendedServiceLevel,omitempty"`
	// Related dashboards results
	RelatedDashboards RelatedDashboardsRelatedDashboardResult `json:"relatedDashboards"`
	// 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 list of summary metrics.
	SummaryMetrics []EntitySummaryMetric `json:"summaryMetrics,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"`
	// List of templates availables for this entity.
	UiTemplates []EntityDashboardTemplatesUi `json:"uiTemplates"`
}

ServiceEntityOutline - A service entity outline.

func (ServiceEntityOutline) GetAccount

GetAccount returns a pointer to the value of Account from ServiceEntityOutline

func (ServiceEntityOutline) GetAccountID

func (x ServiceEntityOutline) GetAccountID() int

GetAccountID returns a pointer to the value of AccountID from ServiceEntityOutline

func (ServiceEntityOutline) GetAlertSeverity

func (x ServiceEntityOutline) GetAlertSeverity() EntityAlertSeverity

GetAlertSeverity returns a pointer to the value of AlertSeverity from ServiceEntityOutline

func (ServiceEntityOutline) GetAlertStatus

func (x ServiceEntityOutline) GetAlertStatus() EntityAlertStatus

GetAlertStatus returns a pointer to the value of AlertStatus from ServiceEntityOutline

func (ServiceEntityOutline) GetDashboardTemplates

GetDashboardTemplates returns a pointer to the value of DashboardTemplates from ServiceEntityOutline

func (ServiceEntityOutline) GetDomain

func (x ServiceEntityOutline) GetDomain() string

GetDomain returns a pointer to the value of Domain from ServiceEntityOutline

func (ServiceEntityOutline) GetEntityType

func (x ServiceEntityOutline) GetEntityType() EntityType

GetEntityType returns a pointer to the value of EntityType from ServiceEntityOutline

func (ServiceEntityOutline) GetGUID

GetGUID returns a pointer to the value of GUID from ServiceEntityOutline

func (ServiceEntityOutline) GetGoldenMetrics

GetGoldenMetrics returns a pointer to the value of GoldenMetrics from ServiceEntityOutline

func (ServiceEntityOutline) GetGoldenSignalValues

func (x ServiceEntityOutline) GetGoldenSignalValues() []GoldenSignalSignalValues

GetGoldenSignalValues returns a pointer to the value of GoldenSignalValues from ServiceEntityOutline

func (ServiceEntityOutline) GetGoldenSignalValuesV2

func (x ServiceEntityOutline) GetGoldenSignalValuesV2() GoldenSignalValues

GetGoldenSignalValuesV2 returns a pointer to the value of GoldenSignalValuesV2 from ServiceEntityOutline

func (ServiceEntityOutline) GetGoldenTags

GetGoldenTags returns a pointer to the value of GoldenTags from ServiceEntityOutline

func (ServiceEntityOutline) GetIndexedAt

func (x ServiceEntityOutline) GetIndexedAt() *nrtime.EpochMilliseconds

GetIndexedAt returns a pointer to the value of IndexedAt from ServiceEntityOutline

func (ServiceEntityOutline) GetName

func (x ServiceEntityOutline) GetName() string

GetName returns a pointer to the value of Name from ServiceEntityOutline

func (x ServiceEntityOutline) GetPermalink() string

GetPermalink returns a pointer to the value of Permalink from ServiceEntityOutline

func (ServiceEntityOutline) GetRecommendedServiceLevel

func (x ServiceEntityOutline) GetRecommendedServiceLevel() ServiceLevelRecommendation

GetRecommendedServiceLevel returns a pointer to the value of RecommendedServiceLevel from ServiceEntityOutline

func (ServiceEntityOutline) GetRelatedDashboards

GetRelatedDashboards returns a pointer to the value of RelatedDashboards from ServiceEntityOutline

func (ServiceEntityOutline) GetReporting

func (x ServiceEntityOutline) GetReporting() bool

GetReporting returns a pointer to the value of Reporting from ServiceEntityOutline

func (ServiceEntityOutline) GetServiceLevel

func (x ServiceEntityOutline) GetServiceLevel() ServiceLevelDefinition

GetServiceLevel returns a pointer to the value of ServiceLevel from ServiceEntityOutline

func (ServiceEntityOutline) GetSummaryMetrics

func (x ServiceEntityOutline) GetSummaryMetrics() []EntitySummaryMetric

GetSummaryMetrics returns a pointer to the value of SummaryMetrics from ServiceEntityOutline

func (ServiceEntityOutline) GetTags

func (x ServiceEntityOutline) GetTags() []EntityTag

GetTags returns a pointer to the value of Tags from ServiceEntityOutline

func (ServiceEntityOutline) GetType

func (x ServiceEntityOutline) GetType() string

GetType returns a pointer to the value of Type from ServiceEntityOutline

func (ServiceEntityOutline) GetUiTemplates

func (x ServiceEntityOutline) GetUiTemplates() []EntityDashboardTemplatesUi

GetUiTemplates returns a pointer to the value of UiTemplates from ServiceEntityOutline

func (*ServiceEntityOutline) ImplementsAlertableEntityOutline

func (x *ServiceEntityOutline) ImplementsAlertableEntityOutline()

func (*ServiceEntityOutline) ImplementsEntityOutline

func (x *ServiceEntityOutline) ImplementsEntityOutline()

func (*ServiceEntityOutline) ImplementsServiceEntityOutline

func (x *ServiceEntityOutline) ImplementsServiceEntityOutline()

type ServiceEntityOutlineInterface

type ServiceEntityOutlineInterface interface {
	ImplementsServiceEntityOutline()
}

ServiceEntityOutline - A service entity outline.

func UnmarshalServiceEntityOutlineInterface

func UnmarshalServiceEntityOutlineInterface(b []byte) (*ServiceEntityOutlineInterface, error)

UnmarshalServiceEntityOutlineInterface unmarshals the interface into the correct type based on __typename provided by GraphQL

type ServiceLevelComputedValueLimits

type ServiceLevelComputedValueLimits struct {
	// A default value to fall back if the computation cannot be completed successfully.
	Fallback float64 `json:"fallback,omitempty"`
	// Computed values greater than the maximum limit must fall back to the maximum value. If null, ignore it.
	Maximum float64 `json:"maximum,omitempty"`
	// Computed values less than the minimum limit must fall back to the minimum value. If null, ignore it.
	Minimum float64 `json:"minimum,omitempty"`
}

ServiceLevelComputedValueLimits - The limits of the computed value and the default value to fall back if it cannot be computed successfully

type ServiceLevelDefinition

type ServiceLevelDefinition struct {
	// The SLIs attached to the entity.
	Indicators []servicelevel.ServiceLevelIndicator `json:"indicators"`
}

ServiceLevelDefinition - The service level defined for a specific entity.

type ServiceLevelQueryTemplates

type ServiceLevelQueryTemplates struct {
	// The events that define the recommended SLI.
	Events ServiceLevelRecommendedEvents `json:"events,omitempty"`
	// The recommended SLOs for the SLI.
	RecommendedObjectives []ServiceLevelRecommendedObjective `json:"recommendedObjectives"`
	// The details of the parameters to be replaced in the query templates.
	TemplateParameters []ServiceLevelTemplateParameters `json:"templateParameters"`
}

ServiceLevelQueryTemplates - The template of the NRQL queries that define how is calculated the recommended SLI.

type ServiceLevelRecommendation

type ServiceLevelRecommendation struct {
	// A list of recommended SLIs with the recommended SLOs for a specific entity.
	Indicators []ServiceLevelRecommendedIndicator `json:"indicators"`
}

ServiceLevelRecommendation - The recommended service level for a specific entity.

type ServiceLevelRecommendedEvents

type ServiceLevelRecommendedEvents struct {
	// The query template that defines the bad events.
	BadEvents ServiceLevelRecommendedEventsQuery `json:"badEvents,omitempty"`
	// The query template that defines the good events.
	GoodEvents ServiceLevelRecommendedEventsQuery `json:"goodEvents,omitempty"`
	// The query template that defines the valid events.
	ValidEvents ServiceLevelRecommendedEventsQuery `json:"validEvents"`
}

ServiceLevelRecommendedEvents - The events that define the recommended SLI.

type ServiceLevelRecommendedEventsQuery

type ServiceLevelRecommendedEventsQuery struct {
	// The NRDB event or metric to fetch the data from.
	From nrdb.NRQL `json:"from"`
	// The NRQL condition to filter the events.
	Where nrdb.NRQL `json:"where,omitempty"`
}

ServiceLevelRecommendedEventsQuery - The query template that represents the events to fetch.

type ServiceLevelRecommendedIndicator

type ServiceLevelRecommendedIndicator struct {
	// The category of the recommended SLI.
	Category string `json:"category,omitempty"`
	// The description of the recommended SLI.
	Description string `json:"description,omitempty"`
	// The name of the recommended SLI.
	Name string `json:"name,omitempty"`
	// The template of the NRQL queries that define how is calculated the SLI.
	QueryTemplates ServiceLevelQueryTemplates `json:"queryTemplates,omitempty"`
}

ServiceLevelRecommendedIndicator - A recommended SLI with the recommended SLOs for a specific entity.

type ServiceLevelRecommendedObjective

type ServiceLevelRecommendedObjective struct {
	// The limits of the target and the default value to fall back if it cannot be computed successfully
	ComputedTargetLimits ServiceLevelComputedValueLimits `json:"computedTargetLimits,omitempty"`
	// The recommended target percentage of the SLO.
	Target float64 `json:"target,omitempty"`
	// The query that defines how to calculate the recommended target of SLO.
	TargetQuery nrdb.NRQL `json:"targetQuery,omitempty"`
}

ServiceLevelRecommendedObjective - A recommended SLO for the SLI.

type ServiceLevelTemplateParameters

type ServiceLevelTemplateParameters struct {
	// The limits of the baseline and the default value to fall back if it cannot be computed successfully
	ComputedBaselineLimits ServiceLevelComputedValueLimits `json:"computedBaselineLimits,omitempty"`
	// The description of the parameter.
	Description string `json:"description,omitempty"`
	// The key to be replaced in a query template.
	Key string `json:"key"`
	// The name of the parameter.
	Name string `json:"name,omitempty"`
	// The operator of the parameter.
	Operator string `json:"operator,omitempty"`
	// The query that defines how the value should be calculated.
	Query nrdb.NRQL `json:"query"`
	// The unit of the parameter.
	Unit string `json:"unit,omitempty"`
}

ServiceLevelTemplateParameters - The details of the parameters to be replaced in the query templates.

type SortBy

type SortBy string

SortBy - The `SortBy` enum is for designating sort order.

type StackTraceApmException

type StackTraceApmException struct {
	// The top level message associated with the exception.
	Message string `json:"message,omitempty"`
	// The stack trace associated with the exception.
	StackTrace StackTraceApmStackTrace `json:"stackTrace,omitempty"`
}

StackTraceApmException - A structured representation of an exception for an APM application.

type StackTraceApmStackTrace

type StackTraceApmStackTrace struct {
	// Stack trace frames.
	Frames []StackTraceApmStackTraceFrame `json:"frames,omitempty"`
}

StackTraceApmStackTrace - A structured representation of a stack trace for an APM application.

type StackTraceApmStackTraceFrame

type StackTraceApmStackTraceFrame struct {
	// Frame filepath
	Filepath string `json:"filepath,omitempty"`
	// Formatted frame
	Formatted string `json:"formatted"`
	// Frame line number
	Line int `json:"line,omitempty"`
	// Frame name
	Name string `json:"name,omitempty"`
}

StackTraceApmStackTraceFrame - An object representing a stack trace segment

type StackTraceBrowserException

type StackTraceBrowserException struct {
	// The top level message associated to the stack trace.
	Message string `json:"message,omitempty"`
	// The stack trace associated with the exception.
	StackTrace StackTraceBrowserStackTrace `json:"stackTrace,omitempty"`
}

StackTraceBrowserException - A structured representation of an exception for a Browser application.

type StackTraceBrowserStackTrace

type StackTraceBrowserStackTrace struct {
	// Stack trace frames.
	Frames []StackTraceBrowserStackTraceFrame `json:"frames,omitempty"`
}

StackTraceBrowserStackTrace - A structured representation of a stack trace for a Browser application.

type StackTraceBrowserStackTraceFrame

type StackTraceBrowserStackTraceFrame struct {
	// Frame column number
	Column int `json:"column,omitempty"`
	// Formatted frame
	Formatted string `json:"formatted"`
	// Frame line number
	Line int `json:"line,omitempty"`
	// Frame name
	Name string `json:"name,omitempty"`
}

StackTraceBrowserStackTraceFrame - An object representing a stack trace segment

type StackTraceMobileCrash

type StackTraceMobileCrash struct {
	// A structured representation of a stack trace for a crash that occurs on a mobile application.
	StackTrace StackTraceMobileCrashStackTrace `json:"stackTrace,omitempty"`
}

StackTraceMobileCrash - A structured representation of a crash occurring in a mobile application.

type StackTraceMobileCrashStackTrace

type StackTraceMobileCrashStackTrace struct {
	// Stack trace frames.
	Frames []StackTraceMobileCrashStackTraceFrame `json:"frames,omitempty"`
}

StackTraceMobileCrashStackTrace - A structured representation of a stack trace of a crash in a mobile application.

type StackTraceMobileCrashStackTraceFrame

type StackTraceMobileCrashStackTraceFrame struct {
	// Frame filepath
	Filepath string `json:"filepath,omitempty"`
	// Formatted frame
	Formatted string `json:"formatted"`
	// Frame line number
	Line int `json:"line,omitempty"`
	// Frame name
	Name string `json:"name,omitempty"`
}

StackTraceMobileCrashStackTraceFrame - An object representing a stack trace segment

type StackTraceMobileException

type StackTraceMobileException struct {
	// A structured representation of a handled exception in a mobile application.
	StackTrace StackTraceMobileExceptionStackTrace `json:"stackTrace,omitempty"`
}

StackTraceMobileException - A structured representation of a handled exception occurring in a mobile application.

type StackTraceMobileExceptionStackTrace

type StackTraceMobileExceptionStackTrace struct {
	// Stack trace frames.
	Frames []StackTraceMobileExceptionStackTraceFrame `json:"frames,omitempty"`
}

StackTraceMobileExceptionStackTrace - A structured representation of a handled exception in a mobile application.

type StackTraceMobileExceptionStackTraceFrame

type StackTraceMobileExceptionStackTraceFrame struct {
	// Frame filepath
	Filepath string `json:"filepath,omitempty"`
	// Formatted frame
	Formatted string `json:"formatted"`
	// Frame line number
	Line int `json:"line,omitempty"`
	// Frame name
	Name string `json:"name,omitempty"`
}

StackTraceMobileExceptionStackTraceFrame - An object representing a stack trace segment

type SyntheticMonitorCheckResult

type SyntheticMonitorCheckResult struct {
	// The synthetic monitor check result id
	ID string `json:"id,omitempty"`
	// The synthetic monitor check result status
	Status SyntheticMonitorCheckStatus `json:"status,omitempty"`
}

SyntheticMonitorCheckResult - The result of a synthetic monitor check

type SyntheticMonitorCheckStatus

type SyntheticMonitorCheckStatus string

SyntheticMonitorCheckStatus - The status of a synthetic monitor check.

type SyntheticMonitorEntity

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"`
	// The alert status of the entity.
	AlertStatus EntityAlertStatus `json:"alertStatus,omitempty"`
	// Violations on the entity that were open during the specified time window. This will return up to 500 violations - if there are more in the time window selected, you must narrow the timewindow or look at fewer entities.
	AlertViolations []EntityAlertViolation `json:"alertViolations,omitempty"`
	// Assets produced during the execution of the check, such as screenshots
	Assets []SyntheticsSyntheticMonitorAsset `json:"assets,omitempty"`
	// The list of dashboard templates available for this entity.
	DashboardTemplates []EntityDashboardTemplatesDashboardTemplate `json:"dashboardTemplates"`
	// 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,omitempty"`
	// Existing API - to be replaced with V2 implementation.
	GoldenSignalValues []GoldenSignalSignalValues `json:"goldenSignalValues"`
	// The stored golden signal(s) for the given entity.
	GoldenSignalValuesV2 GoldenSignalValues `json:"goldenSignalValuesV2,omitempty"`
	// The list of golden tags for a specific entityType.
	GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags,omitempty"`
	// 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"`
	NerdStoreCollection []NerdStoreCollectionMember `json:"nerdStoreCollection,omitempty"`
	NerdStoreDocument   NerdStoreDocument           `json:"nerdStoreDocument,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"`
	// The recommended service levels for the entity.
	RecommendedServiceLevel ServiceLevelRecommendation `json:"recommendedServiceLevel,omitempty"`
	// Related dashboards results
	RelatedDashboards RelatedDashboardsRelatedDashboardResult `json:"relatedDashboards"`
	// 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 list of summary metrics.
	SummaryMetrics []EntitySummaryMetric `json:"summaryMetrics,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"`
	// Look up Distributed Tracing summary data for the selected `EntityGuid`
	TracingSummary DistributedTracingEntityTracingSummary `json:"tracingSummary,omitempty"`
	// The entity's type
	Type string `json:"type,omitempty"`
	// List of templates availables for this entity.
	UiTemplates []EntityDashboardTemplatesUi `json:"uiTemplates"`
}

SyntheticMonitorEntity - A Synthetic Monitor entity.

func (SyntheticMonitorEntity) GetAccount

GetAccount returns a pointer to the value of Account from SyntheticMonitorEntity

func (SyntheticMonitorEntity) GetAccountID

func (x SyntheticMonitorEntity) GetAccountID() int

GetAccountID returns a pointer to the value of AccountID from SyntheticMonitorEntity

func (SyntheticMonitorEntity) GetAlertSeverity

func (x SyntheticMonitorEntity) GetAlertSeverity() EntityAlertSeverity

GetAlertSeverity returns a pointer to the value of AlertSeverity from SyntheticMonitorEntity

func (SyntheticMonitorEntity) GetAlertStatus

func (x SyntheticMonitorEntity) GetAlertStatus() EntityAlertStatus

GetAlertStatus returns a pointer to the value of AlertStatus from SyntheticMonitorEntity

func (SyntheticMonitorEntity) GetAlertViolations

func (x SyntheticMonitorEntity) GetAlertViolations() []EntityAlertViolation

GetAlertViolations returns a pointer to the value of AlertViolations from SyntheticMonitorEntity

func (SyntheticMonitorEntity) GetAssets

GetAssets returns a pointer to the value of Assets from SyntheticMonitorEntity

func (SyntheticMonitorEntity) GetDashboardTemplates

GetDashboardTemplates returns a pointer to the value of DashboardTemplates from SyntheticMonitorEntity

func (SyntheticMonitorEntity) GetDomain

func (x SyntheticMonitorEntity) GetDomain() string

GetDomain returns a pointer to the value of Domain from SyntheticMonitorEntity

func (SyntheticMonitorEntity) GetEntityType

func (x SyntheticMonitorEntity) GetEntityType() EntityType

GetEntityType returns a pointer to the value of EntityType from SyntheticMonitorEntity

func (SyntheticMonitorEntity) GetGUID

GetGUID returns a pointer to the value of GUID from SyntheticMonitorEntity

func (SyntheticMonitorEntity) GetGoldenMetrics

GetGoldenMetrics returns a pointer to the value of GoldenMetrics from SyntheticMonitorEntity

func (SyntheticMonitorEntity) GetGoldenSignalValues

func (x SyntheticMonitorEntity) GetGoldenSignalValues() []GoldenSignalSignalValues

GetGoldenSignalValues returns a pointer to the value of GoldenSignalValues from SyntheticMonitorEntity

func (SyntheticMonitorEntity) GetGoldenSignalValuesV2

func (x SyntheticMonitorEntity) GetGoldenSignalValuesV2() GoldenSignalValues

GetGoldenSignalValuesV2 returns a pointer to the value of GoldenSignalValuesV2 from SyntheticMonitorEntity

func (SyntheticMonitorEntity) GetGoldenTags

GetGoldenTags returns a pointer to the value of GoldenTags from SyntheticMonitorEntity

func (SyntheticMonitorEntity) GetIndexedAt

GetIndexedAt returns a pointer to the value of IndexedAt from SyntheticMonitorEntity

func (SyntheticMonitorEntity) GetMonitorId

func (x SyntheticMonitorEntity) GetMonitorId() string

GetMonitorId returns a pointer to the value of MonitorId from SyntheticMonitorEntity

func (SyntheticMonitorEntity) GetMonitorSummary

GetMonitorSummary returns a pointer to the value of MonitorSummary from SyntheticMonitorEntity

func (SyntheticMonitorEntity) GetMonitorType

func (x SyntheticMonitorEntity) GetMonitorType() SyntheticMonitorType

GetMonitorType returns a pointer to the value of MonitorType from SyntheticMonitorEntity

func (SyntheticMonitorEntity) GetMonitoredURL

func (x SyntheticMonitorEntity) GetMonitoredURL() string

GetMonitoredURL returns a pointer to the value of MonitoredURL from SyntheticMonitorEntity

func (SyntheticMonitorEntity) GetNRDBQuery

GetNRDBQuery returns a pointer to the value of NRDBQuery from SyntheticMonitorEntity

func (SyntheticMonitorEntity) GetName

func (x SyntheticMonitorEntity) GetName() string

GetName returns a pointer to the value of Name from SyntheticMonitorEntity

func (SyntheticMonitorEntity) GetNerdStorage

GetNerdStorage returns a pointer to the value of NerdStorage from SyntheticMonitorEntity

func (SyntheticMonitorEntity) GetNerdStoreCollection

func (x SyntheticMonitorEntity) GetNerdStoreCollection() []NerdStoreCollectionMember

GetNerdStoreCollection returns a pointer to the value of NerdStoreCollection from SyntheticMonitorEntity

func (SyntheticMonitorEntity) GetNerdStoreDocument

func (x SyntheticMonitorEntity) GetNerdStoreDocument() NerdStoreDocument

GetNerdStoreDocument returns a pointer to the value of NerdStoreDocument from SyntheticMonitorEntity

func (SyntheticMonitorEntity) GetPeriod

func (x SyntheticMonitorEntity) GetPeriod() nrtime.Minutes

GetPeriod returns a pointer to the value of Period from SyntheticMonitorEntity

func (x SyntheticMonitorEntity) GetPermalink() string

GetPermalink returns a pointer to the value of Permalink from SyntheticMonitorEntity

func (SyntheticMonitorEntity) GetRecentAlertViolations

func (x SyntheticMonitorEntity) GetRecentAlertViolations() []EntityAlertViolation

GetRecentAlertViolations returns a pointer to the value of RecentAlertViolations from SyntheticMonitorEntity

func (SyntheticMonitorEntity) GetRecommendedServiceLevel

func (x SyntheticMonitorEntity) GetRecommendedServiceLevel() ServiceLevelRecommendation

GetRecommendedServiceLevel returns a pointer to the value of RecommendedServiceLevel from SyntheticMonitorEntity

func (SyntheticMonitorEntity) GetRelatedDashboards

GetRelatedDashboards returns a pointer to the value of RelatedDashboards from SyntheticMonitorEntity

func (SyntheticMonitorEntity) GetRelatedEntities

GetRelatedEntities returns a pointer to the value of RelatedEntities from SyntheticMonitorEntity

func (SyntheticMonitorEntity) GetRelationships

func (x SyntheticMonitorEntity) GetRelationships() []EntityRelationship

GetRelationships returns a pointer to the value of Relationships from SyntheticMonitorEntity

func (SyntheticMonitorEntity) GetReporting

func (x SyntheticMonitorEntity) GetReporting() bool

GetReporting returns a pointer to the value of Reporting from SyntheticMonitorEntity

func (SyntheticMonitorEntity) GetServiceLevel

func (x SyntheticMonitorEntity) GetServiceLevel() ServiceLevelDefinition

GetServiceLevel returns a pointer to the value of ServiceLevel from SyntheticMonitorEntity

func (SyntheticMonitorEntity) GetSummaryMetrics

func (x SyntheticMonitorEntity) GetSummaryMetrics() []EntitySummaryMetric

GetSummaryMetrics returns a pointer to the value of SummaryMetrics from SyntheticMonitorEntity

func (SyntheticMonitorEntity) GetTags

func (x SyntheticMonitorEntity) GetTags() []EntityTag

GetTags returns a pointer to the value of Tags from SyntheticMonitorEntity

func (SyntheticMonitorEntity) GetTagsWithMetadata

func (x SyntheticMonitorEntity) GetTagsWithMetadata() []EntityTagWithMetadata

GetTagsWithMetadata returns a pointer to the value of TagsWithMetadata from SyntheticMonitorEntity

func (SyntheticMonitorEntity) GetTracingSummary

GetTracingSummary returns a pointer to the value of TracingSummary from SyntheticMonitorEntity

func (SyntheticMonitorEntity) GetType

func (x SyntheticMonitorEntity) GetType() string

GetType returns a pointer to the value of Type from SyntheticMonitorEntity

func (SyntheticMonitorEntity) GetUiTemplates

GetUiTemplates returns a pointer to the value of UiTemplates from SyntheticMonitorEntity

func (*SyntheticMonitorEntity) ImplementsAlertableEntity

func (x *SyntheticMonitorEntity) ImplementsAlertableEntity()

func (*SyntheticMonitorEntity) ImplementsEntity

func (x *SyntheticMonitorEntity) ImplementsEntity()

type SyntheticMonitorEntityOutline

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 alert status of the entity.
	AlertStatus EntityAlertStatus `json:"alertStatus,omitempty"`
	// The list of dashboard templates available for this entity.
	DashboardTemplates []EntityDashboardTemplatesDashboardTemplate `json:"dashboardTemplates"`
	// 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,omitempty"`
	// Existing API - to be replaced with V2 implementation.
	GoldenSignalValues []GoldenSignalSignalValues `json:"goldenSignalValues"`
	// The stored golden signal(s) for the given entity.
	GoldenSignalValuesV2 GoldenSignalValues `json:"goldenSignalValuesV2,omitempty"`
	// The list of golden tags for a specific entityType.
	GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags,omitempty"`
	// 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 recommended service levels for the entity.
	RecommendedServiceLevel ServiceLevelRecommendation `json:"recommendedServiceLevel,omitempty"`
	// Related dashboards results
	RelatedDashboards RelatedDashboardsRelatedDashboardResult `json:"relatedDashboards"`
	// 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 list of summary metrics.
	SummaryMetrics []EntitySummaryMetric `json:"summaryMetrics,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"`
	// List of templates availables for this entity.
	UiTemplates []EntityDashboardTemplatesUi `json:"uiTemplates"`
}

SyntheticMonitorEntityOutline - A Synthetic Monitor entity outline.

func (SyntheticMonitorEntityOutline) GetAccount

GetAccount returns a pointer to the value of Account from SyntheticMonitorEntityOutline

func (SyntheticMonitorEntityOutline) GetAccountID

func (x SyntheticMonitorEntityOutline) GetAccountID() int

GetAccountID returns a pointer to the value of AccountID from SyntheticMonitorEntityOutline

func (SyntheticMonitorEntityOutline) GetAlertSeverity

GetAlertSeverity returns a pointer to the value of AlertSeverity from SyntheticMonitorEntityOutline

func (SyntheticMonitorEntityOutline) GetAlertStatus

GetAlertStatus returns a pointer to the value of AlertStatus from SyntheticMonitorEntityOutline

func (SyntheticMonitorEntityOutline) GetDashboardTemplates

GetDashboardTemplates returns a pointer to the value of DashboardTemplates from SyntheticMonitorEntityOutline

func (SyntheticMonitorEntityOutline) GetDomain

func (x SyntheticMonitorEntityOutline) GetDomain() string

GetDomain returns a pointer to the value of Domain from SyntheticMonitorEntityOutline

func (SyntheticMonitorEntityOutline) GetEntityType

func (x SyntheticMonitorEntityOutline) GetEntityType() EntityType

GetEntityType returns a pointer to the value of EntityType from SyntheticMonitorEntityOutline

func (SyntheticMonitorEntityOutline) GetGUID

GetGUID returns a pointer to the value of GUID from SyntheticMonitorEntityOutline

func (SyntheticMonitorEntityOutline) GetGoldenMetrics

GetGoldenMetrics returns a pointer to the value of GoldenMetrics from SyntheticMonitorEntityOutline

func (SyntheticMonitorEntityOutline) GetGoldenSignalValues

func (x SyntheticMonitorEntityOutline) GetGoldenSignalValues() []GoldenSignalSignalValues

GetGoldenSignalValues returns a pointer to the value of GoldenSignalValues from SyntheticMonitorEntityOutline

func (SyntheticMonitorEntityOutline) GetGoldenSignalValuesV2

func (x SyntheticMonitorEntityOutline) GetGoldenSignalValuesV2() GoldenSignalValues

GetGoldenSignalValuesV2 returns a pointer to the value of GoldenSignalValuesV2 from SyntheticMonitorEntityOutline

func (SyntheticMonitorEntityOutline) GetGoldenTags

GetGoldenTags returns a pointer to the value of GoldenTags from SyntheticMonitorEntityOutline

func (SyntheticMonitorEntityOutline) GetIndexedAt

GetIndexedAt returns a pointer to the value of IndexedAt from SyntheticMonitorEntityOutline

func (SyntheticMonitorEntityOutline) GetMonitorId

func (x SyntheticMonitorEntityOutline) GetMonitorId() string

GetMonitorId returns a pointer to the value of MonitorId from SyntheticMonitorEntityOutline

func (SyntheticMonitorEntityOutline) GetMonitorSummary

GetMonitorSummary returns a pointer to the value of MonitorSummary from SyntheticMonitorEntityOutline

func (SyntheticMonitorEntityOutline) GetMonitorType

GetMonitorType returns a pointer to the value of MonitorType from SyntheticMonitorEntityOutline

func (SyntheticMonitorEntityOutline) GetMonitoredURL

func (x SyntheticMonitorEntityOutline) GetMonitoredURL() string

GetMonitoredURL returns a pointer to the value of MonitoredURL from SyntheticMonitorEntityOutline

func (SyntheticMonitorEntityOutline) GetName

GetName returns a pointer to the value of Name from SyntheticMonitorEntityOutline

func (SyntheticMonitorEntityOutline) GetPeriod

GetPeriod returns a pointer to the value of Period from SyntheticMonitorEntityOutline

func (x SyntheticMonitorEntityOutline) GetPermalink() string

GetPermalink returns a pointer to the value of Permalink from SyntheticMonitorEntityOutline

func (SyntheticMonitorEntityOutline) GetRecommendedServiceLevel

func (x SyntheticMonitorEntityOutline) GetRecommendedServiceLevel() ServiceLevelRecommendation

GetRecommendedServiceLevel returns a pointer to the value of RecommendedServiceLevel from SyntheticMonitorEntityOutline

func (SyntheticMonitorEntityOutline) GetRelatedDashboards

GetRelatedDashboards returns a pointer to the value of RelatedDashboards from SyntheticMonitorEntityOutline

func (SyntheticMonitorEntityOutline) GetReporting

func (x SyntheticMonitorEntityOutline) GetReporting() bool

GetReporting returns a pointer to the value of Reporting from SyntheticMonitorEntityOutline

func (SyntheticMonitorEntityOutline) GetServiceLevel

GetServiceLevel returns a pointer to the value of ServiceLevel from SyntheticMonitorEntityOutline

func (SyntheticMonitorEntityOutline) GetSummaryMetrics

func (x SyntheticMonitorEntityOutline) GetSummaryMetrics() []EntitySummaryMetric

GetSummaryMetrics returns a pointer to the value of SummaryMetrics from SyntheticMonitorEntityOutline

func (SyntheticMonitorEntityOutline) GetTags

GetTags returns a pointer to the value of Tags from SyntheticMonitorEntityOutline

func (SyntheticMonitorEntityOutline) GetType

GetType returns a pointer to the value of Type from SyntheticMonitorEntityOutline

func (SyntheticMonitorEntityOutline) GetUiTemplates

GetUiTemplates returns a pointer to the value of UiTemplates from SyntheticMonitorEntityOutline

func (*SyntheticMonitorEntityOutline) ImplementsAlertableEntityOutline

func (x *SyntheticMonitorEntityOutline) ImplementsAlertableEntityOutline()

func (SyntheticMonitorEntityOutline) ImplementsEntity

func (x SyntheticMonitorEntityOutline) ImplementsEntity()

func (*SyntheticMonitorEntityOutline) ImplementsEntityOutline

func (x *SyntheticMonitorEntityOutline) ImplementsEntityOutline()

type SyntheticMonitorStatus

type SyntheticMonitorStatus string

type SyntheticMonitorSummaryData

type SyntheticMonitorSummaryData struct {
	// The latest 5 synthetic monitor check results.
	LatestResults []SyntheticMonitorCheckResult `json:"latestResults,omitempty"`
	// The mean load size in bytes for synthetic monitor checks in the last 24 hours.
	LoadSizeAverage float64 `json:"loadSizeAverage,omitempty"`
	// The 50th percentile load time in milliseconds for synthetic monitor checks in the last 24 hours.
	LoadTimeP50 Milliseconds `json:"loadTimeP50,omitempty"`
	// The 95th percentile load time in milliseconds for synthetic monitor checks in the last 24 hours.
	LoadTimeP95 Milliseconds `json:"loadTimeP95,omitempty"`
	// 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

type SyntheticMonitorType string

SyntheticMonitorType - The types of Synthetic Monitors.

type SyntheticsSyntheticMonitorAsset

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 Tag deprecated

type Tag struct {
	Key    string
	Values []string
}

Tag represents a New Relic One entity tag.

Deprecated: Use EntityTag instead.

type TagValue deprecated

type TagValue struct {
	Key   string
	Value string
}

TagValue represents a New Relic One entity tag and value pair.

Deprecated: Use TaggingTagValueInput instead.

type TaggingAddTagsToEntityQueryResponse

type TaggingAddTagsToEntityQueryResponse struct {
	TaggingMutationResult TaggingMutationResult `json:"TaggingAddTagsToEntity"`
}

type TaggingDeleteTagFromEntityQueryResponse

type TaggingDeleteTagFromEntityQueryResponse struct {
	TaggingMutationResult TaggingMutationResult `json:"TaggingDeleteTagFromEntity"`
}

type TaggingDeleteTagValuesFromEntityQueryResponse

type TaggingDeleteTagValuesFromEntityQueryResponse struct {
	TaggingMutationResult TaggingMutationResult `json:"TaggingDeleteTagValuesFromEntity"`
}

type TaggingMutationError

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

type TaggingMutationErrorType string

TaggingMutationErrorType - The different types of errors the API can return.

type TaggingMutationResult

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

type TaggingReplaceTagsOnEntityQueryResponse struct {
	TaggingMutationResult TaggingMutationResult `json:"TaggingReplaceTagsOnEntity"`
}

type TaggingTagInput

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

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

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"`
	// The alert status of the entity.
	AlertStatus EntityAlertStatus `json:"alertStatus,omitempty"`
	// Violations on the entity that were open during the specified time window. This will return up to 500 violations - if there are more in the time window selected, you must narrow the timewindow or look at fewer entities.
	AlertViolations []EntityAlertViolation `json:"alertViolations,omitempty"`
	// Query upstream and downstream dependencies for an entity
	Connections RelatedExternalsEntityResult `json:"connections,omitempty"`
	// The list of dashboard templates available for this entity.
	DashboardTemplates []EntityDashboardTemplatesDashboardTemplate `json:"dashboardTemplates"`
	// 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,omitempty"`
	// Existing API - to be replaced with V2 implementation.
	GoldenSignalValues []GoldenSignalSignalValues `json:"goldenSignalValues"`
	// The stored golden signal(s) for the given entity.
	GoldenSignalValuesV2 GoldenSignalValues `json:"goldenSignalValuesV2,omitempty"`
	// The list of golden tags for a specific entityType.
	GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags,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"`
	NerdStoreCollection []NerdStoreCollectionMember `json:"nerdStoreCollection,omitempty"`
	NerdStoreDocument   NerdStoreDocument           `json:"nerdStoreDocument,omitempty"`
	// The url to the entity.
	Permalink string `json:"permalink,omitempty"`
	// Recent violations on the entity.
	RecentAlertViolations []EntityAlertViolation `json:"recentAlertViolations,omitempty"`
	// The recommended service levels for the entity.
	RecommendedServiceLevel ServiceLevelRecommendation `json:"recommendedServiceLevel,omitempty"`
	// Related dashboards results
	RelatedDashboards RelatedDashboardsRelatedDashboardResult `json:"relatedDashboards"`
	// Related entities result with optional filtering.
	RelatedEntities EntityRelationshipRelatedEntitiesResult `json:"relatedEntities,omitempty"`
	// Query upstream and downstream transaction dependencies for an entity
	RelatedTransactions RelatedExternalsTransactionResult `json:"relatedTransactions,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 list of summary metrics.
	SummaryMetrics []EntitySummaryMetric `json:"summaryMetrics,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"`
	// Look up Distributed Tracing summary data for the selected `EntityGuid`
	TracingSummary DistributedTracingEntityTracingSummary `json:"tracingSummary,omitempty"`
	// The entity's type
	Type string `json:"type,omitempty"`
	// List of templates availables for this entity.
	UiTemplates []EntityDashboardTemplatesUi `json:"uiTemplates"`
}

ThirdPartyServiceEntity - A third party service entity.

func (ThirdPartyServiceEntity) GetAccount

GetAccount returns a pointer to the value of Account from ThirdPartyServiceEntity

func (ThirdPartyServiceEntity) GetAccountID

func (x ThirdPartyServiceEntity) GetAccountID() int

GetAccountID returns a pointer to the value of AccountID from ThirdPartyServiceEntity

func (ThirdPartyServiceEntity) GetAlertSeverity

func (x ThirdPartyServiceEntity) GetAlertSeverity() EntityAlertSeverity

GetAlertSeverity returns a pointer to the value of AlertSeverity from ThirdPartyServiceEntity

func (ThirdPartyServiceEntity) GetAlertStatus

func (x ThirdPartyServiceEntity) GetAlertStatus() EntityAlertStatus

GetAlertStatus returns a pointer to the value of AlertStatus from ThirdPartyServiceEntity

func (ThirdPartyServiceEntity) GetAlertViolations

func (x ThirdPartyServiceEntity) GetAlertViolations() []EntityAlertViolation

GetAlertViolations returns a pointer to the value of AlertViolations from ThirdPartyServiceEntity

func (ThirdPartyServiceEntity) GetConnections

GetConnections returns a pointer to the value of Connections from ThirdPartyServiceEntity

func (ThirdPartyServiceEntity) GetDashboardTemplates

GetDashboardTemplates returns a pointer to the value of DashboardTemplates from ThirdPartyServiceEntity

func (ThirdPartyServiceEntity) GetDomain

func (x ThirdPartyServiceEntity) GetDomain() string

GetDomain returns a pointer to the value of Domain from ThirdPartyServiceEntity

func (ThirdPartyServiceEntity) GetEntityType

func (x ThirdPartyServiceEntity) GetEntityType() EntityType

GetEntityType returns a pointer to the value of EntityType from ThirdPartyServiceEntity

func (ThirdPartyServiceEntity) GetGUID

GetGUID returns a pointer to the value of GUID from ThirdPartyServiceEntity

func (ThirdPartyServiceEntity) GetGoldenMetrics

GetGoldenMetrics returns a pointer to the value of GoldenMetrics from ThirdPartyServiceEntity

func (ThirdPartyServiceEntity) GetGoldenSignalValues

func (x ThirdPartyServiceEntity) GetGoldenSignalValues() []GoldenSignalSignalValues

GetGoldenSignalValues returns a pointer to the value of GoldenSignalValues from ThirdPartyServiceEntity

func (ThirdPartyServiceEntity) GetGoldenSignalValuesV2

func (x ThirdPartyServiceEntity) GetGoldenSignalValuesV2() GoldenSignalValues

GetGoldenSignalValuesV2 returns a pointer to the value of GoldenSignalValuesV2 from ThirdPartyServiceEntity

func (ThirdPartyServiceEntity) GetGoldenTags

GetGoldenTags returns a pointer to the value of GoldenTags from ThirdPartyServiceEntity

func (ThirdPartyServiceEntity) GetIndexedAt

GetIndexedAt returns a pointer to the value of IndexedAt from ThirdPartyServiceEntity

func (ThirdPartyServiceEntity) GetNRDBQuery

GetNRDBQuery returns a pointer to the value of NRDBQuery from ThirdPartyServiceEntity

func (ThirdPartyServiceEntity) GetName

func (x ThirdPartyServiceEntity) GetName() string

GetName returns a pointer to the value of Name from ThirdPartyServiceEntity

func (ThirdPartyServiceEntity) GetNerdStorage

GetNerdStorage returns a pointer to the value of NerdStorage from ThirdPartyServiceEntity

func (ThirdPartyServiceEntity) GetNerdStoreCollection

func (x ThirdPartyServiceEntity) GetNerdStoreCollection() []NerdStoreCollectionMember

GetNerdStoreCollection returns a pointer to the value of NerdStoreCollection from ThirdPartyServiceEntity

func (ThirdPartyServiceEntity) GetNerdStoreDocument

func (x ThirdPartyServiceEntity) GetNerdStoreDocument() NerdStoreDocument

GetNerdStoreDocument returns a pointer to the value of NerdStoreDocument from ThirdPartyServiceEntity

func (x ThirdPartyServiceEntity) GetPermalink() string

GetPermalink returns a pointer to the value of Permalink from ThirdPartyServiceEntity

func (ThirdPartyServiceEntity) GetRecentAlertViolations

func (x ThirdPartyServiceEntity) GetRecentAlertViolations() []EntityAlertViolation

GetRecentAlertViolations returns a pointer to the value of RecentAlertViolations from ThirdPartyServiceEntity

func (ThirdPartyServiceEntity) GetRecommendedServiceLevel

func (x ThirdPartyServiceEntity) GetRecommendedServiceLevel() ServiceLevelRecommendation

GetRecommendedServiceLevel returns a pointer to the value of RecommendedServiceLevel from ThirdPartyServiceEntity

func (ThirdPartyServiceEntity) GetRelatedDashboards

GetRelatedDashboards returns a pointer to the value of RelatedDashboards from ThirdPartyServiceEntity

func (ThirdPartyServiceEntity) GetRelatedEntities

GetRelatedEntities returns a pointer to the value of RelatedEntities from ThirdPartyServiceEntity

func (ThirdPartyServiceEntity) GetRelatedTransactions

GetRelatedTransactions returns a pointer to the value of RelatedTransactions from ThirdPartyServiceEntity

func (ThirdPartyServiceEntity) GetRelationships

func (x ThirdPartyServiceEntity) GetRelationships() []EntityRelationship

GetRelationships returns a pointer to the value of Relationships from ThirdPartyServiceEntity

func (ThirdPartyServiceEntity) GetReporting

func (x ThirdPartyServiceEntity) GetReporting() bool

GetReporting returns a pointer to the value of Reporting from ThirdPartyServiceEntity

func (ThirdPartyServiceEntity) GetServiceLevel

func (x ThirdPartyServiceEntity) GetServiceLevel() ServiceLevelDefinition

GetServiceLevel returns a pointer to the value of ServiceLevel from ThirdPartyServiceEntity

func (ThirdPartyServiceEntity) GetSummaryMetrics

func (x ThirdPartyServiceEntity) GetSummaryMetrics() []EntitySummaryMetric

GetSummaryMetrics returns a pointer to the value of SummaryMetrics from ThirdPartyServiceEntity

func (ThirdPartyServiceEntity) GetTags

func (x ThirdPartyServiceEntity) GetTags() []EntityTag

GetTags returns a pointer to the value of Tags from ThirdPartyServiceEntity

func (ThirdPartyServiceEntity) GetTagsWithMetadata

func (x ThirdPartyServiceEntity) GetTagsWithMetadata() []EntityTagWithMetadata

GetTagsWithMetadata returns a pointer to the value of TagsWithMetadata from ThirdPartyServiceEntity

func (ThirdPartyServiceEntity) GetTracingSummary

GetTracingSummary returns a pointer to the value of TracingSummary from ThirdPartyServiceEntity

func (ThirdPartyServiceEntity) GetType

func (x ThirdPartyServiceEntity) GetType() string

GetType returns a pointer to the value of Type from ThirdPartyServiceEntity

func (ThirdPartyServiceEntity) GetUiTemplates

GetUiTemplates returns a pointer to the value of UiTemplates from ThirdPartyServiceEntity

func (*ThirdPartyServiceEntity) ImplementsAlertableEntity

func (x *ThirdPartyServiceEntity) ImplementsAlertableEntity()

func (*ThirdPartyServiceEntity) ImplementsEntity

func (x *ThirdPartyServiceEntity) ImplementsEntity()

func (*ThirdPartyServiceEntity) ImplementsThirdPartyServiceEntity

func (x *ThirdPartyServiceEntity) ImplementsThirdPartyServiceEntity()

type ThirdPartyServiceEntityInterface

type ThirdPartyServiceEntityInterface interface {
	ImplementsThirdPartyServiceEntity()
}

ThirdPartyServiceEntity - A third party service entity.

func UnmarshalThirdPartyServiceEntityInterface

func UnmarshalThirdPartyServiceEntityInterface(b []byte) (*ThirdPartyServiceEntityInterface, error)

UnmarshalThirdPartyServiceEntityInterface unmarshals the interface into the correct type based on __typename provided by GraphQL

type ThirdPartyServiceEntityOutline

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 alert status of the entity.
	AlertStatus EntityAlertStatus `json:"alertStatus,omitempty"`
	// The list of dashboard templates available for this entity.
	DashboardTemplates []EntityDashboardTemplatesDashboardTemplate `json:"dashboardTemplates"`
	// 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,omitempty"`
	// Existing API - to be replaced with V2 implementation.
	GoldenSignalValues []GoldenSignalSignalValues `json:"goldenSignalValues"`
	// The stored golden signal(s) for the given entity.
	GoldenSignalValuesV2 GoldenSignalValues `json:"goldenSignalValuesV2,omitempty"`
	// The list of golden tags for a specific entityType.
	GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags,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 recommended service levels for the entity.
	RecommendedServiceLevel ServiceLevelRecommendation `json:"recommendedServiceLevel,omitempty"`
	// Related dashboards results
	RelatedDashboards RelatedDashboardsRelatedDashboardResult `json:"relatedDashboards"`
	// 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 list of summary metrics.
	SummaryMetrics []EntitySummaryMetric `json:"summaryMetrics,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"`
	// List of templates availables for this entity.
	UiTemplates []EntityDashboardTemplatesUi `json:"uiTemplates"`
}

ThirdPartyServiceEntityOutline - A third party service entity outline.

func (ThirdPartyServiceEntityOutline) GetAccount

GetAccount returns a pointer to the value of Account from ThirdPartyServiceEntityOutline

func (ThirdPartyServiceEntityOutline) GetAccountID

func (x ThirdPartyServiceEntityOutline) GetAccountID() int

GetAccountID returns a pointer to the value of AccountID from ThirdPartyServiceEntityOutline

func (ThirdPartyServiceEntityOutline) GetAlertSeverity

GetAlertSeverity returns a pointer to the value of AlertSeverity from ThirdPartyServiceEntityOutline

func (ThirdPartyServiceEntityOutline) GetAlertStatus

GetAlertStatus returns a pointer to the value of AlertStatus from ThirdPartyServiceEntityOutline

func (ThirdPartyServiceEntityOutline) GetDashboardTemplates

GetDashboardTemplates returns a pointer to the value of DashboardTemplates from ThirdPartyServiceEntityOutline

func (ThirdPartyServiceEntityOutline) GetDomain

func (x ThirdPartyServiceEntityOutline) GetDomain() string

GetDomain returns a pointer to the value of Domain from ThirdPartyServiceEntityOutline

func (ThirdPartyServiceEntityOutline) GetEntityType

func (x ThirdPartyServiceEntityOutline) GetEntityType() EntityType

GetEntityType returns a pointer to the value of EntityType from ThirdPartyServiceEntityOutline

func (ThirdPartyServiceEntityOutline) GetGUID

GetGUID returns a pointer to the value of GUID from ThirdPartyServiceEntityOutline

func (ThirdPartyServiceEntityOutline) GetGoldenMetrics

GetGoldenMetrics returns a pointer to the value of GoldenMetrics from ThirdPartyServiceEntityOutline

func (ThirdPartyServiceEntityOutline) GetGoldenSignalValues

func (x ThirdPartyServiceEntityOutline) GetGoldenSignalValues() []GoldenSignalSignalValues

GetGoldenSignalValues returns a pointer to the value of GoldenSignalValues from ThirdPartyServiceEntityOutline

func (ThirdPartyServiceEntityOutline) GetGoldenSignalValuesV2

func (x ThirdPartyServiceEntityOutline) GetGoldenSignalValuesV2() GoldenSignalValues

GetGoldenSignalValuesV2 returns a pointer to the value of GoldenSignalValuesV2 from ThirdPartyServiceEntityOutline

func (ThirdPartyServiceEntityOutline) GetGoldenTags

GetGoldenTags returns a pointer to the value of GoldenTags from ThirdPartyServiceEntityOutline

func (ThirdPartyServiceEntityOutline) GetIndexedAt

GetIndexedAt returns a pointer to the value of IndexedAt from ThirdPartyServiceEntityOutline

func (ThirdPartyServiceEntityOutline) GetName

GetName returns a pointer to the value of Name from ThirdPartyServiceEntityOutline

func (x ThirdPartyServiceEntityOutline) GetPermalink() string

GetPermalink returns a pointer to the value of Permalink from ThirdPartyServiceEntityOutline

func (ThirdPartyServiceEntityOutline) GetRecommendedServiceLevel

func (x ThirdPartyServiceEntityOutline) GetRecommendedServiceLevel() ServiceLevelRecommendation

GetRecommendedServiceLevel returns a pointer to the value of RecommendedServiceLevel from ThirdPartyServiceEntityOutline

func (ThirdPartyServiceEntityOutline) GetRelatedDashboards

GetRelatedDashboards returns a pointer to the value of RelatedDashboards from ThirdPartyServiceEntityOutline

func (ThirdPartyServiceEntityOutline) GetReporting

func (x ThirdPartyServiceEntityOutline) GetReporting() bool

GetReporting returns a pointer to the value of Reporting from ThirdPartyServiceEntityOutline

func (ThirdPartyServiceEntityOutline) GetServiceLevel

GetServiceLevel returns a pointer to the value of ServiceLevel from ThirdPartyServiceEntityOutline

func (ThirdPartyServiceEntityOutline) GetSummaryMetrics

func (x ThirdPartyServiceEntityOutline) GetSummaryMetrics() []EntitySummaryMetric

GetSummaryMetrics returns a pointer to the value of SummaryMetrics from ThirdPartyServiceEntityOutline

func (ThirdPartyServiceEntityOutline) GetTags

GetTags returns a pointer to the value of Tags from ThirdPartyServiceEntityOutline

func (ThirdPartyServiceEntityOutline) GetType

GetType returns a pointer to the value of Type from ThirdPartyServiceEntityOutline

func (ThirdPartyServiceEntityOutline) GetUiTemplates

GetUiTemplates returns a pointer to the value of UiTemplates from ThirdPartyServiceEntityOutline

func (*ThirdPartyServiceEntityOutline) ImplementsAlertableEntityOutline

func (x *ThirdPartyServiceEntityOutline) ImplementsAlertableEntityOutline()

func (ThirdPartyServiceEntityOutline) ImplementsEntity

func (x ThirdPartyServiceEntityOutline) ImplementsEntity()

func (*ThirdPartyServiceEntityOutline) ImplementsEntityOutline

func (x *ThirdPartyServiceEntityOutline) ImplementsEntityOutline()

func (*ThirdPartyServiceEntityOutline) ImplementsThirdPartyServiceEntityOutline

func (x *ThirdPartyServiceEntityOutline) ImplementsThirdPartyServiceEntityOutline()

type ThirdPartyServiceEntityOutlineInterface

type ThirdPartyServiceEntityOutlineInterface interface {
	ImplementsThirdPartyServiceEntityOutline()
}

ThirdPartyServiceEntityOutline - A third party service entity outline.

func UnmarshalThirdPartyServiceEntityOutlineInterface

func UnmarshalThirdPartyServiceEntityOutlineInterface(b []byte) (*ThirdPartyServiceEntityOutlineInterface, error)

UnmarshalThirdPartyServiceEntityOutlineInterface unmarshals the interface into the correct type based on __typename provided by GraphQL

type TimeWindowInput

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

type UnavailableEntity 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 alert status of the entity.
	AlertStatus EntityAlertStatus `json:"alertStatus,omitempty"`
	// Violations on the entity that were open during the specified time window. This will return up to 500 violations - if there are more in the time window selected, you must narrow the timewindow or look at fewer entities.
	AlertViolations []EntityAlertViolation `json:"alertViolations,omitempty"`
	// The list of dashboard templates available for this entity.
	DashboardTemplates []EntityDashboardTemplatesDashboardTemplate `json:"dashboardTemplates"`
	// 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,omitempty"`
	// Existing API - to be replaced with V2 implementation.
	GoldenSignalValues []GoldenSignalSignalValues `json:"goldenSignalValues"`
	// The stored golden signal(s) for the given entity.
	GoldenSignalValuesV2 GoldenSignalValues `json:"goldenSignalValuesV2,omitempty"`
	// The list of golden tags for a specific entityType.
	GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags,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"`
	NerdStoreCollection []NerdStoreCollectionMember `json:"nerdStoreCollection,omitempty"`
	NerdStoreDocument   NerdStoreDocument           `json:"nerdStoreDocument,omitempty"`
	// The url to the entity.
	Permalink string `json:"permalink,omitempty"`
	// Recent violations on the entity.
	RecentAlertViolations []EntityAlertViolation `json:"recentAlertViolations,omitempty"`
	// The recommended service levels for the entity.
	RecommendedServiceLevel ServiceLevelRecommendation `json:"recommendedServiceLevel,omitempty"`
	// Related dashboards results
	RelatedDashboards RelatedDashboardsRelatedDashboardResult `json:"relatedDashboards"`
	// 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 list of summary metrics.
	SummaryMetrics []EntitySummaryMetric `json:"summaryMetrics,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"`
	// Look up Distributed Tracing summary data for the selected `EntityGuid`
	TracingSummary DistributedTracingEntityTracingSummary `json:"tracingSummary,omitempty"`
	// The entity's type
	Type string `json:"type,omitempty"`
	// List of templates availables for this entity.
	UiTemplates []EntityDashboardTemplatesUi `json:"uiTemplates"`
}

UnavailableEntity - An entity that is unavailable.

func (UnavailableEntity) GetAccount

func (x UnavailableEntity) GetAccount() accounts.AccountOutline

GetAccount returns a pointer to the value of Account from UnavailableEntity

func (UnavailableEntity) GetAccountID

func (x UnavailableEntity) GetAccountID() int

GetAccountID returns a pointer to the value of AccountID from UnavailableEntity

func (UnavailableEntity) GetAlertSeverity

func (x UnavailableEntity) GetAlertSeverity() EntityAlertSeverity

GetAlertSeverity returns a pointer to the value of AlertSeverity from UnavailableEntity

func (UnavailableEntity) GetAlertStatus

func (x UnavailableEntity) GetAlertStatus() EntityAlertStatus

GetAlertStatus returns a pointer to the value of AlertStatus from UnavailableEntity

func (UnavailableEntity) GetAlertViolations

func (x UnavailableEntity) GetAlertViolations() []EntityAlertViolation

GetAlertViolations returns a pointer to the value of AlertViolations from UnavailableEntity

func (UnavailableEntity) GetDashboardTemplates

GetDashboardTemplates returns a pointer to the value of DashboardTemplates from UnavailableEntity

func (UnavailableEntity) GetDomain

func (x UnavailableEntity) GetDomain() string

GetDomain returns a pointer to the value of Domain from UnavailableEntity

func (UnavailableEntity) GetEntityType

func (x UnavailableEntity) GetEntityType() EntityType

GetEntityType returns a pointer to the value of EntityType from UnavailableEntity

func (UnavailableEntity) GetGUID

func (x UnavailableEntity) GetGUID() common.EntityGUID

GetGUID returns a pointer to the value of GUID from UnavailableEntity

func (UnavailableEntity) GetGoldenMetrics

GetGoldenMetrics returns a pointer to the value of GoldenMetrics from UnavailableEntity

func (UnavailableEntity) GetGoldenSignalValues

func (x UnavailableEntity) GetGoldenSignalValues() []GoldenSignalSignalValues

GetGoldenSignalValues returns a pointer to the value of GoldenSignalValues from UnavailableEntity

func (UnavailableEntity) GetGoldenSignalValuesV2

func (x UnavailableEntity) GetGoldenSignalValuesV2() GoldenSignalValues

GetGoldenSignalValuesV2 returns a pointer to the value of GoldenSignalValuesV2 from UnavailableEntity

func (UnavailableEntity) GetGoldenTags

GetGoldenTags returns a pointer to the value of GoldenTags from UnavailableEntity

func (UnavailableEntity) GetIndexedAt

func (x UnavailableEntity) GetIndexedAt() *nrtime.EpochMilliseconds

GetIndexedAt returns a pointer to the value of IndexedAt from UnavailableEntity

func (UnavailableEntity) GetNRDBQuery

func (x UnavailableEntity) GetNRDBQuery() nrdb.NRDBResultContainer

GetNRDBQuery returns a pointer to the value of NRDBQuery from UnavailableEntity

func (UnavailableEntity) GetName

func (x UnavailableEntity) GetName() string

GetName returns a pointer to the value of Name from UnavailableEntity

func (UnavailableEntity) GetNerdStorage

func (x UnavailableEntity) GetNerdStorage() NerdStorageEntityScope

GetNerdStorage returns a pointer to the value of NerdStorage from UnavailableEntity

func (UnavailableEntity) GetNerdStoreCollection

func (x UnavailableEntity) GetNerdStoreCollection() []NerdStoreCollectionMember

GetNerdStoreCollection returns a pointer to the value of NerdStoreCollection from UnavailableEntity

func (UnavailableEntity) GetNerdStoreDocument

func (x UnavailableEntity) GetNerdStoreDocument() NerdStoreDocument

GetNerdStoreDocument returns a pointer to the value of NerdStoreDocument from UnavailableEntity

func (x UnavailableEntity) GetPermalink() string

GetPermalink returns a pointer to the value of Permalink from UnavailableEntity

func (UnavailableEntity) GetRecentAlertViolations

func (x UnavailableEntity) GetRecentAlertViolations() []EntityAlertViolation

GetRecentAlertViolations returns a pointer to the value of RecentAlertViolations from UnavailableEntity

func (UnavailableEntity) GetRecommendedServiceLevel

func (x UnavailableEntity) GetRecommendedServiceLevel() ServiceLevelRecommendation

GetRecommendedServiceLevel returns a pointer to the value of RecommendedServiceLevel from UnavailableEntity

func (UnavailableEntity) GetRelatedDashboards

GetRelatedDashboards returns a pointer to the value of RelatedDashboards from UnavailableEntity

func (UnavailableEntity) GetRelatedEntities

GetRelatedEntities returns a pointer to the value of RelatedEntities from UnavailableEntity

func (UnavailableEntity) GetRelationships

func (x UnavailableEntity) GetRelationships() []EntityRelationship

GetRelationships returns a pointer to the value of Relationships from UnavailableEntity

func (UnavailableEntity) GetReporting

func (x UnavailableEntity) GetReporting() bool

GetReporting returns a pointer to the value of Reporting from UnavailableEntity

func (UnavailableEntity) GetServiceLevel

func (x UnavailableEntity) GetServiceLevel() ServiceLevelDefinition

GetServiceLevel returns a pointer to the value of ServiceLevel from UnavailableEntity

func (UnavailableEntity) GetSummaryMetrics

func (x UnavailableEntity) GetSummaryMetrics() []EntitySummaryMetric

GetSummaryMetrics returns a pointer to the value of SummaryMetrics from UnavailableEntity

func (UnavailableEntity) GetTags

func (x UnavailableEntity) GetTags() []EntityTag

GetTags returns a pointer to the value of Tags from UnavailableEntity

func (UnavailableEntity) GetTagsWithMetadata

func (x UnavailableEntity) GetTagsWithMetadata() []EntityTagWithMetadata

GetTagsWithMetadata returns a pointer to the value of TagsWithMetadata from UnavailableEntity

func (UnavailableEntity) GetTracingSummary

GetTracingSummary returns a pointer to the value of TracingSummary from UnavailableEntity

func (UnavailableEntity) GetType

func (x UnavailableEntity) GetType() string

GetType returns a pointer to the value of Type from UnavailableEntity

func (UnavailableEntity) GetUiTemplates

func (x UnavailableEntity) GetUiTemplates() []EntityDashboardTemplatesUi

GetUiTemplates returns a pointer to the value of UiTemplates from UnavailableEntity

func (*UnavailableEntity) ImplementsAlertableEntity

func (x *UnavailableEntity) ImplementsAlertableEntity()

func (*UnavailableEntity) ImplementsEntity

func (x *UnavailableEntity) ImplementsEntity()

type UnavailableEntityOutline

type UnavailableEntityOutline 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 alert status of the entity.
	AlertStatus EntityAlertStatus `json:"alertStatus,omitempty"`
	// The list of dashboard templates available for this entity.
	DashboardTemplates []EntityDashboardTemplatesDashboardTemplate `json:"dashboardTemplates"`
	// 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,omitempty"`
	// Existing API - to be replaced with V2 implementation.
	GoldenSignalValues []GoldenSignalSignalValues `json:"goldenSignalValues"`
	// The stored golden signal(s) for the given entity.
	GoldenSignalValuesV2 GoldenSignalValues `json:"goldenSignalValuesV2,omitempty"`
	// The list of golden tags for a specific entityType.
	GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags,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 recommended service levels for the entity.
	RecommendedServiceLevel ServiceLevelRecommendation `json:"recommendedServiceLevel,omitempty"`
	// Related dashboards results
	RelatedDashboards RelatedDashboardsRelatedDashboardResult `json:"relatedDashboards"`
	// 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 list of summary metrics.
	SummaryMetrics []EntitySummaryMetric `json:"summaryMetrics,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"`
	// List of templates availables for this entity.
	UiTemplates []EntityDashboardTemplatesUi `json:"uiTemplates"`
}

UnavailableEntityOutline - An entity outline that is unavailable.

func (UnavailableEntityOutline) GetAccount

GetAccount returns a pointer to the value of Account from UnavailableEntityOutline

func (UnavailableEntityOutline) GetAccountID

func (x UnavailableEntityOutline) GetAccountID() int

GetAccountID returns a pointer to the value of AccountID from UnavailableEntityOutline

func (UnavailableEntityOutline) GetAlertSeverity

func (x UnavailableEntityOutline) GetAlertSeverity() EntityAlertSeverity

GetAlertSeverity returns a pointer to the value of AlertSeverity from UnavailableEntityOutline

func (UnavailableEntityOutline) GetAlertStatus

func (x UnavailableEntityOutline) GetAlertStatus() EntityAlertStatus

GetAlertStatus returns a pointer to the value of AlertStatus from UnavailableEntityOutline

func (UnavailableEntityOutline) GetDashboardTemplates

GetDashboardTemplates returns a pointer to the value of DashboardTemplates from UnavailableEntityOutline

func (UnavailableEntityOutline) GetDomain

func (x UnavailableEntityOutline) GetDomain() string

GetDomain returns a pointer to the value of Domain from UnavailableEntityOutline

func (UnavailableEntityOutline) GetEntityType

func (x UnavailableEntityOutline) GetEntityType() EntityType

GetEntityType returns a pointer to the value of EntityType from UnavailableEntityOutline

func (UnavailableEntityOutline) GetGUID

GetGUID returns a pointer to the value of GUID from UnavailableEntityOutline

func (UnavailableEntityOutline) GetGoldenMetrics

GetGoldenMetrics returns a pointer to the value of GoldenMetrics from UnavailableEntityOutline

func (UnavailableEntityOutline) GetGoldenSignalValues

func (x UnavailableEntityOutline) GetGoldenSignalValues() []GoldenSignalSignalValues

GetGoldenSignalValues returns a pointer to the value of GoldenSignalValues from UnavailableEntityOutline

func (UnavailableEntityOutline) GetGoldenSignalValuesV2

func (x UnavailableEntityOutline) GetGoldenSignalValuesV2() GoldenSignalValues

GetGoldenSignalValuesV2 returns a pointer to the value of GoldenSignalValuesV2 from UnavailableEntityOutline

func (UnavailableEntityOutline) GetGoldenTags

GetGoldenTags returns a pointer to the value of GoldenTags from UnavailableEntityOutline

func (UnavailableEntityOutline) GetIndexedAt

GetIndexedAt returns a pointer to the value of IndexedAt from UnavailableEntityOutline

func (UnavailableEntityOutline) GetName

func (x UnavailableEntityOutline) GetName() string

GetName returns a pointer to the value of Name from UnavailableEntityOutline

func (x UnavailableEntityOutline) GetPermalink() string

GetPermalink returns a pointer to the value of Permalink from UnavailableEntityOutline

func (UnavailableEntityOutline) GetRecommendedServiceLevel

func (x UnavailableEntityOutline) GetRecommendedServiceLevel() ServiceLevelRecommendation

GetRecommendedServiceLevel returns a pointer to the value of RecommendedServiceLevel from UnavailableEntityOutline

func (UnavailableEntityOutline) GetRelatedDashboards

GetRelatedDashboards returns a pointer to the value of RelatedDashboards from UnavailableEntityOutline

func (UnavailableEntityOutline) GetReporting

func (x UnavailableEntityOutline) GetReporting() bool

GetReporting returns a pointer to the value of Reporting from UnavailableEntityOutline

func (UnavailableEntityOutline) GetServiceLevel

GetServiceLevel returns a pointer to the value of ServiceLevel from UnavailableEntityOutline

func (UnavailableEntityOutline) GetSummaryMetrics

func (x UnavailableEntityOutline) GetSummaryMetrics() []EntitySummaryMetric

GetSummaryMetrics returns a pointer to the value of SummaryMetrics from UnavailableEntityOutline

func (UnavailableEntityOutline) GetTags

func (x UnavailableEntityOutline) GetTags() []EntityTag

GetTags returns a pointer to the value of Tags from UnavailableEntityOutline

func (UnavailableEntityOutline) GetType

func (x UnavailableEntityOutline) GetType() string

GetType returns a pointer to the value of Type from UnavailableEntityOutline

func (UnavailableEntityOutline) GetUiTemplates

GetUiTemplates returns a pointer to the value of UiTemplates from UnavailableEntityOutline

func (*UnavailableEntityOutline) ImplementsAlertableEntityOutline

func (x *UnavailableEntityOutline) ImplementsAlertableEntityOutline()

func (UnavailableEntityOutline) ImplementsEntity

func (x UnavailableEntityOutline) ImplementsEntity()

func (*UnavailableEntityOutline) ImplementsEntityOutline

func (x *UnavailableEntityOutline) ImplementsEntityOutline()

type WorkloadEntity

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"`
	AlertStatus   EntityAlertStatus   `json:"alertStatus,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 list of dashboard templates available for this entity.
	DashboardTemplates []EntityDashboardTemplatesDashboardTemplate `json:"dashboardTemplates"`
	// 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"`
	// Retrieve metadata on a specific error group.
	ErrorGroup ErrorTrackingErrorGroup `json:"errorGroup,omitempty"`
	// Fetch the number of error groups counted within a given time range (default 3 hours).
	ErrorGroupCount ErrorTrackingErrorGroupCount `json:"errorGroupCount,omitempty"`
	// Fetch a list of error groups.
	ErrorGroupListing []ErrorTrackingErrorGroup `json:"errorGroupListing"`
	// The associated error group notification policy.
	ErrorGroupNotificationPolicy ErrorTrackingNotificationPolicy `json:"errorGroupNotificationPolicy,omitempty"`
	// A unique entity identifier.
	GUID common.EntityGUID `json:"guid,omitempty"`
	// The list of golden metrics for a specific entity
	GoldenMetrics EntityGoldenContextScopedGoldenMetrics `json:"goldenMetrics,omitempty"`
	// Existing API - to be replaced with V2 implementation.
	GoldenSignalValues []GoldenSignalSignalValues `json:"goldenSignalValues"`
	// The stored golden signal(s) for the given entity.
	GoldenSignalValuesV2 GoldenSignalValues `json:"goldenSignalValuesV2,omitempty"`
	// The list of golden tags for a specific entityType.
	GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags,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"`
	NerdStoreCollection []NerdStoreCollectionMember `json:"nerdStoreCollection,omitempty"`
	NerdStoreDocument   NerdStoreDocument           `json:"nerdStoreDocument,omitempty"`
	// The url to the entity.
	Permalink string `json:"permalink,omitempty"`
	// Recent violations on the members of the workload.
	RecentAlertViolations []EntityAlertViolation `json:"recentAlertViolations,omitempty"`
	// The recommended service levels for the entity.
	RecommendedServiceLevel ServiceLevelRecommendation `json:"recommendedServiceLevel,omitempty"`
	// Related dashboards results
	RelatedDashboards RelatedDashboardsRelatedDashboardResult `json:"relatedDashboards"`
	// 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 list of summary metrics.
	SummaryMetrics []EntitySummaryMetric `json:"summaryMetrics,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"`
	// Look up Distributed Tracing summary data for the selected `EntityGuid`
	TracingSummary DistributedTracingEntityTracingSummary `json:"tracingSummary,omitempty"`
	// The entity's type
	Type string `json:"type,omitempty"`
	// List of templates availables for this entity.
	UiTemplates []EntityDashboardTemplatesUi `json:"uiTemplates"`
	// 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

func (x WorkloadEntity) GetAccount() accounts.AccountOutline

GetAccount returns a pointer to the value of Account from WorkloadEntity

func (WorkloadEntity) GetAccountID

func (x WorkloadEntity) GetAccountID() int

GetAccountID returns a pointer to the value of AccountID from WorkloadEntity

func (WorkloadEntity) GetAlertSeverity

func (x WorkloadEntity) GetAlertSeverity() EntityAlertSeverity

GetAlertSeverity returns a pointer to the value of AlertSeverity from WorkloadEntity

func (WorkloadEntity) GetAlertStatus

func (x WorkloadEntity) GetAlertStatus() EntityAlertStatus

GetAlertStatus returns a pointer to the value of AlertStatus from WorkloadEntity

func (WorkloadEntity) GetAlertViolations

func (x WorkloadEntity) GetAlertViolations() []EntityAlertViolation

GetAlertViolations returns a pointer to the value of AlertViolations from WorkloadEntity

func (WorkloadEntity) GetCollection

func (x WorkloadEntity) GetCollection() EntityCollection

GetCollection returns a pointer to the value of Collection from WorkloadEntity

func (WorkloadEntity) GetCreatedAt

func (x WorkloadEntity) GetCreatedAt() *nrtime.EpochMilliseconds

GetCreatedAt returns a pointer to the value of CreatedAt from WorkloadEntity

func (WorkloadEntity) GetCreatedByUser

func (x WorkloadEntity) GetCreatedByUser() users.UserReference

GetCreatedByUser returns a pointer to the value of CreatedByUser from WorkloadEntity

func (WorkloadEntity) GetDashboardTemplates

func (x WorkloadEntity) GetDashboardTemplates() []EntityDashboardTemplatesDashboardTemplate

GetDashboardTemplates returns a pointer to the value of DashboardTemplates from WorkloadEntity

func (WorkloadEntity) GetDomain

func (x WorkloadEntity) GetDomain() string

GetDomain returns a pointer to the value of Domain from WorkloadEntity

func (WorkloadEntity) GetEntityType

func (x WorkloadEntity) GetEntityType() EntityType

GetEntityType returns a pointer to the value of EntityType from WorkloadEntity

func (WorkloadEntity) GetErrorGroup

func (x WorkloadEntity) GetErrorGroup() ErrorTrackingErrorGroup

GetErrorGroup returns a pointer to the value of ErrorGroup from WorkloadEntity

func (WorkloadEntity) GetErrorGroupCount

func (x WorkloadEntity) GetErrorGroupCount() ErrorTrackingErrorGroupCount

GetErrorGroupCount returns a pointer to the value of ErrorGroupCount from WorkloadEntity

func (WorkloadEntity) GetErrorGroupListing

func (x WorkloadEntity) GetErrorGroupListing() []ErrorTrackingErrorGroup

GetErrorGroupListing returns a pointer to the value of ErrorGroupListing from WorkloadEntity

func (WorkloadEntity) GetErrorGroupNotificationPolicy

func (x WorkloadEntity) GetErrorGroupNotificationPolicy() ErrorTrackingNotificationPolicy

GetErrorGroupNotificationPolicy returns a pointer to the value of ErrorGroupNotificationPolicy from WorkloadEntity

func (WorkloadEntity) GetGUID

func (x WorkloadEntity) GetGUID() common.EntityGUID

GetGUID returns a pointer to the value of GUID from WorkloadEntity

func (WorkloadEntity) GetGoldenMetrics

GetGoldenMetrics returns a pointer to the value of GoldenMetrics from WorkloadEntity

func (WorkloadEntity) GetGoldenSignalValues

func (x WorkloadEntity) GetGoldenSignalValues() []GoldenSignalSignalValues

GetGoldenSignalValues returns a pointer to the value of GoldenSignalValues from WorkloadEntity

func (WorkloadEntity) GetGoldenSignalValuesV2

func (x WorkloadEntity) GetGoldenSignalValuesV2() GoldenSignalValues

GetGoldenSignalValuesV2 returns a pointer to the value of GoldenSignalValuesV2 from WorkloadEntity

func (WorkloadEntity) GetGoldenTags

GetGoldenTags returns a pointer to the value of GoldenTags from WorkloadEntity

func (WorkloadEntity) GetIndexedAt

func (x WorkloadEntity) GetIndexedAt() *nrtime.EpochMilliseconds

GetIndexedAt returns a pointer to the value of IndexedAt from WorkloadEntity

func (WorkloadEntity) GetNRDBQuery

func (x WorkloadEntity) GetNRDBQuery() nrdb.NRDBResultContainer

GetNRDBQuery returns a pointer to the value of NRDBQuery from WorkloadEntity

func (WorkloadEntity) GetName

func (x WorkloadEntity) GetName() string

GetName returns a pointer to the value of Name from WorkloadEntity

func (WorkloadEntity) GetNerdStorage

func (x WorkloadEntity) GetNerdStorage() NerdStorageEntityScope

GetNerdStorage returns a pointer to the value of NerdStorage from WorkloadEntity

func (WorkloadEntity) GetNerdStoreCollection

func (x WorkloadEntity) GetNerdStoreCollection() []NerdStoreCollectionMember

GetNerdStoreCollection returns a pointer to the value of NerdStoreCollection from WorkloadEntity

func (WorkloadEntity) GetNerdStoreDocument

func (x WorkloadEntity) GetNerdStoreDocument() NerdStoreDocument

GetNerdStoreDocument returns a pointer to the value of NerdStoreDocument from WorkloadEntity

func (x WorkloadEntity) GetPermalink() string

GetPermalink returns a pointer to the value of Permalink from WorkloadEntity

func (WorkloadEntity) GetRecentAlertViolations

func (x WorkloadEntity) GetRecentAlertViolations() []EntityAlertViolation

GetRecentAlertViolations returns a pointer to the value of RecentAlertViolations from WorkloadEntity

func (WorkloadEntity) GetRecommendedServiceLevel

func (x WorkloadEntity) GetRecommendedServiceLevel() ServiceLevelRecommendation

GetRecommendedServiceLevel returns a pointer to the value of RecommendedServiceLevel from WorkloadEntity

func (WorkloadEntity) GetRelatedDashboards

GetRelatedDashboards returns a pointer to the value of RelatedDashboards from WorkloadEntity

func (WorkloadEntity) GetRelatedEntities

GetRelatedEntities returns a pointer to the value of RelatedEntities from WorkloadEntity

func (WorkloadEntity) GetRelationships

func (x WorkloadEntity) GetRelationships() []EntityRelationship

GetRelationships returns a pointer to the value of Relationships from WorkloadEntity

func (WorkloadEntity) GetReporting

func (x WorkloadEntity) GetReporting() bool

GetReporting returns a pointer to the value of Reporting from WorkloadEntity

func (WorkloadEntity) GetServiceLevel

func (x WorkloadEntity) GetServiceLevel() ServiceLevelDefinition

GetServiceLevel returns a pointer to the value of ServiceLevel from WorkloadEntity

func (WorkloadEntity) GetSummaryMetrics

func (x WorkloadEntity) GetSummaryMetrics() []EntitySummaryMetric

GetSummaryMetrics returns a pointer to the value of SummaryMetrics from WorkloadEntity

func (WorkloadEntity) GetTags

func (x WorkloadEntity) GetTags() []EntityTag

GetTags returns a pointer to the value of Tags from WorkloadEntity

func (WorkloadEntity) GetTagsWithMetadata

func (x WorkloadEntity) GetTagsWithMetadata() []EntityTagWithMetadata

GetTagsWithMetadata returns a pointer to the value of TagsWithMetadata from WorkloadEntity

func (WorkloadEntity) GetTracingSummary

GetTracingSummary returns a pointer to the value of TracingSummary from WorkloadEntity

func (WorkloadEntity) GetType

func (x WorkloadEntity) GetType() string

GetType returns a pointer to the value of Type from WorkloadEntity

func (WorkloadEntity) GetUiTemplates

func (x WorkloadEntity) GetUiTemplates() []EntityDashboardTemplatesUi

GetUiTemplates returns a pointer to the value of UiTemplates from WorkloadEntity

func (WorkloadEntity) GetUpdatedAt

func (x WorkloadEntity) GetUpdatedAt() *nrtime.EpochMilliseconds

GetUpdatedAt returns a pointer to the value of UpdatedAt from WorkloadEntity

func (WorkloadEntity) GetWorkloadStatus

func (x WorkloadEntity) GetWorkloadStatus() WorkloadStatus

GetWorkloadStatus returns a pointer to the value of WorkloadStatus from WorkloadEntity

func (*WorkloadEntity) ImplementsAlertableEntity

func (x *WorkloadEntity) ImplementsAlertableEntity()

func (*WorkloadEntity) ImplementsCollectionEntity

func (x *WorkloadEntity) ImplementsCollectionEntity()

func (*WorkloadEntity) ImplementsEntity

func (x *WorkloadEntity) ImplementsEntity()

type WorkloadEntityOutline

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"`
	AlertStatus   EntityAlertStatus   `json:"alertStatus,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 list of dashboard templates available for this entity.
	DashboardTemplates []EntityDashboardTemplatesDashboardTemplate `json:"dashboardTemplates"`
	// 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,omitempty"`
	// Existing API - to be replaced with V2 implementation.
	GoldenSignalValues []GoldenSignalSignalValues `json:"goldenSignalValues"`
	// The stored golden signal(s) for the given entity.
	GoldenSignalValuesV2 GoldenSignalValues `json:"goldenSignalValuesV2,omitempty"`
	// The list of golden tags for a specific entityType.
	GoldenTags EntityGoldenContextScopedGoldenTags `json:"goldenTags,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 recommended service levels for the entity.
	RecommendedServiceLevel ServiceLevelRecommendation `json:"recommendedServiceLevel,omitempty"`
	// Related dashboards results
	RelatedDashboards RelatedDashboardsRelatedDashboardResult `json:"relatedDashboards"`
	// 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 list of summary metrics.
	SummaryMetrics []EntitySummaryMetric `json:"summaryMetrics,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"`
	// List of templates availables for this entity.
	UiTemplates []EntityDashboardTemplatesUi `json:"uiTemplates"`
	// 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

GetAccount returns a pointer to the value of Account from WorkloadEntityOutline

func (WorkloadEntityOutline) GetAccountID

func (x WorkloadEntityOutline) GetAccountID() int

GetAccountID returns a pointer to the value of AccountID from WorkloadEntityOutline

func (WorkloadEntityOutline) GetAlertSeverity

func (x WorkloadEntityOutline) GetAlertSeverity() EntityAlertSeverity

GetAlertSeverity returns a pointer to the value of AlertSeverity from WorkloadEntityOutline

func (WorkloadEntityOutline) GetAlertStatus

func (x WorkloadEntityOutline) GetAlertStatus() EntityAlertStatus

GetAlertStatus returns a pointer to the value of AlertStatus from WorkloadEntityOutline

func (WorkloadEntityOutline) GetCreatedAt

GetCreatedAt returns a pointer to the value of CreatedAt from WorkloadEntityOutline

func (WorkloadEntityOutline) GetCreatedByUser

func (x WorkloadEntityOutline) GetCreatedByUser() users.UserReference

GetCreatedByUser returns a pointer to the value of CreatedByUser from WorkloadEntityOutline

func (WorkloadEntityOutline) GetDashboardTemplates

GetDashboardTemplates returns a pointer to the value of DashboardTemplates from WorkloadEntityOutline

func (WorkloadEntityOutline) GetDomain

func (x WorkloadEntityOutline) GetDomain() string

GetDomain returns a pointer to the value of Domain from WorkloadEntityOutline

func (WorkloadEntityOutline) GetEntityType

func (x WorkloadEntityOutline) GetEntityType() EntityType

GetEntityType returns a pointer to the value of EntityType from WorkloadEntityOutline

func (WorkloadEntityOutline) GetGUID

GetGUID returns a pointer to the value of GUID from WorkloadEntityOutline

func (WorkloadEntityOutline) GetGoldenMetrics

GetGoldenMetrics returns a pointer to the value of GoldenMetrics from WorkloadEntityOutline

func (WorkloadEntityOutline) GetGoldenSignalValues

func (x WorkloadEntityOutline) GetGoldenSignalValues() []GoldenSignalSignalValues

GetGoldenSignalValues returns a pointer to the value of GoldenSignalValues from WorkloadEntityOutline

func (WorkloadEntityOutline) GetGoldenSignalValuesV2

func (x WorkloadEntityOutline) GetGoldenSignalValuesV2() GoldenSignalValues

GetGoldenSignalValuesV2 returns a pointer to the value of GoldenSignalValuesV2 from WorkloadEntityOutline

func (WorkloadEntityOutline) GetGoldenTags

GetGoldenTags returns a pointer to the value of GoldenTags from WorkloadEntityOutline

func (WorkloadEntityOutline) GetIndexedAt

GetIndexedAt returns a pointer to the value of IndexedAt from WorkloadEntityOutline

func (WorkloadEntityOutline) GetName

func (x WorkloadEntityOutline) GetName() string

GetName returns a pointer to the value of Name from WorkloadEntityOutline

func (x WorkloadEntityOutline) GetPermalink() string

GetPermalink returns a pointer to the value of Permalink from WorkloadEntityOutline

func (WorkloadEntityOutline) GetRecommendedServiceLevel

func (x WorkloadEntityOutline) GetRecommendedServiceLevel() ServiceLevelRecommendation

GetRecommendedServiceLevel returns a pointer to the value of RecommendedServiceLevel from WorkloadEntityOutline

func (WorkloadEntityOutline) GetRelatedDashboards

GetRelatedDashboards returns a pointer to the value of RelatedDashboards from WorkloadEntityOutline

func (WorkloadEntityOutline) GetReporting

func (x WorkloadEntityOutline) GetReporting() bool

GetReporting returns a pointer to the value of Reporting from WorkloadEntityOutline

func (WorkloadEntityOutline) GetServiceLevel

func (x WorkloadEntityOutline) GetServiceLevel() ServiceLevelDefinition

GetServiceLevel returns a pointer to the value of ServiceLevel from WorkloadEntityOutline

func (WorkloadEntityOutline) GetSummaryMetrics

func (x WorkloadEntityOutline) GetSummaryMetrics() []EntitySummaryMetric

GetSummaryMetrics returns a pointer to the value of SummaryMetrics from WorkloadEntityOutline

func (WorkloadEntityOutline) GetTags

func (x WorkloadEntityOutline) GetTags() []EntityTag

GetTags returns a pointer to the value of Tags from WorkloadEntityOutline

func (WorkloadEntityOutline) GetType

func (x WorkloadEntityOutline) GetType() string

GetType returns a pointer to the value of Type from WorkloadEntityOutline

func (WorkloadEntityOutline) GetUiTemplates

GetUiTemplates returns a pointer to the value of UiTemplates from WorkloadEntityOutline

func (WorkloadEntityOutline) GetUpdatedAt

GetUpdatedAt returns a pointer to the value of UpdatedAt from WorkloadEntityOutline

func (WorkloadEntityOutline) GetWorkloadStatus

func (x WorkloadEntityOutline) GetWorkloadStatus() WorkloadStatus

GetWorkloadStatus returns a pointer to the value of WorkloadStatus from WorkloadEntityOutline

func (*WorkloadEntityOutline) ImplementsAlertableEntityOutline

func (x *WorkloadEntityOutline) ImplementsAlertableEntityOutline()

func (WorkloadEntityOutline) ImplementsEntity

func (x WorkloadEntityOutline) ImplementsEntity()

func (*WorkloadEntityOutline) ImplementsEntityOutline

func (x *WorkloadEntityOutline) ImplementsEntityOutline()

type WorkloadEntityRef

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

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

type WorkloadStatusSource string

WorkloadStatusSource - Indicates where the status value derives from.

type WorkloadStatusValue

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.

Jump to

Keyboard shortcuts

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