1. Packages
  2. Dynatrace
  3. API Docs
  4. OpentelemetryMetrics
Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse

dynatrace.OpentelemetryMetrics

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse

    Create OpentelemetryMetrics Resource

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

    Constructor syntax

    new OpentelemetryMetrics(name: string, args?: OpentelemetryMetricsArgs, opts?: CustomResourceOptions);
    @overload
    def OpentelemetryMetrics(resource_name: str,
                             args: Optional[OpentelemetryMetricsArgs] = None,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def OpentelemetryMetrics(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             additional_attributes: Optional[OpentelemetryMetricsAdditionalAttributesArgs] = None,
                             additional_attributes_to_dimension_enabled: Optional[bool] = None,
                             meter_name_to_dimension_enabled: Optional[bool] = None,
                             mode: Optional[str] = None,
                             scope: Optional[str] = None,
                             to_drop_attributes: Optional[OpentelemetryMetricsToDropAttributesArgs] = None)
    func NewOpentelemetryMetrics(ctx *Context, name string, args *OpentelemetryMetricsArgs, opts ...ResourceOption) (*OpentelemetryMetrics, error)
    public OpentelemetryMetrics(string name, OpentelemetryMetricsArgs? args = null, CustomResourceOptions? opts = null)
    public OpentelemetryMetrics(String name, OpentelemetryMetricsArgs args)
    public OpentelemetryMetrics(String name, OpentelemetryMetricsArgs args, CustomResourceOptions options)
    
    type: dynatrace:OpentelemetryMetrics
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args OpentelemetryMetricsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args OpentelemetryMetricsArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args OpentelemetryMetricsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OpentelemetryMetricsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OpentelemetryMetricsArgs
    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 opentelemetryMetricsResource = new Dynatrace.OpentelemetryMetrics("opentelemetryMetricsResource", new()
    {
        AdditionalAttributes = new Dynatrace.Inputs.OpentelemetryMetricsAdditionalAttributesArgs
        {
            AdditionalAttributes = new[]
            {
                new Dynatrace.Inputs.OpentelemetryMetricsAdditionalAttributesAdditionalAttributeArgs
                {
                    AttributeKey = "string",
                    Enabled = false,
                },
            },
        },
        AdditionalAttributesToDimensionEnabled = false,
        MeterNameToDimensionEnabled = false,
        Mode = "string",
        Scope = "string",
        ToDropAttributes = new Dynatrace.Inputs.OpentelemetryMetricsToDropAttributesArgs
        {
            ToDropAttributes = new[]
            {
                new Dynatrace.Inputs.OpentelemetryMetricsToDropAttributesToDropAttributeArgs
                {
                    AttributeKey = "string",
                    Enabled = false,
                },
            },
        },
    });
    
    example, err := dynatrace.NewOpentelemetryMetrics(ctx, "opentelemetryMetricsResource", &dynatrace.OpentelemetryMetricsArgs{
    	AdditionalAttributes: &dynatrace.OpentelemetryMetricsAdditionalAttributesArgs{
    		AdditionalAttributes: dynatrace.OpentelemetryMetricsAdditionalAttributesAdditionalAttributeArray{
    			&dynatrace.OpentelemetryMetricsAdditionalAttributesAdditionalAttributeArgs{
    				AttributeKey: pulumi.String("string"),
    				Enabled:      pulumi.Bool(false),
    			},
    		},
    	},
    	AdditionalAttributesToDimensionEnabled: pulumi.Bool(false),
    	MeterNameToDimensionEnabled:            pulumi.Bool(false),
    	Mode:                                   pulumi.String("string"),
    	Scope:                                  pulumi.String("string"),
    	ToDropAttributes: &dynatrace.OpentelemetryMetricsToDropAttributesArgs{
    		ToDropAttributes: dynatrace.OpentelemetryMetricsToDropAttributesToDropAttributeArray{
    			&dynatrace.OpentelemetryMetricsToDropAttributesToDropAttributeArgs{
    				AttributeKey: pulumi.String("string"),
    				Enabled:      pulumi.Bool(false),
    			},
    		},
    	},
    })
    
    var opentelemetryMetricsResource = new OpentelemetryMetrics("opentelemetryMetricsResource", OpentelemetryMetricsArgs.builder()
        .additionalAttributes(OpentelemetryMetricsAdditionalAttributesArgs.builder()
            .additionalAttributes(OpentelemetryMetricsAdditionalAttributesAdditionalAttributeArgs.builder()
                .attributeKey("string")
                .enabled(false)
                .build())
            .build())
        .additionalAttributesToDimensionEnabled(false)
        .meterNameToDimensionEnabled(false)
        .mode("string")
        .scope("string")
        .toDropAttributes(OpentelemetryMetricsToDropAttributesArgs.builder()
            .toDropAttributes(OpentelemetryMetricsToDropAttributesToDropAttributeArgs.builder()
                .attributeKey("string")
                .enabled(false)
                .build())
            .build())
        .build());
    
    opentelemetry_metrics_resource = dynatrace.OpentelemetryMetrics("opentelemetryMetricsResource",
        additional_attributes={
            "additional_attributes": [{
                "attribute_key": "string",
                "enabled": False,
            }],
        },
        additional_attributes_to_dimension_enabled=False,
        meter_name_to_dimension_enabled=False,
        mode="string",
        scope="string",
        to_drop_attributes={
            "to_drop_attributes": [{
                "attribute_key": "string",
                "enabled": False,
            }],
        })
    
    const opentelemetryMetricsResource = new dynatrace.OpentelemetryMetrics("opentelemetryMetricsResource", {
        additionalAttributes: {
            additionalAttributes: [{
                attributeKey: "string",
                enabled: false,
            }],
        },
        additionalAttributesToDimensionEnabled: false,
        meterNameToDimensionEnabled: false,
        mode: "string",
        scope: "string",
        toDropAttributes: {
            toDropAttributes: [{
                attributeKey: "string",
                enabled: false,
            }],
        },
    });
    
    type: dynatrace:OpentelemetryMetrics
    properties:
        additionalAttributes:
            additionalAttributes:
                - attributeKey: string
                  enabled: false
        additionalAttributesToDimensionEnabled: false
        meterNameToDimensionEnabled: false
        mode: string
        scope: string
        toDropAttributes:
            toDropAttributes:
                - attributeKey: string
                  enabled: false
    

    OpentelemetryMetrics 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 OpentelemetryMetrics resource accepts the following input properties:

    AdditionalAttributes Pulumiverse.Dynatrace.Inputs.OpentelemetryMetricsAdditionalAttributes
    When enabled, the attributes defined in the list below will be added as dimensions to ingested OTLP metrics if they are present in the OpenTelemetry resource or in the instrumentation scope.
    AdditionalAttributesToDimensionEnabled bool
    Add the resource and scope attributes configured below as dimensions
    MeterNameToDimensionEnabled bool
    When enabled, the Meter name (also referred to as InstrumentationScope or InstrumentationLibrary in OpenTelemetry SDKs) and version will be added as dimensions (otel.scope.name and otel.scope.version) to ingested OTLP metrics. Note: Modifying this setting will cause the metric to change. This may have an impact on existing dashboards, events and alerts that make use of these dimensions. In this case, they will need to be updated manually
    Mode string
    Scope string
    The scope of this setting (environment-default). Omit this property if you want to cover the whole environment.
    ToDropAttributes Pulumiverse.Dynatrace.Inputs.OpentelemetryMetricsToDropAttributes
    The attributes defined in the list below will be dropped from all ingested OTLP metrics. Upon ingest, the Allow list: resource and scope attributes above is applied first. Then, the Deny list: all attributes below is applied. The deny list therefore applies to all attributes from all sources (data points, scope and resource). Notes: * Modifying this setting (adding, renaming, disabling or removing attributes) will cause the metric to change. This may have an impact on existing dashboards, events and alerts that make use of these dimensions. In this case, they will need to be updated manually. * Dynatrace does not recommend including attributes starting with "dt." to the deny list. Dynatrace leverages these attributes to Enrich metrics.
    AdditionalAttributes OpentelemetryMetricsAdditionalAttributesArgs
    When enabled, the attributes defined in the list below will be added as dimensions to ingested OTLP metrics if they are present in the OpenTelemetry resource or in the instrumentation scope.
    AdditionalAttributesToDimensionEnabled bool
    Add the resource and scope attributes configured below as dimensions
    MeterNameToDimensionEnabled bool
    When enabled, the Meter name (also referred to as InstrumentationScope or InstrumentationLibrary in OpenTelemetry SDKs) and version will be added as dimensions (otel.scope.name and otel.scope.version) to ingested OTLP metrics. Note: Modifying this setting will cause the metric to change. This may have an impact on existing dashboards, events and alerts that make use of these dimensions. In this case, they will need to be updated manually
    Mode string
    Scope string
    The scope of this setting (environment-default). Omit this property if you want to cover the whole environment.
    ToDropAttributes OpentelemetryMetricsToDropAttributesArgs
    The attributes defined in the list below will be dropped from all ingested OTLP metrics. Upon ingest, the Allow list: resource and scope attributes above is applied first. Then, the Deny list: all attributes below is applied. The deny list therefore applies to all attributes from all sources (data points, scope and resource). Notes: * Modifying this setting (adding, renaming, disabling or removing attributes) will cause the metric to change. This may have an impact on existing dashboards, events and alerts that make use of these dimensions. In this case, they will need to be updated manually. * Dynatrace does not recommend including attributes starting with "dt." to the deny list. Dynatrace leverages these attributes to Enrich metrics.
    additionalAttributes OpentelemetryMetricsAdditionalAttributes
    When enabled, the attributes defined in the list below will be added as dimensions to ingested OTLP metrics if they are present in the OpenTelemetry resource or in the instrumentation scope.
    additionalAttributesToDimensionEnabled Boolean
    Add the resource and scope attributes configured below as dimensions
    meterNameToDimensionEnabled Boolean
    When enabled, the Meter name (also referred to as InstrumentationScope or InstrumentationLibrary in OpenTelemetry SDKs) and version will be added as dimensions (otel.scope.name and otel.scope.version) to ingested OTLP metrics. Note: Modifying this setting will cause the metric to change. This may have an impact on existing dashboards, events and alerts that make use of these dimensions. In this case, they will need to be updated manually
    mode String
    scope String
    The scope of this setting (environment-default). Omit this property if you want to cover the whole environment.
    toDropAttributes OpentelemetryMetricsToDropAttributes
    The attributes defined in the list below will be dropped from all ingested OTLP metrics. Upon ingest, the Allow list: resource and scope attributes above is applied first. Then, the Deny list: all attributes below is applied. The deny list therefore applies to all attributes from all sources (data points, scope and resource). Notes: * Modifying this setting (adding, renaming, disabling or removing attributes) will cause the metric to change. This may have an impact on existing dashboards, events and alerts that make use of these dimensions. In this case, they will need to be updated manually. * Dynatrace does not recommend including attributes starting with "dt." to the deny list. Dynatrace leverages these attributes to Enrich metrics.
    additionalAttributes OpentelemetryMetricsAdditionalAttributes
    When enabled, the attributes defined in the list below will be added as dimensions to ingested OTLP metrics if they are present in the OpenTelemetry resource or in the instrumentation scope.
    additionalAttributesToDimensionEnabled boolean
    Add the resource and scope attributes configured below as dimensions
    meterNameToDimensionEnabled boolean
    When enabled, the Meter name (also referred to as InstrumentationScope or InstrumentationLibrary in OpenTelemetry SDKs) and version will be added as dimensions (otel.scope.name and otel.scope.version) to ingested OTLP metrics. Note: Modifying this setting will cause the metric to change. This may have an impact on existing dashboards, events and alerts that make use of these dimensions. In this case, they will need to be updated manually
    mode string
    scope string
    The scope of this setting (environment-default). Omit this property if you want to cover the whole environment.
    toDropAttributes OpentelemetryMetricsToDropAttributes
    The attributes defined in the list below will be dropped from all ingested OTLP metrics. Upon ingest, the Allow list: resource and scope attributes above is applied first. Then, the Deny list: all attributes below is applied. The deny list therefore applies to all attributes from all sources (data points, scope and resource). Notes: * Modifying this setting (adding, renaming, disabling or removing attributes) will cause the metric to change. This may have an impact on existing dashboards, events and alerts that make use of these dimensions. In this case, they will need to be updated manually. * Dynatrace does not recommend including attributes starting with "dt." to the deny list. Dynatrace leverages these attributes to Enrich metrics.
    additional_attributes OpentelemetryMetricsAdditionalAttributesArgs
    When enabled, the attributes defined in the list below will be added as dimensions to ingested OTLP metrics if they are present in the OpenTelemetry resource or in the instrumentation scope.
    additional_attributes_to_dimension_enabled bool
    Add the resource and scope attributes configured below as dimensions
    meter_name_to_dimension_enabled bool
    When enabled, the Meter name (also referred to as InstrumentationScope or InstrumentationLibrary in OpenTelemetry SDKs) and version will be added as dimensions (otel.scope.name and otel.scope.version) to ingested OTLP metrics. Note: Modifying this setting will cause the metric to change. This may have an impact on existing dashboards, events and alerts that make use of these dimensions. In this case, they will need to be updated manually
    mode str
    scope str
    The scope of this setting (environment-default). Omit this property if you want to cover the whole environment.
    to_drop_attributes OpentelemetryMetricsToDropAttributesArgs
    The attributes defined in the list below will be dropped from all ingested OTLP metrics. Upon ingest, the Allow list: resource and scope attributes above is applied first. Then, the Deny list: all attributes below is applied. The deny list therefore applies to all attributes from all sources (data points, scope and resource). Notes: * Modifying this setting (adding, renaming, disabling or removing attributes) will cause the metric to change. This may have an impact on existing dashboards, events and alerts that make use of these dimensions. In this case, they will need to be updated manually. * Dynatrace does not recommend including attributes starting with "dt." to the deny list. Dynatrace leverages these attributes to Enrich metrics.
    additionalAttributes Property Map
    When enabled, the attributes defined in the list below will be added as dimensions to ingested OTLP metrics if they are present in the OpenTelemetry resource or in the instrumentation scope.
    additionalAttributesToDimensionEnabled Boolean
    Add the resource and scope attributes configured below as dimensions
    meterNameToDimensionEnabled Boolean
    When enabled, the Meter name (also referred to as InstrumentationScope or InstrumentationLibrary in OpenTelemetry SDKs) and version will be added as dimensions (otel.scope.name and otel.scope.version) to ingested OTLP metrics. Note: Modifying this setting will cause the metric to change. This may have an impact on existing dashboards, events and alerts that make use of these dimensions. In this case, they will need to be updated manually
    mode String
    scope String
    The scope of this setting (environment-default). Omit this property if you want to cover the whole environment.
    toDropAttributes Property Map
    The attributes defined in the list below will be dropped from all ingested OTLP metrics. Upon ingest, the Allow list: resource and scope attributes above is applied first. Then, the Deny list: all attributes below is applied. The deny list therefore applies to all attributes from all sources (data points, scope and resource). Notes: * Modifying this setting (adding, renaming, disabling or removing attributes) will cause the metric to change. This may have an impact on existing dashboards, events and alerts that make use of these dimensions. In this case, they will need to be updated manually. * Dynatrace does not recommend including attributes starting with "dt." to the deny list. Dynatrace leverages these attributes to Enrich metrics.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing OpentelemetryMetrics Resource

    Get an existing OpentelemetryMetrics 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?: OpentelemetryMetricsState, opts?: CustomResourceOptions): OpentelemetryMetrics
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            additional_attributes: Optional[OpentelemetryMetricsAdditionalAttributesArgs] = None,
            additional_attributes_to_dimension_enabled: Optional[bool] = None,
            meter_name_to_dimension_enabled: Optional[bool] = None,
            mode: Optional[str] = None,
            scope: Optional[str] = None,
            to_drop_attributes: Optional[OpentelemetryMetricsToDropAttributesArgs] = None) -> OpentelemetryMetrics
    func GetOpentelemetryMetrics(ctx *Context, name string, id IDInput, state *OpentelemetryMetricsState, opts ...ResourceOption) (*OpentelemetryMetrics, error)
    public static OpentelemetryMetrics Get(string name, Input<string> id, OpentelemetryMetricsState? state, CustomResourceOptions? opts = null)
    public static OpentelemetryMetrics get(String name, Output<String> id, OpentelemetryMetricsState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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
    The unique name of the resulting resource.
    id
    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:
    AdditionalAttributes Pulumiverse.Dynatrace.Inputs.OpentelemetryMetricsAdditionalAttributes
    When enabled, the attributes defined in the list below will be added as dimensions to ingested OTLP metrics if they are present in the OpenTelemetry resource or in the instrumentation scope.
    AdditionalAttributesToDimensionEnabled bool
    Add the resource and scope attributes configured below as dimensions
    MeterNameToDimensionEnabled bool
    When enabled, the Meter name (also referred to as InstrumentationScope or InstrumentationLibrary in OpenTelemetry SDKs) and version will be added as dimensions (otel.scope.name and otel.scope.version) to ingested OTLP metrics. Note: Modifying this setting will cause the metric to change. This may have an impact on existing dashboards, events and alerts that make use of these dimensions. In this case, they will need to be updated manually
    Mode string
    Scope string
    The scope of this setting (environment-default). Omit this property if you want to cover the whole environment.
    ToDropAttributes Pulumiverse.Dynatrace.Inputs.OpentelemetryMetricsToDropAttributes
    The attributes defined in the list below will be dropped from all ingested OTLP metrics. Upon ingest, the Allow list: resource and scope attributes above is applied first. Then, the Deny list: all attributes below is applied. The deny list therefore applies to all attributes from all sources (data points, scope and resource). Notes: * Modifying this setting (adding, renaming, disabling or removing attributes) will cause the metric to change. This may have an impact on existing dashboards, events and alerts that make use of these dimensions. In this case, they will need to be updated manually. * Dynatrace does not recommend including attributes starting with "dt." to the deny list. Dynatrace leverages these attributes to Enrich metrics.
    AdditionalAttributes OpentelemetryMetricsAdditionalAttributesArgs
    When enabled, the attributes defined in the list below will be added as dimensions to ingested OTLP metrics if they are present in the OpenTelemetry resource or in the instrumentation scope.
    AdditionalAttributesToDimensionEnabled bool
    Add the resource and scope attributes configured below as dimensions
    MeterNameToDimensionEnabled bool
    When enabled, the Meter name (also referred to as InstrumentationScope or InstrumentationLibrary in OpenTelemetry SDKs) and version will be added as dimensions (otel.scope.name and otel.scope.version) to ingested OTLP metrics. Note: Modifying this setting will cause the metric to change. This may have an impact on existing dashboards, events and alerts that make use of these dimensions. In this case, they will need to be updated manually
    Mode string
    Scope string
    The scope of this setting (environment-default). Omit this property if you want to cover the whole environment.
    ToDropAttributes OpentelemetryMetricsToDropAttributesArgs
    The attributes defined in the list below will be dropped from all ingested OTLP metrics. Upon ingest, the Allow list: resource and scope attributes above is applied first. Then, the Deny list: all attributes below is applied. The deny list therefore applies to all attributes from all sources (data points, scope and resource). Notes: * Modifying this setting (adding, renaming, disabling or removing attributes) will cause the metric to change. This may have an impact on existing dashboards, events and alerts that make use of these dimensions. In this case, they will need to be updated manually. * Dynatrace does not recommend including attributes starting with "dt." to the deny list. Dynatrace leverages these attributes to Enrich metrics.
    additionalAttributes OpentelemetryMetricsAdditionalAttributes
    When enabled, the attributes defined in the list below will be added as dimensions to ingested OTLP metrics if they are present in the OpenTelemetry resource or in the instrumentation scope.
    additionalAttributesToDimensionEnabled Boolean
    Add the resource and scope attributes configured below as dimensions
    meterNameToDimensionEnabled Boolean
    When enabled, the Meter name (also referred to as InstrumentationScope or InstrumentationLibrary in OpenTelemetry SDKs) and version will be added as dimensions (otel.scope.name and otel.scope.version) to ingested OTLP metrics. Note: Modifying this setting will cause the metric to change. This may have an impact on existing dashboards, events and alerts that make use of these dimensions. In this case, they will need to be updated manually
    mode String
    scope String
    The scope of this setting (environment-default). Omit this property if you want to cover the whole environment.
    toDropAttributes OpentelemetryMetricsToDropAttributes
    The attributes defined in the list below will be dropped from all ingested OTLP metrics. Upon ingest, the Allow list: resource and scope attributes above is applied first. Then, the Deny list: all attributes below is applied. The deny list therefore applies to all attributes from all sources (data points, scope and resource). Notes: * Modifying this setting (adding, renaming, disabling or removing attributes) will cause the metric to change. This may have an impact on existing dashboards, events and alerts that make use of these dimensions. In this case, they will need to be updated manually. * Dynatrace does not recommend including attributes starting with "dt." to the deny list. Dynatrace leverages these attributes to Enrich metrics.
    additionalAttributes OpentelemetryMetricsAdditionalAttributes
    When enabled, the attributes defined in the list below will be added as dimensions to ingested OTLP metrics if they are present in the OpenTelemetry resource or in the instrumentation scope.
    additionalAttributesToDimensionEnabled boolean
    Add the resource and scope attributes configured below as dimensions
    meterNameToDimensionEnabled boolean
    When enabled, the Meter name (also referred to as InstrumentationScope or InstrumentationLibrary in OpenTelemetry SDKs) and version will be added as dimensions (otel.scope.name and otel.scope.version) to ingested OTLP metrics. Note: Modifying this setting will cause the metric to change. This may have an impact on existing dashboards, events and alerts that make use of these dimensions. In this case, they will need to be updated manually
    mode string
    scope string
    The scope of this setting (environment-default). Omit this property if you want to cover the whole environment.
    toDropAttributes OpentelemetryMetricsToDropAttributes
    The attributes defined in the list below will be dropped from all ingested OTLP metrics. Upon ingest, the Allow list: resource and scope attributes above is applied first. Then, the Deny list: all attributes below is applied. The deny list therefore applies to all attributes from all sources (data points, scope and resource). Notes: * Modifying this setting (adding, renaming, disabling or removing attributes) will cause the metric to change. This may have an impact on existing dashboards, events and alerts that make use of these dimensions. In this case, they will need to be updated manually. * Dynatrace does not recommend including attributes starting with "dt." to the deny list. Dynatrace leverages these attributes to Enrich metrics.
    additional_attributes OpentelemetryMetricsAdditionalAttributesArgs
    When enabled, the attributes defined in the list below will be added as dimensions to ingested OTLP metrics if they are present in the OpenTelemetry resource or in the instrumentation scope.
    additional_attributes_to_dimension_enabled bool
    Add the resource and scope attributes configured below as dimensions
    meter_name_to_dimension_enabled bool
    When enabled, the Meter name (also referred to as InstrumentationScope or InstrumentationLibrary in OpenTelemetry SDKs) and version will be added as dimensions (otel.scope.name and otel.scope.version) to ingested OTLP metrics. Note: Modifying this setting will cause the metric to change. This may have an impact on existing dashboards, events and alerts that make use of these dimensions. In this case, they will need to be updated manually
    mode str
    scope str
    The scope of this setting (environment-default). Omit this property if you want to cover the whole environment.
    to_drop_attributes OpentelemetryMetricsToDropAttributesArgs
    The attributes defined in the list below will be dropped from all ingested OTLP metrics. Upon ingest, the Allow list: resource and scope attributes above is applied first. Then, the Deny list: all attributes below is applied. The deny list therefore applies to all attributes from all sources (data points, scope and resource). Notes: * Modifying this setting (adding, renaming, disabling or removing attributes) will cause the metric to change. This may have an impact on existing dashboards, events and alerts that make use of these dimensions. In this case, they will need to be updated manually. * Dynatrace does not recommend including attributes starting with "dt." to the deny list. Dynatrace leverages these attributes to Enrich metrics.
    additionalAttributes Property Map
    When enabled, the attributes defined in the list below will be added as dimensions to ingested OTLP metrics if they are present in the OpenTelemetry resource or in the instrumentation scope.
    additionalAttributesToDimensionEnabled Boolean
    Add the resource and scope attributes configured below as dimensions
    meterNameToDimensionEnabled Boolean
    When enabled, the Meter name (also referred to as InstrumentationScope or InstrumentationLibrary in OpenTelemetry SDKs) and version will be added as dimensions (otel.scope.name and otel.scope.version) to ingested OTLP metrics. Note: Modifying this setting will cause the metric to change. This may have an impact on existing dashboards, events and alerts that make use of these dimensions. In this case, they will need to be updated manually
    mode String
    scope String
    The scope of this setting (environment-default). Omit this property if you want to cover the whole environment.
    toDropAttributes Property Map
    The attributes defined in the list below will be dropped from all ingested OTLP metrics. Upon ingest, the Allow list: resource and scope attributes above is applied first. Then, the Deny list: all attributes below is applied. The deny list therefore applies to all attributes from all sources (data points, scope and resource). Notes: * Modifying this setting (adding, renaming, disabling or removing attributes) will cause the metric to change. This may have an impact on existing dashboards, events and alerts that make use of these dimensions. In this case, they will need to be updated manually. * Dynatrace does not recommend including attributes starting with "dt." to the deny list. Dynatrace leverages these attributes to Enrich metrics.

    Supporting Types

    OpentelemetryMetricsAdditionalAttributes, OpentelemetryMetricsAdditionalAttributesArgs

    OpentelemetryMetricsAdditionalAttributesAdditionalAttribute, OpentelemetryMetricsAdditionalAttributesAdditionalAttributeArgs

    AttributeKey string
    Attribute key
    Enabled bool
    This setting is enabled (true) or disabled (false)
    AttributeKey string
    Attribute key
    Enabled bool
    This setting is enabled (true) or disabled (false)
    attributeKey String
    Attribute key
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    attributeKey string
    Attribute key
    enabled boolean
    This setting is enabled (true) or disabled (false)
    attribute_key str
    Attribute key
    enabled bool
    This setting is enabled (true) or disabled (false)
    attributeKey String
    Attribute key
    enabled Boolean
    This setting is enabled (true) or disabled (false)

    OpentelemetryMetricsToDropAttributes, OpentelemetryMetricsToDropAttributesArgs

    OpentelemetryMetricsToDropAttributesToDropAttribute, OpentelemetryMetricsToDropAttributesToDropAttributeArgs

    AttributeKey string
    Attribute key
    Enabled bool
    This setting is enabled (true) or disabled (false)
    AttributeKey string
    Attribute key
    Enabled bool
    This setting is enabled (true) or disabled (false)
    attributeKey String
    Attribute key
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    attributeKey string
    Attribute key
    enabled boolean
    This setting is enabled (true) or disabled (false)
    attribute_key str
    Attribute key
    enabled bool
    This setting is enabled (true) or disabled (false)
    attributeKey String
    Attribute key
    enabled Boolean
    This setting is enabled (true) or disabled (false)

    Package Details

    Repository
    dynatrace pulumiverse/pulumi-dynatrace
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dynatrace Terraform Provider.
    dynatrace logo
    Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse