1. Packages
  2. Dynatrace
  3. API Docs
  4. OpentelemetryMetrics
Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs

dynatrace.OpentelemetryMetrics

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs

    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: OpentelemetryMetricsArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def OpentelemetryMetrics(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             additional_attributes_to_dimension_enabled: Optional[bool] = None,
                             meter_name_to_dimension_enabled: Optional[bool] = None,
                             additional_attributes: Optional[OpentelemetryMetricsAdditionalAttributesArgs] = 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, 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.

    Example

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

    var opentelemetryMetricsResource = new Dynatrace.OpentelemetryMetrics("opentelemetryMetricsResource", new()
    {
        AdditionalAttributesToDimensionEnabled = false,
        MeterNameToDimensionEnabled = false,
        AdditionalAttributes = new Dynatrace.Inputs.OpentelemetryMetricsAdditionalAttributesArgs
        {
            AdditionalAttributes = new[]
            {
                new Dynatrace.Inputs.OpentelemetryMetricsAdditionalAttributesAdditionalAttributeArgs
                {
                    AttributeKey = "string",
                    Enabled = false,
                },
            },
        },
        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{
    	AdditionalAttributesToDimensionEnabled: pulumi.Bool(false),
    	MeterNameToDimensionEnabled:            pulumi.Bool(false),
    	AdditionalAttributes: &dynatrace.OpentelemetryMetricsAdditionalAttributesArgs{
    		AdditionalAttributes: dynatrace.OpentelemetryMetricsAdditionalAttributesAdditionalAttributeArray{
    			&dynatrace.OpentelemetryMetricsAdditionalAttributesAdditionalAttributeArgs{
    				AttributeKey: pulumi.String("string"),
    				Enabled:      pulumi.Bool(false),
    			},
    		},
    	},
    	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()        
        .additionalAttributesToDimensionEnabled(false)
        .meterNameToDimensionEnabled(false)
        .additionalAttributes(OpentelemetryMetricsAdditionalAttributesArgs.builder()
            .additionalAttributes(OpentelemetryMetricsAdditionalAttributesAdditionalAttributeArgs.builder()
                .attributeKey("string")
                .enabled(false)
                .build())
            .build())
        .scope("string")
        .toDropAttributes(OpentelemetryMetricsToDropAttributesArgs.builder()
            .toDropAttributes(OpentelemetryMetricsToDropAttributesToDropAttributeArgs.builder()
                .attributeKey("string")
                .enabled(false)
                .build())
            .build())
        .build());
    
    opentelemetry_metrics_resource = dynatrace.OpentelemetryMetrics("opentelemetryMetricsResource",
        additional_attributes_to_dimension_enabled=False,
        meter_name_to_dimension_enabled=False,
        additional_attributes=dynatrace.OpentelemetryMetricsAdditionalAttributesArgs(
            additional_attributes=[dynatrace.OpentelemetryMetricsAdditionalAttributesAdditionalAttributeArgs(
                attribute_key="string",
                enabled=False,
            )],
        ),
        scope="string",
        to_drop_attributes=dynatrace.OpentelemetryMetricsToDropAttributesArgs(
            to_drop_attributes=[dynatrace.OpentelemetryMetricsToDropAttributesToDropAttributeArgs(
                attribute_key="string",
                enabled=False,
            )],
        ))
    
    const opentelemetryMetricsResource = new dynatrace.OpentelemetryMetrics("opentelemetryMetricsResource", {
        additionalAttributesToDimensionEnabled: false,
        meterNameToDimensionEnabled: false,
        additionalAttributes: {
            additionalAttributes: [{
                attributeKey: "string",
                enabled: false,
            }],
        },
        scope: "string",
        toDropAttributes: {
            toDropAttributes: [{
                attributeKey: "string",
                enabled: false,
            }],
        },
    });
    
    type: dynatrace:OpentelemetryMetrics
    properties:
        additionalAttributes:
            additionalAttributes:
                - attributeKey: string
                  enabled: false
        additionalAttributesToDimensionEnabled: false
        meterNameToDimensionEnabled: false
        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

    The OpentelemetryMetrics resource accepts the following input properties:

    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.
    AdditionalAttributes Lbrlabs.PulumiPackage.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. Notes: * Modifying this setting (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 changing/removing the attributes starting with "dt.". Dynatrace leverages these attributes to Enrich metrics.
    Scope string
    The scope of this setting (environment-default). Omit this property if you want to cover the whole environment.
    ToDropAttributes Lbrlabs.PulumiPackage.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.
    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.
    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. Notes: * Modifying this setting (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 changing/removing the attributes starting with "dt.". Dynatrace leverages these attributes to Enrich metrics.
    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.
    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.
    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. Notes: * Modifying this setting (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 changing/removing the attributes starting with "dt.". Dynatrace leverages these attributes to Enrich metrics.
    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.
    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.
    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. Notes: * Modifying this setting (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 changing/removing the attributes starting with "dt.". Dynatrace leverages these attributes to Enrich metrics.
    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_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.
    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. Notes: * Modifying this setting (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 changing/removing the attributes starting with "dt.". Dynatrace leverages these attributes to Enrich metrics.
    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.
    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.
    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. Notes: * Modifying this setting (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 changing/removing the attributes starting with "dt.". Dynatrace leverages these attributes to Enrich metrics.
    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,
            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 Lbrlabs.PulumiPackage.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. Notes: * Modifying this setting (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 changing/removing the attributes starting with "dt.". Dynatrace leverages these attributes to Enrich metrics.
    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.
    Scope string
    The scope of this setting (environment-default). Omit this property if you want to cover the whole environment.
    ToDropAttributes Lbrlabs.PulumiPackage.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. Notes: * Modifying this setting (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 changing/removing the attributes starting with "dt.". Dynatrace leverages these attributes to Enrich metrics.
    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.
    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. Notes: * Modifying this setting (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 changing/removing the attributes starting with "dt.". Dynatrace leverages these attributes to Enrich metrics.
    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.
    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. Notes: * Modifying this setting (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 changing/removing the attributes starting with "dt.". Dynatrace leverages these attributes to Enrich metrics.
    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.
    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. Notes: * Modifying this setting (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 changing/removing the attributes starting with "dt.". Dynatrace leverages these attributes to Enrich metrics.
    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.
    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. Notes: * Modifying this setting (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 changing/removing the attributes starting with "dt.". Dynatrace leverages these attributes to Enrich metrics.
    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.
    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
    enabled Boolean
    attributeKey string
    enabled boolean
    attributeKey String
    enabled Boolean

    OpentelemetryMetricsToDropAttributes, OpentelemetryMetricsToDropAttributesArgs

    OpentelemetryMetricsToDropAttributesToDropAttribute, OpentelemetryMetricsToDropAttributesToDropAttributeArgs

    attributeKey String
    enabled Boolean
    attributeKey string
    enabled boolean
    attributeKey String
    enabled Boolean

    Package Details

    Repository
    dynatrace lbrlabs/pulumi-dynatrace
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dynatrace Terraform Provider.
    dynatrace logo
    Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs