java.lang.Object
io.opentelemetry.sdk.autoconfigure.declarativeconfig.model.ViewStreamModel

@Generated("io.opentelemetry.gradle.DeclarativeConfigPojoGenerator") public class ViewStreamModel extends Object
  • Constructor Details

    • ViewStreamModel

      public ViewStreamModel()
  • Method Details

    • getName

      @Nullable public String getName()
      Configure metric name of the resulting stream(s).

      If omitted or null, the instrument's original name is used.

    • withName

      public ViewStreamModel withName(String name)
    • getDescription

      @Nullable public String getDescription()
      Configure metric description of the resulting stream(s).

      If omitted or null, the instrument's origin description is used.

    • withDescription

      public ViewStreamModel withDescription(String description)
    • getAggregation

      @Nullable public AggregationModel getAggregation()
      Configure aggregation of the resulting stream(s).

      If omitted, default is used.

    • withAggregation

      public ViewStreamModel withAggregation(AggregationModel aggregation)
    • getAggregationCardinalityLimit

      @Nullable public Integer getAggregationCardinalityLimit()
      Configure the aggregation cardinality limit.

      If omitted or null, the metric reader's default cardinality limit is used.

    • withAggregationCardinalityLimit

      public ViewStreamModel withAggregationCardinalityLimit(Integer aggregationCardinalityLimit)
    • getAttributeKeys

      @Nullable public IncludeExcludeModel getAttributeKeys()
      Configure attribute keys retained in the resulting stream(s).

      If omitted, all attribute keys are retained.

    • withAttributeKeys

      public ViewStreamModel withAttributeKeys(IncludeExcludeModel attributeKeys)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class Object