Interface LoggingMetricMetricDescriptor

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable
    All Known Implementing Classes:
    LoggingMetricMetricDescriptor.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.102.0 (build e354887)",
               date="2024-08-31T03:59:21.848Z")
    @Stability(Stable)
    public interface LoggingMetricMetricDescriptor
    extends software.amazon.jsii.JsiiSerializable
    • Method Detail

      • getMetricKind

        @Stability(Stable)
        @NotNull
        String getMetricKind()
        Whether the metric records instantaneous values, changes to a value, etc.

        Some combinations of metricKind and valueType might not be supported. For counter metrics, set this to DELTA. Possible values: ["DELTA", "GAUGE", "CUMULATIVE"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_metric#metric_kind LoggingMetric#metric_kind}

      • getValueType

        @Stability(Stable)
        @NotNull
        String getValueType()
        Whether the measurement is an integer, a floating-point number, etc.

        Some combinations of metricKind and valueType might not be supported. For counter metrics, set this to INT64. Possible values: ["BOOL", "INT64", "DOUBLE", "STRING", "DISTRIBUTION", "MONEY"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_metric#value_type LoggingMetric#value_type}

      • getDisplayName

        @Stability(Stable)
        @Nullable
        default String getDisplayName()
        A concise name for the metric, which can be displayed in user interfaces.

        Use sentence case without an ending period, for example "Request count". This field is optional but it is recommended to be set for any metrics associated with user-visible concepts, such as Quota. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_metric#display_name LoggingMetric#display_name}

      • getLabels

        @Stability(Stable)
        @Nullable
        default Object getLabels()
        labels block.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_metric#labels LoggingMetric#labels}

      • getUnit

        @Stability(Stable)
        @Nullable
        default String getUnit()
        The unit in which the metric value is reported.

        It is only applicable if the valueType is 'INT64', 'DOUBLE', or 'DISTRIBUTION'. The supported units are a subset of [The Unified Code for Units of Measure](http://unitsofmeasure.org/ucum.html) standard Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/logging_metric#unit LoggingMetric#unit}