1. Packages
  2. Newrelic Provider
  3. API Docs
  4. plugins
  5. ApplicationSettings
New Relic v5.44.1 published on Tuesday, Apr 15, 2025 by Pulumi

newrelic.plugins.ApplicationSettings

Explore with Pulumi AI

Import

Applications can be imported using notation application_guid, e.g.

$ pulumi import newrelic:plugins/applicationSettings:ApplicationSettings main Mzk1NzUyNHQVRJNTxBUE18QVBQTElDc4ODU1MzYx
Copy

Create ApplicationSettings Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ApplicationSettings(name: string, args?: ApplicationSettingsArgs, opts?: CustomResourceOptions);
@overload
def ApplicationSettings(resource_name: str,
                        args: Optional[ApplicationSettingsArgs] = None,
                        opts: Optional[ResourceOptions] = None)

@overload
def ApplicationSettings(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        app_apdex_threshold: Optional[float] = None,
                        enable_real_user_monitoring: Optional[bool] = None,
                        enable_slow_sql: Optional[bool] = None,
                        enable_thread_profiler: Optional[bool] = None,
                        end_user_apdex_threshold: Optional[float] = None,
                        error_collectors: Optional[Sequence[ApplicationSettingsErrorCollectorArgs]] = None,
                        guid: Optional[str] = None,
                        name: Optional[str] = None,
                        tracer_type: Optional[str] = None,
                        transaction_tracers: Optional[Sequence[ApplicationSettingsTransactionTracerArgs]] = None,
                        use_server_side_config: Optional[bool] = None)
func NewApplicationSettings(ctx *Context, name string, args *ApplicationSettingsArgs, opts ...ResourceOption) (*ApplicationSettings, error)
public ApplicationSettings(string name, ApplicationSettingsArgs? args = null, CustomResourceOptions? opts = null)
public ApplicationSettings(String name, ApplicationSettingsArgs args)
public ApplicationSettings(String name, ApplicationSettingsArgs args, CustomResourceOptions options)
type: newrelic:plugins:ApplicationSettings
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args ApplicationSettingsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args ApplicationSettingsArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args ApplicationSettingsArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args ApplicationSettingsArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ApplicationSettingsArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var applicationSettingsResource = new NewRelic.Plugins.ApplicationSettings("applicationSettingsResource", new()
{
    AppApdexThreshold = 0,
    EnableRealUserMonitoring = false,
    EnableSlowSql = false,
    EnableThreadProfiler = false,
    EndUserApdexThreshold = 0,
    ErrorCollectors = new[]
    {
        new NewRelic.Plugins.Inputs.ApplicationSettingsErrorCollectorArgs
        {
            ExpectedErrorClasses = new[]
            {
                "string",
            },
            ExpectedErrorCodes = new[]
            {
                "string",
            },
            IgnoredErrorClasses = new[]
            {
                "string",
            },
            IgnoredErrorCodes = new[]
            {
                "string",
            },
        },
    },
    Guid = "string",
    Name = "string",
    TracerType = "string",
    TransactionTracers = new[]
    {
        new NewRelic.Plugins.Inputs.ApplicationSettingsTransactionTracerArgs
        {
            ExplainQueryPlans = new[]
            {
                new NewRelic.Plugins.Inputs.ApplicationSettingsTransactionTracerExplainQueryPlanArgs
                {
                    QueryPlanThresholdType = "string",
                    QueryPlanThresholdValue = 0,
                },
            },
            Sql = new NewRelic.Plugins.Inputs.ApplicationSettingsTransactionTracerSqlArgs
            {
                RecordSql = "string",
            },
            StackTraceThresholdValue = 0,
            TransactionThresholdType = "string",
            TransactionThresholdValue = 0,
        },
    },
    UseServerSideConfig = false,
});
Copy
example, err := plugins.NewApplicationSettings(ctx, "applicationSettingsResource", &plugins.ApplicationSettingsArgs{
	AppApdexThreshold:        pulumi.Float64(0),
	EnableRealUserMonitoring: pulumi.Bool(false),
	EnableSlowSql:            pulumi.Bool(false),
	EnableThreadProfiler:     pulumi.Bool(false),
	EndUserApdexThreshold:    pulumi.Float64(0),
	ErrorCollectors: plugins.ApplicationSettingsErrorCollectorArray{
		&plugins.ApplicationSettingsErrorCollectorArgs{
			ExpectedErrorClasses: pulumi.StringArray{
				pulumi.String("string"),
			},
			ExpectedErrorCodes: pulumi.StringArray{
				pulumi.String("string"),
			},
			IgnoredErrorClasses: pulumi.StringArray{
				pulumi.String("string"),
			},
			IgnoredErrorCodes: pulumi.StringArray{
				pulumi.String("string"),
			},
		},
	},
	Guid:       pulumi.String("string"),
	Name:       pulumi.String("string"),
	TracerType: pulumi.String("string"),
	TransactionTracers: plugins.ApplicationSettingsTransactionTracerArray{
		&plugins.ApplicationSettingsTransactionTracerArgs{
			ExplainQueryPlans: plugins.ApplicationSettingsTransactionTracerExplainQueryPlanArray{
				&plugins.ApplicationSettingsTransactionTracerExplainQueryPlanArgs{
					QueryPlanThresholdType:  pulumi.String("string"),
					QueryPlanThresholdValue: pulumi.Float64(0),
				},
			},
			Sql: &plugins.ApplicationSettingsTransactionTracerSqlArgs{
				RecordSql: pulumi.String("string"),
			},
			StackTraceThresholdValue:  pulumi.Float64(0),
			TransactionThresholdType:  pulumi.String("string"),
			TransactionThresholdValue: pulumi.Float64(0),
		},
	},
	UseServerSideConfig: pulumi.Bool(false),
})
Copy
var applicationSettingsResource = new ApplicationSettings("applicationSettingsResource", ApplicationSettingsArgs.builder()
    .appApdexThreshold(0)
    .enableRealUserMonitoring(false)
    .enableSlowSql(false)
    .enableThreadProfiler(false)
    .endUserApdexThreshold(0)
    .errorCollectors(ApplicationSettingsErrorCollectorArgs.builder()
        .expectedErrorClasses("string")
        .expectedErrorCodes("string")
        .ignoredErrorClasses("string")
        .ignoredErrorCodes("string")
        .build())
    .guid("string")
    .name("string")
    .tracerType("string")
    .transactionTracers(ApplicationSettingsTransactionTracerArgs.builder()
        .explainQueryPlans(ApplicationSettingsTransactionTracerExplainQueryPlanArgs.builder()
            .queryPlanThresholdType("string")
            .queryPlanThresholdValue(0)
            .build())
        .sql(ApplicationSettingsTransactionTracerSqlArgs.builder()
            .recordSql("string")
            .build())
        .stackTraceThresholdValue(0)
        .transactionThresholdType("string")
        .transactionThresholdValue(0)
        .build())
    .useServerSideConfig(false)
    .build());
Copy
application_settings_resource = newrelic.plugins.ApplicationSettings("applicationSettingsResource",
    app_apdex_threshold=0,
    enable_real_user_monitoring=False,
    enable_slow_sql=False,
    enable_thread_profiler=False,
    end_user_apdex_threshold=0,
    error_collectors=[{
        "expected_error_classes": ["string"],
        "expected_error_codes": ["string"],
        "ignored_error_classes": ["string"],
        "ignored_error_codes": ["string"],
    }],
    guid="string",
    name="string",
    tracer_type="string",
    transaction_tracers=[{
        "explain_query_plans": [{
            "query_plan_threshold_type": "string",
            "query_plan_threshold_value": 0,
        }],
        "sql": {
            "record_sql": "string",
        },
        "stack_trace_threshold_value": 0,
        "transaction_threshold_type": "string",
        "transaction_threshold_value": 0,
    }],
    use_server_side_config=False)
Copy
const applicationSettingsResource = new newrelic.plugins.ApplicationSettings("applicationSettingsResource", {
    appApdexThreshold: 0,
    enableRealUserMonitoring: false,
    enableSlowSql: false,
    enableThreadProfiler: false,
    endUserApdexThreshold: 0,
    errorCollectors: [{
        expectedErrorClasses: ["string"],
        expectedErrorCodes: ["string"],
        ignoredErrorClasses: ["string"],
        ignoredErrorCodes: ["string"],
    }],
    guid: "string",
    name: "string",
    tracerType: "string",
    transactionTracers: [{
        explainQueryPlans: [{
            queryPlanThresholdType: "string",
            queryPlanThresholdValue: 0,
        }],
        sql: {
            recordSql: "string",
        },
        stackTraceThresholdValue: 0,
        transactionThresholdType: "string",
        transactionThresholdValue: 0,
    }],
    useServerSideConfig: false,
});
Copy
type: newrelic:plugins:ApplicationSettings
properties:
    appApdexThreshold: 0
    enableRealUserMonitoring: false
    enableSlowSql: false
    enableThreadProfiler: false
    endUserApdexThreshold: 0
    errorCollectors:
        - expectedErrorClasses:
            - string
          expectedErrorCodes:
            - string
          ignoredErrorClasses:
            - string
          ignoredErrorCodes:
            - string
    guid: string
    name: string
    tracerType: string
    transactionTracers:
        - explainQueryPlans:
            - queryPlanThresholdType: string
              queryPlanThresholdValue: 0
          sql:
            recordSql: string
          stackTraceThresholdValue: 0
          transactionThresholdType: string
          transactionThresholdValue: 0
    useServerSideConfig: false
Copy

ApplicationSettings Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ApplicationSettings resource accepts the following input properties:

AppApdexThreshold double
The acceptable response time limit (Apdex threshold) for the application.
EnableRealUserMonitoring bool
Dummy field to support backward compatibility of previous version.should be removed with next major version.
EnableSlowSql bool
Enable or disable the collection of slowest database queries in your traces.
EnableThreadProfiler bool
Enable or disable the collection of thread profiling data.
EndUserApdexThreshold double
Dummy field to support backward compatibility of previous version.should be removed with next major version.
ErrorCollectors List<Pulumi.NewRelic.Plugins.Inputs.ApplicationSettingsErrorCollector>
Configuration block for error collection. Including this block enables the error collector. The following arguments are supported:
Guid Changes to this property will trigger replacement. string

The GUID of the application in New Relic APM.

NOTE: While the attribute guid is not mandatory at a schema level, it is recommended to use guid over name, as support for using name with this resource shall eventually be discontinued. Please see the note under name for more details.

Name string
The name of the application in New Relic.
TracerType string
Configures the type of tracer used. Valid values are CROSS_APPLICATION_TRACER, DISTRIBUTED_TRACING, NONE, OPT_OUT.
TransactionTracers List<Pulumi.NewRelic.Plugins.Inputs.ApplicationSettingsTransactionTracer>
Configuration block for transaction tracer. Providing this block enables transaction tracing. The following arguments are supported:
UseServerSideConfig bool
Enable or disable server side monitoring for the New Relic application.
AppApdexThreshold float64
The acceptable response time limit (Apdex threshold) for the application.
EnableRealUserMonitoring bool
Dummy field to support backward compatibility of previous version.should be removed with next major version.
EnableSlowSql bool
Enable or disable the collection of slowest database queries in your traces.
EnableThreadProfiler bool
Enable or disable the collection of thread profiling data.
EndUserApdexThreshold float64
Dummy field to support backward compatibility of previous version.should be removed with next major version.
ErrorCollectors []ApplicationSettingsErrorCollectorArgs
Configuration block for error collection. Including this block enables the error collector. The following arguments are supported:
Guid Changes to this property will trigger replacement. string

The GUID of the application in New Relic APM.

NOTE: While the attribute guid is not mandatory at a schema level, it is recommended to use guid over name, as support for using name with this resource shall eventually be discontinued. Please see the note under name for more details.

Name string
The name of the application in New Relic.
TracerType string
Configures the type of tracer used. Valid values are CROSS_APPLICATION_TRACER, DISTRIBUTED_TRACING, NONE, OPT_OUT.
TransactionTracers []ApplicationSettingsTransactionTracerArgs
Configuration block for transaction tracer. Providing this block enables transaction tracing. The following arguments are supported:
UseServerSideConfig bool
Enable or disable server side monitoring for the New Relic application.
appApdexThreshold Double
The acceptable response time limit (Apdex threshold) for the application.
enableRealUserMonitoring Boolean
Dummy field to support backward compatibility of previous version.should be removed with next major version.
enableSlowSql Boolean
Enable or disable the collection of slowest database queries in your traces.
enableThreadProfiler Boolean
Enable or disable the collection of thread profiling data.
endUserApdexThreshold Double
Dummy field to support backward compatibility of previous version.should be removed with next major version.
errorCollectors List<ApplicationSettingsErrorCollector>
Configuration block for error collection. Including this block enables the error collector. The following arguments are supported:
guid Changes to this property will trigger replacement. String

The GUID of the application in New Relic APM.

NOTE: While the attribute guid is not mandatory at a schema level, it is recommended to use guid over name, as support for using name with this resource shall eventually be discontinued. Please see the note under name for more details.

name String
The name of the application in New Relic.
tracerType String
Configures the type of tracer used. Valid values are CROSS_APPLICATION_TRACER, DISTRIBUTED_TRACING, NONE, OPT_OUT.
transactionTracers List<ApplicationSettingsTransactionTracer>
Configuration block for transaction tracer. Providing this block enables transaction tracing. The following arguments are supported:
useServerSideConfig Boolean
Enable or disable server side monitoring for the New Relic application.
appApdexThreshold number
The acceptable response time limit (Apdex threshold) for the application.
enableRealUserMonitoring boolean
Dummy field to support backward compatibility of previous version.should be removed with next major version.
enableSlowSql boolean
Enable or disable the collection of slowest database queries in your traces.
enableThreadProfiler boolean
Enable or disable the collection of thread profiling data.
endUserApdexThreshold number
Dummy field to support backward compatibility of previous version.should be removed with next major version.
errorCollectors ApplicationSettingsErrorCollector[]
Configuration block for error collection. Including this block enables the error collector. The following arguments are supported:
guid Changes to this property will trigger replacement. string

The GUID of the application in New Relic APM.

NOTE: While the attribute guid is not mandatory at a schema level, it is recommended to use guid over name, as support for using name with this resource shall eventually be discontinued. Please see the note under name for more details.

name string
The name of the application in New Relic.
tracerType string
Configures the type of tracer used. Valid values are CROSS_APPLICATION_TRACER, DISTRIBUTED_TRACING, NONE, OPT_OUT.
transactionTracers ApplicationSettingsTransactionTracer[]
Configuration block for transaction tracer. Providing this block enables transaction tracing. The following arguments are supported:
useServerSideConfig boolean
Enable or disable server side monitoring for the New Relic application.
app_apdex_threshold float
The acceptable response time limit (Apdex threshold) for the application.
enable_real_user_monitoring bool
Dummy field to support backward compatibility of previous version.should be removed with next major version.
enable_slow_sql bool
Enable or disable the collection of slowest database queries in your traces.
enable_thread_profiler bool
Enable or disable the collection of thread profiling data.
end_user_apdex_threshold float
Dummy field to support backward compatibility of previous version.should be removed with next major version.
error_collectors Sequence[ApplicationSettingsErrorCollectorArgs]
Configuration block for error collection. Including this block enables the error collector. The following arguments are supported:
guid Changes to this property will trigger replacement. str

The GUID of the application in New Relic APM.

NOTE: While the attribute guid is not mandatory at a schema level, it is recommended to use guid over name, as support for using name with this resource shall eventually be discontinued. Please see the note under name for more details.

name str
The name of the application in New Relic.
tracer_type str
Configures the type of tracer used. Valid values are CROSS_APPLICATION_TRACER, DISTRIBUTED_TRACING, NONE, OPT_OUT.
transaction_tracers Sequence[ApplicationSettingsTransactionTracerArgs]
Configuration block for transaction tracer. Providing this block enables transaction tracing. The following arguments are supported:
use_server_side_config bool
Enable or disable server side monitoring for the New Relic application.
appApdexThreshold Number
The acceptable response time limit (Apdex threshold) for the application.
enableRealUserMonitoring Boolean
Dummy field to support backward compatibility of previous version.should be removed with next major version.
enableSlowSql Boolean
Enable or disable the collection of slowest database queries in your traces.
enableThreadProfiler Boolean
Enable or disable the collection of thread profiling data.
endUserApdexThreshold Number
Dummy field to support backward compatibility of previous version.should be removed with next major version.
errorCollectors List<Property Map>
Configuration block for error collection. Including this block enables the error collector. The following arguments are supported:
guid Changes to this property will trigger replacement. String

The GUID of the application in New Relic APM.

NOTE: While the attribute guid is not mandatory at a schema level, it is recommended to use guid over name, as support for using name with this resource shall eventually be discontinued. Please see the note under name for more details.

name String
The name of the application in New Relic.
tracerType String
Configures the type of tracer used. Valid values are CROSS_APPLICATION_TRACER, DISTRIBUTED_TRACING, NONE, OPT_OUT.
transactionTracers List<Property Map>
Configuration block for transaction tracer. Providing this block enables transaction tracing. The following arguments are supported:
useServerSideConfig Boolean
Enable or disable server side monitoring for the New Relic application.

Outputs

All input properties are implicitly available as output properties. Additionally, the ApplicationSettings resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
IsImported bool
Id string
The provider-assigned unique ID for this managed resource.
IsImported bool
id String
The provider-assigned unique ID for this managed resource.
isImported Boolean
id string
The provider-assigned unique ID for this managed resource.
isImported boolean
id str
The provider-assigned unique ID for this managed resource.
is_imported bool
id String
The provider-assigned unique ID for this managed resource.
isImported Boolean

Look up Existing ApplicationSettings Resource

Get an existing ApplicationSettings resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ApplicationSettingsState, opts?: CustomResourceOptions): ApplicationSettings
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        app_apdex_threshold: Optional[float] = None,
        enable_real_user_monitoring: Optional[bool] = None,
        enable_slow_sql: Optional[bool] = None,
        enable_thread_profiler: Optional[bool] = None,
        end_user_apdex_threshold: Optional[float] = None,
        error_collectors: Optional[Sequence[ApplicationSettingsErrorCollectorArgs]] = None,
        guid: Optional[str] = None,
        is_imported: Optional[bool] = None,
        name: Optional[str] = None,
        tracer_type: Optional[str] = None,
        transaction_tracers: Optional[Sequence[ApplicationSettingsTransactionTracerArgs]] = None,
        use_server_side_config: Optional[bool] = None) -> ApplicationSettings
func GetApplicationSettings(ctx *Context, name string, id IDInput, state *ApplicationSettingsState, opts ...ResourceOption) (*ApplicationSettings, error)
public static ApplicationSettings Get(string name, Input<string> id, ApplicationSettingsState? state, CustomResourceOptions? opts = null)
public static ApplicationSettings get(String name, Output<String> id, ApplicationSettingsState state, CustomResourceOptions options)
resources:  _:    type: newrelic:plugins:ApplicationSettings    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AppApdexThreshold double
The acceptable response time limit (Apdex threshold) for the application.
EnableRealUserMonitoring bool
Dummy field to support backward compatibility of previous version.should be removed with next major version.
EnableSlowSql bool
Enable or disable the collection of slowest database queries in your traces.
EnableThreadProfiler bool
Enable or disable the collection of thread profiling data.
EndUserApdexThreshold double
Dummy field to support backward compatibility of previous version.should be removed with next major version.
ErrorCollectors List<Pulumi.NewRelic.Plugins.Inputs.ApplicationSettingsErrorCollector>
Configuration block for error collection. Including this block enables the error collector. The following arguments are supported:
Guid Changes to this property will trigger replacement. string

The GUID of the application in New Relic APM.

NOTE: While the attribute guid is not mandatory at a schema level, it is recommended to use guid over name, as support for using name with this resource shall eventually be discontinued. Please see the note under name for more details.

IsImported bool
Name string
The name of the application in New Relic.
TracerType string
Configures the type of tracer used. Valid values are CROSS_APPLICATION_TRACER, DISTRIBUTED_TRACING, NONE, OPT_OUT.
TransactionTracers List<Pulumi.NewRelic.Plugins.Inputs.ApplicationSettingsTransactionTracer>
Configuration block for transaction tracer. Providing this block enables transaction tracing. The following arguments are supported:
UseServerSideConfig bool
Enable or disable server side monitoring for the New Relic application.
AppApdexThreshold float64
The acceptable response time limit (Apdex threshold) for the application.
EnableRealUserMonitoring bool
Dummy field to support backward compatibility of previous version.should be removed with next major version.
EnableSlowSql bool
Enable or disable the collection of slowest database queries in your traces.
EnableThreadProfiler bool
Enable or disable the collection of thread profiling data.
EndUserApdexThreshold float64
Dummy field to support backward compatibility of previous version.should be removed with next major version.
ErrorCollectors []ApplicationSettingsErrorCollectorArgs
Configuration block for error collection. Including this block enables the error collector. The following arguments are supported:
Guid Changes to this property will trigger replacement. string

The GUID of the application in New Relic APM.

NOTE: While the attribute guid is not mandatory at a schema level, it is recommended to use guid over name, as support for using name with this resource shall eventually be discontinued. Please see the note under name for more details.

IsImported bool
Name string
The name of the application in New Relic.
TracerType string
Configures the type of tracer used. Valid values are CROSS_APPLICATION_TRACER, DISTRIBUTED_TRACING, NONE, OPT_OUT.
TransactionTracers []ApplicationSettingsTransactionTracerArgs
Configuration block for transaction tracer. Providing this block enables transaction tracing. The following arguments are supported:
UseServerSideConfig bool
Enable or disable server side monitoring for the New Relic application.
appApdexThreshold Double
The acceptable response time limit (Apdex threshold) for the application.
enableRealUserMonitoring Boolean
Dummy field to support backward compatibility of previous version.should be removed with next major version.
enableSlowSql Boolean
Enable or disable the collection of slowest database queries in your traces.
enableThreadProfiler Boolean
Enable or disable the collection of thread profiling data.
endUserApdexThreshold Double
Dummy field to support backward compatibility of previous version.should be removed with next major version.
errorCollectors List<ApplicationSettingsErrorCollector>
Configuration block for error collection. Including this block enables the error collector. The following arguments are supported:
guid Changes to this property will trigger replacement. String

The GUID of the application in New Relic APM.

NOTE: While the attribute guid is not mandatory at a schema level, it is recommended to use guid over name, as support for using name with this resource shall eventually be discontinued. Please see the note under name for more details.

isImported Boolean
name String
The name of the application in New Relic.
tracerType String
Configures the type of tracer used. Valid values are CROSS_APPLICATION_TRACER, DISTRIBUTED_TRACING, NONE, OPT_OUT.
transactionTracers List<ApplicationSettingsTransactionTracer>
Configuration block for transaction tracer. Providing this block enables transaction tracing. The following arguments are supported:
useServerSideConfig Boolean
Enable or disable server side monitoring for the New Relic application.
appApdexThreshold number
The acceptable response time limit (Apdex threshold) for the application.
enableRealUserMonitoring boolean
Dummy field to support backward compatibility of previous version.should be removed with next major version.
enableSlowSql boolean
Enable or disable the collection of slowest database queries in your traces.
enableThreadProfiler boolean
Enable or disable the collection of thread profiling data.
endUserApdexThreshold number
Dummy field to support backward compatibility of previous version.should be removed with next major version.
errorCollectors ApplicationSettingsErrorCollector[]
Configuration block for error collection. Including this block enables the error collector. The following arguments are supported:
guid Changes to this property will trigger replacement. string

The GUID of the application in New Relic APM.

NOTE: While the attribute guid is not mandatory at a schema level, it is recommended to use guid over name, as support for using name with this resource shall eventually be discontinued. Please see the note under name for more details.

isImported boolean
name string
The name of the application in New Relic.
tracerType string
Configures the type of tracer used. Valid values are CROSS_APPLICATION_TRACER, DISTRIBUTED_TRACING, NONE, OPT_OUT.
transactionTracers ApplicationSettingsTransactionTracer[]
Configuration block for transaction tracer. Providing this block enables transaction tracing. The following arguments are supported:
useServerSideConfig boolean
Enable or disable server side monitoring for the New Relic application.
app_apdex_threshold float
The acceptable response time limit (Apdex threshold) for the application.
enable_real_user_monitoring bool
Dummy field to support backward compatibility of previous version.should be removed with next major version.
enable_slow_sql bool
Enable or disable the collection of slowest database queries in your traces.
enable_thread_profiler bool
Enable or disable the collection of thread profiling data.
end_user_apdex_threshold float
Dummy field to support backward compatibility of previous version.should be removed with next major version.
error_collectors Sequence[ApplicationSettingsErrorCollectorArgs]
Configuration block for error collection. Including this block enables the error collector. The following arguments are supported:
guid Changes to this property will trigger replacement. str

The GUID of the application in New Relic APM.

NOTE: While the attribute guid is not mandatory at a schema level, it is recommended to use guid over name, as support for using name with this resource shall eventually be discontinued. Please see the note under name for more details.

is_imported bool
name str
The name of the application in New Relic.
tracer_type str
Configures the type of tracer used. Valid values are CROSS_APPLICATION_TRACER, DISTRIBUTED_TRACING, NONE, OPT_OUT.
transaction_tracers Sequence[ApplicationSettingsTransactionTracerArgs]
Configuration block for transaction tracer. Providing this block enables transaction tracing. The following arguments are supported:
use_server_side_config bool
Enable or disable server side monitoring for the New Relic application.
appApdexThreshold Number
The acceptable response time limit (Apdex threshold) for the application.
enableRealUserMonitoring Boolean
Dummy field to support backward compatibility of previous version.should be removed with next major version.
enableSlowSql Boolean
Enable or disable the collection of slowest database queries in your traces.
enableThreadProfiler Boolean
Enable or disable the collection of thread profiling data.
endUserApdexThreshold Number
Dummy field to support backward compatibility of previous version.should be removed with next major version.
errorCollectors List<Property Map>
Configuration block for error collection. Including this block enables the error collector. The following arguments are supported:
guid Changes to this property will trigger replacement. String

The GUID of the application in New Relic APM.

NOTE: While the attribute guid is not mandatory at a schema level, it is recommended to use guid over name, as support for using name with this resource shall eventually be discontinued. Please see the note under name for more details.

isImported Boolean
name String
The name of the application in New Relic.
tracerType String
Configures the type of tracer used. Valid values are CROSS_APPLICATION_TRACER, DISTRIBUTED_TRACING, NONE, OPT_OUT.
transactionTracers List<Property Map>
Configuration block for transaction tracer. Providing this block enables transaction tracing. The following arguments are supported:
useServerSideConfig Boolean
Enable or disable server side monitoring for the New Relic application.

Supporting Types

ApplicationSettingsErrorCollector
, ApplicationSettingsErrorCollectorArgs

ExpectedErrorClasses List<string>
A list of expected error classes.
ExpectedErrorCodes List<string>
A list of expected error codes(any status code between 100-900).
IgnoredErrorClasses List<string>
A list of ignored error classes.
IgnoredErrorCodes List<string>
A list of ignored error codes(any status code between 100-900).
ExpectedErrorClasses []string
A list of expected error classes.
ExpectedErrorCodes []string
A list of expected error codes(any status code between 100-900).
IgnoredErrorClasses []string
A list of ignored error classes.
IgnoredErrorCodes []string
A list of ignored error codes(any status code between 100-900).
expectedErrorClasses List<String>
A list of expected error classes.
expectedErrorCodes List<String>
A list of expected error codes(any status code between 100-900).
ignoredErrorClasses List<String>
A list of ignored error classes.
ignoredErrorCodes List<String>
A list of ignored error codes(any status code between 100-900).
expectedErrorClasses string[]
A list of expected error classes.
expectedErrorCodes string[]
A list of expected error codes(any status code between 100-900).
ignoredErrorClasses string[]
A list of ignored error classes.
ignoredErrorCodes string[]
A list of ignored error codes(any status code between 100-900).
expected_error_classes Sequence[str]
A list of expected error classes.
expected_error_codes Sequence[str]
A list of expected error codes(any status code between 100-900).
ignored_error_classes Sequence[str]
A list of ignored error classes.
ignored_error_codes Sequence[str]
A list of ignored error codes(any status code between 100-900).
expectedErrorClasses List<String>
A list of expected error classes.
expectedErrorCodes List<String>
A list of expected error codes(any status code between 100-900).
ignoredErrorClasses List<String>
A list of ignored error classes.
ignoredErrorCodes List<String>
A list of ignored error codes(any status code between 100-900).

ApplicationSettingsTransactionTracer
, ApplicationSettingsTransactionTracerArgs

ExplainQueryPlans List<Pulumi.NewRelic.Plugins.Inputs.ApplicationSettingsTransactionTracerExplainQueryPlan>
Configuration block for query plans. Including this block enables the capture of query plans. The following arguments are supported:
Sql Pulumi.NewRelic.Plugins.Inputs.ApplicationSettingsTransactionTracerSql
Configuration block for SQL logging. Including this block enables SQL logging. The following arguments are supported:
StackTraceThresholdValue double
The response time threshold for collecting stack traces.
TransactionThresholdType string
The type of threshold for transactions. Valid values are VALUE,APDEX_F(4 times your apdex target)
TransactionThresholdValue double
The threshold value for transactions(in seconds).
ExplainQueryPlans []ApplicationSettingsTransactionTracerExplainQueryPlan
Configuration block for query plans. Including this block enables the capture of query plans. The following arguments are supported:
Sql ApplicationSettingsTransactionTracerSql
Configuration block for SQL logging. Including this block enables SQL logging. The following arguments are supported:
StackTraceThresholdValue float64
The response time threshold for collecting stack traces.
TransactionThresholdType string
The type of threshold for transactions. Valid values are VALUE,APDEX_F(4 times your apdex target)
TransactionThresholdValue float64
The threshold value for transactions(in seconds).
explainQueryPlans List<ApplicationSettingsTransactionTracerExplainQueryPlan>
Configuration block for query plans. Including this block enables the capture of query plans. The following arguments are supported:
sql ApplicationSettingsTransactionTracerSql
Configuration block for SQL logging. Including this block enables SQL logging. The following arguments are supported:
stackTraceThresholdValue Double
The response time threshold for collecting stack traces.
transactionThresholdType String
The type of threshold for transactions. Valid values are VALUE,APDEX_F(4 times your apdex target)
transactionThresholdValue Double
The threshold value for transactions(in seconds).
explainQueryPlans ApplicationSettingsTransactionTracerExplainQueryPlan[]
Configuration block for query plans. Including this block enables the capture of query plans. The following arguments are supported:
sql ApplicationSettingsTransactionTracerSql
Configuration block for SQL logging. Including this block enables SQL logging. The following arguments are supported:
stackTraceThresholdValue number
The response time threshold for collecting stack traces.
transactionThresholdType string
The type of threshold for transactions. Valid values are VALUE,APDEX_F(4 times your apdex target)
transactionThresholdValue number
The threshold value for transactions(in seconds).
explain_query_plans Sequence[ApplicationSettingsTransactionTracerExplainQueryPlan]
Configuration block for query plans. Including this block enables the capture of query plans. The following arguments are supported:
sql ApplicationSettingsTransactionTracerSql
Configuration block for SQL logging. Including this block enables SQL logging. The following arguments are supported:
stack_trace_threshold_value float
The response time threshold for collecting stack traces.
transaction_threshold_type str
The type of threshold for transactions. Valid values are VALUE,APDEX_F(4 times your apdex target)
transaction_threshold_value float
The threshold value for transactions(in seconds).
explainQueryPlans List<Property Map>
Configuration block for query plans. Including this block enables the capture of query plans. The following arguments are supported:
sql Property Map
Configuration block for SQL logging. Including this block enables SQL logging. The following arguments are supported:
stackTraceThresholdValue Number
The response time threshold for collecting stack traces.
transactionThresholdType String
The type of threshold for transactions. Valid values are VALUE,APDEX_F(4 times your apdex target)
transactionThresholdValue Number
The threshold value for transactions(in seconds).

ApplicationSettingsTransactionTracerExplainQueryPlan
, ApplicationSettingsTransactionTracerExplainQueryPlanArgs

QueryPlanThresholdType string
The type of threshold for query plans. Valid values are VALUE,APDEX_F(4 times your apdex target)
QueryPlanThresholdValue double
The response time threshold for capturing query plans(in seconds).
QueryPlanThresholdType string
The type of threshold for query plans. Valid values are VALUE,APDEX_F(4 times your apdex target)
QueryPlanThresholdValue float64
The response time threshold for capturing query plans(in seconds).
queryPlanThresholdType String
The type of threshold for query plans. Valid values are VALUE,APDEX_F(4 times your apdex target)
queryPlanThresholdValue Double
The response time threshold for capturing query plans(in seconds).
queryPlanThresholdType string
The type of threshold for query plans. Valid values are VALUE,APDEX_F(4 times your apdex target)
queryPlanThresholdValue number
The response time threshold for capturing query plans(in seconds).
query_plan_threshold_type str
The type of threshold for query plans. Valid values are VALUE,APDEX_F(4 times your apdex target)
query_plan_threshold_value float
The response time threshold for capturing query plans(in seconds).
queryPlanThresholdType String
The type of threshold for query plans. Valid values are VALUE,APDEX_F(4 times your apdex target)
queryPlanThresholdValue Number
The response time threshold for capturing query plans(in seconds).

ApplicationSettingsTransactionTracerSql
, ApplicationSettingsTransactionTracerSqlArgs

RecordSql This property is required. string
The level of SQL recording. Valid values ar OBFUSCATED,OFF,RAW (Mandatory attribute when sql block is provided).
RecordSql This property is required. string
The level of SQL recording. Valid values ar OBFUSCATED,OFF,RAW (Mandatory attribute when sql block is provided).
recordSql This property is required. String
The level of SQL recording. Valid values ar OBFUSCATED,OFF,RAW (Mandatory attribute when sql block is provided).
recordSql This property is required. string
The level of SQL recording. Valid values ar OBFUSCATED,OFF,RAW (Mandatory attribute when sql block is provided).
record_sql This property is required. str
The level of SQL recording. Valid values ar OBFUSCATED,OFF,RAW (Mandatory attribute when sql block is provided).
recordSql This property is required. String
The level of SQL recording. Valid values ar OBFUSCATED,OFF,RAW (Mandatory attribute when sql block is provided).

Package Details

Repository
New Relic pulumi/pulumi-newrelic
License
Apache-2.0
Notes
This Pulumi package is based on the newrelic Terraform Provider.